/* ==========================================================================
   1. ROOT VARIABLES & GLOBAL RESET
   ========================================================================== */
:root {
    --bg: #050505;
    --text: #e0e0e0;
    --accent: #d4af37;
}

body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: 'Inter', sans-serif; 
    overflow-x: hidden; /* Fixes the swipe bug */
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* This hides the overflow */
    position: relative; /* This anchors the body */
}

h2 { font-weight: 300; letter-spacing: 4px; }

/* ==========================================================================
   2. ANIMATIONS
   ========================================================================== */
/* The Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* The Reusable Class */
#reveal {
    animation: fadeInUp 2s ease forwards;
    opacity: 0; /* Keeps it hidden until animation starts */
}

/* ==========================================================================
   3. HEADER / NAVIGATION
   ========================================================================== */
.luxury-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo { font-size: 1.4rem; letter-spacing: 6px; font-weight: 200; }
.logo span { color: var(--accent); font-weight: 700; }

.logo-container {
    display: flex;
    align-items: center;
    max-height: 0px;      /* Match this to your image height */
}
.site-logo {
    height: 80px; /* Adjust this to match your header height */
    width: auto;
    border-radius: 15px; 
    margin-top: -10px;
    transition: 0.3s;
    display: block;
}



.nav-menu ul { display: flex; gap: 3rem; align-items: center; list-style: none; }
.nav-menu a { color: var(--text); text-align: center;text-decoration: none; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; transition: 0.4s; }
.nav-menu a:hover { color: var(--accent); }

.btn-cta { border: 1px solid var(--accent); padding: 0.7rem 1.8rem; }

/* Mobile / Hamburger Logic */
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.line { width: 25px; height: 1.5px; background: white; margin: 6px 0; transition: 0.4s; }

@media (max-width: 900px) {
    .hamburger { display: block; }
    
    .nav-menu { 
        position: fixed; 
        top: 0; 
        right: 0; /* Changed from -100% to 0 */
        height: 100vh; 
        line-height: 2.5rem;
        width: 100vw; 
        background: #050505; 
        display: flex; 
        align-items: center; 
        justify-content: center;
        
        /* THE LOCK-DOWN FIX */
        transform: translateX(100%); /* Hides it off-screen without causing overflow */
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        visibility: hidden; /* Ensures it cannot be interacted with */
    }

    .nav-menu.active { 
        transform: translateX(0); /* Slides into view */
        visibility: visible;
    }
    
    .nav-menu ul { flex-direction: column; gap: 2rem; }
    
    /* Animation for the X */
    .hamburger.open .line-1 { transform: rotate(45deg) translate(6px, 6px); }
    .hamburger.open .line-2 { opacity: 0; }
    .hamburger.open .line-3 { transform: rotate(-45deg) translate(6px, -6px); }
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 90vh; /* Takes 90% of the viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: #050505; /* Matches your footer/overall theme */
    color: #ffffff;
}

/* --- Hero with Background Image --- */
.hero-bg {
    position: relative;
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)), url('https://plus.unsplash.com/premium_photo-1681399975135-252eab5fd2db?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MXx8dGVjaCUyMGFic3RyYWN0fGVufDB8fDB8fHww');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Ensure content stays on top of the overlay */
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-content p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #888;
    margin-bottom: 3rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
}

/* --- Hero CTA Button --- */
.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid #d4af37; /* Luxury Gold Accent */
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.8rem;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background: #d4af37;
    color: #000000;
    cursor: pointer;
}

/* --- Hero Responsive Adjustments --- */
@media (max-width: 600px) {
    .hero { min-height: 70vh; }
    .hero-content h1 { margin-bottom: 1.5rem; }
    .btn-primary { padding: 1rem 2rem; }
}

/* ==========================================================================
   5. PORTFOLIO SECTION
   ========================================================================== */
.portfolio {
    padding: 8rem 5%;
    background: #050505;
}

/* --- Portfolio Grid (4-project version) --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem; /* Top/Bottom gap 4rem, Left/Right 3rem */
    margin-bottom: 5rem;
}

/* --- Portfolio Grid (alternate / centered container version) --- */
.portfolio-grid {
   display: grid;
    /* This creates exactly 2 columns of equal width */
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1200px; /* Adjust this to control the overall grid width */
    margin: 0 auto;    /* Centers the entire grid on the page */
}

/* --- Media Placeholder (version 1) --- */
.media-placeholder {
    width: 100%;
    height: 450px; /* Slightly adjusted to keep 2x2 compact and clean */
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
    margin-bottom: 1.5rem;
    transition: 0.6s ease;
    overflow: hidden; /* Ensures your future images/videos don't bleed out */
}

/* --- Media Placeholder (version 2 / fixed height) --- */
.media-placeholder {
    width: 100%;
    height:350px;
    background: #000;
}

.media-placeholder video, 
.media-placeholder img {
    width: 100%;             /* Forces media to fill the width of the item */
    height: 100%;            /* Fills the height of the container */
    object-fit: cover;       /* Ensures no stretching */
    display: block;
}

/* --- Media Placeholder (mobile height override) --- */
.media-placeholder video, 
.media-placeholder img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* --- Individual Portfolio Item --- */
.portfolio-item {
    width: 100%;             /* Start at full width on mobile */
    max-width: 600px;        /* Set your desired width here */
    background: #111;
    border: 1px solid #222;
    overflow: hidden;
}

/* --- Individual Portfolio Item (duplicate, no max-width) --- */
.portfolio-item {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    overflow: hidden;
}

/* Luxury hover effect */
.portfolio-item:hover .media-placeholder {
    border-color: #d4af37;
    cursor: pointer;
}

/* --- Portfolio CTA Button --- */
.portfolio-cta { 
    text-align: center; 
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1.2rem 4rem;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    background: transparent;
}

.btn-secondary:hover { 
    background: #ffffff; 
    color: #000000;
    cursor: pointer;
    border-color: #ffffff;
}

/* --- Portfolio Responsive --- */
@media (max-width: 900px) {
    .portfolio-grid { 
        grid-template-columns: 1fr; /* Stacks perfectly on smaller screens */
        gap: 3rem;
    }
}

/* This is the mobile override */
@media (max-width: 768px) {
    .portfolio-grid {
        /* This forces 1 column (one by one) on mobile */
        grid-template-columns: 1fr; 
    }
}

/* =================================================================
    MOBILE LOGO
==================================================================== */
.site-logo {
    height: 50px; /* Adjust this to match your header height */
    width: auto;
    border-radius: 15px; 
    margin-top: 3px;
    transition: 0.3s;
    display: block;
}
/* ==========================================================================
   6. AI CAPABILITIES SECTION
   ========================================================================== */
.ai-capabilities {
    padding: 8rem 5%;
    background: #050505;
    color: #fff;
}

.capabilities-header { text-align: center; margin-bottom: 6rem; }
.capabilities-header h2 { font-size: 2.5rem; letter-spacing: 5px; }

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-card {
    border-top: 1px solid #333;
    padding-top: 2rem;
    transition: 0.4s;
}

.capability-card:hover { border-color: #d4af37; }

.index {
    display: block;
    font-size: 0.8rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-family: monospace;
}

.capability-card h3 { font-size: 1.5rem; margin-bottom: 1rem; text-transform: uppercase; }
.capability-card p { color: #777; line-height: 1.8; }

@media (max-width: 768px) {
    .capability-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   7. CTA / STATS SECTION
   ========================================================================== */
.cta-section {
    padding: 8rem 5%;
    background: #050505;
    border-top: 1px solid #1a1a1a;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* 60% CTA, 40% Stats */
    gap: 8rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* Stats Sidebar */
.stats-sidebar {
    border-left: 1px solid #222;
    padding-left: 4rem;
}

.stat-item {
    margin-bottom: 3rem;
}

.stat-item:last-child { margin-bottom: 0; }

.stat-item h3 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.stat-item p {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content {
    max-width: 600px;
    /* This ensures everything inside (H2, P, Button) centers */
    text-align: center; 
    margin: 0 auto;
}

/* Ensure the button centers perfectly */
.cta-content .btn-primary {
    margin: 0 auto;
    display: inline-block;
}

/* --- Mobile Optimization for Stats Sidebar --- */
@media (max-width: 900px) {
    .cta-grid { 
        grid-template-columns: 1fr; 
        gap: 4rem; 
    }
    
    .stats-sidebar { 
        border-left: none; 
        border-top: 1px solid #222; 
        padding-left: 0; 
        padding-top: 3rem;
        /* Centralizing the content */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin-bottom: 2rem;
        width: 100%;
    }
}

/* ==========================================================================
   8. PHILOSOPHY SECTION
   ========================================================================== */
.philosophy {
    padding: 8rem 5%;
    background: #030303;
    border-top: 1px solid #1a1a1a;
}

.philosophy-header { text-align: center; margin-bottom: 5rem; }

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.p-item h4 {
    font-size: 1rem;
    color: #d4af37;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.p-item p {
    color: #777;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ==========================================================================
   9. CONTACT FORM (GENERIC AI CONTACT FORM)
   ========================================================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input, 
.contact-form textarea, 
.contact-form select {
    background: #080808;
    border: 1px solid #222;
    padding: 1.5rem;
    color: #fff;
    font-size: 1rem;
    width: 100%;
    transition: 0.3s;
}

.contact-form select { color: #888; cursor: pointer; }

.contact-form input:focus, 
.contact-form textarea:focus, 
.contact-form select:focus {
    border-color: #d4af37;
    outline: none;
    color: #fff;
}

/* ==========================================================================
   10. STUDIO PORTFOLIO NAMESPACE
   ========================================================================== */
/* --- Navigation & Centering --- */
.studio-portfolio-header { 
    text-align: center; 
    margin-bottom: 4rem; 
}

.studio-filter-nav {
    display: flex;
    justify-content: center; /* This centers the categories perfectly */
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Base style for both Links (Home) and Buttons (Portfolio) */
.studio-filter-link, .studio-filter-btn {
    background: none;
    border: 1px solid #222;
    padding: 0.8rem 1.5rem;
    color: #666;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.studio-filter-link:hover, .studio-filter-btn:hover {
    border-color: #555;
    color: #fff;
}

.studio-filter-btn.studio-active {
    border-color: #d4af37;
    background: #d4af37;
    color: #000;
    font-weight: bold;
}

/* --- Portfolio Grid & Project Cards --- */
.studio-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Studio Item (base version) --- */
.studio-item {
    background: #080808;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.studio-item:hover {
    transform: translateY(-5px);
}

.studio-item img, .studio-item video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #111;
}

/* New Content Area for Titles & Descriptions */
.studio-item-content {
    padding: 1.5rem;
}

.studio-item-content h3 {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.studio-item-content p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Studio Item (Enhanced / overriding version) --- */
.studio-item {
    background: #080808;
    border: 1px solid #1a1a1a;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.studio-item:hover {
    border-color: #d4af37;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* --- Responsive Process Grid --- */
@media (max-width: 768px) {
    .studio-process {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

/* --- Clean Typography --- */
.studio-item-content h3 { color: #d4af37; }

.studio-cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 1px solid #d4af37;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
}

.studio-cta-button:hover {
    background: #d4af37;
    color: #000000;
    cursor: pointer;
}

/* --- Studio Contact Item (version 1) --- */
.studio-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    color: #888;
    font-size: 0.9rem;
}

.studio-contact-item svg { color: #d4af37; }

/* --- Studio Upwork Link (version 1) --- */
.studio-upwork-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid #222;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.studio-upwork-link:hover { border-color: #d4af37; }

/* --- Studio Contact Grid (version 1) --- */
.studio-contact-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 5rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .studio-contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   11. STUDIO CONTACT PAGE
   ========================================================================== */
/* --- Contact Page Layout --- */
.studio-contact-section { 
    max-width: 1000px; 
    margin: 4rem auto; 
    padding: 0 5%; 
}



.studio-contact-header { text-align: center; margin-bottom: 4rem; }

/* --- Studio Contact Grid (version 2 / overrides version 1) --- */
.studio-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Sidebar is smaller, form is larger */
    gap: 4rem;
}

/* --- Sidebar Styling --- */
.studio-contact-sidebar h3 { 
    font-size: 0.8rem; 
    letter-spacing: 3px;
    text-align: center;
    color: #d4af37; 
    margin-bottom: 1.5rem; 
}
.studio-contact-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers everything horizontally */
    text-align: center;  /* Ensures text content is centered */
    padding: 2rem;
}

/* --- Studio Contact Item (version 2 / overrides version 1) --- */
.studio-contact-item { 
    display: flex; 
    align-items: center; 
    gap: 1rem;
    margin-bottom: 1rem; 
    color: #888; 
    font-size: 0.95rem; 
}

/* --- Studio Upwork Link (version 2 / overrides version 1) --- */
.studio-upwork-link { 
    color: #fff; 
    text-decoration: none; 
    border-bottom: 1px solid #d4af37; 
    padding-bottom: 2px; 
}

/* --- Form Styling (Updates) --- */
.studio-contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.studio-contact-form input, 
.studio-contact-form select, 
.studio-contact-form textarea {
    background: #080808;
    border: 1px solid #222;
    padding: 1rem;
    color: #fff;
    width: 100%;
}

.studio-contact-form textarea { resize: vertical; }

/* Mobile view: Stack everything */
@media (max-width: 768px) {
    .studio-contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Force all form elements to have identical sizing and width */
.studio-contact-form input, 
.studio-contact-form select, 
.studio-contact-form textarea,
.studio-contact-form .studio-cta-button {
    width: 100%;             /* Force full width */
    box-sizing: border-box;  /* Include padding/border in width calculation */
    display: block;          /* Ensure no inline-block spacing issues */
    margin: 0;               /* Remove default browser margins */
}

/* Ensure the button matches the input padding */
.studio-cta-button {
    padding: 1rem;           /* Match the padding of your inputs */
    cursor: pointer;
    border: 1px solid #d4af37;
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.marvel-footer { 
    background: #050505; 
    padding: 5rem 5% 2rem; 
    border-top: 1px solid #1a1a1a; 
    color: #fff;
}

.footer-content { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 3rem; 
    margin-bottom: 4rem; 
    max-width: 1200px; /* Keeps it from stretching too far on ultra-wide screens */
    margin-left: auto;
    margin-right: auto;
}

.footer-section { 
    text-align: center; /* Centralizes all content within the column */
}

.footer-section h3 { font-size: 1.2rem; margin-bottom: 1.5rem; letter-spacing: 2px; }
.footer-section h4 { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    margin-bottom: 1.5rem; 
    color: #666; 
    letter-spacing: 2px; 
}

.footer-section p { font-size: 0.85rem; color: #888; line-height: 1.6; margin-bottom: 1rem; }

.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 0.8rem; }
.footer-section ul li a { 
    color: #ccc; 
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: 0.3s; 
}
.footer-section ul li a:hover { color: #d4af37; }

.email { 
    color: #d4af37; 
    font-weight: 500; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 0.5rem; 
}
.location { color: #555; font-size: 0.8rem; margin-top: 0.5rem; }

/* --- Footer Logo --- */
.footer-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem; /* Space between logo and copyright text */
    width: 100%;
}

.footer-logo {
    height: 100px;   /* Adjust size as needed for footer */
    width: auto;
    display: block;
}

/* --- Copyright Bottom (version 1) --- */
.footer-bottom { 
    text-align: center; 
    font-size: 0.75rem; 
    color: #444; 
    padding-top: 2rem; 
    border-top: 1px solid #1a1a1a; 
}

/* --- Copyright Bottom (version 2 / overrides version 1) --- */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    margin-top: 2rem;
}

/* --- Footer Responsive Behavior --- */
@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

@media (max-width: 600px) {
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
}

/* ==========================================================================
   13. ABOUT PAGE STYLING
   ========================================================================== */
.about-hero { padding: 6rem 5% 4rem; }

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    padding: 0 5%; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; letter-spacing: 2px; }
.about-lead { font-size: 1.25rem; color: #d4af37; margin-bottom: 2rem; line-height: 1.6; }
.about-image img { width: 100%; border-radius: 4px; filter: grayscale(20%); transition: 0.5s; }
.about-image img:hover { filter: grayscale(0%); }

.about-philosophy { padding: 6rem 5%; text-align: center; max-width: 800px; margin: 0 auto; }
.about-philosophy h3 { color: #d4af37; margin-bottom: 2rem; letter-spacing: 4px; }
.about-philosophy p { font-size: 1.1rem; line-height: 1.8; color: #888; }

.about-stack { padding: 4rem 5%; background: #050505; }
.about-stack h3 { text-align: center; margin-bottom: 3rem; letter-spacing: 4px; }
.stack-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.stack-item { background: #080808; padding: 2rem; border: 1px solid #1a1a1a; text-align: center; }
.stack-item h4 { color: #d4af37; margin-bottom: 0.5rem; }
.stack-item p { font-size: 0.85rem; color: #666; }

/* ==========================================================================
   14. SERVICES PAGE STYLING
   ========================================================================== */
.services-hero { padding: 8rem 5% 4rem; text-align: center; }
.services-hero h2 { font-size: 3rem; letter-spacing: 5px; }

.service-category { padding: 4rem 5%; max-width: 1200px; margin: 0 auto; }
.service-category h3 { color: #d4af37; margin-bottom: 2rem; border-bottom: 1px solid #1a1a1a; padding-bottom: 1rem; }

.service-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 2rem; 
}
.card { 
    padding: 2.5rem; 
    background: #080808; 
    border: 1px solid #1a1a1a; 
    transition: 0.3s; 
}
.card:hover { border-color: #d4af37; transform: translateY(-5px); }
.card h4 { margin-bottom: 1rem; font-size: 1.2rem; }
.card p { color: #888; line-height: 1.6; font-size: 0.95rem; }

.service-why { padding: 6rem 5%; background: #080808; text-align: center; }
.service-why h3 { margin-bottom: 3rem; letter-spacing: 3px; }
.service-why ul { 
    list-style: none; 
    max-width: 700px; 
    margin: 0 auto; 
    text-align: left; 
}
.service-why li { 
    margin-bottom: 1.5rem; 
    color: #888; 
    padding-left: 2rem; 
    position: relative; 
}
.service-why li::before { 
    content: "✓"; 
    position: absolute; 
    left: 0; 
    color: #d4af37; 
    font-weight: bold; 
}

/* ==========================================================================
   15. GLOBAL RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .stack-grid { grid-template-columns: 1fr 1fr; }
    .service-cards { grid-template-columns: 1fr; }
}