:root {
    --bg-dark: #ffffff; /* Very dark navy to complement the blue logo */
    --bg-card: #f8f9fa;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent-blue: #0066ff; /* Royal blue from the logo */
    --accent-silver: #a0aab5; /* Silver/grey from the logo */
    --accent-navy: #004080; /* Deep navy (not black) from the logo */
    --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-navy));
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animated Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: -10%;
    left: -10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.2); }
    100% { transform: translate(-30px, 80px) scale(0.9); }
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

/* Navigation */
header#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

header#navbar.scrolled,
header#navbar.navbar-solid {
    background: var(--accent-navy);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    padding: 0 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-ved { color: var(--text-primary); }
.logo-soft {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
    font-weight: 700;
}

.nav-links .btn {
    color: var(--text-primary);
}

.nav-links .btn:hover {
    color: var(--bg-dark);
}

/* Mobile Menu Button - Hidden by default */
.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Space for navbar */
    background-color: var(--accent-navy);
    background-image: linear-gradient(rgba(5, 22, 42, 0.8), rgba(0, 64, 128, 0.6)), url('assets/images/hero-bg-automation.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.about-hero {
    background-color: var(--accent-navy);
}

.hero-content {
    width: 100%;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 auto 2.5rem auto;
    max-width: 800px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Services Section */
.section-padding {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--accent-navy);
    padding-top: 2.5rem;
    color: white;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info {
    padding-right: 2rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    line-height: 1.8;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    grid-column: 2;
    text-align: center;
    margin: 0;
}

.footer-socials {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-bottom p {
        grid-column: 1;
    }
    .footer-socials {
        grid-column: 1;
        justify-self: center;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.vm-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-blue);
    backdrop-filter: blur(10px);
}

.vm-card:nth-child(2) {
    border-left-color: var(--accent-purple);
}

.vm-card h3 {
    margin-bottom: 0.5rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 250px;
    width: 100%;
}

.project-info {
    padding: 2rem;
}

.project-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    font-weight: 600;
}

.project-info h3 {
    margin: 0.5rem 0 1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.team-member {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    padding: 3px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.member-role {
    color: var(--accent-purple);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Job Overview Text Truncation */
.job-overview-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.job-overview-text.expanded {
    -webkit-line-clamp: unset;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--accent-navy);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        transform: perspective(600px) rotateX(-15deg) translateY(-30px) scale(0.95);
        opacity: 0;
        visibility: hidden;
        transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
        transform-origin: top center;
    }
    
    .nav-links.active {
        transform: perspective(600px) rotateX(0deg) translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 2px;
        background: white;
        transition: 0.3s;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .about-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto; 
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: var(--text-secondary);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1.5rem;
}

.modal-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Clients Section */
.clients-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.client-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    min-width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.client-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}



/* Custom Client Carousel */
.custom-carousel-wrapper {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.active-client-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    width: 100%;
    position: relative;
}

/* Downward arrow */
.active-client-box::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    display: block;
    width: 0;
}

@media (min-width: 768px) {
    .active-client-box {
        flex-direction: row;
        text-align: left;
        padding: 3rem 4rem;
    }
}

.active-client-logo {
    flex: 0 0 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: white;
}

.active-client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.active-client-content {
    flex: 1;
}

.active-client-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.client-quote {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.logo-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.logo-slider-track {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-circle:hover {
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.logo-circle.active {
    border-color: var(--accent-blue);
    border-width: 2px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slider-nav-btn {
    background: transparent;
    border: 1px solid #4b5563;
    color: #4b5563;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background: #4b5563;
    color: white;
}


/* --- Back to Top Button --- */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--accent-blue);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
}

.back-to-top:hover {
    background-color: var(--accent-navy);
    transform: translateY(-3px);
}

/* ==========================================================================
   Services Roadmap Layout
   ========================================================================== */
.roadmap-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* The vertical line */
.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: rgba(0, 102, 255, 0.2);
    transform: translateX(-50%);
    border-radius: 2px;
}

.roadmap-item {
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.roadmap-item:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-content {
    width: 45%;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 102, 255, 0.1);
}

.roadmap-point {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-item:hover .roadmap-point {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
}

.roadmap-content h3 {
    font-size: 1.8rem;
    color: var(--accent-navy);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.roadmap-content h4 {
    font-size: 1.1rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.roadmap-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Mobile Roadmap */
@media (max-width: 768px) {
    .roadmap-container::before {
        left: 30px;
    }
    
    .roadmap-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .roadmap-point {
        left: 30px;
        top: 40px;
        transform: translate(-50%, -50%);
    }
    
    .roadmap-item:hover .roadmap-point {
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .roadmap-content {
        width: 100%;
        padding: 2rem;
    }
}





/* ==========================================================================
   Perfectly Responsive Winding Road Layout (No Spikes)
   ========================================================================== */
.snake-container {
    width: 100%;
    max-width: 1600px;
    width: 95%;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.snake-item {
    position: relative;
    /* We subtract the margin size (250px) to prevent overlapping the curves */
    width: calc(100% - 250px);
    margin-top: -80px; /* match border width to overlap seamlessly */
    box-sizing: border-box;
}

.snake-item:first-child {
    margin-top: 0;
}

/* ODD: Curve on the Right */
.snake-item:nth-child(odd) {
    margin-left: 250px; /* Stops the horizontal line before it hits the left curve of the even segment */
    border: 80px solid #2a2d34;
    border-left: none;
    border-radius: 0 250px 250px 0;
    padding: 100px 150px 100px 0; /* space for content */
}

/* EVEN: Curve on the Left */
.snake-item:nth-child(even) {
    margin-right: 250px; /* Stops the horizontal line before it hits the right curve of the odd segment */
    border: 80px solid #2a2d34;
    border-right: none;
    border-radius: 250px 0 0 250px;
    padding: 100px 0 100px 150px;
}

/* Dashed center line */
.snake-item::before {
    content: '';
    position: absolute;
    top: -42px; /* half of 80 is 40, half of 4 is 2. 40+2 = 42 */
    bottom: -42px;
    border: 4px dashed #FBBF24;
    pointer-events: none;
    z-index: 2;
}

.snake-item:nth-child(odd)::before {
    left: 0;
    right: -42px;
    border-left: none;
    border-radius: 0 210px 210px 0;
}

.snake-item:nth-child(even)::before {
    right: 0;
    left: -42px;
    border-right: none;
    border-radius: 210px 0 0 210px;
}

.snake-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.snake-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 102, 255, 0.15);
}

.snake-emoji {
    font-size: 3.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

  /* Pull content boxes into the empty space for full width usage */
  .snake-item:nth-child(odd) .snake-content { margin-left: -120px; margin-right: 80px; }
  .snake-item:nth-child(even) .snake-content { margin-left: 80px; margin-right: -120px; }

.snake-content h3 {
    font-size: 1.8rem;
    color: var(--accent-navy);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.snake-content h4 {
    font-size: 1.1rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.snake-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .snake-item { width: calc(100% - 150px); }
    .snake-item:nth-child(odd) { margin-left: 150px; border-radius: 0 200px 200px 0; }
    .snake-item:nth-child(even) { margin-right: 150px; border-radius: 200px 0 0 200px; }
    .snake-item:nth-child(odd)::before { border-radius: 0 160px 160px 0; }
    .snake-item:nth-child(even)::before { border-radius: 160px 0 0 160px; }
}

@media (max-width: 992px) {
    .snake-item:nth-child(odd) { padding: 80px 100px 80px 0; }
    .snake-item:nth-child(even) { padding: 80px 0 80px 100px; }
}

@media (max-width: 768px) {
    .snake-item::before { display: none; }
    .snake-item { width: 100%; border: none !important; margin: 0 !important; padding: 20px 0 !important; border-radius: 0 !important; }
    
    .snake-content { padding: 2rem 1.5rem; }
    .snake-item:nth-child(odd) .snake-content, .snake-item:nth-child(even) .snake-content { margin: 0 !important; }
}


/* ========================================================
   START AND END ROAD EXTENSIONS
   ======================================================== */


.start-dash {
    position: absolute;
    top: -80px;
    left: -250px;
    width: 250px;
    height: 80px;
    background: #2a2d34;
    z-index: 1;
}
.start-dash::after {
    content: '';
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    border-top: 4px dashed #FBBF24;
}

.snake-item:last-child {
    border-bottom: 80px solid #2a2d34 !important;
}

.snake-item:last-child::before {
    border-bottom: 4px dashed #FBBF24 !important;
}

.end-dash {
    position: absolute;
    bottom: -80px;
    width: 250px;
    height: 80px;
    background: #2a2d34;
    z-index: 1;
}

/* If the last item is even, it curves left, so the tail exits on the right */
.snake-item:nth-child(even) .end-dash {
    right: -250px;
    left: auto;
}

/* If the last item is odd, it curves right, so the tail exits on the left */
.snake-item:nth-child(odd) .end-dash {
    left: -250px;
    right: auto;
}

.end-dash::after {
    content: '';
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    border-top: 4px dashed #FBBF24;
}

/* Responsive adjustments for extensions */
@media (max-width: 1200px) {
    .start-dash { left: -150px; width: 150px; }
    .snake-item:nth-child(even) .end-dash { right: -150px; width: 150px; }
    .snake-item:nth-child(odd) .end-dash { left: -150px; width: 150px; }
}

@media (max-width: 768px) {
    .snake-item:first-child::after, .start-dash, .snake-item:last-child::after, .end-dash { display: none !important; }
    .snake-item:last-child { border-bottom: none !important; }
}


/* ========================================================
   SNAKE CARD HEADER (Icon and text in one row)
   ======================================================== */
.snake-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.snake-emoji {
    font-size: 3rem;
    background: #f8f9fa;
    border-radius: 15px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    /* Remove previous margin-bottom since gap handles it */
    margin-bottom: 0;
    flex-shrink: 0; /* Prevent the icon from squishing */
}

.snake-titles {
    display: flex;
    flex-direction: column;
}

.snake-titles h3 {
    margin-bottom: 0.25rem;
}

.snake-titles h4 {
    margin-bottom: 0;
}




/* ========================================================
   CUSTOM ANIMATED SVG TECH HUMAN
   ======================================================== */
.svg-human-wrapper {
    position: relative;
    width: 60px;
    height: 90px;
    margin: 0;
    padding: 0;
    transform-origin: center center;
    filter: drop-shadow(0 5px 15px rgba(57, 160, 255, 0.5));
}
.svg-human-wrapper svg {
    width: 100%;
    height: 100%;
}
@keyframes svg-swing {
    0% { transform: rotate(20deg); }
    100% { transform: rotate(-20deg); }
}
@keyframes svg-swing-alt {
    0% { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}
.arm-left { transform-origin: 28px 65px; animation: svg-swing-alt 0.6s infinite alternate ease-in-out; }
.arm-right { transform-origin: 72px 65px; animation: svg-swing 0.6s infinite alternate ease-in-out; }
.leg-left { transform-origin: 42px 100px; animation: svg-swing 0.6s infinite alternate ease-in-out; }
.leg-right { transform-origin: 58px 100px; animation: svg-swing-alt 0.6s infinite alternate ease-in-out; }


@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: heroFadeIn 0.8s cubic-bezier(0.5, 0, 0, 1) forwards;
}

.hero-animate-delay {
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.5, 0, 0, 1) 0.2s forwards;
}

.hero-animate-delay-2 {
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.5, 0, 0, 1) 0.4s forwards;
}

/* TEMPORARY: Hide Clients and Team sections/links per user request */
a[href="clients.html"],
a[href="team.html"] {
    display: none !important;
}

li:has(> a[href="clients.html"]),
li:has(> a[href="team.html"]) {
    display: none !important;
}

/* Interactive Tech Tabs */
.tech-tabs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tech-tab {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 1.5rem;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
    filter: grayscale(100%);
}

.tech-tab:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.tech-tab.active {
    border-color: var(--accent-blue);
    opacity: 1;
    filter: grayscale(0%);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.15);
    transform: translateY(-5px);
}

.tech-tab i {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.tech-tab span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-navy);
}

.tech-content-display {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto 5rem auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.05);
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tech-content-display.active {
    display: block;
}

.tech-content-display h3 {
    font-family: var(--font-heading);
    color: var(--accent-navy);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.tech-content-display .tech-overview {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.tech-content-display ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .tech-content-display ul {
        grid-template-columns: 1fr 1fr;
    }
}

.tech-content-display ul li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 1rem;
}

.tech-content-display ul li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: #47a248;
    font-weight: bold;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Form Grid */
.contact-container-wrap {
    padding: 100px 0;
}
@media (max-width: 768px) {
    .contact-container-wrap {
        padding: 30px 0 !important;
    }
}
.contact-panel {
    padding: 4rem;
}
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}
@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Glowing Hexagon Matrix UI */
.tech-matrix-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
@media (max-width: 992px) {
    .tech-matrix-layout {
        grid-template-columns: 1fr !important;
    }
    .tech-detail-panel {
        position: relative !important;
        top: 0 !important;
    }
}

.hexagon-grid-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Use gap instead of margin for better wrapping */
    max-width: 550px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hex {
    width: 150px;
    height: 173px;
    flex-shrink: 0; /* Prevent flexbox from squishing the hexagon on narrow screens */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.05));
}

.hex-in {
    width: 146px;
    height: 169px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #ffffff; /* Light mode fill */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: all 0.4s ease;
}

.hex:hover, .hex:has(.hex-in.active) {
    background: var(--accent-blue);
    transform: scale(1.05);
    z-index: 10;
    filter: drop-shadow(0 0 15px rgba(0, 102, 204, 0.3)); /* Light mode glow */
}

.hex:hover .hex-in, .hex-in.active {
    background: #f0f4f8; /* Light blue tint on hover */
}


/* Card Based Technologies Layout */
.tech-cards-section {
    background: #f8f9fa;
    padding: 6rem 0;
}

.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}
.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.tech-card-header i {
    font-size: 2.8rem;
}
.tech-card-header h3 {
    font-size: 1.8rem;
    color: #111;
    margin: 0;
    font-family: var(--font-heading);
}

.tech-card-overview {
    margin-bottom: 2rem;
}
.tech-card-overview h4 {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.tech-card-overview p {
    color: #555;
    line-height: 1.6;
    font-size: 1.05rem;
}

.tech-card-benefits {
    background: #f8fbff;
    border-left: 4px solid var(--accent-blue);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.tech-card-benefits h5 {
    color: var(--accent-blue);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tech-card-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tech-card-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}
.tech-card-benefits li span {
    color: var(--accent-blue);
    font-weight: bold;
    margin-top: 2px;
}

.tech-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.tech-card-tag {
    background: #f0f4f8;
    color: #555;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}


/* Asymmetric Bento Box Portfolio Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    grid-auto-flow: dense;
}

.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bento-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    z-index: 10;
}

.bento-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.bento-card:hover .bento-image {
    transform: scale(1.1);
    opacity: 1;
}

.bento-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: white;
}

.bento-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #00d2ff;
    margin-bottom: 0.5rem;
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.bento-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-link-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.bento-card:hover .bento-link-arrow {
    opacity: 1;
    transform: translate(0, 0);
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* Bento Size Modifiers */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-large .bento-title {
    font-size: 2.5rem;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-standard {
    grid-column: span 1;
    grid-row: span 1;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide, .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-overlay {
        padding: 2rem;
    }
}

/* Careers Page Overhaul CSS */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.perk-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.perk-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,102,255,0.08);
}

.perk-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,102,255,0.02));
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.job-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.job-list-row {
    background: white;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.job-list-row:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0,102,255,0.08);
    border-color: rgba(0,102,255,0.2);
}

.job-list-info h3 {
    font-size: 1.4rem;
    color: var(--accent-navy);
    font-family: var(--font-heading);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.job-pills-container {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.job-pill {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pill-blue {
    background: rgba(0,102,255,0.1);
    color: var(--accent-blue);
}

.pill-gray {
    background: #f1f5f9;
    color: #475569;
}

.job-list-action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-list-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-navy);
    transition: all 0.3s ease;
}

.job-list-row:hover .job-list-arrow {
    background: var(--accent-blue);
    color: white;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .job-list-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .job-list-action {
        width: 100%;
        justify-content: flex-end;
    }
}


/* =========================================
   CAREER PAGE REDESIGN STYLES
   ========================================= */

/* Marquee Styles */
.career-marquee-container {
    background: var(--accent-navy);
    color: white;
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 10;
}
.career-marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scrollMarquee 40s linear infinite;
    gap: 4rem;
}
.career-marquee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
}
.career-marquee-item svg {
    color: var(--accent-blue);
}
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Tech Challenge Grid */
.tech-challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.tech-challenge-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}
.tech-challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,102,255,0.1);
}
.tech-challenge-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}
.tech-challenge-icon svg {
    width: 32px;
    height: 32px;
}

/* Selection Process Timeline */
.timeline-container {
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 4px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 4px;
}
.timeline-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}
.timeline-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.1);
}
.timeline-icon svg {
    width: 36px;
    height: 36px;
    color: var(--accent-blue);
}
.timeline-content {
    margin-left: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    flex: 1;
}

/* Job Search Bar */
.job-search-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    display: flex;
    gap: 1rem;
    background: white;
    padding: 0.8rem;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}
.job-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
    background: transparent;
}
.job-search-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    .timeline-step {
        flex-direction: column;
    }
    .timeline-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    .timeline-icon svg {
        width: 24px;
        height: 24px;
    }
    .timeline-content {
        margin-left: 0;
    }
    .job-search-container {
        flex-direction: column;
        border-radius: 20px;
    }
    .job-search-btn {
        width: 100%;
        border-radius: 12px;
    }
}

/* Core Values Responsive Grid */
.core-values-grid {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) {
    .core-values-grid {
        grid-template-columns: 1fr;
    }
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .sticky-desktop {
        position: static !important;
    }
}

@media (min-width: 769px) {
    .sticky-desktop {
        position: sticky;
        top: 120px;
    }
}


@media (max-width: 768px) {
    .reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .sticky-desktop {
        position: static !important;
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .section-padding {
        padding: 3rem 0 !important; 
    }
    .about-hero, .wwb-hero, .career-hero {
        padding: 120px 0 60px !important; 
    }
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem) !important;
    }
    .service-card, .bento-content, .snake-content, 
    .roadmap-content, .project-card, .feature-card, 
    .stat-card, .value-card, .footer-col {
        padding: 1.2rem !important;
    }
    .contact-panel {
        padding: 2.5rem !important;
        border-radius: 24px !important;
        margin-bottom: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    }
    .bento-grid, .core-values-grid, .footer-container, 
    .stats-container, .features-grid, .projects-grid {
        gap: 15px !important;
    }
    .snake-titles {
        word-break: break-word;
    }
    .snake-card-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 1rem !important;
    }
    .snake-content {
        text-align: center;
    }
    .snake-content h3 {
        font-size: 1.5rem !important;
    }
}

