
/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    background: #ffffff;
}


/* ======HEADER FOR ALL PAGES START===== */



/* 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-left .topbar-item {
    font-weight: 600;          /* makes text bold */
    font-family: 'Figtree', sans-serif; /* optional, matches your site fonts */
    font-size: 0.875rem;       /* adjust size if needed */
    color: #fff;               /* adjust color as needed */
}

.topbar-item i {
    color: #00bfff;
    font-size: 0.9rem;
}

/* Login button */
.topbar-login {
    
    color: rgb(238, 241, 253);
    padding: 5px 16px;
    border-radius: 16px;
    font-weight: 700;
    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: 1300px;
    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;
    font-weight: 500;
}

.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*/
.info-cards {
    padding: 40px 0;
    background: radial-gradient(
        circle at top,
        #ffffff 0%,
        #f1f5f9 45%,
        #e2e8f0 100%
    );
}


.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.1rem;
    font-weight: 600;
    color: #494286;
    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.9rem;
    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;
    background: 
        radial-gradient(circle at 20% 80%, rgba(221, 222, 236, 0.12), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(23, 89, 150, 0.08), transparent 50%),
        #eceafa;
    position: relative;
    overflow: hidden;
}

/* Floating bubbles */
.image-section::before,
.image-section::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #9b9bd1, #175996);
    opacity: 0.15;
    filter: blur(3px);
    pointer-events: none;
    z-index: 0;
    animation: floatBubble 16s ease-in-out infinite;
}

.image-section::before {
    width: 280px;
    height: 280px;
    top: -60px;
    right: 10%;
    animation-delay: -3s;
}

.image-section::after {
    width: 340px;
    height: 340px;
    bottom: -80px;
    left: 10%;
    animation-delay: -8s;
}

@keyframes floatBubble {
    0%, 100% { 
        transform: translate3d(0, 0, 0) scale(1); 
    }
    33% { 
        transform: translate3d(15px, -20px, 0) scale(1.03); 
    }
    66% { 
        transform: translate3d(-10px, 10px, 0) scale(1.02); 
    }
}

.image-section .inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.image-section .full-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 
        0 12px 32px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(148, 163, 184, 0.2);
    position: relative;
    transform: translateZ(0);
    transition: 
        transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
        border-radius 0.3s ease;
    will-change: transform;
}

/* Glow overlay on hover */
.image-section .full-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(140, 145, 224, 0.3), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.image-section .full-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 24px 48px rgba(15, 23, 42, 0.22),
        0 0 0 1px rgba(129, 140, 248, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 20px;
}

.image-section .full-image:hover::before {
    opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .image-section::before,
    .image-section::after {
        width: 220px;
        height: 220px;
    }
    
    .image-section .full-image {
        border-radius: 12px;
    }
}



/* SCHOOL FEATURES SECTION */

.school-features {
    padding: 60px 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255,255,255,0.04), transparent 55%),
                linear-gradient(to bottom, #374655 0%, #8c91e0 100%);
    position: relative;
    overflow: hidden; /* keep bubbles clipped */
}

/* Floating gradient bubbles */
.school-features::before,
.school-features::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #9b9bd1, #175996);
    opacity: 0.16;
    filter: blur(4px);
    pointer-events: none;
    z-index: 0;
    animation: floatBubble 18s ease-in-out infinite;
}

.school-features::before {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -40px;
    animation-delay: -4s;
}

.school-features::after {
    width: 380px;
    height: 380px;
    bottom: -120px;
    right: -40px;
    animation-delay: -10s;
}

@keyframes floatBubble {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(20px, -25px, 0) scale(1.05); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

.school-features .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1; /* above bubbles */
}

.school-features .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.school-features .section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #f3f8ff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.school-features .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #175996, #9b9bd1);
    border-radius: 2px;
}

.school-features .section-header p {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    color: #f4f7fc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.school-features .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

/* Feature Cards */
.school-features .feature-card {
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 0.3s ease,
        background 0.3s ease;
}

/* Auto reveal cards */

.school-features .feature-card {
    opacity: 0;
    transform: translateY(40px);
}

.school-features .feature-card.reveal {
    opacity: 1;
    transform: translateY(0);
}



/* soft glow ring on hover using pseudo-element */
.school-features .feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(55, 148, 255, 0.4), transparent 55%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.school-features .feature-card:hover {
    transform: translateY(-10px) translateZ(0) scale(1.015);
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(129, 140, 248, 0.35);
    border-color: rgba(129, 140, 248, 0.6);
    background: linear-gradient(145deg, #ffffff, #eef2ff);
}

.school-features .feature-card:hover::before {
    opacity: 0.9;
}

/* Card Images */
.school-features .card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.school-features .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition:
        transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 0.5s ease-out;
}

.school-features .feature-card:hover .card-image img {
    transform: scale(1.06) translateY(-2px);
    filter: saturate(1.1);
}

.school-features .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
    pointer-events: none;
}

/* subtle top accent line on hover */
.school-features .feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #175996, #9b9bd1);
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.school-features .feature-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Card Content */
.school-features .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.school-features .card-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a6a;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.school-features .card-content p {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Features List */
.school-features .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.school-features .features-list li {
    font-family: 'Figtree', sans-serif;
    font-size: 0.84rem;
    color: #4a5568;
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
    transition: color 0.25s ease, transform 0.25s ease;
}

.school-features .features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #175996;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* slight staggered lift on card hover */
.school-features .feature-card:hover .features-list li {
    color: #1f2933;
}

.school-features .feature-card:hover .features-list li::before {
    color: #2563eb;
    transform: translateY(-1px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .school-features .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .school-features .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .school-features {
        padding: 50px 0;
    }

    .school-features .cards-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
        gap: 20px;
    }

    .school-features .section-header {
        margin-bottom: 40px;
    }
    
    .school-features .section-header h2 {
        font-size: 1.8rem;
    }
    
    .school-features .section-header p {
        font-size: 0.9rem;
        padding: 0 20px;
    }
    
    .school-features .card-image {
        height: 200px;
    }
    
    .school-features .card-content {
        padding: 20px;
    }
    
    .school-features .card-content h3 {
        font-size: 1.2rem;
    }
    
    .school-features .features-list li {
        font-size: 0.88rem;
    }
}

@media (max-width: 680px) {
    .school-features {
        padding: 40px 0;
    }

    .school-features .cards-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 18px;
    }

    .school-features .section-header h2 {
        font-size: 1.4rem;
    }
    
    .school-features .section-header p {
        font-size: 0.9rem;
    }
    
    .school-features .card-image {
        height: 190px;
    }
    
    .school-features .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .school-features .card-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .school-features .features-list li {
        font-size: 0.85rem;
        padding: 5px 0;
        padding-left: 20px;
    }
}




/* =======================CONTACT US PAGE================ */


/* ====== CONTACT SECTION STYLES ====== */
.contact-section {
    padding: 60px 40px;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255,255,255,0.04), transparent 55%),
                #f1f5f9;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    font-size: clamp(0.95rem, 0.8rem + 0.3vw, 1rem);
}


/* Floating bubbles for consistency */
.contact-section::before,
.contact-section::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #9b9bd1, #175996);
    opacity: 0.1;
    filter: blur(4px);
    pointer-events: none;
    z-index: 0;
    animation: floatBubble 20s ease-in-out infinite;
}

.contact-section::before {
    width: 300px;
    height: 300px;
    top: -60px;
    left: -60px;
    animation-delay: -5s;
}

.contact-section::after {
    width: 350px;
    height: 350px;
    bottom: -80px;
    right: -60px;
    animation-delay: -12s;
}


/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-family: 'Figtree', sans-serif;
    font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
    font-weight: 500;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: -0.5px;
}


/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
    align-items: stretch;
}


/* Contact Form Container */
.contact-form-container {
    position: relative;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    height: 100%;
    transform: translateZ(0);
    transition:
        transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 200ms ease;
    will-change: transform;
}

.contact-form-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(129, 140, 248, 0.22);
    border-color: rgba(129, 140, 248, 0.35);
}


/* Top accent line */
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #175996, #9b9bd1);
    border-radius: 16px 16px 0 0;
}


/* Form Title */
.form-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem);
    font-weight: 600;
    color: #1e3a6a;
    margin-bottom: 10px;
    padding: 30px 30px 0 30px;
    letter-spacing: -0.4px;
}

.form-subtitle {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 25px;
    padding: 0 30px;
    line-height: 1.5;
    letter-spacing: -0.2px;
}


/* Form Styles */
#contact-form {
    padding: 0 30px 30px;
}


/* Message Container */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    animation: slideDown 0.3s ease-out;
    border: 1px solid transparent;
    font-size: 0.85rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-color: #10b981;
    color: #065f46;
}

.form-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border-color: #ef4444;
    color: #7f1d1d;
}

.form-message .message-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}

.form-message .message-content i {
    font-size: 16px;
    margin-top: 2px;
}

.form-message.success .message-content i {
    color: #10b981;
}

.form-message.error .message-content i {
    color: #ef4444;
}

.form-message .message-text {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.4;
}

.form-message .close-message {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    font-size: 0.85rem;
    transition: opacity 0.2s, transform 0.2s;
}

.form-message .close-message:hover {
    opacity: 1;
    transform: scale(1.05);
}


/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}


/* Form Group */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group label .optional {
    color: #9ca3af;
    font-weight: 400;
    font-size: 0.8rem;
}

.field-note {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 4px;
    font-family: 'Figtree', sans-serif;
}


/* Form Inputs */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    color: #374151;
    background: #ffffff;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease,
        background-color 180ms ease;
    box-sizing: border-box;
}

.form-group input:hover,
.form-group textarea:hover {
    background-color: #f9fafb;
    transform: translateY(-1px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #175996;
    box-shadow: 0 0 0 3px rgba(23, 89, 150, 0.15);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* Submit Button */
.btn-submit-full {
    width: 100%;
    padding: 13px 22px;
    background: linear-gradient(135deg, #175996 0%, #0d3a6b 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition:
        transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 200ms ease,
        background 200ms ease,
        letter-spacing 200ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(23, 89, 150, 0.2);
    will-change: transform;
}

.btn-submit-full:hover {
    background: linear-gradient(135deg, #1f6bb8 0%, #12467a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(23, 89, 150, 0.28);
    letter-spacing: 0.03em;
    gap: 10px;
}

.btn-submit-full:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(23, 89, 150, 0.22);
}

.btn-submit-full i {
    font-size: 0.85rem;
    transition: transform 200ms ease;
}

.btn-submit-full:hover i {
    transform: translateX(3px);
}


/* Contact Info Container */
.contact-info-container {
    position: relative;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    height: 100%;
    padding: 30px;
    transition:
        transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 200ms ease;
    will-change: transform;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(129, 140, 248, 0.22);
    border-color: rgba(129, 140, 248, 0.35);
}


/* Top accent line */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #175996, #9b9bd1);
    border-radius: 16px 16px 0 0;
}


/* Info Title */
.info-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem);
    font-weight: 600;
    color: #1e3a6a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.info-subtitle {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.5;
}


/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
    transition:
        background-color 180ms ease,
        transform 180ms ease,
        border-color 180ms ease;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(23, 89, 150, 0.1), rgba(155, 155, 209, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #175996;
    font-size: 1.2rem;
    transition:
        transform 200ms ease,
        background 200ms ease,
        color 200ms ease,
        box-shadow 200ms ease;
    margin-top: 20px;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #175996 0%, #0d3a6b 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 18px rgba(23, 89, 150, 0.35);
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3a6a;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    margin-top: 10px;
}

.contact-text {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-text strong {
    color: #1e3a6a;
    font-weight: 600;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #175996;
    text-decoration: none;
    padding: 7px 14px;
    background: linear-gradient(135deg, rgba(23, 89, 150, 0.06), rgba(155, 155, 209, 0.06));
    border-radius: 8px;
    transition:
        background 200ms ease,
        color 200ms ease,
        transform 200ms ease,
        box-shadow 200ms ease,
        letter-spacing 200ms ease;
}

.contact-link:hover {
    background: linear-gradient(135deg, #175996 0%, #0d3a6b 100%);
    color: #ffffff;
    transform: translateY(-1px);
    letter-spacing: 0.02em;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(23, 89, 150, 0.25);
}

.contact-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(23, 89, 150, 0.2);
}

.contact-link i {
    font-size: 0.8rem;
    transition: transform 200ms ease;
}

.contact-link:hover i {
    transform: translateX(3px);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 50px 20px;
        font-size: 0.9rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
        margin: 0 auto;
    }

    .contact-label {
        margin-top: -10px;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-title,
    .info-title {
        font-size: 1.2rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 25px;
    }
    
    .form-title,
    .form-subtitle {
        padding: 0 25px 15px;
    }
    
    #contact-form {
        padding: 0 25px 25px;
    }
    
    .contact-item {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-top: 12px;
    }

    .contact-text {
        font-size: 0.88rem;
    }

    .contact-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 5px;
        font-size: 0.85rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .form-title,
    .info-title {
        font-size: 1.1rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 20px 15px;
    }
    
    .form-title,
    .form-subtitle {
        padding: 0 20px 12px;
    }
    
    #contact-form {
        padding: 20px 10px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 9px 12px;
        font-size: 0.85rem;
    }
    
    .btn-submit-full {
        padding: 11px 18px;
        font-size: 0.9rem;
    }
    
    .contact-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 5px;
        margin-top: 0;
    }

    .contact-label {
        margin-top: -10px;
        font-size: 0.95rem;
    }

    .contact-text {
        font-size: 0.86rem;
    }
}


/* Animation for floating bubble */
@keyframes floatBubble {
    0%, 100% { 
        transform: translate3d(0, 0, 0) scale(1); 
    }
    33% { 
        transform: translate3d(20px, -25px, 0) scale(1.05); 
    }
    66% { 
        transform: translate3d(-15px, 15px, 0) scale(1.02); 
    }
}


/* BLOG NEWS SECTION */
.blog-home-page-news-section {
    padding: 50px 230px;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255,255,255,0.04), transparent 55%),
                #f1f5f9;
    position: relative;
    overflow: hidden;
}

/* Floating bubbles */
.blog-home-page-news-section::before,
.blog-home-page-news-section::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #9b9bd1, #175996);
    opacity: 0.1;
    filter: blur(4px);
    pointer-events: none;
    z-index: 0;
    animation: floatBubble 20s ease-in-out infinite;
}

.blog-home-page-news-section::before {
    width: 300px;
    height: 300px;
    top: -60px;
    left: -60px;
    animation-delay: -5s;
}

.blog-home-page-news-section::after {
    width: 350px;
    height: 350px;
    bottom: -80px;
    right: -60px;
    animation-delay: -12s;
}

/* Header */
.blog-home-page-news-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.blog-home-page-news-title-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.25);
    margin-bottom: 15px;
}

.blog-home-page-news-title-container h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e3a6a;
    margin: 0;
    letter-spacing: -0.6px;
}

.blog-home-page-news-subtitle {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid – 2 MUCH WIDER cards on desktop */
.blog-home-page-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    max-width: 1700px;           /* SUPER wide container */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Card */
.blog-home-page-news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
        min-width: 400px;
}

.blog-home-page-news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(55, 148, 255, 0.4), transparent 55%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.blog-home-page-news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(129, 140, 248, 0.3);
}

.blog-home-page-news-card:hover::before {
    opacity: 0.8;
}

.blog-home-page-news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #175996, #9b9bd1);
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.blog-home-page-news-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Image */
.blog-home-page-news-image {
    height: 280px;               /* taller to match wider cards */
    overflow: hidden;
}

.blog-home-page-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-home-page-news-card:hover .blog-home-page-news-image img {
    transform: scale(1.05);
}

/* Content */
.blog-home-page-news-content {
    padding: 35px;               /* more padding for wider cards */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-home-page-news-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.blog-home-page-news-date {
    background: linear-gradient(135deg, #175996 0%, #0d3a6b 100%);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 20px;
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-home-page-news-category {
    background: linear-gradient(135deg, rgba(23, 89, 150, 0.1), rgba(155, 155, 209, 0.1));
    color: #175996;
    padding: 7px 16px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-home-page-news-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;           /* bigger title for wider cards */
    font-weight: 600;
    color: #1e3a6a;
    margin-bottom: 18px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.blog-home-page-news-excerpt {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;          /* bigger text for wider cards */
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-home-page-news-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #175996 0%, #0d3a6b 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(23, 89, 150, 0.2);
}

.blog-home-page-news-read:hover {
    background: linear-gradient(135deg, #1f6bb8 0%, #12467a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 89, 150, 0.3);
    gap: 12px;
}

.blog-home-page-news-read i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.blog-home-page-news-read:hover i {
    transform: translateX(4px);
}

/* CTA */
.blog-home-page-news-cta {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.blog-home-page-news-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #175996 0%, #0d3a6b 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 89, 150, 0.2);
    margin-bottom: 20px;
}

.blog-home-page-news-button:hover {
    background: linear-gradient(135deg, #1f6bb8 0%, #12467a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 89, 150, 0.3);
    gap: 12px;
}

.blog-home-page-news-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.blog-home-page-news-button:hover i {
    transform: translateX(5px);
}

.blog-home-page-news-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.blog-home-page-news-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #175996, #9b9bd1);
    border-radius: 2px;
}

.blog-home-page-news-dot {
    width: 8px;
    height: 8px;
    background: #175996;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.blog-home-page-news-dot:first-child {
    animation-delay: 0s;
}

.blog-home-page-news-dot:last-child {
    animation-delay: 1s;
}

.blog-home-page-news-cta-text {
    font-family: 'Figtree', sans-serif;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 400px;
}

/* Loading / error / empty */
.blog-home-page-news-loading,
.blog-home-page-news-error,
.blog-home-page-news-empty {
    text-align: center;
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
}

.blog-home-page-news-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #175996;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-home-page-news-grid {
        gap: 45px;
        max-width: 1400px;
    }
}

@media (max-width: 1024px) {
    .blog-home-page-news-grid {
        gap: 40px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 1200px;
    }

    .blog-home-page-news-title-container h2 {
        font-size: 1.7rem;
    }

    .blog-home-page-news-image {
        height: 250px;
    }

    .blog-home-page-news-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .blog-home-page-news-section {
        padding: 40px 24px;
    }

    .blog-home-page-news-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        gap: 35px;
        margin: 0 auto 40px;
    }

    .blog-home-page-news-title-container {
        padding: 12px 24px;
        flex-direction: column;
        gap: 10px;
    }

    .blog-home-page-news-title-container h2 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .blog-home-page-news-subtitle {
        font-size: 0.95rem;
        padding: 0 20px;
    }

    .blog-home-page-news-content {
        padding: 28px;
    }

    .blog-home-page-news-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-home-page-news-section {
        padding: 35px 18px;
    }

    .blog-home-page-news-title-container h2 {
        font-size: 1.3rem;
    }

    .blog-home-page-news-subtitle {
        font-size: 0.9rem;
    }

    .blog-home-page-news-grid {
        gap: 28px;
    }

    .blog-home-page-news-image {
        height: 220px;
    }

    .blog-home-page-news-content {
        padding: 22px;
    }

    .blog-home-page-news-title {
        font-size: 1.25rem;
    }

    .blog-home-page-news-meta {
        gap: 8px;
    }

    .blog-home-page-news-date,
    .blog-home-page-news-category {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .blog-home-page-news-read {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}

/* Float bubble animation */
@keyframes floatBubble {
    0%, 100% { 
        transform: translate3d(0, 0, 0) scale(1); 
    }
    33% { 
        transform: translate3d(20px, -25px, 0) scale(1.05); 
    }
    66% { 
        transform: translate3d(-15px, 15px, 0) scale(1.02); 
    }
}
