:root {
    /*--maroon: #F37121; /* Qatar flag maroon * /
	--maroon: #2B6CB0; 
    --maroon-dark: #75fd71;
	--secondary: #75fd71;  /* Warm orange for accents * /
    --white: #FFFFFF;
    --light: #F8F9FA;
    --dark: #212529;
    --gold: #D4AF37; /* Accent color * /
    --cream: #F5F5F5;
	--accent: #4CAF50; 
    --gradient: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);*/
--primary: #1F3C88;        /* Trust blue */
--secondary: #2B6CB0;      /* Modern blue */
--accent: #F6C90E;         /* Gold CTA */
--white: #FFFFFF;
--light: #F8FAFC;
--dark: #212529;
--muted: #6C757D;
--gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

}
/*:root {
    --maroon: #8A1538; /* Qatar flag maroon * /
    --maroon-dark: #6A0F2B;
    --white: #FFFFFF;
    --light: #F8F9FA;
    --dark: #212529;
    --gold: #D4AF37; /* Accent color * /
    --cream: #F5F5F5;
    --gradient: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
}*/

body {
    font-family: 'Poppins', sans-serif;
    /*color: var(--dark);*/
	color: var(--primary);

    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--maroon);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    /*background: var(--white);
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
	background: white;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);

    transition: all 0.3s;
}

.navbar-scroll {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--maroon) !important;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
   /* color: var(--dark) !important;*/
   color: var(--secondary) !important;


    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    /*color: var(--maroon) !important;*/
	
    color: var(--maroon) !important;
}


.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: rgba(138, 21, 56, 0.05);
    color: var(--maroon);
}

/* Hero Section */
.hero {
    background: var(--gradient), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 120px 0 100px;
}

.hero h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-primary {
    background: var(--maroon);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--maroon-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 21, 56, 0.2);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: white;
    color: var(--maroon);
}

/* Features Section */
.features {
    padding: 40px 0;
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}
/*.feature-content p {
    padding: 16px 20px;
    margin: 0;
}

.feature-content p:nth-child(even) {
    background: #F8FAFC;
    border-radius: 8px;
}*/


/* odd = light */
.feature-content p:nth-child(odd) {
    background: #1F3C88;
    color: #ffffff;
}

/* even = soft dark (not heavy) */
.feature-content p:nth-child(even) {
    background: #F1F5F9;   /* light slate */
    color: #1F2937;
}

.feature-content p {
    padding: 18px 22px;
    margin: 0;
    line-height: 1.7;
    border-radius: 10px;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--maroon);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* soft top accent (not harsh border) */
.feature-card {
    background: linear-gradient(
        180deg,
        #1A2540 0%,
        #111827 100%
    );
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    position: relative;

    color: #E5E7EB;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.04);

    transition: all 0.35s ease;
    overflow: hidden;
}

/* top accent strip */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #3B82F6,
        #60A5FA
    );
}

/* hover lift */
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 40px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.06);
}



.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--maroon);
    color: white;
    font-size: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-card h3 {
    color: #F9FAFB;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: #D1D5DB;
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-card i {
    font-size: 28px;
    margin-bottom: 14px;
    color: #60A5FA;
}
@media (max-width: 768px) {
    .feature-card {
        padding: 26px 22px;
    }
}

/* Subjects Section */
.subjects {
    padding: 80px 0;
    background: var(--cream);
}

.subject-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
    border-top: 3px solid var(--maroon);
}

.subject-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.subject-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.subject-card-body {
    padding: 25px;
}

.subject-badge {
    background: var(--maroon);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light);
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Results Section */
.results {
    padding: 80px 0;
    background: linear-gradient(180deg, #1A2540 0%, #111827 100%);
    color: #E5E7EB;
}


.results .section-title h2,
.results .section-title {
    color: #F9FAFB;
}

.results .section-title:after {
    background: #60A5FA;
}


.result-card {
    background: #ffffff;
    color: #1F2937;
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.15);

    transition: all 0.35s ease;
    position: relative;
}

/* subtle accent strip */
.result-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

.result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}



.result-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-bottom: 20px;
}
.result-card h4,
.result-card h5 {
    color: #0F172A;
}

.result-card p {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
}

.stars {
    color: #FACC15; /* gold stays */
}

/* Stats */
.stats {
    background: rgba(255,255,255,0.08);
    color: #E5E7EB;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin: 15px;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.05);
}


.stats h3 {
    font-size: 2.5rem;
    color: #60A5FA;
    margin-bottom: 5px;
}
.stats p {
    color: #D1D5DB;
    font-size: 0.9rem;
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 3px solid var(--maroon);
}

.contact-info {
    margin-bottom: 25px;
}

.contact-info i {
    color: var(--maroon);
    font-size: 1.2rem;
    margin-right: 10px;
    width: 25px;
    text-align: center;
}

.contact-info a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
}

.contact-info a:hover {
    color: var(--maroon);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

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

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

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    color: #adb5bd;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Add this to your styles.css file */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: .1rem;
}

/* Show the submenu on hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Rotate caret on hover */
.dropdown-submenu:hover > a:after {
    transform: rotate(-90deg);
}

/* Small arrow indicator */
.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -5px;
    transition: transform 0.3s ease;
}

/* Competitive Exams specific styling */
.dropdown-submenu.competitive-exams > a.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.dropdown-submenu.competitive-exams > a.dropdown-toggle .fa-chevron-right {
    margin-left: 10px;
    margin-top: 0;
    float: none;
}

/* General submenu arrow alignment fix */
.dropdown-submenu > a.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-submenu > a.dropdown-toggle::after {
    display: none; /* Hide the default Bootstrap caret */
}

.dropdown-submenu > a.dropdown-toggle .fa-chevron-right {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.dropdown-submenu:hover > a.dropdown-toggle .fa-chevron-right {
    transform: rotate(90deg);
}

/* General submenu width adjustment */
.dropdown-submenu > .dropdown-menu {
    min-width: 300px; /* Adjust this value as needed */
}

/* Updated Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    /*background: linear-gradient(135deg, #2B6CB0 0%, #75fd71 100%);*/
	/*background: var(--gradient);*/
	background: #1F3C88;
    padding: 0;
    overflow: hidden;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
    color: white !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-item:hover, .dropdown-item:focus {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
}

.dropdown-header {
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(0,0,0,0.1);
}

.dropdown-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 0;
}

/* Submenu styling */
.dropdown-submenu .dropdown-menu {
    background: linear-gradient(135deg, #2B6CB0 0%, #75fd71 100%);
    margin-left: 0;
}

/* Arrow color adjustment */
.dropdown-submenu > a.dropdown-toggle .fa-chevron-right {
    color: rgba(255,255,255,0.7);
}

/* Active state for dropdown items */
.dropdown-item.active, .dropdown-item:active {
    background-color: rgba(0,0,0,0.2) !important;
}

/* Mobile menu adjustments */
@media (max-width: 992px) {
    .dropdown-menu {
        background: #2B6CB0; /* Solid color for mobile */
    }
    
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .dropdown-submenu .dropdown-menu {
        background: rgba(43, 108, 176, 0.9);
        margin-left: 15px;
    }
}

/* Update button styles in styles.css */
/* ===============================
   Professional CTA Buttons
================================ */

.btn-primary {
    background: linear-gradient(135deg, #1F3C88 0%, #2B6CB0 100%);
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 6px 16px rgba(31, 60, 136, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #162E66 0%, #1F3C88 100%);
    box-shadow: 0 10px 22px rgba(31, 60, 136, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(31, 60, 136, 0.25);
}
/* For outline buttons */
.btn-outline-primary {
    border: 2px solid #2B6CB0;
    color: #2B6CB0;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #2B6CB0 0%, #75fd71 100%);
    color: white;
    border-color: transparent;
}

/* Dual-color icon styling */
.dual-color-icon {
    background: linear-gradient(135deg, #2B6CB0 50%, #75fd71 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* For Font Awesome icons */
.fa-dual-color {
    position: relative;
}

.fa-dual-color:before {
    background: linear-gradient(135deg, #2B6CB0 0%, #75fd71 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Feature icons */
.feature-icon {
    /*background: linear-gradient(135deg, #2B6CB0 0%, #75fd71 100%);*/
	background: var(--secondary);

    color: white;
}

/* WhatsApp icon */
.whatsapp-float i {
    background: linear-gradient(135deg, #2B6CB0 0%, #75fd71 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Active nav items */
.nav-link.active {
    background: linear-gradient(135deg, #2B6CB0 0%, #75fd71 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 600;
}

/* Dropdown items */
.dropdown-item.active {
background: linear-gradient(135deg, rgba(43, 108, 176, 0.1) 0%, rgba(117, 253, 113, 0.1) 100%) !important;}

/* ===============================
   Fee Structure Table – FINAL
================================ */

.fee-structure {
	margin-top: 40px;
    padding: 80px 0;
    background: #f8f9fa;
}

.fee-table-wrapper {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
}

.fee-table thead th {
    background:#1f3c88 var(--maroon);
    color: #1f3c88;
    padding: 16px 20px;
    font-weight: 600;
    text-align: left;
}

.fee-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #e6e6e6;
}

.fee-table tbody tr:hover {
    background: rgba(43,108,176,0.06);
}

.fee-table td span {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
}

.highlight-row {
    background: rgba(43,108,176,0.12);
    font-weight: 600;
}

.fee-note {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 0.95rem;
    color: #555;
}
.fee-disclaimer {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #6c757d;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

footer a {
    font-size: 0.85rem;
    color: #aaa;
}

/* ===============================
   Dark Section System (Global)
================================ */

/* Dark background section */
.section-dark {
    background: linear-gradient(180deg, #1A2540 0%, #111827 100%);
    padding: 80px 0;
    color: #E5E7EB;
}

/* Reusable dark card */
.card-dark {
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    color: #E5E7EB;
    position: relative;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.04);

    transition: all 0.35s ease;
}

.card-dark:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

/* Accent strip */
.card-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

/* Text rules */
.card-dark h3,
.card-dark h4 {
    color: #F9FAFB;
}

.card-dark p {
    color: #D1D5DB;
    line-height: 1.6;
}
