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

/* Global Variables - Premium Modern Corporate Design */
:root {
    --brand-navy: #0f172a; /* Deep modern navy */
    --brand-blue: #1e3a8a;
    --brand-cyan: #06b6d4; /* Vibrant electric cyan */
    --brand-cyan-light: #22d3ee;
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #1e293b;
    
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    
    --border-soft: rgba(0, 0, 0, 0.05);
    --border-light: #e2e8f0;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.3);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    font-family: 'Inter', system-ui, sans-serif !important;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--brand-navy);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Glassmorphism Header Styles */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.top-bar {
    background: var(--brand-navy);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar a {
    color: var(--brand-cyan);
    text-decoration: none;
    transition: var(--transition-fast);
}
.top-bar a:hover { color: var(--brand-cyan-light); }

.main-nav-container {
    padding: 15px 0;
}

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

.logo-img {
    height: 48px;
    transition: transform var(--transition-smooth);
}
.logo-img:hover { transform: scale(1.05); }

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 10px 0;
    display: inline-block;
    transition: var(--transition-fast);
}

/* Animated Underline for Nav */
.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--brand-cyan);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-list > li > a:hover { color: var(--brand-navy); }
.nav-list > li > a:hover::after,
.nav-list > li > a.active::after { width: 100%; }
.nav-list > li > a.active { color: var(--brand-navy); }

/* Banners & Hero */
.inner-banner {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 100px; /* offset fixed header */
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

.banner-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.banner-content h1 {
    color: var(--bg-white);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 6px 15px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,1);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Common Section Styles */
.section {
    padding: 100px 0;
}

.section-heading-centered {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-heading-centered::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--brand-cyan);
    border-radius: 2px;
}

/* Modern Cards */
.ui-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ui-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-cyan-light);
}

.ui-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.ui-card:hover::before { transform: scaleX(1); }

/* Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    background: var(--brand-navy);
    color: var(--bg-white);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    gap: 8px;
}

.btn-modern:hover {
    background: transparent;
    color: var(--brand-navy);
    border-color: var(--brand-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cyan {
    background: var(--brand-cyan);
    color: var(--brand-navy);
}
.btn-cyan:hover {
    background: var(--bg-white);
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    box-shadow: var(--shadow-glow);
}

/* Modern Footer */
.modern-footer {
    background: var(--brand-navy);
    color: var(--text-light);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, rgba(15,23,42,0) 70%);
    border-radius: 50%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    display: inline-block;
}
.footer-col ul li a:hover {
    color: var(--brand-cyan);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Page Specific Overrides */

/* Services Modern List Layout */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-top: 20px;
}

.service-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    transition: var(--transition-smooth);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-cyan-light);
}

.service-number {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
    font-size: 7rem;
    font-weight: 700;
    color: #999999;
    line-height: 0.8;
    flex-shrink: 0;
    width: 200px;
    text-align: right;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--brand-navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}


/* Brands Grid */
.brands-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.brand-img-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-soft);
}
.brand-img-container img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* Hero Slider Overrides (Index) */
.hero-swiper {
    margin-top: 0;
    border-radius: 0;
    height: 100vh;
}
.hero-swiper .banner-overlay {
    background: linear-gradient(to right, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.1) 100%);
    backdrop-filter: none;
}
.hero-content-left h1 { font-size: 4rem; }

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) {
    .mobile-menu-btn { display: none; }
}

@media (max-width: 768px) {
    .nav-list { display: none; }
    .hero-content-left h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .inner-banner { height: 300px; margin-top: 80px; }
    
    .service-item {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .service-number {
        text-align: left;
        width: auto;
        font-size: 4rem;
    }
}
