/* Stride Group Theme Colors */
:root {
    --primary-color: #02152a; /* Dark Navy */
    --accent-color: #C9A66B; /*Muted Gold */
    --text-color: #333333; /* Charcoal */
    /* --light-gray: #F9F9F9; */

    --light-gray: #d4dce4; /* Soft White, #d5dde5 */
    --border-color: #e9ecef;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light-gray);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 20px; */
}

/* Logo Styles */
.logo-container {
    text-align: center;
    padding: 2rem 0;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

/* .logo-img {
    height: 100px;
    margin-right: 20px;
    width:80px
} */



/* Header Styles */
.header {
    background: var(--primary-color);
    color: var(--light-gray);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.header-logo-img {
    height: 50px;
    margin-right: 15px;
}

.header-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.header-nav a:hover {
    opacity: 0.8;
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.footer-logo-img {
    height: 40px;
    margin-right: 12px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Form Styles */
.form-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    background: #F9F9F9;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    /* border: 2px solid var(--secondary-color); */
}

.form-header h1 {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.form-header h1 i {
    font-size: 3rem;
    color: #144488 ;
}

.form-header p {
    color: #666;
    font-size: 1.3rem;
    margin-top: 1rem;
}

            /* Progress Bar */
    .progress-container {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 15px;
        margin-bottom: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    width: 0%; /* Start at 0% width */
}

.progress-text {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Step Navigation */
.step-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.step-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    background-color: #fff;
    color: var(--text-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 74, 94, 0.3);
}

.step-btn:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.step-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #02152a, #C9A66B, #DCC7A1); /* Navy → Gold → Beige */
    border-radius: 20px 20px 0 0;
}

.step-title i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-container {
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff, #5033db);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.question-item {
    background-color: #ffffff;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top:10px;
}

.question-item::before {
    /* content: ''; */
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 20px 20px 0 0;
}

/* Hover effect should only change shadow/transform, not border */
.question-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.question-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px 20px 0 0; */
}

.question-text {
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.5;
    flex: 1;
}

.rating-input {
    min-width: 180px;
    padding: 15px 20px;
    /* border: 2px solid #02152a; Dark Navy Outline */
    border-radius: 12px;
    background: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2302152a' viewBox='0 0 20 20'%3e%3cpath stroke='%2302152a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.rating-input:focus {
    outline: none;
    border-color: #02152a;
    box-shadow: 0 0 0 3px rgba(2, 21, 42, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #02152a; /* Dark Navy outline */
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
    font-family: inherit;
    background: #FFFFFF;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #02152a; /* Dark Navy */
    box-shadow: 0 0 0 3px rgba(2, 21, 42, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background-color: #FBCC00;
    /* background-color: var(--primary-color); */
    color: #fff;
}


.btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn i {
    margin-right: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Ranking Chart */
.ranking-chart {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    position: sticky;
    top: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ranking-chart h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #02152a; /* Dark Navy */
    margin-bottom: 25px;
    text-align: center;
    }

.rank-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--primary-color);
    transition: transform 0.2s ease;
    padding-left: 15px;
    padding-bottom: 15px;
    }

    .rank-item:hover {
        transform: translateX(4px);
    }

.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.rank-number.num-1 { background: linear-gradient(135deg, #ef4444, #dc2626); }
.rank-number.num-2 { background: linear-gradient(135deg, #f97316, #ea580c); }
.rank-number.num-3 { background: linear-gradient(135deg, #eab308, #ca8a04); }
.rank-number.num-4 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.rank-number.num-5 { background: linear-gradient(135deg, #059669, #047857); }

.rank-description {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}



/* Responsive */
@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-header h1 {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .form-header h1 i {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .step-title i {
        font-size: 1.5rem;
    }
    
    .form-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ranking-chart {
        position: static;
        order: -1;
    }
    
    .step-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .step-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .question-item {
        padding: 1rem;
    }
    
    .rating-input {
        width: 80px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content,
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-info {
        text-align: center;
    }

/* Email Validation Styles */
.email-validation {
    margin-top: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.email-validation.error {
    background: #fee;
    color: #c53030;
    border-left: 3px solid #c53030;
}

.email-validation.success {
    background: #f0fff4;
    color: #2f855a;
    border-left: 3px solid #38a169;
}

.email-validation i {
    font-size: 1rem;
}

.form-group input.error {
    border-color: #c53030;
    box-shadow: 0 0 0 2px rgba(197, 48, 48, 0.1);
}

.form-group input.success {
    border-color: #38a169;
    box-shadow: 0 0 0 2px rgba(56, 161, 105, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

}
