/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #00a8e8;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #10b981;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    --gradient-hero: linear-gradient(135deg, #0066cc 0%, #00a8e8 50%, #0066cc 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.nav-link.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.stat-description {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.success-stats {
    padding: 3rem 0;
    background: white;
}

.success-stats .hero-stats {
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, #4a9eff 0%, #0066cc 100%);
    color: white;
}

.btn-primary::before,
.btn-primary::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.btn-primary .mouse-icon,
.btn-primary [class*="mouse-icon"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Quick Apply Section */
.quick-apply {
    padding: 3rem 0;
    background: var(--bg-light);
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.apply-content {
    position: sticky;
    top: 100px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.apply-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Form Styles */
.apply-form,
.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.apply-form .form-group input,
.apply-form .form-group select,
.apply-form .form-group textarea,
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    max-width: 100%;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.phone-input {
    display: flex;
    gap: 0.5rem;
}

.country-code {
    width: 120px;
    flex-shrink: 0;
}

/* Integrated Phone Input */
.phone-input-integrated {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    overflow: hidden;
    position: relative;
}

.phone-input-integrated input[type="tel"] {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    margin-left: 0;
}

.country-code-select {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    padding: 0.75rem 1.75rem 0.75rem 0.75rem;
    border: none;
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    background: white;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.country-code-select:focus {
    outline: none;
}

.country-code-select:hover {
    background-color: var(--bg-light);
}

.phone-input-integrated:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.phone-input-integrated input[type="tel"]:focus {
    background: transparent;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

/* About Section */
.about {
    padding: 3rem 0;
}

.about-ame-exam,
.about-ame-course,
.differences,
.why-start {
    padding: 3rem 0;
    background: var(--bg-light);
}

.about-ame-exam-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-ame-exam-image {
    width: 100%;
}

.ame-exam-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.about-ame-exam-text {
    text-align: left;
}

.about-ame-exam-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.about-ame-course-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-ame-course-image {
    width: 100%;
}

.ame-course-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.about-ame-course-text {
    text-align: left;
}

.about-ame-course-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.about-ame-course-text h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.important-person-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.important-person-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.important-person-text {
    text-align: left;
}

.important-person-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.important-person-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.important-person-image {
    width: 100%;
}

.important-person-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.dgca-badge {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.dgca-badge strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.course-details {
    margin-top: 1rem;
    text-align: left;
}

.course-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.course-details h4:first-child {
    margin-top: 0;
}

.course-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.course-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.about-content {
    margin-top: 2rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-large {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large .icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* Courses Section */
.courses {
    padding: 3rem 0;
    background: var(--bg-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.course-card.featured {
    border: 3px solid var(--primary-color);
}

.course-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon .icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.course-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.course-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
}

.course-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Mission Section */
.mission {
    padding: 3rem 0;
}

.mission-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-card.popular {
    border: 3px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.step-link:hover {
    gap: 1rem;
}

/* Rank Table Section */
.rank-table {
    padding: 3rem 0;
    background: var(--bg-light);
}

.table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
}

.rank-table-content {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.rank-table-content thead {
    background: var(--gradient-primary);
    color: white;
}

.rank-table-content th,
.rank-table-content td {
    padding: 1.5rem;
    text-align: left;
}

.rank-table-content tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.rank-table-content tbody tr:hover {
    background: var(--bg-light);
}

.rank-table-content tbody tr:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 0;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    padding: 3rem 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 3rem 0;
}

.contact-wrapper {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

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

.contact-form-center {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-form-wrapper {
    max-width: 600px;
    width: 100%;
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
    position: relative;
}

.popup-form-modal {
    max-width: 450px;
    text-align: left;
    overflow-y: visible;
    padding: 1rem;
}

.popup-apply-form .form-group {
    margin-bottom: 0.5rem;
}

.popup-form-modal h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.popup-form-modal .modal-subtitle {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.popup-apply-form .form-group label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.popup-apply-form .form-group input,
.popup-apply-form .form-group select {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.popup-apply-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.popup-apply-form .checkbox-group {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.popup-apply-form .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

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

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-buttons .btn {
    min-width: 150px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .apply-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        text-align: center;
    }
    
    .contact-form-center {
        width: 100%;
        padding: 0 1rem;
    }

    .apply-content {
        position: static;
    }

    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .courses-grid,
    .mission-steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-ame-exam-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-ame-exam-image {
        order: 2;
    }
    
    .about-ame-exam-text {
        order: 1;
        text-align: center;
    }
    
    .about-ame-course-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-ame-course-image {
        order: 2;
    }
    
    .about-ame-course-text {
        order: 1;
        text-align: center;
    }
    
    .important-person-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .important-person-image {
        order: 1;
    }
    
    .important-person-text {
        order: 2;
        text-align: center;
    }
    
    .important-person-text h3 {
        font-size: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon-large {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .apply-form,
    .contact-form {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .popup-form-modal {
        max-width: 95%;
        padding: 1.25rem;
        overflow-y: visible;
    }
    
    .popup-apply-form .form-group {
        margin-bottom: 0.65rem;
    }
    
    .popup-apply-form .form-row {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
    
    .popup-form-modal h3 {
        font-size: 1.1rem;
    }
    
    .popup-form-modal .modal-subtitle {
        font-size: 0.8rem;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .feature-card {
        padding: 0.75rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .feature-icon-large {
        font-size: 1.75rem;
    }
}

