/*
 * Global Network - Rebuilt in Laravel
 * Master Stylesheet (Vanilla CSS)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-primary: #283B8E;
    --color-secondary: #199CD8;
    --color-accent-blue: #43BAFF;
    --color-accent-orange: #F79421;
    --color-accent-orange-light: #FFBC7D;
    
    --color-bg-light: #F8F8F8;
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #1E2022;
    --color-bg-navy: #151A30;
    
    --color-text-main: #4A4A4A;
    --color-text-muted: #7A7A7A;
    --color-text-light: #B5B5B5;
    
    /* Layout Variables */
    --container-width: 1200px;
    --header-height: 80px;
    --top-bar-height: 40px;
    --border-radius: 12px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(40, 59, 142, 0.12);
}

/* Reset & Core Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--color-bg-light);
}

.section-dark {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg-navy) 100%);
    color: var(--color-bg-white);
}
.section-dark h2, .section-dark h3 {
    color: var(--color-bg-white);
}

/* Fluid Flex & Grid Systems */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Alignment Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.w-full { width: 100%; }

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
}
.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 156, 216, 0.3);
}

.btn-orange {
    background-color: var(--color-accent-orange);
    color: var(--color-bg-white);
}
.btn-orange:hover {
    background-color: #e07d0f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 148, 33, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--color-bg-white);
    color: var(--color-bg-white);
}
.btn-outline-white:hover {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Glassmorphic Header & Top Bar */
.top-bar {
    height: var(--top-bar-height);
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-size: 13px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-links a {
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}
.top-bar-links a:hover {
    opacity: 1;
    color: var(--color-accent-orange-light);
}

/* Main Navigation Bar — sticky, scrolls with page until top-bar disappears */
.main-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-item {
    font-size: 15px;
    font-weight: 550;
    color: #333333;
    position: relative;
    padding: 10px 0;
}
.nav-item:hover, .nav-item.active {
    color: var(--color-primary);
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}
.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
}
.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* Mobile Slide-Out Drawer Navigation */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--color-bg-white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer-close {
    align-self: flex-end;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-primary);
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
}

.drawer-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 24px;
}

.drawer-item {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
}
.drawer-item:hover, .drawer-item.active {
    color: var(--color-secondary);
    padding-left: 8px;
}

/* Hero Sections */
.hero-section {
    position: relative;
    padding: 120px 0 100px 0;
    background: linear-gradient(135deg, rgba(40, 59, 142, 0.03) 0%, rgba(25, 156, 216, 0.05) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(67, 186, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--color-secondary);
}

.hero-content p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    filter: drop-shadow(0 20px 30px rgba(40, 59, 142, 0.15));
}

/* Service & Feature Cards */
.card-section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.card-section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(25, 156, 216, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: var(--transition-smooth);
}
.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(25, 156, 216, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-secondary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}
.card:hover .card-icon {
    background-color: var(--color-secondary);
    color: var(--color-bg-white);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.card p {
    font-size: 15px;
    color: var(--color-text-muted);
}

/* Why Us Block */
.why-us-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.why-us-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.why-us-item {
    display: flex;
    gap: 16px;
}

.why-us-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: rgba(247, 148, 33, 0.1);
    color: var(--color-accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.why-us-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.why-us-text p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Custom Pricing and Colocation Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 50px 35px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
    border: 2px solid var(--color-primary);
    transform: scale(1.03);
}
.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-accent-orange);
    color: var(--color-bg-white);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 20px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: baseline;
}

.pricing-card .price span {
    font-size: 16px;
    color: var(--color-text-light);
    font-weight: 500;
    margin-left: 6px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text-main);
}

.pricing-features li i {
    color: var(--color-secondary);
}

/* Topology Support Layout */
.topology-box {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    margin-top: 60px;
    border-left: 5px solid var(--color-secondary);
}

.topology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.topology-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.topology-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.topology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background-color: var(--color-bg-light);
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 4px;
    font-weight: 550;
    color: var(--color-primary);
}

/* Contact Quotation & Forms Layout */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(40, 59, 142, 0.08);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-info-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.contact-info-text p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.contact-form-box {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-text-light);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(25, 156, 216, 0.15);
}

.form-alert {
    padding: 14px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 550;
}

.form-alert-success {
    background-color: rgba(0, 208, 130, 0.1);
    color: #00d082;
    border: 1px solid rgba(0, 208, 130, 0.2);
}

.form-alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer Section styling */
.main-footer {
    background-color: var(--color-bg-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 48px;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--color-bg-white);
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 15px;
    opacity: 0.8;
}
.footer-links a:hover {
    color: var(--color-accent-blue);
    opacity: 1;
}

.footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-white);
    transition: var(--transition-smooth);
}
.social-icon:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

/* Floating WhatsApp Badge */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--color-bg-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba5a;
}
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Custom Map Styling */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Logo Marquee Styling */
.logo-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    position: relative;
    padding: 30px 0;
    width: 100%;
}
.logo-marquee-container::before,
.logo-marquee-container::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}
.logo-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light) 0%, rgba(248, 248, 248, 0) 100%);
}
.logo-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light) 0%, rgba(248, 248, 248, 0) 100%);
}
.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
    align-items: center;
}
.logo-marquee-track img {
    height: 50px;
    width: auto;
    margin: 0 40px;
    filter: grayscale(1) opacity(0.6);
    transition: var(--transition-smooth);
}
.logo-marquee-track img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* RESPONSIVE DESIGN - BREAKPOINTS */

@media (max-width: 1024px) {
    .main-header { height: 70px; }
    .desktop-nav { display: none !important; }
    .mobile-toggle { display: flex; }
    
    .hero-content h1 { font-size: 40px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-8px); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    
    /* Hide top-bar on mobile to save space and reduce clutter */
    .top-bar { display: none !important; }
    .home-page .main-header { top: 0 !important; }
    .home-page .hero-slider-section { padding-top: 100px !important; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-buttons { justify-content: center; }
    .hero-image { order: -1; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    /* Force 1 column grid for all why-us-grids on mobile, overriding inline styles */
    .why-us-grid { 
        grid-template-columns: 1fr !important; 
        gap: 30px !important; 
    }
    .pricing-grid { grid-template-columns: 1fr; }
    
    .topology-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-section-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-box { padding: 30px; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :last-child { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 32px; }
    .hero-buttons { flex-direction: column; gap: 10px; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .drawer-overlay { width: 100%; }
    .mobile-drawer { width: 280px; }
}

/* Card Icons (White PNG colorization using CSS filters) */
.solution-card-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(87%) saturate(1915%) hue-rotate(221deg) brightness(88%) contrast(92%);
    transition: var(--transition-smooth);
}
.card:hover .solution-card-icon {
    transform: translateY(-5px) scale(1.05);
}

.why-us-card-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    transition: var(--transition-smooth);
}
.card:hover .why-us-card-icon {
    transform: translateY(-5px) scale(1.05);
}

.core-value-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(87%) saturate(1915%) hue-rotate(221deg) brightness(88%) contrast(92%);
    transition: var(--transition-smooth);
}
.card:hover .core-value-icon {
    transform: translateY(-5px) scale(1.05);
}

/* Premium Hero Slider */
.hero-slider-section {
    position: relative;
    padding: 80px 0 100px 0;
    background: linear-gradient(135deg, rgba(40, 59, 142, 0.03) 0%, rgba(25, 156, 216, 0.05) 100%);
    overflow: hidden;
}

.hero-slider-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(67, 186, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-slider-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
}

.hero-slide {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.hero-slide .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

/* Slide micro-animations */
.hero-slide .hero-content span {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.1s;
}

.hero-slide .hero-content h1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.25s;
}

.hero-slide .hero-content p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.4s;
}

.hero-slide .hero-buttons {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.55s;
}

.hero-slide .hero-image img {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s;
}

/* Active animation triggers */
.hero-slide.active .hero-content span,
.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content p,
.hero-slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.active .hero-image img {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Navigation controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(40, 59, 142, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.slider-arrow:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 20px rgba(40, 59, 142, 0.25);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev {
    left: 40px;
}

.slider-arrow.next {
    right: 40px;
}

.slider-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(40, 59, 142, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(40, 59, 142, 0.5);
}

.indicator.active {
    width: 28px;
    border-radius: 5px;
    background: var(--color-secondary);
}

/* Slider responsive tweaks */
@media (max-width: 1200px) {
    .slider-arrow.prev { left: 20px; }
    .slider-arrow.next { right: 20px; }
}

@media (max-width: 960px) {
    .hero-slider-section {
        padding: 100px 0 80px 0;
    }
    .hero-slide .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-slide .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slide .hero-buttons {
        justify-content: center;
    }
    .hero-slide .hero-image {
        order: -1;
    }
    .hero-slide .hero-image img {
        max-width: 420px;
        margin: 0 auto;
    }
    .slider-arrow {
        display: none; /* Hide arrows on tablets and mobiles for uncluttered view */
    }
}

@media (max-width: 480px) {
    .hero-slider-section {
        padding: 80px 0 60px 0;
    }
    .hero-slide .hero-content h1 {
        font-size: 32px;
    }
    .hero-slide .hero-image img {
        max-width: 100%;
        aspect-ratio: 720/520;
        object-fit: cover;
    }
}

/* Staff Grid & Cards Styling */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 40px auto 0 auto;
    max-width: var(--container-width);
}

.staff-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 24px 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(25, 156, 216, 0.15);
}

.staff-avatar-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.staff-card:hover .staff-avatar-wrapper {
    border-color: var(--color-secondary);
    transform: scale(1.05);
}

.staff-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    line-height: 1.2;
}

.staff-role {
    font-size: 12px;
    color: var(--color-accent-orange);
    font-weight: 600;
    text-transform: uppercase;
}

/* Media Queries for Staff Grid */
@media (max-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .staff-card {
        padding: 16px 12px;
    }
    .staff-avatar-wrapper {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .staff-avatar-wrapper {
        width: 70px;
        height: 70px;
    }
    .staff-name {
        font-size: 12px;
    }
    .staff-role {
        font-size: 10px;
    }
}

/* =====================================================
   WHY US — Premium Redesign
   ===================================================== */

/* Section wrapper — subtle light-blue gradient tint */
.why-us-section {
    background: linear-gradient(170deg, #f8faff 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}
.why-us-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25,156,216,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Two-column section header: title left, subtitle right */
.why-us-section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 48px;
}
.why-us-label {
    display: inline-block;
    background: rgba(247, 148, 33, 0.1);
    color: var(--color-accent-orange);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.why-us-title {
    font-size: 36px;
    line-height: 1.2;
    margin: 0;
}
.why-us-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
    align-self: end;
    margin: 0;
}

/* Stats strip */
.why-us-stats {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a4fad 50%, var(--color-secondary) 100%);
    border-radius: var(--border-radius);
    padding: 32px 48px;
    margin-bottom: 56px;
    gap: 0;
}
.why-us-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.why-us-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.why-us-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-align: center;
}
.why-us-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* Cards grid — 5 cards, first row 3, second row 2 centered */
.why-us-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-us-cards .why-us-card:nth-child(4) {
    grid-column: 1;
    grid-column-start: 1;
}
.why-us-cards .why-us-card:nth-child(4),
.why-us-cards .why-us-card:nth-child(5) {
    grid-row: 2;
}
/* Center the last 2 cards */
.why-us-cards {
    grid-template-columns: repeat(6, 1fr);
}
.why-us-cards .why-us-card {
    grid-column: span 2;
}
.why-us-cards .why-us-card:nth-child(4) {
    grid-column: 2 / span 2;
}
.why-us-cards .why-us-card:nth-child(5) {
    grid-column: 4 / span 2;
}

/* Individual card */
.why-us-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 36px 28px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0;
}
/* Gradient top accent bar */
.why-us-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: var(--transition-smooth);
}
.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(25,156,216,0.15);
}
.why-us-card:hover::before {
    opacity: 1;
}

/* All cards are identical — no accent variant */

/* Large watermark number */
.why-us-card-number {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: rgba(40,59,142,0.06);
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 20px;
    user-select: none;
    transition: var(--transition-smooth);
}
.why-us-card:hover .why-us-card-number {
    color: rgba(25,156,216,0.1);
}

/* Icon circle */
.why-us-card-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(25,156,216,0.07);
    border-radius: 50%;
    border: 1.5px solid rgba(25,156,216,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.why-us-card:hover .why-us-card-icon-wrap {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}
/* FontAwesome icon inside the circle */
.why-us-fa-icon {
    font-size: 22px;
    color: var(--color-secondary);
    transition: var(--transition-smooth);
}
/* On hover — icon turns white (circle goes solid blue) */
.why-us-card:hover .why-us-fa-icon {
    color: #fff;
}

.why-us-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}
.why-us-card-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* WHY US Responsive */
@media (max-width: 1024px) {
    .why-us-section-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-us-stats {
        padding: 24px 28px;
        flex-wrap: wrap;
        gap: 24px;
    }
    .why-us-stat-divider { display: none; }
    .why-us-stat { flex: 1 0 40%; }
    .why-us-stat-number { font-size: 32px; }
    .why-us-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-us-cards .why-us-card,
    .why-us-cards .why-us-card:nth-child(4),
    .why-us-cards .why-us-card:nth-child(5) {
        grid-column: span 1;
        grid-row: auto;
    }
}
@media (max-width: 640px) {
    .why-us-title { font-size: 26px; }
    .why-us-stats { padding: 20px 20px; }
    .why-us-stat-number { font-size: 28px; }
    .why-us-cards {
        grid-template-columns: 1fr;
    }
    .why-us-card-number { font-size: 42px; }
}

/* ============================================================
   HOMEPAGE HEADER & NAVBAR POSITION FIX
   ============================================================ */

/* 1. Force absolute positioning at scroll 0 for transparency & overlay */
.home-page .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.home-page .main-header {
    position: absolute;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    transition: var(--transition-smooth);
}

/* 2. Transition main header to a perfect sticky fixed navbar when scrolled */
.home-page .main-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002; /* sit above top-bar when scrolled */
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: none;
}

/* 3. Adjust Hero Slider padding-top to account for the overlapping header */
.home-page .hero-slider-section {
    padding-top: 160px; /* 120px header/top-bar combined height + 40px spacing */
}

/* 4. Responsive adjustments for homepage hero slider padding-top */
@media (max-width: 1024px) {
    .home-page .hero-slider-section {
        padding-top: 140px; /* 40px top-bar + 70px header + 30px spacing */
    }
}

@media (max-width: 768px) {
    .home-page .hero-slider-section {
        padding-top: 130px;
    }
}

@media (max-width: 480px) {
    .home-page .hero-slider-section {
        padding-top: 120px;
    }
}

/* ============================================================
   SMOOTH FADE + SLIDE TRANSITIONS (PAGE & SCROLL REVEAL)
   ============================================================ */

/* 1. Page Load Entrance Transition */
#main-content {
    opacity: 0;
    transform: translateY(15px);
    animation: pageFadeSlide 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
}

@keyframes pageFadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Scroll Reveal Styles (Fade + Slide Up) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure child hover transitions are unaffected and smooth */
.reveal-on-scroll.revealed.card:hover, 
.reveal-on-scroll.revealed.why-us-card:hover {
    transform: translateY(-8px);
}



