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

:root {
    --bg-base: #030712;
    --bg-surface: rgba(17, 24, 39, 0.6);
    --bg-surface-hover: rgba(31, 41, 55, 0.8);
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent-1: #3b82f6; /* Vivid Blue */
    --accent-2: #ec4899; /* Vibrant Pink */
    --accent-3: #8b5cf6; /* Purple */
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-2));
    --border-soft: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* UTILITIES */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-reverse-col { direction: rtl; }
.grid-reverse-col > * { direction: ltr; }
@media (max-width: 900px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 3rem; text-align: left; }
    .grid-reverse-col { direction: ltr; }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-center { text-align: center; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    min-height: 48px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s, background 0.3s;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: clamp(10rem, 20vh, 14rem);
    overflow: hidden;
}
.hero-img-responsive {
    aspect-ratio: 21/9;
}
@media (max-width: 768px) {
    .hero-img-responsive {
        aspect-ratio: 16/9;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(236,72,153,0.05) 50%, transparent 70%);
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* BRAND SHOWCASE SECTION */
.section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.brand-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s, background 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
    background: var(--bg-surface-hover);
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.brand-icon img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.brand-icon i { font-size: 2rem; }

.brand-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.brand-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.pill-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.pill {
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* CLIENTS LOGO MARQUEE */
.clients-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: rgba(255,255,255,0.01);
    text-align: center;
}
.clients-section h4 {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.client-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
}

.client-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

/* FOOTER */
.site-footer {
    padding: 6rem 5% 2rem;
    background: #010308;
    border-top: 1px solid var(--border-soft);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1280px;
    margin: 0 auto 4rem;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p, .footer-bottom a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-logo-img { height: 50px; }
    .footer-logo-img { height: 60px; }
    .navbar { padding: 1rem 5%; }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        flex-direction: column;
        background: rgba(3, 7, 18, 0.9);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 5%;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        opacity: 0;
        visibility: hidden;
        z-index: -1;
        transform: translateY(-20px);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 999;
    }

    .nav-links a {
        font-size: 2.2rem;
        margin: 1.2rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .hero { padding-top: 10rem; }
    .hero-buttons { justify-content: flex-start; }
}

/* PAGE SPECIFIC STYLES (About, Contact, Services) */

.page-hero {
    padding: 10rem 5% 4rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-soft);
    background: radial-gradient(circle at top, rgba(139,92,246,0.1) 0%, transparent 60%);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.page-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn { width: 100%; }

/* --- NEW ADVANCED FOOTER AND HEADER LOGO STYLES (ADDED FROM FEEDBACK) --- */

.navbar .logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    max-width: calc(100% - 60px);
    overflow: hidden;
}
.header-logo-img { 
    height: 85px; 
    width: auto; 
    max-width: 100%; 
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-nav-top { padding-top: 2rem;}

.site-footer { 
    padding: 6rem 5% 2rem; 
    background: #010205; 
    border-top: 1px solid var(--border-soft); 
}

.footer-cta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 4rem 5%; 
    background: var(--bg-surface); 
    border-radius: 24px; 
    border: 1px solid var(--border-soft); 
    margin-bottom: 5rem; 
    flex-wrap: wrap; 
    gap: 2rem; 
    backdrop-filter: blur(10px);
}
.cta-content h2 { font-size: 2.2rem; margin-bottom: 0.5rem; color: #fff; }
.cta-content p { color: var(--text-secondary); font-size: 1.1rem; }

.footer-main { 
    display: grid; 
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr; 
    gap: 3rem; 
    margin-bottom: 4rem; 
}

.footer-logo-img { 
    height: 100px; 
    width: auto; 
    max-width: 400px; 
    margin-bottom: 2rem; 
    display: block;
}

.social-links { 
    display: flex; 
    gap: 1rem; 
    margin-top: 1.5rem; 
}
.social-links a { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.05); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease; 
    border: 1px solid transparent;
}
.social-links a:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: var(--accent-1);
    color: var(--accent-1); 
    transform: translateY(-3px); 
}

.newsletter-form { 
    display: flex; 
    margin-top: 0.5rem; 
}
.newsletter-form input { 
    flex-grow: 1; 
    padding: 1rem 1.2rem; 
    border: 1px solid var(--border-soft); 
    background: rgba(0,0,0,0.3); 
    color: #fff; 
    border-radius: 8px 0 0 8px; 
    font-family: inherit; 
    min-width: 0;
}
.newsletter-form input:focus { 
    outline: none; 
    border-color: var(--accent-1); 
}
.newsletter-form button { 
    padding: 1rem 1.5rem; 
    background: var(--gradient-primary); 
    border: none; 
    color: #fff; 
    border-radius: 0 8px 8px 0; 
    cursor: pointer; 
    transition: opacity 0.3s; 
}
.newsletter-form button:hover { opacity: 0.9; }

.footer-bottom { 
    padding-top: 2rem; 
    border-top: 1px solid var(--border-soft); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    color: var(--text-muted); 
    font-size: 0.9rem; 
}
.legal-links { display: flex; gap: 1rem; align-items: center; }
.legal-links a { transition: color 0.3s; }
.legal-links a:hover { color: #fff; }
.divider { color: var(--border-soft); }

@media (max-width: 900px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-cta { padding: 3rem 2rem; text-align: center; justify-content: center; }
}
@media (max-width: 600px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-cta h2 { font-size: 1.8rem; }
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}


