:root {
    --primary-color: #001d42;
    --secondry-color: #db9712;
    --text-gray: #4a4a4a;
    --bg-light: #fbf2e6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

body {
    color: var(--text-gray);
    line-height: 1.2;
}

html {
    scroll-behavior: smooth;
}

.section-container {
    width: 90%;
    max-width: 1250px;
    margin: auto;

}






/* fixed buttons on screen for contact */
.fixed-on-screen {
    position: fixed;
    top: 75%;
    right: 0;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 50px;
    width: 50px;
    padding-left: 13px;
    border-radius: 30px 0 0 30px;
    box-shadow: 0px 0px 2px #5c5c5c;
    overflow: hidden;
    transition: width 0.4s ease;
    color: white;
    cursor: pointer;
}

.icon {
    font-size: 20px;
    margin-right: 10px;
}

.whatsapp-container .icon {
    font-size: 22px;
    transform: scale(1.1);
}

.label {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: 4px;
}

.call-container {
    background-color: #007BFF;
}

.download-app-container {
    background-color: #ff5d5d;
}

.download-app-container .icon-box {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.download-app-container i {
    font-size: 14px;
    margin-right: 4px;
}

.whatsapp-container {
    background-color: #25D366;
}

.button-container:hover {
    width: 130px;
    padding-right: 20px;
}

.button-container:hover .label {
    opacity: 1;
}

.whatsapp-container:hover {
    width: 170px;
}

.download-app-container:hover {
    width: 200px;
}





/* scroll animation */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    visibility: hidden;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}









/* header */
.header {
    transition: all 0.5s;
    z-index: 1;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 80px;
    z-index: 100;
    background: #ffffff;
    padding: 10px 0px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 180px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
}

.navmenu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navmenu ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navmenu ul li {
    list-style: none;
    font-size: 17px;
    font-weight: 500;
}

.navmenu ul li a {
    text-decoration: none;
    color: #212121;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.navmenu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondry-color);
    transition: width 0.3s ease;
}

.navmenu ul li a:hover {
    color: var(--secondry-color);
}

.navmenu ul li a:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #001d42;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    transition: all 0.2s ease-in-out;
}

.nav-links a:hover {
    background-color: #db9712;
    transform: scale(1.05);
}

.nav-profile {
    font-size: 30px;
    background-color: #fff;
    border-radius: 50%;
    color: #001d42;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.nav-profile:hover {
    background-color: #fff;
    color: #db9712;
    transform: scale(1.1);
}

/* Active Link State */
.navmenu ul li a.active {
    color: var(--primary-color);
}

.navmenu ul li a.active::after {
    width: 100%;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-block;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 21px;
    background: #fff;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #001d42;
    transition: all 0.3s ease;
}








/* --- Dropdown Animation for navbar --- */
.has-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 10px;
    transition: 0.3s;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    left: 0;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
    display: flex;
    gap: 0 !important;
    flex-direction: column;
    overflow: hidden;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    width: 240px;
    padding: 20px 25px !important;
    display: block;
    color: #001d42;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: #db9712;
    padding-left: 30px;
}




/* --- Side Drawer for navbar --- */
.side-drawer {
    position: fixed;
    top: 0;
    right: -550px;
    width: 500px;
    height: 100%;
    background: white;
    z-index: 10001;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.side-drawer.open {
    right: 0;
}

.side-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 29, 66, 0.6);
    z-index: 10000;
    display: none;
    backdrop-filter: blur(4px);
}

.side-logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-drawer {
    background: none;
    font-size: 34px;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-drawer:hover {
    color: #db9712;
    transform: rotate(90deg);
}

.drawer-logo {
    width: 200px;
    margin-bottom: 30px;
}

.drawer-content h2 {
    margin-bottom: 10px;
}


.form-group {
    margin-top: 30px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.primary-btn {
    width: 100%;
    background: #001d42;
    color: white;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: #db9712;
}

.switch-text {
    text-align: center;
    text-decoration: none;
}

.switch-text a {
    text-decoration: none;
}

/* --- Logged In State --- */
.nav-profile {
    position: relative;
    cursor: pointer;
}

.logout-tooltip {
    position: absolute;
    top: 110%;
    right: 0;
    background: #001d42;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    display: none;
    font-size: 12px;
}

.nav-profile:hover .logout-tooltip {
    display: block;
}


.nav-profile {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.nav-profile:active {
    transform: scale(0.9);
}

.user-initial {
    background: #db9712;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    /* padding: 10px; */
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.user-info h3 {
    font-size: 26px !important;
    font-weight: 600;
}

.user-info p {
    margin-top: 6px;
    margin-bottom: 40px;
    font-size: 18px;
}

.drawer-menu-list {
    list-style: none;
}

.drawer-menu-list li a {
    text-decoration: none;
    color: #001d42;
    font-size: 18px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.drawer-menu-list li a:hover {
    color: #db9712;
}



















/* hero section */
.hero-section {
    background-color: #122246;
    color: #fff;
    padding-top: 110px;
    padding-bottom: 30px;
}

.hero-section .section-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Side Content */
.hero-content-box {
    flex: 1;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.071);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: #db9712;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content-box h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #fff;
}

.hero-content-box h1 span {
    display: block;
    color: #db9712;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 30px;
    max-width: 550px;
    line-height: 1.4;
}

/* Feature Pillars */
.hero-pillars {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-pillar {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #db9712;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.hero-pillar:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* CTA Buttons */
.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-main-btn {
    background: white;
    color: #0f172a;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-main-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    background: #db9712;
    color: #fff;
}

.hero-phone-cta {
    background: #db9712;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-phone-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    background: #fff;
    color: #db9712;
}


/* Right Side: Creative Visual */
.hero-visual-box {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}


.hero-image-card {
    width: 400px;
    height: 450px;
    /* --hero-bg is set per-page from Admin > Settings > Logo & Images. */
    background: var(--hero-bg, url('../images/hero-1.webp')) center/cover;
    background-repeat: no-repeat;
    background-size: 700px;
    border-radius: 30px;
    border: 8px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
}

/* Floating elements */
.hero-float-card {
    position: absolute;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}











/* choose section */
.choose-main-container {
    padding-top: 40px;
    padding-bottom: 30px;
}

.choose-heading {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
}

.choose-heading span {
    color: #db9712;
}

.section-description {
    text-align: center;
    margin: auto;
    margin-top: 10px;
    max-width: 900px;
    color: #696969;
}


.choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.choose-card {
    background: rgba(217, 217, 217, 0.3);
    border: 1px solid #001d4224;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(219, 152, 18, 0.219), transparent);
    opacity: 0;
    transition: 0.4s;
}

.choose-card:hover {
    transform: translateY(-4px);
    border-color: #db9712;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.choose-card:hover::before {
    opacity: 1;
}

.choose-icon-box {
    width: 50px;
    height: 50px;
    background: #001d42;
    border: 2px solid #db9712;
    border-radius: 16px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #db9712;
    margin-bottom: 10px;
    box-shadow: 0 10px 20px rgba(219, 151, 18, 0.1);
    transition: 0.4s;
}

.choose-card:hover .choose-icon-box {
    background: #db9712;
    color: #001d42;
    transform: rotate(-10deg);
}

.choose-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.choose-card p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.choose-limit-badge {
    width: fit-content;
    margin: auto;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(219, 151, 18, 0.1);
    border: 1px dashed #db9712;
    padding: 10px 20px;
    border-radius: 50px;
    color: #db9712;
    font-weight: 600;
    font-size: 0.9rem;
}










/* course section */
#courses-section {
    scroll-margin-top: 80px;
    scroll-behavior: smooth;
}

.course-section {
    padding-top: 40px;
    padding-bottom: 30px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 0 auto;
    margin-top: 40px;
}

.course-card {
    background: rgba(217, 217, 217, 0.3);
    border: 1px solid #001d4224;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: #db9712;
    background: rgb(255, 255, 255);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.course-category-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #db9712;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.course-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-card h3 i {
    font-size: 1.2rem;
    color: #db9712;
}

.course-subject-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-subject-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(236, 148, 39, 0.13);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    opacity: 0.9;
}

.course-subject-list li::before {
    content: '→';
    color: #db9712;
    font-weight: 800;
}

.course-subject-list li:last-child {
    border-bottom: none;
}

/* .course-highlight-box {
    margin-top: auto;
    padding-top: 20px;
}

.course-badge {
    display: block;
    background: #db9712;
    color: #001d42;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
} */



















.batch-section {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: stretch;
    padding-top: 40px;
    padding-bottom: 30px;
}

/* Timings Card */
.timing-card {
    background: rgba(217, 217, 217, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    color: #001d42;
    position: relative;
    overflow: hidden;
}

.timing-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(219, 152, 18, 0.146) 0%, transparent 70%);
    border-radius: 50%;
}

.section-tag {
    color: #db9712;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 6px;
}

.timing-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 800;
}

.timing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.time-slot {
    background: rgba(209, 209, 209, 0.377);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid #db9712;
    transition: 0.3s;
}

.time-slot:hover {
    transform: translateX(5px);
}

.time-slot i {
    color: #db9712;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.time-slot span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 6px;
}

.days-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #db9712;
    font-weight: 600;
}

/* CTA Card */
.cta-card {
    background: #f3dbab;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #001d42;
    transition: 0.4s;
}

.cta-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-card p {
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.batch-btn {
    background: #001d42;
    color: #fff;
    padding: 18px 30px;
    border-radius: 30px 6px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s ease-in-out;
    animation: pulse 2s infinite;
    display: inline-block;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 29, 66, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 29, 66, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 29, 66, 0);
    }
}

.batch-btn:hover {
    transform: translateY(-2px);
    background: #db9712;
}













/* rank section */
.rank-container {
    padding-top: 40px;
    padding-bottom: 30px;
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.rank-card {
    background-color: #f3e5cb;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #e6cfa1;
    display: flex;
    align-items: center;
}

.student-photo-container {
    padding: 10px;
    flex: 0 0 auto;
}

.student-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #db9712;
}

.rank-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blue-section,
.gold-section {
    padding: 15px;
}

.blue-section {
    background-color: #0d284f;
    color: #fff;
    text-align: center;
}

.blue-section h3 {
    font-size: 20px;
    margin: 0;
}

.blue-section p {
    font-size: 14px;
    margin: 5px 0 0;
    color: #ccc;
}

.gold-section {
    background-color: #d8b066;
    color: #333;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.gold-section h4 {
    font-size: 16px;
    margin: 0;
    text-transform: uppercase;
}

.gold-section p {
    font-size: 12px;
    margin: 5px 0 0;
    color: #555;
    text-transform: uppercase;
}


.rank-btn {
    display: flex;
    margin: auto;
    margin-top: 30px;
    background: #001d42;
    color: #fff;
    font-size: 18px;
    padding: 8px 30px;
    border-radius: 12px;
    border: 2px solid #db9712;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.rank-btn:hover {
    background: #db9712;
    color: #001d42;
    border: 2px solid #001d42;
    font-weight: 600;
}












/* counter section */

.stats-section {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 30px;
}


.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 40px;
}

.stat-card {
    background-color: #e0e7f1;
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: #db9712;
    margin-bottom: 15px;
    display: block;
}

.stat-card h3 {
    display: inline-block;
    font-size: 2.4rem;
    color: #001d42;
    margin: 0;
}

.stat-card .plus {
    font-size: 2.5rem;
    color: #001d42;
    font-weight: bold;
}

.stat-card p {
    color: #444;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 10px;
}


.stats-section .rank-btn {
    background: #db9712;
    color: #fff;
    border: 2px solid #001d42;
}

.stats-section .rank-btn:hover {
    background: #001d42;
    color: #db9712;
    border: 2px solid #db9712;
    font-weight: 600;
}










/* blog section */
.home-blog-slider {
    padding-top: 40px;
    padding-bottom: 30px;
}
.slider-relative-wrapper {
    position: relative;
    padding: 0 50px;
}

.blog-slider-container {
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
}

.blog-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-slide {
    flex: 0 0 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #eee;
    color: #001d42;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.nav-btn:hover {
    background: #001d42;
    color: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.blog-all-btn {
    display: block;
    /* margin: 30px auto 0; */
    width: 240px;
    margin: auto;
    margin-top: 30px;
    text-align: center;
    background: #001d42;
    color: #fff;
    padding: 12px 0;
    border-radius: 30px 6px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s ease-in-out;
}

.blog-all-btn:hover {
    background: #db9712;
    transform: translateY(-4px);
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .blog-slide { flex: 0 0 50%; }
}

@media (max-width: 768px) {
    .blog-slide { flex: 0 0 100%; }
    .slider-relative-wrapper { padding: 0 10px; }
    .nav-btn { width: 40px; height: 40px; font-size: 1rem; }
}









/* testimonial */
.testimonial-container {
    padding-top: 40px;
    padding-bottom: 30px;
}

.testimonial-card-container {
    position: relative;
    display: flex;
    align-items: center;
}

.testimonial-wrapper {
    overflow: hidden;
    width: 96%;
    margin: auto;
    margin-top: 40px;
}

.testimonial-track {
    display: flex;
    gap: 14px;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: calc((100% - 30px) / 3);
    padding: 30px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    text-align: left;
}

.testimonial-card .quote-mark {
    width: 40px;
}

.testimonial-card .quote-mark img {
    width: 100%;
}

.testimonial-card .description {
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
    height: 80px;
}

.testimonial-card .student-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 2px solid #ede3cf;
    padding-top: 30px;
}

.testimonial-card .student-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #db9712;
}

.testimonial-card .details h3 {
    margin-bottom: 4px;
    color: #001d42;
    font-size: 1.2rem;
}

.testimonial-card .details p {
    margin: 0;
    color: #db9712;
    font-weight: bold;
    font-size: 0.8rem;
}

.testimonial-nav-btn {
    background: #001d42;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    position: absolute;
}

.testimonial-prev-btn {
    left: -25px;
}

.testimonial-next-btn {
    right: -25px;
}












/* faq */


.faq-section {
    padding-top: 40px;
    padding-bottom: 30px;
}

.faq-wrapper {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #e5eaf3;
    border: 1.5px solid #e7eaec;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: #db9712;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #001d42;
    background: #F3F5F8;
}

.faq-item.active .faq-question {
    background: #001d42;
    color: #fff;
}

.faq-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #db9712;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 20px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #eee;
}













/* footer */

.footer {
    background-color: #122246;
    color: #333;
    padding-top: 40px;
    padding-bottom: 20px;
}

.footer .footer-top-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.7fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: #db9712;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: capitalize;
}


.footer-text,
.footer-list,
.footer-address-item,
.footer-contact-item {
    color: #ffffff;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    text-decoration: none;
    color: #ffffff;
    opacity: 0.9;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #db9712;
    opacity: 1;
}

.footer-logo-desc {
    gap: 15px;
}

.footer-logo-desc h3 {
    font-size: 1.2rem;
}

.footer-logo-desc p {
    font-size: 1rem;
    color: #fff;
    opacity: 0.8;
    line-height: 1.4;
}

.footer-logo {
    background: #fff;
    border-radius: 10px;
    width: fit-content;
    padding: 4px 20px;
}

.logo-img {
    height: 80px;
    width: auto;
}


.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-contact-item:hover {
    color: #db9712;
}

.contact-icon {
    color: #db9712;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}


.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #db9712;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}



.footer-bottom {
    grid-column: span 4;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    /* margin-top: 20px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8898a8;
    font-size: 0.9rem;
}

.legal-links a {
    text-decoration: none;
    color: #8898a8;
    margin-left: 20px;
}

.legal-links a:hover {
    color: #db9712;
}
























/* contact us page */

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info .title {
    color: #001d42;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-info .subtitle {
    color: #666;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item .icon-box {
    background: white;
    color: #db9712;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.text-box h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #001d42;
}

.text-box p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.mini-map {
    margin-top: 30px;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    height: 240px;
    overflow: hidden;
}

/* Form Card */
.contact-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 29, 66, 0.08);
}

.contact-form-card h3 {
    color: #001d42;
    margin-bottom: 25px;
    font-size: 1.5rem;
    border-left: 4px solid #db9712;
    padding-left: 15px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #001d42;
    margin-bottom: 8px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: 0.3s;
    box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #db9712;
    outline: none;
    box-shadow: 0 0 0 3px rgba(219, 151, 18, 0.1);
}

.btn-submit {
    width: 100%;
    background: #001d42;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #db9712;
    transform: translateY(-2px);
}

















/* about page */

.about-page {
    padding-top: 80px;
}

/* Hero Styling */
.about-hero {
    background: linear-gradient(rgba(0, 29, 66, 0.9), rgba(0, 29, 66, 0.9));
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.brand-badge {
    color: #db9712;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-hero h2 {
    font-size: 1.2rem;
}

/* Who We Are */
.who-we-are {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 30px;
}

.section-heading {
    font-size: 2rem;
    color: #001d42;
    margin-bottom: 20px;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #db9712;
    margin-top: 6px;
}

.who-we-are p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 14px 14px 30px -6px #db9712;
}

/* Mission & Vision */
.mv-container {
    padding-top: 40px;
    padding-bottom: 30px;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    border-bottom: 5px solid #001d42;
    transition: 0.3s;
}

.accent-card {
    border-bottom-color: #db9712;
}

.mv-icon {
    font-size: 2.5rem;
    color: #db9712;
    margin-bottom: 20px;
}

.mv-card h3 {
    color: #001d42;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* What Makes Us Different */
.diffrent-section {
    padding-top: 40px;
    padding-bottom: 30px;
}

.diffrent-section .section-heading {
    text-align: center;
}

.diffrent-section .section-heading::after {
    margin: auto;
    margin-top: 10px;
    width: 200px;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.diff-item {
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    position: relative;
    transition: 0.3s;
}

.diff-item:hover {
    background: #ced5df;
}

.diff-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(219, 151, 18, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
}

.diff-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #001d42;
}

.diff-item:hover h4 {
    color: #db9712;
}

.diff-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

















/* course detail */

.course-hero {
    background: linear-gradient(rgba(0, 29, 66, 0.85), rgba(0, 29, 66, 0.85)),
        var(--course-hero-bg, url('../images/course-detail-hero.webp'));
    background-size: cover;
    background-position-y: 700px;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 10%;
    padding-top: 120px;
    padding-bottom: 20px;
}

/* .course-eyebrow replaced the old <h2>; both selectors kept so the styling
   is identical whichever markup is used. */
.course-hero-inner h2,
.course-hero-inner .course-eyebrow {
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #db9712;
}

.course-hero-inner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.course-hero-inner h1 .accent {
    color: #db9712;
}

.course-hero-inner p {
    max-width: 800px;
    margin: 20px auto;
    font-size: 1.2rem;
    opacity: 0.8;
    line-height: 1.4;
}




.course-section-header {
    margin-top: 40px;
}

.course-section-header h3 {
    font-size: 2rem;
    color: #001d42;
    margin: 0;
}

.course-section-header p {
    font-size: 1rem;
    color: #001d42;
    margin: 0;
    margin-top: 10px;
}

.course-section-header .course-line {
    width: 200px;
    height: 3px;
    background: #db9712;
    margin-top: 10px;
    border-radius: 10px;
}

.course-subject-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.course-subject-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.course-subject-card:hover {
    transform: translateY(-5px);
    border-color: #db9712;
}

.course-subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #db9712;
}

.course-subject-card i {
    font-size: 2rem;
    color: #db9712;
    margin-bottom: 14px;
    display: block;
}

.course-subject-card h4 {
    font-size: 1.6rem;
    margin: 0 0 6px;
    color: #001d42;
}

.course-subject-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.2;
    margin: 0;
}





.course-perks-strip {
    background: #001d42;
    color: #ffffff;
    padding: 40px;
    margin-top: 60px;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.course-perk-item {
    flex: 1;
    min-width: 300px;
}

.course-perk-item h5 {
    font-size: 1.8rem;
    margin: 0 0 15px;
    color: #db9712;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-perk-item p {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}




.course-mega-cta {
    background: #db9712;
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: #ffffff;
}

.course-mega-cta h2 {
    font-size: 2.5rem;
    margin: 0 0 20px;
}

.course-mega-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.course-book-btn {
    background: #001d42;
    color: #ffffff;
    padding: 10px 40px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 100px;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.course-book-btn:hover {
    background: #002d66;
    transform: scale(1.05);
}




















/* popup for book demo */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 29, 66, 0.85);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 900px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    animation: modalScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 35px;
    color: #999;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    display: flex;
}

/* Sidebar Branding */
.modal-sidebar {
    background: #001d42;
    color: white;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.form-logo {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 6px 30px;
    margin-bottom: 20px;
}

.form-logo img {
    width: 100%;
}

.modal-sidebar h3 {
    font-size: 1.2rem;
    color: #db9712;
    margin-bottom: 20px;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.modal-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.modal-features i {
    color: #db9712;
    margin-right: 10px;
}

/* Form Area */
.modal-form-area {
    flex: 2;
    padding: 40px;
}

.modal-form-area h2 {
    color: #001d42;
    font-size: 2.2rem;
    margin: 0 0 10px;
}

.modal-form-area p {
    color: #666;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-field label {
    display: block;
    font-weight: 700;
    color: #001d42;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.input-field input,
.input-field select,
.input-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.3s;
    box-sizing: border-box;
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
    border-color: #db9712;
    outline: none;
    background: #fffcf5;
}

.modal-submit-btn {
    width: 100%;
    background: #001d42;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-submit-btn:hover {
    background: #db9712;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}














/* Privacy Policy */
.policy-page {
    background-color: #fbfbfb;
    padding-top: 20px;
    padding-bottom: 80px;
}

.policy-hero {
    background: #001d42;
    padding: 100px 0 80px;
    text-align: center;
    color: white;
}

.policy-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.policy-hero .accent {
    color: #db9712;
}

.policy-hero p {
    opacity: 0.8;
    font-size: 1rem;
}

.content-wrapper {
    max-width: 850px;
    margin: -40px auto 0;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.policy-block {
    margin-bottom: 40px;
}

.policy-block h2 {
    color: #001d42;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-block h2 i {
    color: #db9712;
    font-size: 1.2rem;
}

.policy-block p,
.policy-block li {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.policy-block ul {
    padding-left: 20px;
}

.policy-block li strong {
    color: #001d42;
}

.contact-info-box {
    background: #f4f7fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #db9712;
    margin-top: 20px;
}

.contact-info-box p {
    margin-bottom: 8px;
    color: #001d42;
}

















/* blog page */

.blog-page {
    background: #edf1f4;
    padding-bottom: 60px;
}

.blog-hero {
    background: linear-gradient(135deg, #001d42 0%, #002d66 100%);
    padding: 120px 0 40px;
    text-align: center;
    color: white;
}

.blog-hero .badge {
    background: #db9712;
    color: #001d42;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.blog-hero h1 {
    font-size: 2.6rem;
    margin: 20px 0;
}

.blog-hero p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Filters */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 60px;
    position: relative;
    z-index: 10;
}

.filter-btn {
    background: #001d42;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #db9712;
    color: white;
    transform: translateY(-3px);
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #edf2f7;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 29, 66, 0.15);
}

.blog-img {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #db9712;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-body {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 15px;
}

.blog-meta i {
    color: #db9712;
    margin-right: 4px;
}

.blog-body h3 {
    color: #001d42;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: 0.3s;
}

.blog-card:hover h3 {
    color: #db9712;
}

.blog-body p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.read-more {
    color: #001d42;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #db9712;
}

.read-more i {
    transition: 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
    color: #db9712;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    color: #001d42;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.page-link.active,
.page-link:hover {
    background: #001d42;
    color: white;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-filters {
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

















/* blog detail page */

.blog-detail-page {
    background: #fff;
}

.post-header {
    background: #001d42;
    padding: 120px 0 40px;
}

.back-to-blogs {
    color: #db9712;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.post-category {
    display: block;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.post-header h1 {
    font-size: 2.4rem;
    color: #fff;
    line-height: 1.2;
    max-width: 900px;
    margin-bottom: 30px;
}

.post-meta-large {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #8f9db3;
    font-size: 0.95rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
}

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Layout Grid */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    padding: 60px 0;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-text h2 {
    color: #001d42;
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.article-text p {
    margin-bottom: 20px;
}

.article-text .lead {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.4;
    font-weight: 500;
}

blockquote {
    border-left: 4px solid #db9712;
    padding: 20px;
    background: #fff9ed;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: #001d42;
    border-radius: 0 15px 15px 0;
}

.content-highlight-box {
    background: #f0f9f8;
    border-radius: 15px;
    padding: 20px;
    border: 1px dashed #001d42;
    margin: 40px 0;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #e0e5ea;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 30px;
}

.promo-widget {
    background: #001d42;
    color: white;
    text-align: center;
}

.promo-widget h3 {
    color: #db9712;
    margin-bottom: 15px;
}

.promo-widget .batch-btn {
    width: 100%;
    background: #db9712;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 20px;
}

.related-list {
    list-style: none;
    padding: 0;
}

.related-list li {
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.related-list a {
    text-decoration: none;
    color: #001d42;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.related-list a:hover {
    color: #db9712;
}

.related-list span {
    font-size: 0.8rem;
    color: #7c8795;
}

/* Share Buttons */
.post-share {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e5ea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001d42;
    transition: 0.3s;
    text-decoration: none;
}

.post-share a:hover {
    background: #db9712;
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr;
    }

    .post-header h1 {
        font-size: 2.2rem;
    }
}
/* ---------------------------------------------------------------
   Form feedback (added for the CMS: validation + success messages)
   --------------------------------------------------------------- */
.form-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-alert p {
    margin: 0 0 4px;
}

.form-alert p:last-child {
    margin-bottom: 0;
}

.form-alert-error {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #a12626;
}

.form-alert-success {
    background: #e8f6ec;
    border: 1px solid #b7e0c3;
    color: #1d6b33;
}

/* ---------------------------------------------------------------
   Enquiry confirmation page
   --------------------------------------------------------------- */
.ty-page {
    background: #f4f7fa;
    padding-bottom: 70px;
}

/* ---- hero ---- */
.ty-hero {
    background: var(--primary-color);
    background-image: radial-gradient(circle at 15% 20%, rgba(219, 151, 18, .18), transparent 45%),
                      radial-gradient(circle at 85% 90%, rgba(219, 151, 18, .10), transparent 40%);
    color: var(--white);
    text-align: center;
    padding: 58px 20px 66px;
}

.ty-check {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ty-check svg { width: 46px; height: 46px; }

.ty-check-circle {
    stroke: var(--secondry-color);
    stroke-width: 2.5;
    stroke-dasharray: 152;
    stroke-dashoffset: 152;
    animation: ty-draw .55s ease-out forwards;
}

.ty-check-mark {
    stroke: var(--secondry-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: ty-draw .35s .5s ease-out forwards;
}

@keyframes ty-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .ty-check-circle, .ty-check-mark { animation: none; stroke-dashoffset: 0; }
}

.ty-badge {
    display: inline-block;
    background: rgba(219, 151, 18, .16);
    border: 1px solid rgba(219, 151, 18, .38);
    color: var(--secondry-color);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 30px;
}

.ty-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 16px 0 12px;
    line-height: 1.15;
}

.ty-lead {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .82);
}

.ty-lead strong { color: var(--white); }

.ty-ref {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px dashed rgba(255, 255, 255, .28);
}

.ty-ref span {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.ty-ref strong {
    font-size: 1.02rem;
    letter-spacing: .08em;
    color: var(--secondry-color);
}

/* ---- body ---- */
.ty-body { margin-top: -34px; }

.ty-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 22px;
    align-items: start;
}

.ty-card {
    background: var(--white);
    border: 1px solid #e4e9f0;
    border-radius: 14px;
    padding: 26px 26px 24px;
    box-shadow: 0 4px 18px rgba(0, 29, 66, .05);
    margin-bottom: 22px;
}

.ty-card:last-child { margin-bottom: 0; }

.ty-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 18px;
}

.ty-card-title i { color: var(--secondry-color); font-size: 1rem; }

/* ---- submitted summary ---- */
.ty-summary { margin: 0; }

.ty-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px dashed #e6ebf2;
}

.ty-summary-row:last-child { border-bottom: 0; }

.ty-summary dt {
    font-size: .76rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #8794a7;
    font-weight: 700;
    flex-shrink: 0;
}

.ty-summary dd {
    margin: 0;
    font-size: .98rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    word-break: break-word;
}

.ty-note {
    margin: 18px 0 0;
    padding: 11px 14px;
    background: #f7f9fc;
    border-left: 3px solid var(--secondry-color);
    border-radius: 6px;
    font-size: .86rem;
    color: var(--text-gray);
    line-height: 1.55;
}

.ty-note i { color: var(--secondry-color); margin-right: 5px; }

/* ---- next steps ---- */
/* Full width under the two-column row, so the sidebar's shorter height
   does not leave a dead gap beside it. */
.ty-steps-card { margin-top: 0; }

.ty-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ty-steps li {
    position: relative;
    min-width: 0;
}

/* Horizontal connector running from each circle to the next step. */
.ty-steps li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 46px;
    right: -26px;
    top: 17px;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f1, #eef2f7);
}

.ty-step-body { margin-top: 14px; }

.ty-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondry-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    z-index: 1;
}

.ty-steps h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
}

.ty-steps p {
    margin: 0;
    font-size: .9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ---- contact card ---- */
.ty-contact-card { position: sticky; top: 20px; }

.ty-contact-card > p {
    margin: -8px 0 18px;
    font-size: .9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.ty-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 11px;
    text-decoration: none;
    margin-bottom: 11px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.ty-action:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 29, 66, .13); }

.ty-action i { font-size: 1.35rem; width: 26px; text-align: center; }
.ty-action span { display: flex; flex-direction: column; line-height: 1.35; }
.ty-action strong { font-size: .98rem; font-weight: 800; }
.ty-action small { font-size: .78rem; opacity: .85; }

.ty-action-call { background: var(--primary-color); color: var(--white); }
.ty-action-wa { background: #25d366; color: #06331a; }

.ty-contact-meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #e6ebf2;
}

.ty-contact-meta p {
    margin: 0 0 8px;
    font-size: .85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 9px;
    word-break: break-word;
}

.ty-contact-meta p:last-child { margin-bottom: 0; }
.ty-contact-meta i { color: var(--secondry-color); width: 15px; }

/* ---- explore ---- */
.ty-explore { margin-top: 40px; }

.ty-explore-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ty-explore-head h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* The shared .course-grid is built for the home page's 5 cards: 5 tracks on
   desktop, and below 1000px a 6-track grid whose cards carry nth-child span
   rules. This section shows 3 cards, so it needs its own track count and the
   inherited spans reset (the descendant selector outranks .course-card:nth-child). */
.ty-explore .course-grid { grid-template-columns: repeat(3, 1fr); }
.ty-explore .course-grid .course-card { grid-column: auto; }

.ty-link {
    color: var(--secondry-color);
    font-weight: 800;
    font-size: .9rem;
    text-decoration: none;
    white-space: nowrap;
}

.ty-link:hover { text-decoration: underline; }

.ty-footer-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f1;
}

/* ---- overflow guards ----
   Grid and flex children default to min-width:auto, which lets long words
   (a pasted email, a long course name) push the layout wider than the
   viewport. These keep the page fluid at every width. */
.ty-page, .ty-card, .ty-grid, .ty-main, .ty-side { min-width: 0; max-width: 100%; }
.ty-page :where(h1, h2, h3, p, dd, dt, small, strong) { overflow-wrap: anywhere; }

/* ---- responsive ---- */
@media (max-width: 900px) {
    .ty-grid { grid-template-columns: 1fr; }
    .ty-contact-card { position: static; }
    .ty-hero h1 { font-size: 2rem; }
    .ty-steps { grid-template-columns: 1fr; gap: 0; }

    /* Back to a vertical timeline once the steps stack. */
    .ty-steps li { display: flex; gap: 16px; padding-bottom: 22px; }
    .ty-steps li:last-child { padding-bottom: 0; }
    .ty-steps li:not(:last-child)::before {
        left: 17px;
        right: auto;
        top: 38px;
        bottom: 4px;
        width: 2px;
        height: auto;
        background: linear-gradient(#e2e8f1, #eef2f7);
    }
    .ty-step-body { margin-top: 6px; }
    .ty-explore .course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .ty-explore .course-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .ty-hero { padding: 44px 16px 56px; }
    .ty-hero h1 { font-size: 1.65rem; }
    .ty-lead { font-size: .95rem; }
    .ty-card { padding: 20px 18px; }
    .ty-ref { flex-direction: column; gap: 4px; align-items: flex-start; }
    .ty-summary-row { flex-direction: column; gap: 3px; }
    .ty-summary dd { text-align: left; }
    .ty-footer-links { flex-direction: column; }
}
