/* Modern Educational Color Scheme (SHAAN-X LEARNING) */
:root {
    --primary-blue: #091369; /* Derived from logo dark blue */
    --accent-yellow: #ffb703; /* Bright yellow/gold for high contrast */
    --secondary-blue: #0077b6;
    --dark-bg: #03045e;
    --text-dark: #1d2538;
    --text-gray: #555c6e;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gradient-brand: linear-gradient(135deg, var(--accent-yellow), #ffd166);
}

body {
    font-family: 'Mulish', sans-serif;
    color: var(--text-gray);
    background-color: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
}

.cursive-font {
    font-family: 'Charmonman', cursive;
    color: var(--accent-yellow);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
    font-weight: 500;
}
.top-bar a {
    color: var(--white);
    margin-right: 20px;
}
.top-bar a:hover {
    color: var(--accent-yellow);
}
.social-icons a {
    color: var(--accent-yellow);
    margin-left: 15px;
    font-size: 16px;
}
.social-icons a:hover {
    color: var(--white);
}

/* Glassmorphism Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}
.navbar-brand {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--primary-blue) !important;
    letter-spacing: 1px;
}
.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0 12px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

/* Mobile Navbar Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 15px;
    }
    .nav-link {
        margin: 10px 0;
        font-size: 16px;
    }
}

/* Buttons */
.btn-brand {
    background: var(--gradient-brand);
    color: var(--primary-blue) !important;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
    transition: all 0.3s ease;
}
.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.5);
    background: var(--accent-yellow);
    color: var(--dark-bg) !important;
}
.btn-outline-brand {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
}
.btn-outline-brand:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Hero Section */
.hero-section .carousel-item {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(9, 19, 105, 0.9) 0%, rgba(3, 4, 94, 0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    top: 50%;
    transform: translateY(-50%);
    max-width: 800px;
}
.hero-content h2 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #f1f1f1;
    margin-bottom: 30px;
}

/* Section Formatting */
.section-padding {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
}
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading h4 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 800;
}
.section-heading h4::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--accent-yellow);
    bottom: -5px;
    left: 25%;
    border-radius: 2px;
}

/* Key Features Section */
.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    z-index: 1;
}
.feature-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: var(--primary-blue);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}
.feature-box:hover {
    transform: translateY(-10px);
}
.feature-box:hover::before {
    opacity: 1;
}
.feature-box:hover h5, .feature-box:hover p {
    color: var(--white);
}
.feature-box:hover .feature-icon {
    color: var(--accent-yellow);
}
.feature-icon {
    font-size: 55px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    transition: color 0.4s ease;
}
.feature-box h5 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

/* Courses Cards (formerly Properties) */
.property-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(9, 19, 105, 0.15);
}
.property-features {
    display: flex;
    justify-content: space-between;
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0 0 0;
    list-style: none;
}
.property-features li {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.property-features li:last-child {
    margin-bottom: 0;
}
.property-features i {
    color: var(--primary-blue);
    font-size: 18px;
    width: 20px;
}

/* Testimonials */
.testimonial-box {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 15px;
    text-align: center;
    border-top: 5px solid var(--accent-yellow);
}
.testimonial-box i.fa-quote-left {
    font-size: 45px;
    color: rgba(255, 183, 3, 0.4);
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    background: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    position: relative;
}
.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 4, 94, 0.9); /* Dark Blue Overlay */
}
.contact-form-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}
.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 15px;
    border-radius: 8px;
    color: var(--text-dark);
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.5);
    background: var(--white);
}

/* Floating WhatsApp Button (Mobile Friendly) */
.fab-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.fab-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* Back to top */
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #aaa;
    padding: 50px 0 20px;
}
footer h5 { color: var(--accent-yellow); font-weight: 700; }
.footer-links a {
    color: #cfd4eb;
    display: block;
    margin-bottom: 10px;
}
.footer-links a:hover { color: var(--accent-yellow); padding-left: 5px; }
