﻿body {
    margin: 0;
    font-family: Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    min-height: 80vh;
    overflow-x: hidden;
  
}
.hero-intro {
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    text-align: center;
    min-height: 40vh; /* good height for hero section */
    padding: 2rem 1rem;
}

    .hero-intro h3,
    .hero-intro p {
        color: #ffffff; /* white text */
    }

.intro-content {
    max-width: 800px; /* keeps text readable on desktop */
}



Header .site-header {
    background: #00026c;
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1200;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    width: 150vw; /* Full width of the viewport */
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    background: #00026c;
}

.brand-link {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

Desktop nav list .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    align-items: center
}

.nav-list a, .nav-list button {
    color: #ffffff;
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer
}

.nav-list button {
    display: flex;
    align-items: center;
    gap: 0.4rem
}
/* Align Academics button with nav links */

#academicsDesktopBtn {
    margin-top: -3px;
}


Mobile toggle styling .mobile-toggle {
    background: #00026c;
    border-radius: 4px;
    padding: 6px;
    border: none;
    width: 42px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center
}

.mobile-only {
    display: none
}

.hamburger {
    width: 20px;
    height: 2px;
    background: #ffffff;
    display: block;
    position: relative;
}

    .hamburger::before, .hamburger::after {
        content: "";
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        background: #ffffff;
    }

    .hamburger::before {
        top: -6px;
    }

    .hamburger::after {
        top: 6px;
    }
/* ================= HEADER ================= */

.site-header {
    background: #02026d;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1100px;
    margin: auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.desktop-nav a, .desktop-nav button {
    color: #fff;
    background: none;
    border: none;
    margin-left: 16px;
    font-size: 1rem;
    cursor: pointer;
   }

/* ================= MOBILE TOGGLE ================= */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    color: #fff;
}
/* ================= SHARED FLYOUT (MOBILE + DESKTOP) ================= */

.mobile-flyout {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 4px 0 20px rgba(0,0,0,.2);
    transform: translateX(-100%);
    overflow-y: auto;
    transition: transform .3s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

    .mobile-flyout[aria-hidden="false"] {
        transform: translateX(0);
    }
/* ================= FLYOUT HEADER ================= */

.flyout-header {
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .flyout-header h3 {
        margin: 0;
    }

    .flyout-header p {
        margin: 4px 0 0;
        font-size: .9rem;
        color: #555;
    }

    .flyout-header button {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }
/* =================FLYOUT BODY AND  SEARCH ================= */


/* Flyout body container */
#flyoutBody {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 0;
}

    /* Subjects & Questions buttons */
    #flyoutBody button {
        all: unset; /* remove default button styles */
        cursor: pointer;
        padding: 12px 14px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        color: #0b2a55; /* deep academic blue */
        background-color: #f6f9ff; /* very light blue */
        transition: background 0.2s ease, transform 0.15s ease;
    }

        /* Hover / tap feedback */
        #flyoutBody button:hover {
            background-color: #e7efff;
        }

        #flyoutBody button:active {
            transform: scale(0.98);
        }

/* Divider line (soft & clean) */
.flyout-divider {
    border: none;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 4px 0;
}

/* Links inside flyout (Home, About, Contact) */
#flyoutBody a {
    text-decoration: none;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #0b2a55;
    border-radius: 8px;
    background-color: #f6f9ff;
}

    #flyoutBody a:hover {
        background-color: #fb7b7b;
    }

/* Search input */
#flyoutSearch {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d6e0ff;
    font-size: 14px;
    margin: 10px 0;
}

    #flyoutSearch:focus {
        outline: none;
        border-color: #3b6fff;
        box-shadow: 0 0 0 2px rgba(59, 111, 255, 0.15);
    }

                         /* Thin white scrollbar */

    .flyout-body::-webkit-scrollbar {
        width: 4px;
    }

    .flyout-body::-webkit-scrollbar-thumb {
        background: #fff;
        border-radius: 10px;
    }
                              /* Items */

    .flyout-body a, .flyout-body button {
        display: block;
        width: 100%;
        padding: 14px 16px;
        border-bottom: 1px solid #f0f0f0;
        background: none;
        border: none;
        text-align: left;
        font-size: 1rem;
        text-decoration: none;
        color: #000;
        cursor: pointer;

 
    }
/* Flyout scrolling */
#mobileFlyout {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #9ecbff transparent;
}

    /* Chrome / Edge */
    #mobileFlyout::-webkit-scrollbar {
        width: 6px;
    }

    #mobileFlyout::-webkit-scrollbar-track {
        background: transparent;
    }

    #mobileFlyout::-webkit-scrollbar-thumb {
        background-color: #9ecbff;
        border-radius: 10px;
    }
    

          /* Desktop */
        @media (min-width: 768px) {
            .desktop-only {
                display: flex;
            }

            .mobile-only {
                display: none;
            }
        }
        /* Mobile */

        @media (max-width: 767px) {
            .desktop-only {
                display: none;
            }

            .mobile-only {
                display: flex;
            }
        }
        /* ================= RESPONSIVE ================= */

        @media (max-width: 900px) {
            .desktop-nav {
                display: none;
            }

            .mobile-toggle {
                display: block;
            }
        }

/*..................Academics Button Spacal Styling Begiin.................. */

.academics-btn {
    background-color: #0d6efd; /* light blue */
    border-radius: 8px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease;


}

 
    .academics-btn:hover {
        background-color: #d4e9ff;
    }

   
    .academics-btn i {
        font-size: 0.8rem;
    }

/* ===============================
   DESKTOP NAV LIST ADJUSTMENT
================================ */
.desktop-only .academics-btn {
    color: #ffffff; /* matches your header theme */
    margin-top:-4px
}

/* ===============================
   MOBILE FLYOUT NAV LIST
================================ */
.mobile-nav .academics-btn,
.flyout-menu .academics-btn {
    width: 100%;
    justify-content: space-between;
}
.flyout-back-btn {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 14px;
    color: #2563eb;
    cursor: pointer;
    margin-bottom: 10px;
}

/*..................Academics Button Spacal Styling Ends.................. */
/* lists */

.row {
    padding-top: 20px;
}

.subject-list, .year-list, .mobile-list, .nav-list {
    list-style: none;
    padding: 0; /* remove padding */
    margin: 0; /* remove spacing */
    background: none !important;
    border: none !important;
}

    .subject-list li, .year-list li, .mobile-list li {
        padding: 8px 6px;
        border-radius: 4px;
      
    }

        .subject-list li a, .year-list li a, .mobile-list li a, .link-like {
            text-decoration: none;
            display: block;
            padding: 4px 0; /* small clean padding */
            display: block;
            background: none !important;
            border: none !important;
            color: #063749;
            font-size: 1rem;
        }

        .subject-list li:hover, .year-list li:hover, .mobile-list li:hover {
            background: none !important;
        }
/* small screens */

@media (max-width:900px) {
    .desktop-only {
        display: none
    }

    .mobile-only {
        display: block
    }

    .flyout-desktop {
        display: none
    }

    .header-inner {
        padding: 0.6rem
    }
}
/* utility */

.content {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 16px
}
/* .................................Background Image begings.................................... */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( to bottom, #2a3fa8 0%, /* cloudy deep blue */
    #2a3fa8 30%, #4f6fd4 55%, /* soft medium blue */
    #cfd8f0 85%, /* misty blue-white (much taller) */
    #ffffff 100% /* cloud fade */
    );
}





 .hero-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .banner-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 2, 108, 0.5);
        }

        .banner-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
        }

.hero-text {
    text-align: center;
    max-width: 800px;
    padding: 20px 30px;
}

    .hero-text h1 {
        color: #ffffff; /* strong contrast on deep blue */
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-text p {
        color: #e6ecff;
        font-size: 1.1rem;
    }


/* ===========================
   📱 Mobile View Adjustments
   =========================== */
@media (max-width: 768px) {
    .hero-text {
        top: 55%; /* slightly lower for better balance */
        width: 100%; /* wider text area on mobile */
        max-width: none;
        padding: 30px 20px;
    }

        .hero-text h1 {
            font-size: 1.3rem;
        }
}

/* .................................Background Image begings.................................... */

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* Full width of the viewport */
    height: 60vh; /* 60% of viewport height */
    object-fit: cover; /* Keeps image proportion and covers area */
    filter: brightness(60%);
    z-index: 1;
}
/* ===== Text Overlay ===== */

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    z-index: 2;
    padding: 0 1rem;
}

    .banner-content p {
        font-size: 3.5rem;
        font-weight: 300;
        margin-top: 5px;
    }
/* ===== Responsive Adjustments ===== */

@media (max-width: 992px) {
    .hero-banner {
        height: 55vh;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 50vh;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 45vh;
    }

    .banner-content h1 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .hero-banner .banner-content h1 {
        font-size: 2.4rem; /* increase heading size */
        line-height: 1.2;
    }

    .hero-banner .banner-content p {
        font-size: 1.25rem; /* increase paragraph size */
        line-height: 1.4;
    }
}
@media (max-width: 767px) {
    .hero-banner .banner-content {
        padding: 0 1rem;
    }
}

/* ================= SUBJECTS SECTION HORIZONTAL SUBJECT SCROLL begins================= *//* ================= SUBJECTS WRAPPER ================= */
.subjects-section {
    position: relative;
    max-width: 1100px;
    margin: 2px auto 20px;
    padding: 0 45px;
}

/* ================= SCROLL CONTAINER ================= */
.subjects-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 25px 0;

    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* Mobile smooth touch */
    -webkit-overflow-scrolling: touch;

    cursor: grab;
}
.subjects-scroll::-webkit-scrollbar {
    display: none;
}

/* ================= SUBJECT ITEM ================= */
.subject-item {
    flex: 0 0 auto;
    padding: 10px 20px;
    background: #e8f0ff;
    color: #02026d;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.subject-item:hover {
    background: #d6e4ff;
    transform: translateY(-2px);
}

/* ================= SCROLL BUTTONS ================= */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #02026d;
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}
.scroll-btn:hover {
    opacity: 1;
}
.scroll-btn.left {
    left: 5px;
}
.scroll-btn.right {
    right: 5px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .subjects-section {
        padding: 0 10px;
    }

    /* Hide arrows on mobile – swipe instead */
    .scroll-btn {
        display: none;
    }

    .subject-item {
        font-size: 0.9rem;
        padding: 9px 15px;
    }
}

/* HORIZONTAL SUBJECT SCROLL ends */
.page-heading {
    background: linear-gradient(90deg,#0d6efd22, #0d6efd22);
    padding: 2.00rem;
    margin-bottom: 2.00rem;
    margin-top: 2.00rem;
}

.qa-number{
    color:#00026c;
    padding-bottom: 10px;
    font-size:20px;
}
/*************************FAQs begins here *********************/
.faq-section {
    padding: 40px 15px;
}

.faq-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* TABLE OF CONTENTS */
.faq-toc {
    border-left: 4px solid #ff4600;
    padding-left: 20px;
}

    .faq-toc ul {
        list-style: none;
        padding: 0;
    }

    .faq-toc li {
        margin-bottom: 12px;
    }

    .faq-toc a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
    }

        .faq-toc a:hover {
            color: #c40000;
            text-decoration: underline;
        }

/* FAQ CONTENT */
.faq-item {
    margin-bottom: 30px;
}

    .faq-item h3 {
        font-size: 1.3rem;
        color: #02026d;
        margin-bottom: 10px;
    }

    .faq-item p {
        line-height: 1.7;
        color: #444;
    }

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .faq-toc {
        border-left: none;
        border-top: 4px solid #c40000;
        margin-bottom: 30px;
        padding-top: 20px;
    }
}


/*************************TECHNOLOGY SECTION begins here *********************/

.page-wrapper {
    margin-top: 30px;
}
/* ===============================
   TABLE OF CONTENT (ALL SCREENS)
=============================== */
.toc-box {
    position: sticky;
    top: 80px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 16px 14px;
    background-color: #f8f9fa; /* Light gray background */
    border-left: 4px solid #ff4600; /* Red vertical line */
    border-radius: 6px;
}

/* Heading */
.toc-title {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: #495057;
}

/* Blue accent beside heading */
.toc-accent {
    width: 6px;
    height: 18px;
    background-color: #0d6efd;
    margin-right: 8px;
    border-radius: 3px;
}

/* TOC links */
.toc-box a {
    display: block;
    padding: 10px 12px;
    font-size: 0.95rem;
    text-decoration: none;
    color: #0d6efd;
    border-radius: 6px;
}

    .toc-box a:hover {
        background-color: #e9ecef;
    }
/* ===============================
   STUDY GUIDE TABLE OF CONTENT
================================ */

.study-toc {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top: 90px;
}

.study-toc-title {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.study-toc-accent {
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
}

.study-toc a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 0.95rem;
    text-decoration: none;
    color: #1f2937;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .study-toc a:hover {
        background: #e0ecff;
        color: #1d4ed8;
        transform: translateX(3px);
    }

/* Mobile behaviour */
@media (max-width: 768px) {
    .study-toc {
        position: relative;
        top: auto;
        margin-bottom: 20px;
    }
}


@media (max-width: 991px) {
    .toc-box {
        position: relative; /* still visible, not sticky */
        max-height: unset;
        top: auto;
    }
}


/* ===============================
           CONTENT (8 COL)
        =============================== */
.content-box {
    padding: 0 24px;
}

.tech-section {
    margin-bottom: 70px;
}

    .tech-section h2 {
        scroll-margin-top: 90px;
    }

/* ===============================
           RESPONSIVE
        =============================== */
@media (max-width: 991px) {
    .toc-box {
        position: static;
        max-height: unset;
        border-left: none;
        padding-left: 0;
        margin-bottom: 30px;
    }

    .content-box {
        padding: 0;
    }
}
/***********************PAGINATION STYLING BEGINS HERE *****************/


.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.page-link {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

    .page-link:hover {
        background: #0b4db8;
        color: #fff;
    }

    .page-link.active {
        background: #0b4db8;
        color: #fff;
        border-color: #0b4db8;
    }
/***********************PAGINATION STYLING ENDS HERE *****************/
/* ================= MEGA FOOTER (MODERN) ================= */
/* ================= FOOTER INTRO ================= */

.footer-intro {
    background: #0d6efd22;
    padding: 45px 20px 5px; /* ? reduced bottom padding */
    border-top: 1px solid #eee;
}

.footer-intro-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

    .footer-intro-inner h3 {
        font-size: 18px;
        font-weight: 700;
        color: #111;
        margin-bottom: 14px;
        letter-spacing: 0.4px;
    }

    .footer-intro-inner p {
        font-size: 14px;
        line-height: 1.75;
        color: #555;
        max-width: 760px;
        margin: 0 auto;
    }

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 900px) {
    .footer-intro-inner h3 {
        font-size: 17px;
    }

    .footer-intro-inner p {
        font-size: 13.5px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .footer-intro {
        padding: 40px 18px 35px;
    }

    .footer-intro-inner h3 {
        font-size: 16px;
    }

    .footer-intro-inner p {
        font-size: 13px;
        line-height: 1.7;
    }
}

.mega-footer {
    background: #0d6efd22;
    color: #222;
    padding-top: 60px;
    margin-top: 0; /* remove gap between sections */
    font-family: "Segoe UI", system-ui, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
    text-align: left;
}

/* FOOTER COLUMNS */
.footer-col h4 {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.3px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.5;
        color: #444;
    }

        .footer-col ul li a {
            color: #444;
            text-decoration: none;
            transition: all 0.25s ease;
        }

            .footer-col ul li a:hover {
                color: #f75209;
                padding-left: 6px;
            }

/* SOCIAL ICONS */
.footer-social {
    margin-top: 14px;
}

    .footer-social img {
        width: 22px;
        margin-right: 10px;
        opacity: 0.85;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

        .footer-social img:hover {
            transform: translateY(-3px);
            opacity: 1;
        }

/* MOBILE ICONS */
.footer-mobile {
    margin-top: 12px;
}

    .footer-mobile img {
        width: 60px;
        height: 20px;
        margin-right: 10px;
        opacity: 0.85;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

        .footer-mobile img:hover {
            transform: translateY(-3px);
            opacity: 1;
        }
/* FOOTER BOTTOM */
.footer-bottom {
    margin-top: 50px;
    padding-top: 18px;
    text-align: center;
    border-top: 1px solid #ddd;
    font-size: 12.5px;
    color: #666;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Mobile – ONE COLUMN */
@media (max-width: 700px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4 {
        font-size: 13.5px;
    }

    .footer-col ul li {
        font-size: 13px;
    }

    .footer-social img {
        margin-right: 12px;
    }
}

.tg {
    border-collapse: collapse;
    border-spacing: 0;
}

    .tg td {
        border-color: black;
        border-style: solid;
        border-width: 1px;
        font-family: Arial, sans-serif;
        font-size: 14px;
        overflow: hidden;
        padding: 10px 5px;
        word-break: normal;
    }

    .tg th {
        border-color: black;
        border-style: solid;
        border-width: 1px;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-weight: normal;
        overflow: hidden;
        padding: 10px 5px;
        word-break: normal;
    }

    .tg .tg-fymr {
        border-color: inherit;
        font-weight: bold;
        text-align: left;
        vertical-align: top
    }

    .tg .tg-0pky {
        border-color: inherit;
        text-align: left;
        vertical-align: top
    }
/* Beginning of Small Guide styling to make TOC and content look neat */

.study-page {
    padding: 1.5rem;
}

.toc-card {
    position: sticky;
    top: 1rem;
}

.toc-list a {
    text-decoration: none;
    display: block;
    padding: .35rem 0;
    color: #0b5ed7;
}

    .toc-list a:hover {
        text-decoration: underline;
    }

.lead-paragraph {
    font-size: 1.05rem;
    line-height: 1.6;
}

.section-title {
    margin-top: 1.5rem;
    margin-bottom: .6rem;
}

.time-table-sample {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: #f8f9fa;
    padding: .8rem;
    border-left: 4px solid #0d6efd;
    border-radius: 6px;
}

@media (max-width: 767.98px) {
    .toc-card {
        position: relative;
        top: auto;
        margin-bottom: 1rem;
    }
}
/*======= STYLES (inline to keep partial self-contained) begins here======= */

.study-guide-section {
    padding: 25px 10px;
    font-family: 'Segoe UI', sans-serif;
}
/* TABLE OF CONTENT */

.toc-container {
    padding: 20px;
    margin-bottom: 35px;
    font-family: 'Segoe UI', sans-serif;
    border-left: 4px solid #ff4600;
    color: #0d6efd;
    border-radius: 8px;
    position: sticky;
    top: 20px; /* stays visible while scrolling on desktop */
}

.toc-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.toc-list {
    list-style: none;
    padding-left: 0;
}

    .toc-list li {
        margin-bottom: 8px;
    }

    .toc-list a {
        color: #00026c;
        text-decoration: underline;
        font-size: 16px;
    }

/* ===============================
   SOLUTION PAGE
================================ */

.solution-page {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 16px;
}

.solution-nav-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .solution-nav-top .nav-link {
        text-decoration: none;
        font-weight: 600;
        color: #0d6efd;
    }

.solution-header {
    text-align: center;
    margin-bottom: 30px;
}

.solution-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.solution-subtitle {
    color: #555;
}

.solution-body h2 {
    margin-top: 24px;
}

.final-answer {
    background: #e7f5ff;
    padding: 12px;
    border-left: 4px solid #0d6efd;
    margin-top: 16px;
    font-weight: 600;
}

.solution-pagination {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.solution-share {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
}

    .solution-share a {
        text-decoration: none;
        color: #0d6efd;
        font-weight: 600;
    }

/* MOBILE */
@media (max-width: 767px) {
    .solution-title {
        font-size: 1.6rem;
    }

    .solution-pagination {
        flex-direction: column;
        gap: 12px;
    }
}

/* SUBJECT SECTIONS */

.subjects-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.subject-box {
    flex: 1 1 calc(33% - 20px);
    min-width: 260px;
    background: #f8f9ff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.subject-title {
    background: #00026c; /* deep blue */
    color: white;
    padding: 10px;
    border-radius: 6px;
    font-size: 18px;
    margin-bottom: 12px;
}

.topic-list {
    padding-left: 18px;
}
/* TIMETABLE */

.timetable-container {
    margin-top: 40px;
}

.timetable-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.timetable-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
/* RESPONSIVE */

@media(max-width: 768px) {
    .subject-box {
        flex: 1 1 100%;
    }

    .sg-header h1 {
        font-size: 26px;
    }

    .toc-container {
        padding: 15px;
    }
}

/************************************************SERVICE PAGES*****************************/
.services-bar-wrapper {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 10px;
}

.services-bar {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

    .services-bar::-webkit-scrollbar {
        display: none;
    }

.service-card {
    min-width: 340px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
    text-decoration: none;
    color: #222;
    transition: transform .3s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
    }

    .service-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
     
    }

.service-content {
    padding: 14px;
}

    .service-content h4 {
        margin: 0 0 6px;
        font-size: 16px;
    }

    .service-content p {
        font-size: 13px;
        line-height: 1.4;
        color: #555;
    }

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    gap: 10px;
}

.service-rating {
    font-size: 13px;
    color: #ff4600;
}

    .service-rating span {
        color: #ff4600;
        font-weight: 600;
        margin-right: 7px;
    }
.learn-more {
    display: inline-block;
    margin-top: 0; /* removed since it's now inline */
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff; /* White text */
    background-color: #00026c; /* Deep blue */
    text-decoration: none;
    border-radius: 4px; /* Rectangular, slightly soft */
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

    .learn-more:hover {
        background-color: #082680; /* Darker blue on hover */
        transform: translateY(-1px);
    }

    .learn-more:active {
        transform: translateY(0);
    }



/************************************************TESTIMONIES*****************************/
.testimonial-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.testimonial-carousel {
    position: relative;
    padding: 40px 35px;
    border-radius: 10px;
    overflow: hidden;
}

/* SLIDES */
.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

    .testimonial-slide.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        position: relative;
    }

 /* Bring quote closer to the title */
.testimonial-header {
    margin-bottom: 10px; /* reduce space */
    font-size: 30px;
}

.testimonial-text {
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: 20px;
}

/* Author + dots on same line */
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Optional: keep dots tight */
.testimonial-dots {
    display: flex;
    gap: 6px;
}

/* Optional dot styling (if not already defined) */
.dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

    .dot.active {
        background: #0d6efd;
    }
