/* Reset & Global Styles */
:root {
    --primary-bg: #0F0F0F;
    /* Jet Black */
    --secondary-bg: #1A1A1A;
    /* Deep Charcoal */
    --primary-accent: #FFC400;
    /* Signal Yellow */
    --accent-hover: #FFD84D;
    /* Lighter Yellow */
    --text-white: #FFFFFF;
    --text-muted: #9A9A9A;
    /* Muted Gray */
    --soft-gray: #EAEAEA;
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(255, 196, 0, 0.5);
    --font-family: 'Montserrat', sans-serif;
    /* Clean sans-serif */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.w-100 {
    width: 100%;
}

.d-none {
    display: none;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

p {
    color: var(--text-muted);
}

/* Utility Animations */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 196, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 196, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 196, 0, 0.2);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Top Contact Strip */
.top-bar {
    background-color: var(--primary-bg);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-dark);
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    /* Right aligned per request implicity/standard */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info a,
.contact-info span {
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--primary-accent);
}

.contact-info i {
    color: var(--primary-accent);
    /* Yellow icons */
}

/* Header Navigation */
.main-header {
    position: fixed;
    top: 45px;
    /* Adjust for top bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
    background: transparent;
}

.main-header.scrolled {
    top: 0;
    background: rgba(15, 15, 15, 0.95);
    /* Nearly solid black */
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-dark);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.logo-text .highlight {
    color: var(--primary-accent);
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-white);
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}


.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Header Button */
.btn-primary-header {
    background: var(--primary-accent);
    color: var(--primary-bg);
    /* Black text on yellow */
    padding: 12px 28px;
    border-radius: 4px;
    /* Slightly sharper corners for "tech" feel */
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-header:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 196, 0, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-bg);
    overflow: hidden;
}

/* Minimal Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

/* Subtle moving lines */
.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    width: 200px;
    opacity: 0.3;
    animation: moveLine 8s linear infinite;
}

.line-1 {
    top: 20%;
    left: -200px;
    animation-duration: 7s;
}

.line-2 {
    top: 60%;
    left: -200px;
    animation-duration: 12s;
    animation-delay: 2s;
}

.line-3 {
    top: 85%;
    left: -200px;
    animation-duration: 9s;
    animation-delay: 5s;
}

@keyframes moveLine {
    0% {
        left: -200px;
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* More space for text */
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideIn 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-headline {
    font-size: 3.5rem;
    /* Large impact */
    margin-bottom: 25px;
    color: var(--text-white);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-headline .highlight {
    color: var(--primary-accent);
}

.hero-subheadline {
    font-size: 1.4rem;
    color: #E0E0E0;
    /* Slightly brighter than muted */
    margin-bottom: 25px;
    font-weight: 400;
    max-width: 600px;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary-hero {
    background: var(--primary-accent);
    color: var(--primary-bg);
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-hero:hover {
    background: transparent;
    color: var(--primary-accent);
    box-shadow: 0 0 20px rgba(255, 196, 0, 0.4);
}

.btn-secondary-hero {
    background: transparent;
    color: var(--primary-accent);
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary-hero:hover {
    background: rgba(255, 196, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 196, 0, 0.2);
    transform: translateY(-2px);
}

.hero-trust-line {
    border-top: 1px solid var(--border-dark);
    padding-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-trust-line p {
    color: #777;
    /* Even darker for subtlety */
}

/* 3D Cube Animation */
.hero-visual {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    position: relative;
}

.tech-cube-container {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 15s infinite linear;
}

.cube {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    box-shadow: 0 0 20px rgba(255, 196, 0, 0.2);
    backface-visibility: visible;
    /* See through */
}

.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

.glow-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px dashed rgba(255, 196, 0, 0.3);
    border-radius: 50%;
    animation: rotateCube 30s infinite linear reverse;
    pointer-events: none;
}


/* Mobile Responsiveness */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-accent);
    cursor: pointer;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-top: 50px;
    }

    .hero-content {
        order: 1;
        /* Keep content on top */
    }

    .hero-visual {
        order: 2;
        height: 300px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subheadline {
        margin: 0 auto 25px;
    }

    .hero-text {
        margin: 0 auto 40px;
    }

    .top-bar .container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* Slide out */
        width: 80%;
        height: 100vh;
        background: var(--secondary-bg);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease;
        padding: 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .btn-primary-header {
        display: none;
        /* Hide header CTA on mobile to save space */
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
        align-items: center;
        font-size: 0.75rem;
    }
}

/* Clients Section */
.clients-section {
    background-color: var(--secondary-bg);
    /* Deep Charcoal */
    padding: 80px 0;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .highlight {
    color: var(--primary-accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Logo Marquee */
.logo-marquee {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    /* Grayscale default */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: default;
}

.client-logo i {
    font-size: 2rem;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--primary-accent);
    /* Yellow tint on hover */
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
    }

    /* Scroll half width (one set) + half gap */
}

/* Trust Stats */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 40px 0;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 5px;
}

.text-highlight {
    color: var(--primary-accent);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 500;
}

/* Clients CTA */
.clients-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
}

/* Responsive adjustments for Clients Section */
@media (max-width: 992px) {
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .clients-cta {
        flex-direction: column;
        gap: 15px;
    }

    .logo-track {
        gap: 40px;
        /* Smaller gap on mobile */
    }
}

/* Services Section */
.services-section {
    background-color: var(--primary-bg);
    /* Black Background */
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--secondary-bg);
    /* Dark charcoal */
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 196, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-accent);
    color: var(--primary-bg);
    box-shadow: 0 0 20px rgba(255, 196, 0, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.service-list li i {
    color: var(--primary-accent);
    font-size: 0.8rem;
}

/* Services CTA */
.services-cta {
    background: var(--secondary-bg);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.services-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Responsive adjustments for Services Section */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px;
    }

    .services-cta {
        padding: 40px 20px;
    }

    .services-cta h3 {
        font-size: 1.4rem;
    }
}

/* Process Section */
.process-section {
    background-color: var(--primary-bg);
    padding: 100px 0;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    margin-bottom: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-dark);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--secondary-bg);
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--primary-accent);
    color: var(--primary-bg);
    box-shadow: 0 0 30px rgba(255, 196, 0, 0.4);
    transform: scale(1.1);
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--text-white);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.process-cta {
    margin-top: 50px;
}

.cta-text-sm {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--secondary-bg);
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.portfolio-card {
    background-color: var(--primary-bg);
    border-radius: 12px;
    height: 350px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.9));
    /* Placeholder background image simulation */
    background-color: #2a2a2a;
}

/* Add some visual variety placeholders */
.portfolio-card:nth-child(1) {
    background-image: linear-gradient(to bottom, transparent 40%, black), url('https://via.placeholder.com/400x500/333/000?text=Project+1');
    background-size: cover;
}

.portfolio-card:nth-child(2) {
    background-image: linear-gradient(to bottom, transparent 40%, black), url('https://via.placeholder.com/400x500/444/000?text=Project+2');
    background-size: cover;
}

.portfolio-card:nth-child(3) {
    background-image: linear-gradient(to bottom, transparent 40%, black), url('https://via.placeholder.com/400x500/555/000?text=Project+3');
    background-size: cover;
}


.portfolio-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-accent);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.portfolio-result {
    font-size: 0.95rem;
    color: #ddd;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-result {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 1;
}

.portfolio-card:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--primary-bg);
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    border-top: 3px solid var(--primary-accent);
}

.stars {
    color: var(--primary-accent);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    gap: 5px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Responsive Processes & Portfolio */
@media (max-width: 992px) {
    .process-timeline {
        flex-direction: column;
        gap: 40px;
        margin-left: 20px;
        border-left: 2px solid var(--border-dark);
        padding-left: 30px;
    }

    .process-timeline::before {
        display: none;
        /* Remove horizontal line */
    }

    .process-step {
        text-align: left;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .step-number {
        margin: 0 0 15px;
        /* Adjust margin for vertical layout */
        position: absolute;
        /* Ideally relative to item, but let's keep flow simple */
        left: -72px;
        /* Pull back to line */
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        height: 300px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.w-100 {
    width: 100%;
}

.d-none {
    display: none;
}

/* FAQ Section */
.faq-section {
    background-color: var(--secondary-bg);
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--primary-bg);
    border: 1px solid var(--border-dark);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-accent);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-accent);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
    /* Arbitrary large height */
    border-top: 1px solid var(--border-dark);
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-box {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
}

.contact-info-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: var(--text-muted);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 196, 0, 0.1);
    color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-accent);
    color: var(--primary-bg);
    border-color: var(--primary-accent);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-box {
    background: var(--secondary-bg);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: var(--primary-bg);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    color: var(--text-white);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 10px rgba(255, 196, 0, 0.1);
}

.form-control::placeholder {
    color: #555;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: var(--primary-accent);
    color: var(--primary-bg);
    font-weight: 700;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 196, 0, 0.3);
}


/* Footer */
.main-footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-dark);
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-dark);
    text-align: center;
    color: #555;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .contact-form-box {
        padding: 30px;
    }
}

/* -----------------------------------------------------------
   Global Responsive Container & Animation Styles 
   ----------------------------------------------------------- */

/* Container - Ensures padding from corners on all devices */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* 20px padding from right and left edges */
}

/* Responsive Typography & Spacing */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        /* Slightly smaller padding on mobile */
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2,
    .section-title {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animations for Children */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

/* -----------------------------------------------------------
   New Page Styles (Services, About)
   ----------------------------------------------------------- */

/* Page Hero Header */
.page-hero {
    padding: 160px 0 80px;
    background: var(--primary-bg);
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-dark);
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Detailed Services Layout */
.services-detail-section {
    padding: 80px 0;
    background: var(--primary-bg);
}

.service-detail-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.service-detail-block.reverse {
    flex-direction: row-reverse;
}

.service-detail-block .service-text {
    flex: 1;
}

.service-detail-block .service-image {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-dark);
}

.service-icon-large {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 20px;
}

.service-detail-block h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 1rem;
}

.service-features li i {
    color: var(--primary-accent);
}

.services-cta-block {
    padding: 80px 0;
    background: var(--secondary-bg);
}

/* About Page Styles */
.about-story-section {
    padding: 100px 0;
    background: var(--primary-bg);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.story-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.story-image {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-dark);
}

/* Values Grid */
.values-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--primary-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-accent);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--primary-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: var(--secondary-bg);
    /* slightly lighter for contrast */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-card:hover .team-img {
    filter: grayscale(0%);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-white);
}

.team-info p {
    font-size: 0.9rem;
    color: var(--primary-accent);
    margin-bottom: 0;
}


/* Responsive Adjustments for New Pages */
@media (max-width: 992px) {
    .service-detail-block {
        flex-direction: column !important;
        /* Force stack on tablet/mobile */
        gap: 40px;
        margin-bottom: 60px;
    }

    .service-detail-block .service-image,
    .story-image {
        width: 100%;
        height: 300px;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2.5rem;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}