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

:root {
    /* Brand Colors (Seepix) - Orange/Graphite for elements */
    --brand-orange: #F37021;
    --brand-orange-hover: #D95D16;
    --brand-orange-light: rgba(243, 112, 33, 0.15);
    
    /* Dark Theme Colors (Retaking Previous Proposal) */
    --dark-900: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    
    /* Graphite & Greys for secondary accents */
    --graphite-900: #2A2A2A;
    --graphite-800: #454545;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-slate-300: #cbd5e1;
    --text-slate-400: #94a3b8;
    --text-muted: var(--text-slate-400);
    
    /* Variables for smooth scrolling offset */
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--dark-900);
    color: var(--text-slate-300);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--brand-orange);
    transition: all 0.3s ease;
}
a:hover { color: var(--brand-orange-hover); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-900); }
::-webkit-scrollbar-thumb { background: var(--dark-700); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-py {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-darker { background-color: rgba(0,0,0,0.2); }
.section-graphite { background-color: var(--graphite-900); }

/* Typography */
.text-center { text-align: center; }
.text-orange { color: var(--brand-orange) !important; }
.text-white { color: var(--text-white); }
.text-slate { color: var(--text-slate-300); }
.text-muted { color: var(--text-slate-400); }

.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }

.title-xl { font-size: 3rem; line-height: 1.1; margin-bottom: 1.5rem; color: var(--text-white); }
.title-lg { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; color: var(--text-white); }
.title-md { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.75rem; color: var(--text-white); }
@media (max-width: 768px) {
    .title-xl { font-size: 2.25rem; }
    .title-lg { font-size: 2rem; }
}

.subtitle { font-size: 1.25rem; color: var(--text-slate-400); margin-bottom: 2.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.btn-primary {
    background: var(--brand-orange);
    color: var(--text-white);
    box-shadow: 0 4px 10px rgba(243, 112, 33, 0.25);
}
.btn-primary:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243, 112, 33, 0.35);
    color: var(--text-white);
}
.btn-outline {
    background: transparent;
    color: var(--text-slate-300);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

/* Grid System */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.85); /* Dark background with glass */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo-img { height: 35px; }

.desktop-menu { display: none; }
@media (min-width: 768px) {
    .desktop-menu { display: flex; gap: 2rem; align-items: center; }
}

.nav-link {
    color: var(--text-slate-300);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--brand-orange); transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text-white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-menu-btn {
    display: flex; background: none; border: none; cursor: pointer; color: var(--text-slate-400);
}
.mobile-menu-btn svg { width: 1.75rem; height: 1.75rem; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--dark-800); border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
    transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.mobile-menu.active {
    transform: translateY(0); opacity: 1; visibility: visible;
}
.mobile-menu .nav-link {
    display: block; font-size: 1.1rem; padding: 0.75rem; border-radius: 0.5rem;
}
.mobile-menu .nav-link:hover { background: rgba(255,255,255,0.05); color: var(--brand-orange); }

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../img/hero_1a.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../img/hero_1a-v.jpg');
        background-attachment: scroll;
        background-position: center top;
        padding: 8rem 0 6rem;
    }
}
.hero-bg-blobs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.blob {
    position: absolute;
    width: 24rem; height: 24rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    mix-blend-mode: screen;
    animation: blob 7s infinite;
}
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.blob-1 { background: rgba(243, 112, 33, 0.3); top: -10%; left: 20%; }
.blob-2 { background: rgba(69, 69, 69, 0.4); top: 20%; right: 10%; animation-delay: 2s; }
.blob-3 { background: rgba(243, 112, 33, 0.2); bottom: -20%; left: 50%; width: 30rem; height: 30rem; animation-delay: 4s; }

.hero-content { position: relative; z-index: 10; width: 100%; max-width: 800px; margin: 0 auto; text-align: center; }
.badge {
    display: inline-block; padding: 0.25rem 1rem; background: var(--brand-orange-light);
    color: var(--brand-orange); font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.1em; border-radius: 2rem; margin-bottom: 1.5rem;
    border: 1px solid rgba(243, 112, 33, 0.3);
}

/* Glass Panels (Solutions & Form) */
.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}
.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 112, 33, 0.4);
}

.icon-box {
    width: 4rem; height: 4rem; border-radius: 1rem;
    background: var(--brand-orange-light); color: var(--brand-orange);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.icon-box svg { width: 2rem; height: 2rem; }

/* Carousel (Cases) */
.carousel-container { position: relative; padding: 0 3rem; margin-top: 3rem; }
.carousel-track { display: flex; gap: 2rem; overflow-x: hidden; scroll-behavior: smooth; }
.carousel-slide {
    flex: 0 0 100%; min-width: 100%; position: relative;
    border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 768px) {
    .carousel-slide { flex: 0 0 calc(33.333% - 1.33rem); min-width: calc(33.333% - 1.33rem); }
}
.carousel-img { width: 100%; height: 350px; object-fit: cover; transition: transform 0.5s; opacity: 0.85; }
.carousel-slide:hover .carousel-img { transform: scale(1.05); opacity: 1; }

.carousel-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
    padding: 3rem 1.5rem 1.5rem; color: white;
}
.case-category {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
    background: var(--brand-orange); padding: 0.25rem 0.6rem; border-radius: 0.25rem; font-weight: bold;
    display: inline-block; margin-bottom: 0.75rem;
}
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 3rem; height: 3rem; border-radius: 50%;
    background: var(--brand-orange); color: white; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.5); transition: background 0.3s;
}
.carousel-btn:hover { background: var(--brand-orange-hover); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-btn svg { width: 1.5rem; height: 1.5rem; }

/* Clients Logos */
.clients-wrapper {
    background: transparent; padding: 0; border: none; text-align: center;
}
.clients-img { max-width: 100%; margin: 0 auto; display: block; filter: none; }

/* Blog Section */
.blog-card {
    background: var(--dark-800); border-radius: 1rem; overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(243, 112, 33, 0.3); }
.blog-img-wrapper { height: 220px; position: relative; background: var(--dark-900); }
.blog-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; mix-blend-mode: luminosity; transition: all 0.5s; }
.blog-card:hover .blog-img { opacity: 0.9; mix-blend-mode: normal; }
.blog-tag {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--brand-orange); color: white; font-size: 0.75rem;
    font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 2rem;
}
.blog-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-title { font-size: 1.25rem; font-weight: 700; color: var(--text-white); margin-bottom: 0.75rem; line-height: 1.3; }
.blog-desc { color: var(--text-slate-400); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.blog-link { font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }

/* Contact Form */
.contact-container {
    background: rgba(30, 41, 59, 0.5); border-radius: 1.5rem; 
    border: 1px solid rgba(255,255,255,0.05); overflow: hidden;
}
.contact-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info { background: linear-gradient(to bottom right, var(--graphite-800), var(--graphite-900)); color: white; padding: 3.5rem; border-right: 1px solid rgba(255,255,255,0.05); }
.contact-form-wrap { padding: 3.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-slate-300); margin-bottom: 0.5rem; }
.form-control {
    width: 100%; padding: 0.875rem 1rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 0.5rem;
    font-family: inherit; font-size: 1rem; color: var(--text-white); background: rgba(15, 23, 42, 0.5); transition: all 0.3s;
}
.form-control::placeholder { color: var(--text-slate-400); }
.form-control:focus { outline: none; border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.2); background: rgba(15, 23, 42, 0.8); }
.flash-message {
    padding: 1rem; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #4ade80;
    border-radius: 0.5rem; margin-bottom: 1.5rem; font-weight: 600; display: none; text-align: center;
}

/* Footer */
.footer { background: var(--dark-900); color: var(--text-slate-300); padding: 5rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-logo { max-width: 150px; margin-bottom: 1.5rem; } /* Assuming logo.png is readable on dark */
.footer-bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--text-slate-500); font-size: 0.875rem; }
