
/* --- RESET & VARIABLES --- */
:root {
    --primary: #0f172a; /* Slate 900 */
    --primary-light: #1e293b;
    --accent: #f97316; /* Orange 500 */
    --accent-hover: #ea580c;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 8px;
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-main); line-height: 1.6; margin: 0; background: var(--white); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); font-weight: 700; margin-top: 0; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.section-pad { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; padding: 12px 28px; font-weight: 600; border-radius: var(--radius); cursor: pointer; justify-content: center; gap: 8px; }
.btn-primary { background: var(--accent); color: white; border: 2px solid var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--primary); }
.btn-dark { background: var(--primary); color: white; }

/* --- HEADER --- */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #e2e8f0; z-index: 1000; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo svg { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--primary); font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.header-cta { display: none; } 
@media (min-width: 768px) { .header-cta { display: flex; } }

/* --- HERO --- */
.hero { background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80'); background-size: cover; background-position: center; color: white; padding: 120px 0; position: relative; }
.hero-content { max-width: 600px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; color: white; }
.hero p { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 20px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.badge { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #cbd5e1; }

/* --- CARDS & SERVICES --- */
.service-card { background: white; padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0; transition: 0.3s; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.icon-box { width: 60px; height: 60px; background: #fff7ed; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 20px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card a { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; margin-top: 15px; }

/* --- FORMS --- */
.form-box { background: white; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; transition: 0.2s; box-sizing: border-box; }
.form-control:focus { outline: none; border-color: var(--accent); ring: 3px solid rgba(249, 115, 22, 0.2); }

/* --- FOOTER --- */
.site-footer { background: var(--primary); color: #94a3b8; padding: 80px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-col h4 { color: white; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #334155; padding-top: 30px; text-align: center; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Add JS mobile menu if needed, simplified for static */
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
/* --- MODERN PROFESSIONAL THEME --- */
:root {
    --brand-dark: #0f172a;
    --brand-blue: #1e293b;
    --brand-orange: #f97316;
    --brand-orange-hover: #ea580c;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
}

body { font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.7; background: var(--bg-light); margin: 0; }
h1, h2, h3 { color: var(--brand-dark); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
a { text-decoration: none; transition: 0.2s; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 60px 0; }
.sidebar-layout { display: grid; gap: 40px; }
@media(min-width: 992px) { .sidebar-layout { grid-template-columns: 2fr 1fr; } }

/* CARDS & SIDEBAR */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.widget-header {
    background: var(--brand-dark);
    color: var(--white);
    padding: 15px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.widget-body { padding: 25px; }

/* FORMS */
.form-group { margin-bottom: 15px; }
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--brand-dark);
    transition: 0.2s;
    box-sizing: border-box;
}
.form-control:focus {
    border-color: var(--brand-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.btn-submit {
    width: 100%;
    background: var(--brand-orange);
    color: var(--white);
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    transition: 0.2s;
}
.btn-submit:hover { background: var(--brand-orange-hover); transform: translateY(-1px); }

/* SERVICE LIST */
.service-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--brand-dark);
    font-weight: 500;
}
.service-list a:hover {
    background: #f8fafc;
    color: var(--brand-orange);
    padding-left: 25px;
}
.service-list a:last-child { border-bottom: none; }

/* CONTENT STYLES */
.content-box { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.content-box ul { padding-left: 20px; margin-bottom: 30px; }
.content-box li { margin-bottom: 10px; }
.hero-small {
    background: var(--brand-dark);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}
.tech-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #e2e8f0; /* Fallback color if image fails */
}

/* --- Navigation Wrapper --- */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    height: 80px; /* Ensures consistent header height */
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Strip all default button styles to make dropbtn look like a link */
.nav-links a, 
.dropbtn {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    border: none;
    padding: 10px 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.nav-links a:hover, 
.dropdown:hover .dropbtn {
    color: #f97316;
}

/* --- Dropdown Desktop Styling --- */
.dropdown {
    position: relative;
}
/* This invisible bridge keeps the menu open while moving the mouse down */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px; /* Adjust this to match your gap */
    background: transparent;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 100;
    border: 1px solid #e2e8f0;
    margin-top: 10px; /* Gap so it doesn't touch the header */
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

.dropdown-content a:hover {
    background: #f8fafc;
    color: #f97316;
}

/* Hide the mobile toggle completely on desktop */
.mobile-toggle {
    display: none !important;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
    .mobile-only { 
        display: none !important; 
    }
}

/* --- Mobile Navigation --- */
@media (max-width: 991px) {
    .desktop-only { 
        display: none !important; 
    }
    
    .mobile-toggle {
        display: flex !important; /* Show only on mobile */
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        appearance: none;
        outline: none;
    }

    .mobile-toggle .bar {
        width: 25px;
        height: 3px;
        background: #0f172a;
        transition: 0.3s;
        border-radius: 5px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px; /* Match your header height */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 30px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 99;
        border-top: 1px solid #eee;
    }

    .nav-links.nav-active {
        display: flex;
    }

    .dropdown { width: 100%; }
    
    .dropbtn { 
        width: 100%; 
        text-align: left; 
        padding: 15px 0; 
        border-bottom: 1px solid #f1f5f9; 
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 20px;
        background: #f8fafc;
        border: none;
        width: 100%;
    }

    .dropdown-content.show-dropdown {
        display: block;
    }
    
    /* Animation for Hamburger X */
    .toggle-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .toggle-active .bar:nth-child(2) { opacity: 0; }
    .toggle-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}