:root {
    --primary-dark: #000c28;
    --primary-text: #05164d;
    --gold: #f4b63f;
    --gold-light: #fad674;
    --orange: #e58d20;
    --bg-light: #fdfdfd;
    --gray-light: #f5f6f8;
    --text-muted: #666;
    --pink: #d84578;
    --green: #25d366;
    --transition: all 0.3s ease;
}

.d-none {
    display: none !important;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.text-gold {
    color: var(--gold);
}

.text-orange {
    color: var(--orange);
}

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

.text-pink {
    color: var(--pink);
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 60px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--orange);
}

.phone-btn {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.phone-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.hero-section {
    position: relative;
    padding-top: 100px;
    min-height: 800px;
    background-color: var(--primary-dark);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    color: #fff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/hero-bg.jpg') center top/cover no-repeat;
    opacity: 0.6;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 60px 20px 200px 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-top: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.date-badge {
    display: inline-block;
    background: var(--gold);
    color: #000;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(244, 182, 63, 0.4);
}

.date-badge span {
    font-weight: 800;
}

.hero-features {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.feature-item i {
    font-size: 1.2rem;
    margin-top: 3px;
}

.hero-form-wrapper {
    flex: 0 0 400px;
}

.enquiry-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    color: var(--primary-text);
}

.enquiry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--gold);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.card-header {
    text-align: center;
    margin-bottom: 20px;
}

.card-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.card-header p {
    font-weight: 500;
    color: #444;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.input-icon {
    position: relative;
    width: 100%;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-icon input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s;
}

.input-icon input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-text);
}

.group-label label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.form-group textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(to right, #001242, #042475);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 36, 117, 0.4);
}

.submit-btn.loading {
    background: transparent !important;
    color: var(--primary-dark) !important;
    border: 2px solid var(--primary-dark) !important;
    pointer-events: none;
    cursor: not-allowed;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: #dc3545;
}

.form-group.has-error .invalid-feedback {
    display: block;
}

#formMessage {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

#formMessage.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

#formMessage.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.contact-info-card {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.contact-item i {
    margin-top: 4px;
    font-size: 1.1rem;
}

.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-curve .shape-fill {
    fill: var(--bg-light);
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-title-wrapper .line {
    height: 2px;
    width: 60px;
    background: var(--gold);
    position: relative;
}

.section-title-wrapper .line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    top: -2px;
}

.section-title-wrapper .line:first-child::after {
    right: -10px;
}

.section-title-wrapper .line:last-child::after {
    left: -10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.section-title span {
    color: var(--gold);
}

.about-section {
    padding: 80px 20px;
    background: var(--bg-light);
    position: relative;
    z-index: 2;
}

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

.about-container p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.courses-section {
    padding: 0 20px 80px;
    max-width: 1200px;
    margin: -80px auto 0;
    position: relative;
    z-index: 2;
}

.courses-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    /* Corrected to prevent baseline shifts */
    gap: 20px;
}

.course-box {
    background: var(--primary-dark);
    color: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    /* Sized for best fit */
    max-width: 230px;
    /* Prevent being too wide on large screens */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    /* Ensure all boxes are vertically aligned at the top */
}

.course-box:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, #001242, #000c28);
}

.course-box .icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--gold);
}

.course-box h3 {
    font-size: 1rem;
    font-weight: 600;
}

.syllabus-section {
    padding: 80px 20px;
    position: relative;
    background: #fff;
}

.syllabus-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.syllabus-content {
    flex: 1;
}

.title-with-line {
    position: relative;
    padding-left: 20px;
    margin-bottom: 30px;
}

.title-with-line .dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.title-with-line .dot::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    height: 40px;
    width: 2px;
    background: var(--gold);
    transform: translateY(-50%);
}

.title-with-line h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.syllabus-list {
    list-style: none;
    margin-top: 20px;
}

.syllabus-list li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #ddd;
}

.syllabus-list li i {
    margin-top: 4px;
    font-size: 1.2rem;
}

.syllabus-image {
    flex: 1.2;
}

.syllabus-image img {
    width: 100%;
    max-width: 600px;
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.why-us-section {
    padding: 80px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.why-card {
    text-align: center;
}

.why-card .icon-img {
    font-size: 4rem;
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.site-footer {
    background: var(--primary-dark);
    padding: 30px 20px;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.btn-whatsapp {
    background: var(--green);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1faf53;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        padding-top: 0;
    }

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

    .syllabus-container {
        flex-direction: column;
    }

    .courses-section {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-form-wrapper {
        flex-basis: auto;
        width: 100%;
    }

    .enquiry-card {
        width: 100%;
        padding: 20px;
    }

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

    .footer-left {
        justify-content: center;
    }
}