        body { font-family: 'Inter', sans-serif; scroll-behavior: smooth; }

:root {
    --hero-bg-y-offset: 0px;
}

.navbar.sticky-top {
    z-index: 1030;
}

.hero {
    background: linear-gradient(135deg, rgba(11,61,145,0.85) 0%, rgba(11,61,145,0.6) 100%),
                url('../images/optimized/hero-bg.webp') center/cover no-repeat;
    background-position: center var(--hero-bg-y-offset);
    padding: 92px 0 58px;
    color: white;
}
.hero .hero-content {
    margin-top: 92px;
}
.hero .hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.35rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease;
}
        .hero h1 { font-weight: 700; letter-spacing: -1px; animation: fadeInUp 1s ease; }
        .card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: none; border-radius: 15px;
        }
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11,61,145,0.15);
}
        .testimonial-img { width: 80px; height: 80px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
        .whatsapp-float {
            position: fixed; bottom: 30px; right: 30px; z-index: 1000;
            background: #075E54; color: white; border-radius: 50%;
            width: 60px; height: 60px; text-align: center; font-size: 28px; line-height: 60px;
            box-shadow: 0 8px 25px rgba(7,94,84,0.35);
            animation: pulse 2s infinite;
        }
        .whatsapp-float:hover { background: #05483f; color: white; transform: scale(1.1); }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .section-title {
            font-weight: 700; margin-bottom: 1rem; display: inline-block;
            position: relative;
        }
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60%;
    height: 3px;
    background: #FF6F00;   /* accent orange */
    border-radius: 2px;
}
.btn-primary {
    background-color: #0B3D91;
    border-color: #0B3D91;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.btn-primary:hover {
    background-color: #092d6b;
    border-color: #092d6b;
}

.form-status {
    margin-bottom: 1rem;
}

.country-code-select {
    min-width: 100%;
}

.form-text {
    font-size: 0.9rem;
}

.iti {
    width: 100%;
}

.iti__tel-input,
.iti input[type="tel"] {
    width: 100%;
}

.iti--separate-dial-code .iti__selected-flag {
    border-radius: 8px 0 0 8px;
}

.inquiry-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

a { color: #FF6F00; }
a:hover { color: #cc5900; }
.navbar-brand img {
    max-height: 70px; /* larger, more prominent logo display */
    width: auto;
}

@media (max-width: 576px) {
    .navbar-brand img { max-height: 50px; }

    :root {
        --hero-bg-y-offset: 0px;
    }

    .hero {
        padding: 72px 0 46px;
    }

    .hero .hero-content {
        margin-top: 48px;
    }

    .hero .hero-title {
        font-size: clamp(1.85rem, 7.2vw, 2.4rem);
        line-height: 1.2;
    }
}

/* Blog listing cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11,61,145,0.15);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

/* Blog article content */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-content h2 {
    margin-top: 2rem;
    font-weight: 700;
}

.blog-content p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

/* Courses tables */
.fee-table th {
    background-color: #0B3D91;
    color: white;
}

.fee-highlight {
    color: #FF6F00;
    font-weight: 700;
}

/* Offers page */
.offers-page .offer-card {
    border: 2px solid #FF6F00;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.08) 0%, rgba(11, 61, 145, 0.08) 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
}

.offers-page .offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 111, 0, 0.2);
}

.offers-page .offer-badge {
    background-color: #FF6F00;
    color: white;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.offers-page .offer-discount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0B3D91;
    margin: 10px 0;
}

.offers-page .offer-description {
    font-size: 0.95rem;
    color: #444;
    margin: 15px 0;
}

.offers-page .offer-validity {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 15px;
}

.offers-page .promo-banner {
    background: linear-gradient(135deg, #0B3D91 0%, #FF6F00 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
}

.offers-page .promo-banner h2 {
    font-weight: 700;
    margin-bottom: 15px;
}

.offers-page .promo-banner p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.offers-page .terms-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
}

.offers-page .terms-section h4 {
    color: #0B3D91;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
}

.offers-page .terms-section ul {
    margin-left: 20px;
    color: #555;
}

.offers-page .terms-section li {
    margin-bottom: 8px;
}

.offers-page .offer-card-blue {
    border: 2px solid #0B3D91;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.08) 0%, rgba(255, 111, 0, 0.05) 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
}

.offers-page .offer-card-blue:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(11, 61, 145, 0.2);
}

.offers-page .offer-badge-blue {
    background-color: #0B3D91;
    color: white;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Contact page */
.contact-page .contact-card {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 25px rgba(11, 61, 145, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-page .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(11, 61, 145, 0.15);
}

.contact-page .contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0B3D91 0%, #FF6F00 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-page .contact-card h5 {
    color: #0B3D91;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-page .contact-card p {
    color: #555;
    margin-bottom: 5px;
}

.contact-page .contact-card a {
    color: #FF6F00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-page .contact-card a:hover {
    color: #0B3D91;
}

.contact-page .contact-form {
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.02) 0%, rgba(255, 111, 0, 0.02) 100%);
    border: 1px solid rgba(11, 61, 145, 0.1);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(11, 61, 145, 0.08);
}

.contact-page .form-control,
.contact-page .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-page .form-control:focus,
.contact-page .form-select:focus {
    border-color: #FF6F00;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

.contact-page .form-control-lg,
.contact-page .form-select-lg {
    padding: 14px 17px;
}

.contact-page .btn-primary {
    background: linear-gradient(135deg, #0B3D91 0%, #054a7b 100%);
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-page .btn-primary:hover {
    background: linear-gradient(135deg, #054a7b 0%, #0B3D91 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 61, 145, 0.3);
}

.contact-page .premium-header {
    background: linear-gradient(135deg, #0B3D91 0%, #054a7b 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact-page .premium-header h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.contact-page .premium-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.contact-page .divider-line {
    height: 3px;
    background: linear-gradient(90deg, #FF6F00 0%, transparent 100%);
    margin: 20px 0;
    width: 60px;
}

/* Courses page note readability */
.exam-notes {
    background: #fff;
    border: 1px solid rgba(11, 61, 145, 0.1);
    border-radius: 12px;
    padding: 18px 20px;
}

.exam-notes-title {
    margin-bottom: 0.65rem;
    color: #0B3D91;
}

.exam-notes-list {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.exam-notes-list li {
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.exam-notes-list li:last-child {
    margin-bottom: 0;
}

.exam-notes-call {
    line-height: 1.6;
}

@media (max-width: 768px) {
    .exam-notes {
        padding: 14px 14px;
    }

    .exam-notes-list {
        padding-left: 1rem;
    }

    .exam-notes-list li {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}

/* Course Type Sections - Premium Layout */
.courses-summary-section {
    background: radial-gradient(1200px 300px at 50% -120px, rgba(11, 61, 145, 0.07), rgba(255, 255, 255, 0));
}

.summary-subtitle {
    max-width: 720px;
    margin-inline: auto;
}

.course-summary-card {
    border: 1px solid rgba(11, 61, 145, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.08);
}

.course-summary-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-summary-card h5 {
    color: #0B3D91;
    margin-bottom: 0.6rem;
}

.course-summary-card p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.summary-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.08), rgba(255, 111, 0, 0.12));
    border: 1px solid rgba(11, 61, 145, 0.08);
}

.summary-cta {
    margin-top: auto;
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 600;
}

.course-type-section {
    animation: fadeInUp 0.5s ease;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid rgba(11, 61, 145, 0.08);
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.08);
}

.course-type-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 15px 0;
    border-bottom: 3px solid #FF6F00;
}

.course-type-title {
    font-weight: 700;
    color: #0B3D91;
    font-size: 1.4rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-badge {
    min-width: 40px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: linear-gradient(135deg, #0B3D91 0%, #0a2f73 100%);
    border: 1px solid rgba(11, 61, 145, 0.35);
}

.course-type-count {
    font-size: 0.92rem;
    color: #6b7280;
    font-weight: 600;
}

.course-table-wrapper {
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(11, 61, 145, 0.1);
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(11, 61, 145, 0.08);
}

.course-table-wrapper:hover {
    box-shadow: 0 8px 30px rgba(11, 61, 145, 0.15);
}

.course-type-table {
    margin-bottom: 0;
    border: none;
    table-layout: fixed;
    width: 100%;
    --col-course: 28%;
    --col-total: 12%;
    --col-weekday: 21%;
    --col-weekend: 21%;
    --col-fee: 18%;
}

.course-type-table thead th {
    background: linear-gradient(135deg, #0B3D91 0%, #054a7b 100%);
    color: white;
    font-weight: 600;
    padding: 0.95rem 1rem;
    height: 52px;
    line-height: 1.2;
    border: none;
    text-align: left;
    white-space: normal;
}

.course-type-table thead th:first-child {
    border-radius: 0;
}

.course-type-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.course-type-table tbody tr:hover {
    background-color: #f8f9ff;
}

.course-type-table tbody tr:last-child {
    border-bottom: none;
}

.course-type-table tbody td {
    padding: 0.95rem 1rem;
    height: auto;
    line-height: 1.45;
    vertical-align: middle;
    border: none;
    color: #1f2937;
}

.course-type-table tbody td,
.course-type-table thead th {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.course-type-table tbody td:not(:last-child) {
    border-right: 1px solid rgba(11, 61, 145, 0.06);
}

.course-name-cell {
    font-weight: 600;
    color: #0B3D91;
    white-space: normal;
    overflow-wrap: anywhere;
}

.course-type-table td:nth-child(2),
.course-type-table td:nth-child(5) {
    text-align: center;
    white-space: nowrap;
}

.course-type-table td:nth-child(3),
.course-type-table td:nth-child(4) {
    text-align: center;
}

.duration-cell {
    font-weight: 500;
    color: #374151;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

/* Column proportions for stable alignment */
.course-type-table th:nth-child(1),
.course-type-table td:nth-child(1) { width: var(--col-course); }

.course-type-table th:nth-child(2),
.course-type-table td:nth-child(2) { width: var(--col-total); }

.course-type-table th:nth-child(3),
.course-type-table td:nth-child(3) { width: var(--col-weekday); }

.course-type-table th:nth-child(4),
.course-type-table td:nth-child(4) { width: var(--col-weekend); }

.course-type-table th:nth-child(5),
.course-type-table td:nth-child(5) { width: var(--col-fee); }

.course-type-table .fee-highlight {
    font-size: 1.02rem;
}

/* Sticky headers for desktop when sections are long */
@media (min-width: 992px) {
    .course-table-wrapper {
        max-height: 560px;
        overflow-y: auto;
        overflow-x: auto;
    }

    .course-type-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
    }
}

/* Improve table responsiveness */
@media (max-width: 1200px) {
    .course-type-table thead th {
        padding: 0.85rem 0.75rem;
        height: auto;
        font-size: 0.9rem;
    }

    .course-type-table tbody td {
        padding: 0.85rem 0.75rem;
        height: auto;
        font-size: 0.95rem;
    }
}

@media (min-width: 1200px) {
    .course-type-header {
        margin-bottom: 0.95rem !important;
    }

    .course-type-table {
        --col-course: 28%;
        --col-total: 12%;
        --col-weekday: 21%;
        --col-weekend: 21%;
        --col-fee: 18%;
    }

    .course-type-table tbody td:nth-child(2),
    .course-type-table tbody td:nth-child(5) {
        font-weight: 600;
    }
}

@media (min-width: 1600px) {
    .course-summary-grid {
        --bs-gutter-x: 1.6rem;
        --bs-gutter-y: 1.6rem;
    }

    .course-summary-grid > [class*="col-"] {
        max-width: 360px;
    }

    .course-summary-card {
        min-height: 360px;
    }

    .course-summary-card .card-body {
        padding: 1.8rem 1.6rem;
    }

    .course-type-section {
        padding: 20px;
    }

    .course-type-table {
        --col-course: 27%;
        --col-total: 11%;
        --col-weekday: 20%;
        --col-weekend: 20%;
        --col-fee: 22%;
    }

    .course-type-table thead th {
        height: 50px;
        font-size: 0.95rem;
    }

    .course-type-table tbody td {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .course-type-section {
        padding: 12px;
        border-radius: 14px;
    }

    .course-type-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .course-type-title {
        font-size: 1.2rem;
    }

    .course-badge {
        min-width: 36px;
        height: 28px;
        font-size: 0.78rem;
    }

    .course-type-table thead th {
        padding: 10px 8px;
        font-size: 0.78rem;
    }

    .course-type-table tbody td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .course-type-table {
        min-width: 760px;
    }

    .course-summary-card {
        box-shadow: 0 6px 18px rgba(11, 61, 145, 0.08);
    }
}
