/* FILE: style.css */

/*
Theme Name: Gatefold Theme
Theme URI: https://example.com/
Author: Gatefold Solutions
Author URI: https://example.com/
Description: Custom WordPress theme converted from static HTML
Version: 1.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gatefold-theme
*/

/* --- Announcement Bar Animation --- */
.announcement-bar {
    background-color: #2563eb; /* Matching the theme's blue */
    color: #ffffff;
    padding: 0 0.75rem; /* Maintain horizontal padding */
    overflow: hidden; /* This is crucial to hide the text when it's off-screen */
    white-space: nowrap; /* Prevents the text from wrapping to a new line */
    position: fixed; /* Changed to fixed to stick to the top */
    top: 0; /* Position at the very top of the viewport */
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 50; /* Ensures it's on top of other content */
    height: 2.5rem; /* Set a fixed height for easier positioning of the header below */
    display: flex; /* Use flexbox for vertical alignment */
    align-items: center; /* Center text vertically */
}

.announcement-text {
    display: inline-block;
    /* The animation 'marquee' will run for 25 seconds, linearly, and loop forever */
    animation: marquee 25s linear infinite;
}

.announcement-text a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

.announcement-text a:hover {
    text-decoration: none;
}

/* @keyframes defines the animation */
@keyframes marquee {
    0%   { transform: translateX(100vw); } /* Starts just off-screen to the right */
    100% { transform: translateX(-100%); } /* Ends completely off-screen to the left */
}


/* Base styles for html, body, and container */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    /* This padding prevents the body content from being hidden by the fixed header and announcement bar */
    padding-top: 7.5rem; /* 2.5rem for announcement bar + 5rem for header */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background-color: #1f2937;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: fixed;
    width: 100%;
    z-index: 30;
    top: 2.5rem; /* Pushed down by the height of the announcement bar */
}

/* Header Buttons */
.header-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.header-btn-contact {
    background-color: transparent;
    border: 1px solid #4a5568;
    color: #d1d5db;
}
.header-btn-contact:hover {
    background-color: #374151;
    border-color: #6b7280;
}
.header-btn-marketing {
    background-color: #2563eb;
    color: #ffffff;
}
.header-btn-marketing:hover {
    background-color: #1d4ed8;
}

/* Navigation Links */
.nav-link {
    position: relative;
    color: #d1d5db;
    font-weight: 500;
    transition-property: color;
    transition-duration: 300ms;
}
.nav-link:hover {
    color: #60a5fa;
}

/* --- Mobile Navigation --- */
/* This class will be toggled on the body to prevent scrolling when the menu is open */
body.mobile-menu-active {
    overflow: hidden;
}

@media (max-width: 767px) {
    .mobile-menu-button {
        display: block;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        height: 100vh; /* Full viewport height */
        background-color: #1a1a1a;
        position: fixed; /* Changed to fixed to cover the entire screen */
        top: 0;
        left: 0;
        padding-top: 5rem; /* Add padding to avoid content going under the status bar */
        padding-bottom: 2rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 40;
        overflow-y: auto; /* Allow scrolling if menu content is long */
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .main-nav nav ul li {
        margin: 1rem 0; /* Increased spacing for better touch targets */
    }
    .main-nav .header-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-top: 1.5rem;
    }
    .main-nav .header-buttons a {
        width: calc(100% - 4rem); /* Provide some horizontal margin */
        text-align: center;
        margin-bottom: 1rem;
        padding: 0.75rem 1rem; /* Better padding for buttons */
    }
    .container.flex.justify-between {
        flex-wrap: wrap;
    }
}

/* --- Index Page Specific Styles --- */

/* Universal fix for hero sections being pushed down by fixed header */
.hero-video-section,
.services-intro,
.marketing-hero-section,
.careers-hero,
.contact-hero {
    margin-top: -7.5rem; /* This counteracts the body's padding-top */
}

/* Hero Section with Video Background and Canvas Overlay */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    box-sizing: border-box;
}
.hero-video-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}
.hero-video-section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}
.hero-video-section .content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    width: 100%;
}
.found-us-badge {
    display: flex;
    align-items: center;
    color: #4ade80;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: rgba(31, 41, 55, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}
.found-us-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite linear;
    animation-delay: 3s;
    pointer-events: none;
}
@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}
.hero-video-section h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}
@media (min-width: 768px) { .hero-video-section h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-video-section h1 { font-size: 5.5rem; } }
.hero-video-section p {
    font-size: 1.25rem;
}
.hero-button {
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}
.hero-button-white {
    background-color: #ffffff;
    color: #1a202c;
}
.hero-button-white:hover {
    background-color: #e2e8f0;
}
.hero-button-dark {
    background-color: #2d3748;
    color: #ffffff;
    border: 1px solid #4a5568;
}
.hero-button-dark:hover {
    background-color: #4a5568;
}

/* --- LOGO STYLES --- */
/* Desktop scrolling logos */
.logo-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.logo-carousel-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 40s linear infinite;
    will-change: transform;
}
.logo-carousel-track img {
    height: 68px;
    width: auto; /* Changed to auto for better aspect ratio */
    max-width: 120px; /* Added max-width */
    object-fit: contain;
    margin: 0 2rem;
    flex-shrink: 0;
    filter: grayscale(100%) brightness(150%);
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.logo-carousel-track img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(100%);
}
@keyframes scroll-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Hide mobile logos on desktop by default */
.mobile-logos {
    display: none;
}

/* Responsive adjustments for logo carousel and hero content */
@media (max-width: 767px) {
    /* Hide desktop logos and show mobile logos */
    .desktop-logos {
        display: none;
    }
    .mobile-logos {
        display: block;
    }

    /* Adjust hero content layout to prevent cutoff */
    .hero-video-section .content {
        justify-content: center; /* Vertically center the whole block */
        min-height: 100vh; /* Allow it to grow taller than the screen */
        padding-top: 7rem;
        padding-bottom: 4rem; /* Add more bottom padding */
        box-sizing: border-box;
    }
    .hero-content-top {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .client-logos-wrapper {
        width: 100%;
        flex-shrink: 0;
        margin-top: 2rem; /* Add space above the "Trusted by" text */
    }

    /* Mobile Cascading Logo Styles */
    .staggered-logo-container {
        position: relative;
        height: 50px;
        width: 100%;
    }
    .logo-set {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }
    .logo-set img {
        height: 48px;
        width: auto;
        max-width: 100px;
        object-fit: contain;
        filter: grayscale(100%) brightness(150%);
        opacity: 0; /* Start invisible */
        animation: cascadeFade 12s infinite; /* Apply the master animation */
    }

    /* --- SET 1 DELAYS --- */
    .logo-set:nth-child(1) img:nth-child(1) { animation-delay: 0s; }
    .logo-set:nth-child(1) img:nth-child(2) { animation-delay: 0.3s; }
    .logo-set:nth-child(1) img:nth-child(3) { animation-delay: 0.6s; }
    .logo-set:nth-child(1) img:nth-child(4) { animation-delay: 0.9s; }

    /* --- SET 2 DELAYS --- */
    .logo-set:nth-child(2) img:nth-child(1) { animation-delay: 4s; }
    .logo-set:nth-child(2) img:nth-child(2) { animation-delay: 4.3s; }
    .logo-set:nth-child(2) img:nth-child(3) { animation-delay: 4.6s; }
    .logo-set:nth-child(2) img:nth-child(4) { animation-delay: 4.9s; }

    /* --- SET 3 DELAYS --- */
    .logo-set:nth-child(3) img:nth-child(1) { animation-delay: 8s; }
    .logo-set:nth-child(3) img:nth-child(2) { animation-delay: 8.3s; }
    .logo-set:nth-child(3) img:nth-child(3) { animation-delay: 8.6s; }


    .hero-video-section h2 {
        font-size: 1rem;
    }
}

/* Keyframes for the cascading fade animation */
@keyframes cascadeFade {
    0% { opacity: 0; transform: translateY(10px); }
    5% { opacity: 1; transform: translateY(0); } /* Fade in */
    33% { opacity: 1; transform: translateY(0); } /* Stay visible */
    38% { opacity: 0; transform: translateY(-10px); } /* Fade out */
    100% { opacity: 0; }
}


.footer-expanded {
    background-color: #1f2937;
    padding-top: 4rem;
    padding-bottom: 2rem;
    color: #d1d5db;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); text-align: left; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 1rem;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 0.5rem;
}
.footer-column ul li a {
    color: #a0a0a0;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover {
    color: #60a5fa;
}
.footer-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}
@media (min-width: 640px) { .footer-bottom-section { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-logo-bottom {
    height: 40px;
    margin-bottom: 1rem;
}
@media (min-width: 640px) { .footer-logo-bottom { margin-bottom: 0; } }
.footer-copyright-text {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
@media (min-width: 640px) { .footer-copyright-text { margin-bottom: 0; margin-left: auto; margin-right: auto; } }
.footer-social-icons-bottom {
    display: flex;
    gap: 1rem;
}
.footer-social-icons-bottom a {
    font-size: 1.25rem;
    color: #9ca3af;
    transition: color 0.3s ease;
}
.footer-social-icons-bottom a:hover {
    color: #60a5fa;
}
.scroll-to-top-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: #2563eb;
    color: white;
    border-radius: 9999px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 50;
}
.scroll-to-top-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
}

/* Hide footer accordion arrows on desktop */
@media (min-width: 768px) {
    .footer-column-header button {
        pointer-events: none; /* Makes the button not clickable */
    }
    .footer-column-header button i {
        display: none; /* Hides the down arrow icon */
    }
}

/* --- Mobile Footer Accordion Styles --- */
@media (max-width: 767px) {
    .footer-column {
        border-bottom: 1px solid #374151;
        padding-bottom: 1rem;
    }
    .footer-column:last-child {
        border-bottom: none;
    }
    .footer-column-header button {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        color: #e0e0e0;
        font-size: 1.125rem;
        font-weight: 600;
        padding: 0;
        text-align: left;
        cursor: pointer;
    }
    .footer-column-header button i {
        transition: transform 0.3s ease;
    }
    .footer-column-header button[aria-expanded="true"] i {
        transform: rotate(180deg);
    }
    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        text-align: left; /* Align links to the left on mobile */
        padding-left: 1rem; /* Indent links slightly */
    }
    .footer-links.active {
        max-height: 500px; /* Adjust as needed */
        padding-top: 1rem;
    }
}


/* --- Apps Development & Marketing Page Common Styles --- */
.service-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid transparent;
    background-color: #1f2937;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.service-card:hover {
    background-color: #1f2937;
    border-color: #3b82f6;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.service-card .icon, .service-card:hover h3 {
    color: #60a5fa;
}
.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}
.service-card:hover .icon {
    color: #38bdf8;
}
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}
.service-card p {
    font-size: 1rem;
    color: #d1d5db;
}
.footer-social-icon {
    font-size: 1.5rem;
    color: #d1d5db;
    transition: color 0.3s ease;
}
.footer-social-icon:hover {
    color: #60a5fa;
}

/* --- Apps Development Page Specific Styles --- */
.services-intro {
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: left;
    color: white;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 767px) {
    .services-intro { padding-top: 6rem; padding-bottom: 3rem; }
    .services-intro h1 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; }
    .services-intro .content-wrapper { flex-direction: column; align-items: center; }
    .services-intro .our-services-btn { margin-top: 1.5rem; }

    /* --- START: Button Fix for Mobile --- */
    .hero-button-group {
        width: 100%;
        gap: 1rem; /* Creates space between buttons */
    }
    .hero-button-group > a {
        flex: 1; /* Makes both buttons grow to fill the container equally */
        justify-content: center; /* Centers the text inside the button */
    }
    .services-intro .hero-button-group .our-services-btn {
        margin-top: 0; /* Overrides the old margin that caused stacking */
    }
    /* --- END: Button Fix for Mobile --- */

    .service-card { padding: 1.5rem; }
    .service-card .icon { font-size: 2rem; }
    .service-card h3 { font-size: 1.25rem; }
}
.tech-capabilities-section {
    padding: 4rem 0;
}
.tech-capabilities-section h1 {
    text-align: left;
}
.tech-stack-section {
    background-color: #1a1a1a;
    padding: 4rem 0;
}
.tech-stack-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 3rem;
}
.tech-stack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) { .tech-stack-grid { grid-template-columns: repeat(2, 1fr); } }
.tech-stack-category {
    background-color: #1f2937;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.tech-stack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #2d3748;
}
.tech-stack-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0;
}
.tech-stack-header svg {
    transition: transform 0.3s ease;
}
.tech-stack-header.active svg {
    transform: rotate(180deg);
}
.tech-stack-content {
    display: none;
    padding: 1.5rem;
    background-color: #1f2937;
}
.tech-stack-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}
.tech-item {
    background-color: #2d3748;
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.875rem;
    color: #d1d5db;
    transition: background-color 0.3s ease;
}
.tech-item:hover {
    background-color: #374151;
}
.tech-item img {
    height: 32px;
    width: auto;
    margin-bottom: 0.5rem;
    object-fit: contain;
}
.tech-item .icon-placeholder {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #60a5fa;
}

.animated-title {
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.our-services-btn-liquid {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.our-services-btn-liquid:hover {
    background: rgba(255, 255, 255, 0.3);
}


/* --- Marketing Solutions Page Specific Styles --- */
.marketing-hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Changed to full height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.marketing-hero-section .header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.marketing-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}
.marketing-hero-section .content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1rem;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 1s ease-out forwards;
    animation-delay: 0.3s;
}
.marketing-hero-section h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}
@media (min-width: 768px) { .marketing-hero-section h1 { font-size: 4rem; } }
@media (min-width: 1024px) { .marketing-hero-section h1 { font-size: 5rem; } }
.marketing-hero-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.marketing-hero-button {
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    background-color: #2563eb;
    color: #ffffff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.marketing-hero-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.process-step .step-number {
    background-color: #2563eb;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    z-index: 1;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.process-step:hover .step-number {
    transform: scale(1.1);
    background-color: #1d4ed8;
}
.process-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.process-step p {
    color: #d1d5db;
}
@media (min-width: 768px) {
    .process-grid { position: relative; }
    .process-grid::before {
        content: '';
        position: absolute;
        top: 2.5rem;
        left: 5%;
        right: 5%;
        height: 2px;
        background-color: #374151;
        z-index: 0;
    }
    .process-step { padding-top: 2rem; }
}
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-left {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Careers Page Specific Styles --- */
.careers-hero {
    background: radial-gradient(circle at center, #2a0a2a 0%, #1a1a1a 70%);
    padding-top: 8rem;
    padding-bottom: 6rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.careers-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}
.careers-hero p {
    font-size: 1.125rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #a0a0a0;
    line-height: 1.7;
}
.job-card {
    background-color: #1f2937;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.job-card:hover {
    background-color: #2d3748;
    border-color: #3b82f6;
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}
.job-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.75rem;
}
.job-card p {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.job-card .location {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}
.job-card .apply-btn {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.job-card .apply-btn:hover {
    background-color: #2563eb;
}
.job-card .job-icon {
    font-size: 2.5rem;
    color: #60a5fa;
    margin-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}
.job-card:hover .job-icon {
    color: #3b82f6;
    transform: scale(1.1);
}

/* --- Contact Page Specific Styles --- */
.contact-hero {
    background-color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4rem;
    box-sizing: border-box;
    text-align: center;
}
.contact-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 2rem;
}
.contact-content-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
}
@media (min-width: 768px) {
    .contact-content-top {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }
    .contact-image-container {
        flex-shrink: 0;
        width: 400px;
    }
    .contact-image {
        width: 100%;
        height: auto;
    }
    .contact-text-area {
        text-align: left;
        flex-grow: 1;
    }
}
.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
@media (min-width: 768px) { .contact-hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .contact-hero h1 { font-size: 5.5rem; } }
.chat-now-btn {
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.chat-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.quote-box {
    background-color: #1f2937;
    border-radius: 0.75rem;
    padding: 2rem;
    color: #d1d5db;
    line-height: 1.7;
    text-align: left;
    max-width: 700px;
    margin-top: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.quote-box::before {
    content: '“';
    font-size: 4rem;
    color: #60a5fa;
    position: absolute;
    top: -1rem;
    left: 1rem;
    line-height: 1;
}
.quote-box::after {
    content: '”';
    font-size: 4rem;
    color: #60a5fa;
    position: absolute;
    bottom: -2rem;
    right: 1rem;
    line-height: 1;
}
.quote-content {
    position: relative;
    padding: 1rem;
}
.quote-content p {
     font-size: 1rem;
     margin-bottom: 0;
}
@media (max-width: 767px) {
    .quote-box { text-align: center; }
    .quote-box::before, .quote-box::after { font-size: 3rem; }
    .quote-box::before { top: 0rem; left: 0.5rem; }
    .quote-box::after { bottom: -1rem; right: 0.5rem; }
}
/* --- FAQ Section Specific Styles --- */
.faq-section {
    background-color: #111827;
    padding: 4rem 0;
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background-color: #1f2937;
    border-radius: .75rem;
    margin-bottom: 1rem;
    border: 1px solid #374151;
    transition: background-color .3s;
}
.faq-item:hover {
    background-color: #2d3748;
}
.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    text-align: left;
}
.faq-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0;
    transition: color .3s;
}
.faq-header[aria-expanded="true"] h3 {
    color: #60a5fa;
}
.faq-header svg {
    transition: transform .3s ease, color .3s;
    color: #9ca3af;
    flex-shrink: 0;
}
.faq-header[aria-expanded="true"] svg {
    transform: rotate(180deg);
    color: #60a5fa;
}
.faq-panel {
    overflow: hidden;
    transition: max-height .35s ease-out, padding .35s ease-out;
    max-height: 0;
    padding: 0 1.5rem;
    color: #d1d5db;
}
.faq-panel.open {
    max-height: 500px; /* Allows space for the content to show */
    padding-bottom: 1.5rem;
}
.faq-panel p {
    line-height: 1.6;
}

/* --- Contact Page Globe Section --- */
.contact-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#globe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 70%, #111 100%);
    z-index: 2;
}
.contact-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1.5s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.contact-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #a5b4fc, #f9a8d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact-content p {
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 1.1rem;
}
.contact-details a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-details a:hover {
    color: #f9a8d4;
}
.contact-details i {
    margin-right: 0.75rem;
}

/* Added padding for contact box on mobile */
@media (max-width: 767px) {
    .contact-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
/* --- Legal Page Specific Styles --- */
.legal-page-main {
    padding-top: 7.5rem; /* Adjust to match existing body padding-top */
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.legal-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    gap: 4rem;
}

/* --- Left Navigation --- */
.legal-nav {
    width: 30%;
    flex-shrink: 0;
}

.legal-nav .sticky-content {
    position: sticky;
    top: 10rem; /* Header height + some padding */
    height: calc(100vh - 12rem);
    overflow-y: auto;
}

.legal-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.legal-nav-link:hover {
    background-color: #1f2937;
    color: #ffffff;
}

.legal-nav-link.active {
    color: #ff9900; /* Orange indicator color */
    font-weight: 600;
    background-color: #1f2937;
    border-left-color: #ff9900; /* Orange indicator */
}


/* --- Right Content --- */
.legal-content {
    width: 70%;
}

.legal-section {
    padding-bottom: 4rem; /* Spacing between sections */
    border-bottom: 1px solid #2d3748;
    margin-bottom: 4rem;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-content h2, .legal-content h3 {
    scroll-margin-top: 9rem; /* Offset for sticky header */
}

.legal-content p {
    line-height: 1.7;
    color: #d1d5db;
}

/* Responsive adjustments for Legal Page */
@media (max-width: 767px) {
    .legal-container {
        flex-direction: column;
        gap: 2rem;
    }

    .legal-nav {
        width: 100%;
    }

    .legal-nav .sticky-content {
        position: static; /* Un-stick the nav on mobile */
        height: auto;
        margin-bottom: 2rem;
    }

    .legal-content {
        width: 100%;
    }
    
    .legal-content h2, .legal-content h3 {
        scroll-margin-top: 8rem; /* Adjust offset for mobile */
    }
}

/* --- [CORRECTED] Universal Icon and "Why Choose Us" Section Styles --- */

/* This rule targets ALL solid icons in the service cards, why choose us, and tech stack sections */
.service-card .icon,
.why-choose-us-section .feature-item .icon,
.tech-capabilities-section .fa-solid {
    font-family: 'Font Awesome 6 Free' !important; /* Use the correct font */
    font-weight: 900 !important; /* This is required for SOLID icons */
}

/* General styling for icons in the "Why Choose Us" section */
.why-choose-us-section .feature-item .icon {
    font-size: 2.5rem;
    color: #4ade80;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Base styles for hover effects in the "Why Choose Us" section */
.why-choose-us-section .feature-item {
    background-color: #1f2937;
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.why-choose-us-section .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(59, 130, 246, 0.4);
    background-color: #2d3748;
    border-color: #3b82f6;
}

.why-choose-us-section .feature-item:hover .icon {
    transform: scale(1.1) rotate(-5deg);
    color: #6ee7b7;
}

.why-choose-us-section .feature-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.why-choose-us-section .feature-item p {
    font-size: 1.125rem;
    color: #d1d5db;
}

/* Staggered Animation on Page Load */
.why-choose-us-section .feature-item,
.why-choose-us-section .feature-image-wrapper {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
.why-choose-us-section .grid .feature-item:nth-child(1) { animation-delay: 0.1s; }
.why-choose-us-section .grid .feature-item:nth-child(2) { animation-delay: 0.2s; }
.why-choose-us-section .grid .feature-item:nth-child(3) { animation-delay: 0.3s; }
.why-choose-us-section .grid .feature-item:nth-child(4) { animation-delay: 0.4s; }
.why-choose-us-section .feature-image-wrapper { animation-delay: 0.5s; }