/* style.css - Final Fixed Version (All Logos Fixed) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@400;500;700&display=swap');

:root {
    --brand-primary: #cddc39; 
    --bg-color: #ffffff;
    --text-main: #111111;
    --text-body: #555555;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: #f3f4f6;
    --pill-bg: #f9f9f9;
    --icon-box-bg: #f9fafb;
    --input-bg: #ffffff;
    
    --bg-pattern: repeating-linear-gradient(
            -45deg, transparent, transparent 10px,
            rgba(0, 0, 0, 0.03) 10px, rgba(0, 0, 0, 0.03) 11px
        ),
        radial-gradient(circle at 50% 0%, rgba(205, 220, 57, 0.15) 0%, transparent 60%);
}

/* DARK MODE */
[data-theme="dark"] {
    --bg-color: #0f0f0f;
    --text-main: #ffffff;
    --text-body: #aaaaaa;
    --card-bg: #1a1a1a;
    --nav-bg: rgba(20, 20, 20, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);
    --pill-bg: #222222;
    --icon-box-bg: #2a2a2a;
    --input-bg: #222222;
    
    --bg-pattern: repeating-linear-gradient(
            -45deg, transparent, transparent 10px,
            rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 11px
        ),
        radial-gradient(circle at 50% 0%, rgba(205, 220, 57, 0.1) 0%, transparent 60%);
}

/* --- LOGO FIX (Navbar & Footer) --- */
[data-theme="dark"] .logo img, 
[data-theme="dark"] .footer-info img {
    filter: invert(1) grayscale(100%);
    mix-blend-mode: screen; 
}

/* Dark Mode Pill Fix */
[data-theme="dark"] .tagline-pill { 
    color: var(--brand-primary); 
    border-color: rgba(205, 220, 57, 0.3); 
}
[data-theme="dark"] .info-icon { 
    color: var(--brand-primary); 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-color);
    background-image: var(--bg-pattern);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex; flex-direction: column; min-height: 100vh;
    padding-top: 100px; 
    opacity: 0; transition: opacity 0.5s ease-in-out, background-color 0.3s ease, color 0.3s ease;
}

body.loaded { opacity: 1; }
body.menu-open { overflow: hidden; }

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Reveal Animation --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* =========================================
   NAVBAR
========================================= */
nav {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.nav-container {
    pointer-events: auto;
    max-width: 1200px; margin: 0 auto;
    padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
}

.logo img { height: 55px; width: auto; transition: height 0.3s ease; }

.nav-links { display: flex; gap: 3rem; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-main); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-primary); }

.theme-toggle { cursor: pointer; font-size: 1.2rem; color: var(--text-main); transition: color 0.3s ease; display: flex; align-items: center; justify-content: center; }
.theme-toggle:hover { color: var(--brand-primary); }

.menu-toggle { display: none; font-size: 1.8rem; color: var(--text-main); cursor: pointer; pointer-events: auto; }
.close-menu { display: none; }

nav.scrolled .nav-container {
    margin-top: 20px;
    width: 95%; max-width: 1100px;
    padding: 0.8rem 4rem; border-radius: 50px;
    background: var(--nav-bg);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}
nav.scrolled { display: flex; justify-content: center; }
nav.scrolled .logo img { height: 40px; }

/* =========================================
   COMPONENTS
========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; width: 100%; }
.section-padding { padding-top: 9rem; padding-bottom: 6rem; }
.text-center { text-align: center; }

h1 { font-family: 'Oswald', sans-serif; font-size: 3.5rem; color: var(--text-main); font-weight: 700; letter-spacing: -1px; line-height: 1.1; margin-bottom: 1.5rem; text-transform: uppercase; }
h2 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; color: var(--text-main); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; color: var(--text-main); font-weight: 600; margin-bottom: 0.5rem; }
p { font-size: 1rem; margin-bottom: 1.5rem; max-width: 700px; margin-left: auto; margin-right: auto; color: var(--text-body); }

.gradient-text { background: linear-gradient(120deg, #8bc34a, #cddc39, #aeea00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tagline-pill { display: inline-block; background: var(--pill-bg); color: #15803d; padding: 6px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid var(--brand-primary); }

/* Buttons */
.btn-primary { display: inline-block; background: var(--brand-primary); color: #111111; padding: 0.9rem 2.2rem; border-radius: 50px; font-weight: 600; box-shadow: 0 4px 15px rgba(205, 220, 57, 0.25); border: 2px solid transparent; transition: all 0.2s ease; cursor: pointer; }
.btn-primary:hover { transform: translateY(-3px); background: #fff; border-color: var(--brand-primary); }
.btn-outline { display: inline-block; background: transparent; border: 1px solid var(--text-body); color: var(--text-main); padding: 0.9rem 2.2rem; border-radius: 50px; font-weight: 600; margin-left: 10px; transition: all 0.2s ease; }
.btn-outline:hover { background: var(--text-main); color: var(--bg-color); border-color: var(--text-main); }

/* --- CARDS & GRIDS --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; align-items: start; }

.feature-card, .home-service-card, .deliverables-card {
    background: var(--card-bg); 
    border: 1px solid var(--border-light);
    border-radius: 24px; padding: 2.5rem; transition: all 0.4s ease;
    backdrop-filter: blur(5px); display: flex; flex-direction: column; height: 100%;
}
.feature-card:hover, .home-service-card:hover, .deliverables-card:hover { 
    border-color: var(--brand-primary); transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

.home-service-card p { margin-left: 0; font-size: 0.95rem; margin-bottom: 2rem; }
.home-service-card .card-footer { border-top: 1px solid var(--border-light); padding-top: 1rem; margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--brand-primary); display: flex; justify-content: space-between; align-items: center; }

.icon-box, .icon-box-small { 
    background: var(--icon-box-bg); 
    display: flex; align-items: center; justify-content: center; 
    color: var(--brand-primary); margin-bottom: 1.5rem; 
    border: 1px solid var(--border-light); 
}
.icon-box { width: 60px; height: 60px; border-radius: 16px; font-size: 1.5rem; }
.icon-box-small { width: 45px; height: 45px; border-radius: 10px; font-size: 1.2rem; }

/* --- PAGE SPECIFIC --- */
.stats-row { display: flex; justify-content: center; gap: 5rem; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border-light); }
.stat-item h2 { color: var(--brand-primary); margin-bottom: 0; font-size: 3rem; }
.stat-item p { font-weight: 600; font-size: 0.9rem; margin: 0; color: var(--text-body); }

.step-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 20px; padding: 2rem; position: relative; transition: all 0.3s ease; }
.step-card:hover { border-color: var(--brand-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.step-number { font-size: 3.5rem; font-weight: 900; color: var(--brand-primary); line-height: 1; margin-bottom: 1rem; opacity: 1; }

.stats-container { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--pill-bg); padding: 1rem; border-radius: 24px; }
.stat-box { background: var(--card-bg); padding: 2rem; border-radius: 16px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.stat-box h4 { font-size: 2rem; font-weight: 800; color: var(--brand-primary); margin-bottom: 0; }
.stat-box.wide { grid-column: span 2; }

.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: 8rem; }
.service-row.reverse .service-text { order: 2; }
.service-row.reverse .service-card-wrapper { order: 1; }
.service-text { text-align: left; }
.service-text p { margin-left: 0; }

.check-list-styled { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.check-list-styled li { font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 8px; color: var(--text-body); }
.check-list-styled i { color: var(--brand-primary); }

.pill-list { display: flex; flex-direction: column; gap: 0.8rem; }
.pill-item { background: var(--card-bg); padding: 12px 20px; border-radius: 50px; font-size: 0.9rem; color: var(--text-body); font-weight: 500; box-shadow: 0 4px 10px rgba(0,0,0,0.02); border: 1px solid var(--border-light); display: flex; align-items: center; gap: 10px; }
.pill-dot { width: 8px; height: 8px; background: var(--brand-primary); border-radius: 50%; }
.service-icon-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(205, 220, 57, 0.15); color: #cddc39; padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; margin-bottom: 1.5rem; }

/* =========================================
   CONTACT PAGE SPECIFIC
========================================= */
.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.input-group { margin-bottom: 1.5rem; text-align: left; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.5rem; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(205, 220, 57, 0.1);
}
.full-width { width: 100%; border: none; font-size: 1rem; cursor: pointer; }

.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.info-icon { 
    min-width: 40px; height: 40px; background: rgba(205, 220, 57, 0.1); 
    color: #828d1d; border-radius: 50%; display: flex; align-items: center; justify-content: center; 
}

.action-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.action-card {
    background: var(--pill-bg);
    padding: 1.2rem; border-radius: 16px;
    display: flex; align-items: center; gap: 1rem;
    border: 1px solid var(--border-light);
    transition: 0.3s;
}
.action-card:hover { transform: translateY(-3px); border-color: var(--brand-primary); }
.action-icon { font-size: 1.5rem; color: var(--brand-primary); }

/* --- FOOTER --- */
footer { background: var(--card-bg); padding: 4rem 0; margin-top: auto; border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; text-align: left; }
.footer-links li { margin-bottom: 0.8rem; }

a[href^="mailto:"] { color: inherit; text-decoration: none; transition: 0.3s; }
a[href^="mailto:"]:hover { color: var(--brand-primary); text-decoration: underline; }
.footer-links li a { color: var(--text-body); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .container { padding: 0 1.5rem; }
    .section-padding { padding-top: 5rem; padding-bottom: 5rem; }
    .menu-toggle { display: block; }
    .logo img { height: 45px; }

    .nav-links {
        position: absolute; top: 70px; right: 0; width: 220px;
        background: var(--nav-bg); 
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--border-color); 
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        border-radius: 16px; padding: 1.5rem;
        flex-direction: column; align-items: flex-start; gap: 1.2rem;
        opacity: 0; transform: translateY(-10px) scale(0.95);
        pointer-events: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-links.active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
    .nav-links a { font-size: 1rem; width: 100%; border-bottom: 1px solid var(--border-light); padding-bottom: 0.8rem; }
    .nav-links a:last-child { border-bottom: none; padding-bottom: 0; }
    .close-menu { display: none; }

    .grid-4, .grid-3, .grid-2, .stats-row, .service-row, .stats-container, .footer-grid { grid-template-columns: 1fr; }
    .service-row.reverse .service-text { order: 0; }
    .service-row.reverse .service-card-wrapper { order: 1; }
    
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    h1 { font-size: 2.8rem; line-height: 1.2; word-wrap: break-word; }
    h2 { font-size: 2rem; }
    nav.scrolled .nav-container { width: 92%; padding: 0.8rem 1.5rem; min-width: auto; }
    .stats-row { flex-direction: column; gap: 2rem; margin-top: 2rem; }

    .btn-primary, .btn-outline {
        display: block; width: 100%; max-width: 100%; text-align: center;
        margin-bottom: 15px; margin-left: 0;
    }
    .btn-outline { margin-bottom: 0; }
}