
/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    background: #ffffff;
}


/* ======HEADER FOR ALL PAGES START===== */

/* ===================== TOPBAR ===================== */

/* TOPBAR STYLES - FIXED AT TOP */
.topbar {
    background: linear-gradient(to right, #293860, #1f2a48);
    color: white;
    font-family: 'Figtree', sans-serif;
    font-size: 0.85rem;
    padding: 6px 0;
    position: fixed; /* CHANGED from relative to fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Below header but above content */
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    gap: 20px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.topbar-item i {
    color: #00bfff;
    font-size: 0.9rem;
}

/* Login button */
.topbar-login {
    
    color: rgb(255, 255, 255);
    padding: 5px 16px;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s ease;
    border: solid 1px #99bdf0;
}

.topbar-login:hover {
    background: #1058a5;
}

.topbar-login i {
    font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 768px) {
    .topbar-container {
        flex-direction: row; /* Keep horizontal layout */
        justify-content: space-between;
        padding: 2px 15px;
        gap: 0;
    }
    
    .topbar-left {
        flex-direction: row;
        gap: 15px;
        text-align: left;
    }
    
    /* Hide email on mobile */
    .topbar-item:nth-child(1) { /* Email item */
        display: none;
    }
    
    /* Show only time on left */
    .topbar-item:nth-child(2) { /* Time item */
        display: flex;
        font-size: 0.8rem;
    }
    
    /* Login button on right */
    .topbar-login {
        padding: 4px 12px;
        font-size: 0.75rem;
    }
    
    .topbar-login i {
        font-size: 0.8rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .topbar {
        padding: 4px 0;
    }
    
    .topbar-container {
        padding: 2px 10px;
    }
    
    .topbar-item:nth-child(2) {
        font-size: 0.75rem;
        gap: 4px;
    }
    
    .topbar-login {
        padding: 3px 10px;
        font-size: 0.7rem;
    }
    
    .topbar-item i {
        font-size: 0.8rem;
    }
}

/* HEADER STYLES - CORRECTED */
.header {
    position: fixed;
    top: 31px; /* Height of topbar (6px padding top + 6px padding bottom + 19px content ≈ 31px) */
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.99), rgba(242, 242, 248, 0.3));
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1002; /* Above topbar */
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 10px;
}

/* Container stays small */
.container1 {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 50px; /* Small fixed height */
    overflow: visible; /* Allow logo to pop out */
}

/* Logo on LEFT, hangs out below */
.logo {
    position: absolute;
    left: 20px;
    top: 50px; /* Start from bottom of container */
    z-index: 1003;
    margin-top: -60px;
}

.logo-img {
    height: 100px; /* Big logo hanging out */
    width: auto;
    display: block;
    border-radius: 9px;
}

/* Desktop Navigation */
.nav {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

.nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav ul li a {
    font-family: 'Figtree', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.2px;
}

.nav ul li a:hover {
    color: #0568c5;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #175996;
    transition: width 0.3s ease;
}

.nav ul li a:hover::after {
    width: 100%;
}

/* ACTIVE PAGE STYLES - Desktop */
.nav ul li a.active {
    color: #0b6fcd;
    font-weight: 700;
}

.nav ul li a.active::after {
    width: 100%;
    background: #0963b6;
}

/* Hamburger menu icon on RIGHT */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1003;
    margin-left: auto; /* Pushes to far right */
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2d3748;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile menu button animation - Transform to X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Header adjustments for smaller screens */
@media (max-width: 1194px) {
    .header {
        top: 60px;
        margin-top: -18px;
    }
}

@media (max-width: 768px) {
    .header {
        top: 60px;
        margin-top: -28px;
    }
    
    /* Hide desktop nav on mobile */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(227, 224, 239, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1002;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    /* MOBILE LINKS MOVED UP - Adjusted positioning */
    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-top: -80px; /* MOVED LINKS UP */
        padding-top: 0;
    }
    
    .nav ul li a {
        font-size: 1.1rem;
        font-weight: 600;
        color: #393b53;
        padding: 12px 24px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    /* ACTIVE PAGE STYLES - Mobile */
    .nav ul li a.active {
        color: #ffffff;
        background: #0b6fcd;
        box-shadow: 0 4px 12px rgba(11, 111, 205, 0.3);
    }
    
    .nav ul li a.active::after {
        display: none; /* Hide underline on mobile */
    }
    
    /* Hover effect for mobile */
    .nav ul li a:hover {
        color: #0b6fcd;
        background: rgba(11, 111, 205, 0.1);
        transform: translateY(-2px);
    }
    
    /* Show hamburger on mobile */
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Logo on mobile */
    .logo {
        left: 15px;
        top: 45px;
        margin-top: -55px;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .container1 {
        height: 35px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    /* Move links even higher on very small screens */
    .nav ul {
        margin-top: -100px;
        gap: 20px;
    }
    
    .nav ul li a {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .logo {
        margin-top: -50px;
    }
}

/* ADJUST BODY PADDING FOR TOPBAR + HEADER + LOGO */
body {
    padding-top: 191px; /* Topbar height (31px) + header container (50px) + logo hanging out (110px) */
}

@media (max-width: 768px) {
    body {
        padding-top: 175px; /* Adjusted for mobile */
    }
}



/* =====FOOTER FOR ALL PAGES======== */

/* FOOTER STYLES */
.footer {
    background: linear-gradient(135deg, #0a192f 0%, #1a365d 50%, #0a192f 100%);
    color: #e2e8f0;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #c6c8df;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #cdd6eb;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.footer-section p {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #a7acc6;
    max-width: 300px;
    margin-top: -12px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    color: #b1bbce;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 1px 0;
}

.footer-section ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links a {
    font-family: 'Figtree', sans-serif;
    font-size: 0.85rem;
    color: #cbd5e1;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-family: 'Figtree', sans-serif;
    font-size: 0.8rem;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        max-width: 100%;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
    }
    
    .footer-section p {
        font-size: 0.83rem;
    }
    
    .footer-section ul li a {
        font-size: 0.83rem;
    }
    
    .social-links a {
        font-size: 0.83rem;
        padding: 5px 12px;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
    }
}


/* ====PAGE HEADERS FOR ALL==== */

/* MODERN PAGE HEADER - MATCHING YOUR HTML STRUCTURE */
.page-header {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -100px;
    overflow: hidden;
    isolation: isolate;
}

/* Overlay class matching your HTML */
.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(10, 25, 47, 0.85) 0%, 
                rgba(10, 25, 47, 0.7) 50%, 
                rgba(10, 25, 47, 0.9) 100%);
    z-index: 1;
}

/* Optional texture overlay (add this div if you want it) */
.page-header .texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, 
            rgba(255, 255, 255, 0.03) 1px, 
            transparent 1px),
        radial-gradient(circle at 75% 75%, 
            rgba(255, 255, 255, 0.02) 1px, 
            transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.page-header .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.page-header h1 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ebebf6;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin-bottom: 15px;
}

/* YOUR BREADCRUMB STYLING */
.page-header .breadcrumb {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Link styling */
.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.page-header .breadcrumb a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.page-header .breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00bfff, #4f6df5);
    transition: width 0.3s ease;
}

.page-header .breadcrumb a:hover::after {
    width: 100%;
}

/* Separator "/" styling - WHITE */
.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

/* Current page span styling - WHITE */
.page-header .breadcrumb span {
    color: #ffffff;
    font-weight: 600;
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(23, 89, 150, 0.3), rgba(11, 111, 205, 0.2));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Fade in effect */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-header {
        height: 280px;
        background-attachment: scroll;
    }
    
    .page-header h1 {
        font-size: 2.4rem;
    }
    
    .page-header .breadcrumb {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
    
    .page-header .breadcrumb span {
        padding: 4px 12px;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 240px;
        margin-top: -80px;
    }
    
    .page-header .header-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .page-header h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .page-header .breadcrumb {
        font-size: 0.8rem;
        padding: 8px 16px;
        gap: 6px;
    }
    
    .page-header .breadcrumb span {
        padding: 3px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 200px;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .page-header .breadcrumb {
        font-size: 0.75rem;
        padding: 6px 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-header .breadcrumb span {
        padding: 3px 10px;
        font-size: 0.75rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .page-header .overlay {
        background: linear-gradient(135deg, 
                    rgba(5, 15, 30, 0.9) 0%, 
                    rgba(5, 15, 30, 0.75) 50%, 
                    rgba(5, 15, 30, 0.95) 100%);
    }
    
    .page-header .breadcrumb span {
        background: linear-gradient(135deg, rgba(11, 111, 205, 0.4), rgba(23, 89, 150, 0.3));
    }
}

/* ======HOME PAGE STARTS========== */

/* MODERN SLIDER SECTION - OPTIMIZED */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: #0a192f;
    margin-top: -100px;
    will-change: transform;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateZ(0); /* Hardware acceleration */
}

/* Modern slide with scale effect - OPTIMIZED */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.03); /* Reduced from 1.05 */
    transition: opacity 0.8s ease-out, transform 1s ease-out;
    overflow: hidden;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Active slide */
.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* DARKER gradient overlay - OPTIMIZED */
.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(5, 15, 30, 0.85) 0%, 
                rgba(5, 15, 30, 0.7) 50%,
                rgba(5, 15, 30, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Slide image - OPTIMIZED (removed parallax) */
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
    transform: scale(1); /* Removed scaling animation */
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Modern slide content - OPTIMIZED */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px); /* Reduced from 10px */
    padding: 25px 30px;
    border-radius: 12px;
    z-index: 2;
    width: 85%;
    max-width: 800px;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(15px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.slide-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem; /* Reduced from 2.5rem */
    margin-bottom: 12px;
    color: rgb(245, 245, 255);
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.3px;
}

.slide-content p {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem; /* Reduced from 1.1rem */
    margin-bottom: 20px;
    color: rgba(239, 243, 255, 0.9);
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slide-content .btn {
    background: linear-gradient(135deg, #175996 0%, #0d3a6b 100%);
    color: rgb(222, 218, 239);
    padding: 10px 28px; /* Reduced */
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    border: none;
    box-shadow: 0 3px 10px rgba(23, 89, 150, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateZ(0); /* Hardware acceleration */
}

.slide-content .btn:hover {
    background: linear-gradient(135deg, #1f6bb8 0%, #12467a 100%);
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 5px 15px rgba(23, 89, 150, 0.4);
}

/* Modern Arrows - OPTIMIZED */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: none;
    font-size: 1.1rem;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 3;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    will-change: transform;
    backface-visibility: hidden;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05) translateZ(0);
}

.prev-btn { 
    left: 15px; 
}

.next-btn { 
    right: 15px; 
}

/* Modern Dots - OPTIMIZED */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dots .dot {
    display: block;
    width: 40px; /* Reduced from 60px */
    height: 5px; /* Reduced from 4px */
    background: rgba(235, 235, 243, 0.7);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dots .dot.active {
    background: #0b7be4;
    transform: scaleX(1.2); /* Changed from scale() to scaleX() */
    box-shadow: 0 0 8px rgba(23, 89, 150, 0.5);
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh; /* Reduced from 85vh */
        min-height: 400px; /* Reduced from 500px */
        margin-top: -90px;
    }
    
    /* REMOVE backdrop-filter on mobile for better performance */
    .slide-content {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.15);
        padding: 20px;
        width: 90%;
        border-radius: 10px;
        transform: translate(-50%, -50%) translateY(10px);
    }
    
    /* Small, neat fonts for mobile */
    .slide-content h2 {
        font-size: 1.6rem; /* Reduced from 1.8rem */
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .slide-content p {
        font-size: 0.88rem; /* Reduced from 0.95rem */
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    /* Button for mobile */
    .slide-content .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    /* SHOW arrows on mobile - FIXED */
    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        display: flex; /* SHOW buttons on mobile */
    }
    
    .prev-btn { 
        left: 10px; /* Adjusted for mobile */
    }
    
    .next-btn { 
        right: 10px; /* Adjusted for mobile */
    }
    
    /* Dots for mobile */
    .slider-dots {
        bottom: 19px;
        gap: 8px;
        
    }
    
    .slider-dots .dot {
        width: 25px; /* Reduced further */
        height: 5px;
    }
    
    /* DARKER gradient overlay on mobile */
    .slide::before {
        background: linear-gradient(to top, 
                    rgba(5, 15, 30, 0.7) 0%, 
                    rgba(5, 15, 30, 0.6) 50%,
                    rgba(5, 15, 30, 0.5) 100%);
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 75vh;
        min-height: 350px;
    }
    
    .slide-content {
        padding: 18px;
        width: 92%;
    }
    
    .slide-content h2 {
        font-size: 1.6rem; /* Further reduced */
        margin-bottom: 8px;
    }
    
    .slide-content p {
        font-size: 0.89rem;
        margin-bottom: 12px;
    }
    
    .slide-content .btn {
        padding: 7px 18px;
        font-size: 0.8rem;
    }
    
    /* SHOW arrows on very small screens too */
    .prev-btn,
    .next-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
        display: flex; /* Ensure they're visible */
    }
    
    .prev-btn { 
        left: 8px; 
    }
    
    .next-btn { 
        right: 8px; 
    }
    
    .slider-dots {
        bottom: 19px;
    }
    
    .slider-dots .dot {
        width: 20px;
    }
}

/* Disable complex animations on low-power devices */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .slide-content,
    .slide-img,
    .btn,
    .prev-btn,
    .next-btn,
    .dot {
        transition: none !important;
        animation: none !important;
    }
    
    .slide.active .slide-img {
        transform: scale(1) !important;
    }
}

/* INFO CARDS SECTION*/

/* COMPACT INFO CARDS SECTION */
.info-cards {
    padding: 40px 0;
    background: #f8fafc;
}

.inner-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 220px; /* Compact height */
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(23, 89, 150, 0.2);
}

.card-icon {
    font-size: 1.8rem;
    color: #175996;
    margin-bottom: 15px;
    display: inline-block;
}

.info-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a6a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.info-card p {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b409c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    margin-top: auto;
    letter-spacing: -0.3px;

    display: inline-block;   /* makes centering possible */
    text-align: center;       /* centers text + icon */
    margin-left: auto;        /* centers in card */
    margin-right: auto;
}


.card-link:hover {
    color: #00bfff;
    gap: 8px;
}

.card-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.card-link:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .inner-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
    
    .info-card {
        padding: 22px;
        min-height: 210px;
    }
}

@media (max-width: 768px) {
    .info-cards {
        padding: 30px 0;
    }
    
    .inner-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 600px;
    }
    
    .info-card {
        padding: 20px;
        min-height: 200px;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .info-card p {
        font-size: 0.85rem;
    }
    
    .card-icon {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .info-cards {
        padding: 25px 0;
    }
    
    .inner-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 15px;
    }
    
    .info-card {
        min-height: 190px;
        padding: 18px;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.87rem;
        line-height: 1.3;
    }
    
    .card-link {
        font-size: 0.89rem;
    }
}


/* Image Section */
.image-section {
    width: 100%;
    padding: 40px 0; /* optional spacing */
    background: #f8f9fa; /* light background */
}

.image-section .inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.image-section .full-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* optional rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* subtle shadow */
}
