/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    --primary-color: #1a4fba;
    --primary-light: #3b71e8;
    --primary-dark: #0f3480;
    --secondary-color: #f7931e;
    --secondary-hover: #e08216;
    --text-dark: #1e293b;
    --text-body: #475569;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition: all 0.3s ease;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Clearance for fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.text-white {
    color: #fff !important;
}

.text-white p {
    color: #e2e8f0;
}

.highlight {
    color: var(--primary-color);
}

.highlight-yellow {
    color: var(--secondary-color);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-body);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(26, 79, 186, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    color: white;
}

.btn-submit {
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.125rem;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px 0 rgba(247, 147, 30, 0.39);
}

.btn-submit:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary-color);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-number {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-number i {
    color: var(--primary-color);
}

/* Navigation Menu styling */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

/* Premium sliding underline animation on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hamburger toggle button */
.menu-toggle {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    /* Above mobile menu overlay */
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Active hamburger state (transforms into an 'X') */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation backdrop overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 34, 128, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: 0; /* Header clearance handled by body padding */
    padding-bottom: 0;
    background: url('images/cpa_hero_image_1779103756697.png') center/cover no-repeat;
    height: 700px;
    /* Exact 700px height for desktop slider */
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    align-self: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(26, 79, 186, 0.08);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 2rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(26, 79, 186, 0.15);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-body);
    line-height: 1.5;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    color: #10b981;
}

.hero-form-wrapper {
    flex: 0 0 400px;
    align-self: flex-start;
    margin-top: 1.5rem;
    transform: translateY(45px);
    /* overlapping premium bottom layout */
    z-index: 10;
}

/* Glassmorphic Form - Highly Compact for Hero Section */
.glass-form {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 1.5rem 1.75rem;
    /* Reduced padding */
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -15px rgba(15, 34, 128, 0.15), var(--shadow-glass);
    transition: var(--transition);
}

.glass-form:hover {
    box-shadow: 0 30px 60px -20px rgba(15, 34, 128, 0.25), var(--shadow-glass);
    transform: translateY(-2px);
}

.glass-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.15rem;
    /* Reduced margin */
}

.glass-form p {
    font-size: 0.875rem;
    color: var(--text-body);
    margin-bottom: 1rem;
    /* Reduced margin */
}

.glass-form .input-group {
    margin-bottom: 0.75rem;
    /* Reduced margin */
}

.glass-form .input-group input,
.glass-form .input-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    /* Reduced padding */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    /* Compact size */
    background-color: var(--bg-white);
    transition: var(--transition);
}

.glass-form .input-group input:focus,
.glass-form .input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 79, 186, 0.1);
}

.glass-form .checkbox-group {
    margin: 0.85rem 0 0.4rem 0;
    /* Compact margins */
    gap: 0.5rem;
    /* Reduced gap */
}

.glass-form .btn-submit {
    margin-top: 0.75rem;
    /* Reduced margin */
    padding: 0.85rem;
    /* Reduced padding */
    font-size: 1.05rem;
    /* Compact text */
}

.input-group {
    margin-bottom: 1rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 79, 186, 0.1);
}

/* =========================================
   CARDS & GRIDS
   ========================================= */
.grid {
    display: grid;
    gap: 2rem;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(26, 79, 186, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   TABS & SYLLABUS
   ========================================= */
.tabs-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    background: var(--bg-light);
    border: none;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--bg-white);
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    display: none;
    padding: 2.5rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.syllabus-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.syllabus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-color);
    transition: var(--transition);
}

.syllabus-card.card-ak::before {
    background: var(--primary-color);
}

.syllabus-card.card-as::before {
    background: var(--secondary-color);
}

.syllabus-card.card-sp::before {
    background: #7b1fa2; /* Deep purple */
}

.syllabus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.syllabus-card.card-ak:hover {
    border-color: rgba(26, 79, 186, 0.3);
}

.syllabus-card.card-as:hover {
    border-color: rgba(247, 147, 30, 0.3);
}

.syllabus-card.card-sp:hover {
    border-color: rgba(123, 31, 162, 0.3);
}

.s-card-header {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3.5rem;
    color: rgba(30, 41, 59, 0.04);
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 0;
    line-height: 1;
    user-select: none;
    transition: var(--transition);
}

.syllabus-card:hover .s-card-header {
    transform: scale(1.1);
    color: rgba(30, 41, 59, 0.07);
}

.syllabus-card h4 {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.syllabus-intro {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

/* Syllabus custom lists */
.syllabus-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    flex-grow: 1;
}

.syllabus-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.syllabus-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 9px; /* Aligns dot vertically with the first line of text */
    flex-shrink: 0;
    position: relative;
    display: inline-block;
}

.bullet-ak {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 79, 186, 0.18);
}

.bullet-as {
    background-color: var(--secondary-hover);
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.18);
}

.bullet-sp {
    background-color: #7b1fa2;
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.18);
}

.syllabus-item-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-body);
}

.syllabus-item-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.syllabus-subheading {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 1.75rem 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.syllabus-subheading::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: var(--border-color);
}

/* =========================================
   WHAT'S INCLUDED IN YOUR PACKAGE (WHY EMERGE)
   ========================================= */
.section-package {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.section-package::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 79, 186, 0.08) 0%, rgba(26, 79, 186, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.section-package::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 113, 232, 0.05) 0%, rgba(59, 113, 232, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.package-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.package-left {
    flex: 1;
    min-width: 0;
}

.package-right {
    flex: 0 0 380px;
    width: 380px;
    position: sticky;
    top: 90px;
}

.package-header {
    margin-bottom: 2.5rem;
}

.title-with-logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.package-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.header-acca-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.package-header p {
    font-size: 1.1rem;
    color: var(--text-body);
}

.header-line {
    width: 60px;
    height: 3.5px;
    background-color: #1a4fba;
    margin-top: 0.75rem;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.package-card {
    background: var(--bg-white);
    border: 1px solid rgba(26, 79, 186, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(26, 79, 186, 0.1), 0 4px 6px -2px rgba(26, 79, 186, 0.05);
    border-color: var(--primary-light);
}

.card-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #1a4fba;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-family: var(--font-heading);
}

.card-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    margin-top: 0.5rem;
}

.card-svg {
    transition: transform 0.4s ease;
}

.package-card:hover .card-svg {
    transform: scale(1.1);
}

.package-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1rem;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.card-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.card-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.card-bullets li:last-child {
    margin-bottom: 0;
}

.card-bullets i {
    color: #1a4fba;
    font-size: 0.95rem;
    margin-top: 0.1rem;
}

.package-banner {
    background: var(--bg-white);
    border: 1px solid rgba(26, 79, 186, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.banner-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #1a4fba;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-family: var(--font-heading);
}

.banner-content-wrapper {
    padding-left: 1rem;
}

.banner-header-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    padding-left: 1rem;
}

.banner-grid {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.banner-trophy {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 0.5rem;
}

.banner-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.banner-stat-icon {
    font-size: 1.5rem;
    color: #1a4fba;
    margin-top: 0.2rem;
}

.banner-stat h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.banner-stat p {
    font-size: 0.75rem;
    color: var(--text-body);
    line-height: 1.3;
}

/* Side Form and Mockup */
.package-form-card {
    background: var(--bg-white);
    border: 1px solid rgba(26, 79, 186, 0.15);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px -5px rgba(26, 79, 186, 0.08);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.package-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a4fba, #3b71e8);
}

.package-form-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.package-form-card p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.form-line {
    width: 40px;
    height: 3px;
    background-color: #1a4fba;
    margin-bottom: 1.5rem;
}

.package-form-card .input-group {
    margin-bottom: 1rem;
}

.package-form-card .input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.package-form-card .input-group input,
.package-form-card .input-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.package-form-card .input-group input:focus,
.package-form-card .input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 79, 186, 0.1);
}

.btn-package-submit {
    width: 100%;
    background-color: #1a4fba;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(26, 79, 186, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-package-submit:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 79, 186, 0.3);
}

.package-illustration {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.laptop-container {
    width: 180px;
    position: relative;
    z-index: 2;
}

.laptop-screen {
    background-color: #0f172a;
    border: 6px solid #475569;
    border-radius: 8px 8px 0 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.screen-logo {
    width: 100px;
    background: #fff;
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.screen-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.laptop-keyboard {
    height: 8px;
    background-color: #cbd5e1;
    border-radius: 0 0 4px 4px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.laptop-keyboard::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #94a3b8;
    border-radius: 0 0 2px 2px;
}

.potted-plant {
    margin-bottom: -4px;
    z-index: 1;
}

.stacked-books {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: -4px;
    z-index: 1;
}

.book {
    height: 10px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2px;
}

.book-blue {
    width: 45px;
    background-color: #1a4fba;
}

.book-orange {
    width: 40px;
    background-color: #f7931e;
}

.book-gray {
    width: 48px;
    background-color: #64748b;
}

/* Responsive Package Layout */
@media (max-width: 1200px) {
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-grid {
        grid-template-columns: auto 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .package-layout {
        flex-direction: column;
        align-items: stretch;
    }
    .package-left,
    .package-right {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    .package-right {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
    .banner-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .banner-stat {
        flex-direction: column;
        align-items: center;
    }
    .banner-header-text h3 {
        text-align: center;
        padding-left: 0;
    }
}


/* =========================================
   FACULTY
   ========================================= */
.faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.faculty-card {
    text-align: center;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.faculty-card h3 {
    margin-bottom: 0.25rem;
}

.faculty-card p {
    margin-bottom: 0.25rem;
}

.faculty-exp {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.faculty-avatar {
    width: 120px;
    height: 120px;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    border: 4px solid var(--primary-light);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.faculty-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-card:hover .faculty-avatar {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.faq-left {
    flex: 1;
    min-width: 0;
}

.faq-right {
    flex: 0 0 380px;
    width: 380px;
}

.faq-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    flex-wrap: wrap;
}

.faq-tab-btn {
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.faq-tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: -1rem;
}

.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.faq-question.active {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-question.active i {
    transform: rotate(180deg);
}

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

.answer-content {
    padding: 1.5rem;
    color: var(--text-body);
}

.answer-content p {
    margin-bottom: 0.75rem;
}

.answer-content.truncated {
    max-height: 120px;
    position: relative;
    overflow: hidden;
}

.answer-content.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, var(--bg-white));
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    text-decoration: underline;
}

/* FAQ Answer custom lists & styling */
.answer-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.answer-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.answer-content li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-body);
}

.answer-content li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 7px;
    width: 7px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(26, 79, 186, 0.18);
}

.sticky-form {
    position: sticky;
    top: 100px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.sticky-form h3 {
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .faq-layout {
        flex-direction: column;
    }

    .faq-left,
    .faq-right {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--text-dark);
    color: #e2e8f0;
    padding: 5rem 0 2rem;
}

.footer h2,
.footer h3 {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info p {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact p,
.footer-address p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-contact i {
    color: var(--primary-light);
    margin-right: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
}

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

/* =========================================
   CHECKBOX CUSTOM STYLES
   ========================================= */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.25rem 0 0.5rem 0;
    text-align: left;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-body);
    user-select: none;
    gap: 0.75rem;
}

/* Hide default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create custom checkmark */
.checkmark {
    position: relative;
    height: 18px;
    width: 18px;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    flex-shrink: 0;
    transition: var(--transition);
    margin-top: 2px;
}

/* On mouse-over, add a border color change */
.checkbox-container:hover input~.checkmark {
    border-color: var(--primary-light);
}

/* When the checkbox is checked, add a primary background */
.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Create the checkmark indicator (hidden when not checked) */
.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked~.checkmark::after {
    display: block;
}

/* Style the checkmark indicator */
.checkmark::after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--text-body);
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text a:hover {
    color: var(--primary-light);
}

/* =========================================
   INTERNATIONAL TELEPHONE INPUT ADJUSTMENTS
   ========================================= */
.iti {
    width: 100%;
    margin-bottom: 1rem;
    /* match spacing of other input fields */
}

/* Ensure no double margin-bottom inside .input-group wrapper */
.input-group .iti {
    margin-bottom: 0;
}

/* Override default margin on inputs wrapped by .iti */
.input-group .iti input[type="tel"] {
    margin-bottom: 0;
}

.iti__country-list {
    font-family: var(--font-body) !important;
    color: var(--text-dark) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--border-color) !important;
}

/* =========================================
   WHY CHOOSE EA USA SECTION (CUSTOM)
   ========================================= */
.why-ea-section {
    background-color: #fbfcfd;
    padding: 5rem 0;
}

.why-ea-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    text-align: center;
    font-family: var(--font-heading);
}

.why-ea-highlight {
    color: var(--primary-color);
}

.why-ea-header p {
    font-size: 1.125rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
    text-align: center;
    font-family: var(--font-body);
}

.why-ea-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.why-ea-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-ea-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 79, 186, 0.05), 0 1px 10px rgba(0, 0, 0, 0.03);
    border-color: rgba(26, 79, 186, 0.15);
}

.why-ea-icon-box {
    width: 56px;
    height: 56px;
    background-color: rgba(26, 79, 186, 0.08);
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.why-ea-card:hover .why-ea-icon-box {
    background-color: var(--primary-color);
    color: #ffffff;
}

.why-ea-svg-icon {
    width: 26px;
    height: 26px;
}

.why-ea-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.85rem;
    font-family: var(--font-heading);
}

.why-ea-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    font-family: var(--font-body);
}

/* Bottom Banner */
.why-ea-banner {
    background-color: var(--primary-color);
    border-radius: 16px;
    padding: 1.75rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 15px 35px rgba(26, 79, 186, 0.15);
    color: #ffffff;
    margin-top: 1.5rem;
}

.why-ea-banner-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.why-ea-banner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-ea-badge-svg {
    width: 44px;
    height: 48px;
}

.why-ea-banner-title {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.banner-title-top {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.banner-title-bottom {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.why-ea-banner-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.why-ea-banner-right {
    flex-grow: 1;
}

.why-ea-banner-right p {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: var(--font-body);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .why-ea-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .why-ea-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .why-ea-banner-divider {
        display: none;
    }
    
    .why-ea-banner-left {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .why-ea-grid {
        grid-template-columns: 1fr;
    }
    
    .why-ea-header h2 {
        font-size: 2.15rem;
    }
    
    .why-ea-card {
        padding: 2rem;
    }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .package-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .package-left {
        width: 100%;
        max-width: 100%;
    }

    .package-right {
        width: 100%;
        max-width: 100%;
        position: static;
    }

    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .banner-trophy {
        padding-right: 0;
    }

    .banner-stat {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .banner-stat-icon {
        margin-top: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        /* Hidden offscreen by default */
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(15, 34, 128, 0.15);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2.5rem 3rem 2.5rem;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

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

    .nav-link {
        font-size: 1.25rem;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.75rem;
    }

    .nav-link::after {
        display: none;
        /* Remove hover underline on mobile to simplify layout */
    }

    .hero {
        height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-form-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 450px;
        align-self: center;
        /* Override desktop align-self: flex-start */
        transform: none;
        /* reset premium overlapping for standard mobile layout */
        margin-top: 2.5rem;
    }

    .flex-row {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .package-grid {
        grid-template-columns: 1fr;
    }

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

    .header-contact .contact-number {
        display: none;
    }

    .tabs-header {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}