/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #25333c 0%, #764ba2 100%);
    --primary-color: #25333c;
    --secondary-color: #764ba2;
    --dark-bg: #04151f;
    --silver-gradient: linear-gradient(135deg, #ffffff 0%, #bfc5ca 100%);
    --gold-gradient: linear-gradient(135deg, #ffd966 0%, #d4af37 100%);
    --silver-gold-gradient: linear-gradient(90deg, #bfc5ca 0%, #ffd966 60%, #d4af37 100%);
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

header.transparent {
    background: transparent;
    box-shadow: none;
}

header.transparent .nav-link,
header.transparent .logo,
header.transparent .mobile-menu-btn {
    color: white;
}

.header-top {
    background: var(--dark-bg);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.header-top-left {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.header-top a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.header-top a:hover {
    opacity: 1;
}

.header-main {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    background: var(--silver-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 60px !important;
    width: 220px !important;
    object-fit: contain;
}

.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.btn-primary {
    background: var(--silver-gradient);
    color: var(--dark-bg);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(191, 197, 202, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #d4d9dd 100%);
}

/* Burger Menu Button - Always Visible */
.burger-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 20px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.burger-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

header.transparent .burger-menu-btn span {
    background: white;
}

.burger-menu-btn:hover span {
    background: #d4af37;
}

.burger-menu-btn:hover {
    transform: scale(1.05);
}

.burger-menu-btn:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
    background-image: url('images/hero_back.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero.hero-small {
    min-height: 60vh;
    padding: 150px 20px 80px;
    background-image: none;
}

/* Hero careers - page specific background */
.hero.hero-small.hero-careers {
    background-image: url('images/hero_careers.png') !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero.hero-small.hero-careers::before {
    /* preserve the dark overlay similar to main hero */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 21, 31, 0.85) 0%, rgba(4, 21, 31, 0.75) 100%);
    z-index: 0;
}

/* Hero legal - page specific background */
.hero.hero-small.hero-legal {
    background-image: url('images/hero_legal.png') !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero.hero-small.hero-legal::before {
    /* preserve the dark overlay similar to main hero */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 21, 31, 0.85) 0%, rgba(4, 21, 31, 0.75) 100%);
    z-index: 0;
}

/* Hero contact - page specific background */
.hero.hero-small.hero-contact {
    background-image: url('images/hero-contact_us.png') !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero.hero-small.hero-contact::before {
    /* preserve the dark overlay similar to main hero */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 21, 31, 0.85) 0%, rgba(4, 21, 31, 0.75) 100%);
    z-index: 0;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 21, 31, 0.85) 0%, rgba(4, 21, 31, 0.75) 100%);
    z-index: 0;
}

.hero.hero-small:not(.hero-careers):not(.hero-contact):not(.hero-legal)::before {
    background: transparent;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 217, 102, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(191, 197, 202, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero.hero-small::after {
    background: radial-gradient(circle at 20% 50%, rgba(255, 217, 102, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(191, 197, 202, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* Text Carousel Styles */
.hero-carousel-wrapper {
    position: relative;
    min-height: 180px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    animation: carouselFade 15s infinite;
}

.hero-carousel-item:nth-child(1) {
    animation-delay: 0s;
}

.hero-carousel-item:nth-child(2) {
    animation-delay: 5s;
}

.hero-carousel-item:nth-child(3) {
    animation-delay: 10s;
}

.carousel-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--silver-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@keyframes carouselFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    6.67% {
        opacity: 1;
        transform: translateY(0);
    }
    33.33% {
        opacity: 1;
        transform: translateY(0);
    }
    40% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

/* Hero Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
    z-index: 2;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: #ffd966;
}

.scroll-indicator span {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-indicator svg {
    animation: bounce 2s infinite;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    color: #d4af37;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   About Section
   =================================== */
#about {
    background: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 25px;
    text-align: justify;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ===================================
   How It Works Section
   =================================== */
#how-it-works {
    background: var(--silver-gradient);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 40px;
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.process-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   Templates Section
   =================================== */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.template-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #d4af37;
}

.template-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 36px;
}

.template-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.template-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.read-more {
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: #ffd966;
}

/* ===================================
   Features Section
   =================================== */
#features {
    background: var(--dark-bg);
    color: white;
    position: relative;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 217, 102, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(191, 197, 202, 0.05) 0%, transparent 50%);
}

#features .section-header {
    position: relative;
    z-index: 1;
}

#features .section-label {
    color: rgba(255, 255, 255, 0.9);
}

#features .section-title {
    color: white;
}

#features .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    gap: 25px;
    opacity: 0;
    transform: translateX(0);
}

/* Fade in from left animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade in from right animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-card.animate-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.feature-card.animate-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.feature-card.visible {
    opacity: 1;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: 32px;
}

.feature-content h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    color: white;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ===================================
   Contact Section
   =================================== */
#contact {
    background: var(--bg-light);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
}

/* ===================================
   reCAPTCHA Badge Styling
   =================================== */
.grecaptcha-badge {
    visibility: visible !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.grecaptcha-badge:hover {
    opacity: 1;
}

/* ===================================
   Footer
   =================================== */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--silver-gradient);
    color: var(--dark-bg);
    transform: translateY(-3px);
    border-color: transparent;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Mobile Menu
   =================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: #d3d7db;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-close:hover {
    background: #d4af37;
    transform: scale(1.05);
}

.mobile-menu-nav {
    padding: 10px 0;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link {
    display: block;
    padding: 16px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding-left: 35px;
}

.mobile-nav-link.active {
    background: rgba(212, 175, 55, 0.15);
/ / color: green;
    border-left: 4px solid #d4af37;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   Tech Stack Section
   =================================== */
#tech-stack {
    background: var(--bg-white);
    padding: 80px 20px;
    overflow: hidden;
}

.tech-stack-wrapper {
    position: relative;
    padding: 40px 0;
}

.tech-stack-scroller {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 60px;
    mask-image: linear-gradient(
            to right,
            transparent,
            black 10%,
            black 90%,
            transparent
    );
}

.tech-stack-track {
    display: flex;
    gap: 60px;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.tech-stack-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 20px;
    gap: 15px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.1);
}

.tech-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}

.tech-item:hover .tech-icon {
    filter: grayscale(0%);
    opacity: 1;
    transform: rotateY(360deg);
}

.tech-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
    white-space: nowrap;
}

.tech-item:hover .tech-name {
    color: var(--text-dark);
}

/* ===================================
   FAQ Section
   =================================== */
#faq {
    background: var(--silver-gradient);
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    grid-auto-rows: auto;
    align-items: start;
}

/* 2 columns for wide screens */
@media (min-width: 1024px) {
    .faq-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

.faq-item {
    background: white;
    margin-bottom: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: auto;
    min-height: fit-content;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #d4af37;
}

/* Pulse animation for clicked item */
@keyframes faqPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.faq-item.active {
    border-color: #d4af37;
    animation: faqPulse 0.6s ease-out;
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-dark);
    position: relative;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    gap: 15px;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #d4af37;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease-in-out;
    color: var(--text-gray);
    line-height: 1.7;
    width: 100%;
    box-sizing: border-box;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    opacity: 1;
    overflow: visible;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: var(--text-dark);
}

/* ===================================
   Jobs Section (Careers Page)
   =================================== */
#jobs {
    background: var(--bg-light);
}

.jobs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Jobs Section - Updated for collapsible cards */
.jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.job-department {
    margin-bottom: 50px;
}

.department-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.department-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 25px;
}

.job-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #d4af37;
}

.job-card.active {
    border-color: #d4af37;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 30px;
    cursor: pointer;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    margin-bottom: 0;
}

.job-header::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #d4af37;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.job-card.active .job-header::after {
    content: '−';
}

.job-title-section {
    flex: 1;
    min-width: 250px;
}

.job-title-section h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.job-badge {
    background: var(--gold-gradient);
    color: var(--dark-bg);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    align-self: flex-start;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 0;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.job-meta-item svg {
    width: 18px;
    height: 18px;
    fill: #d4af37;
    flex-shrink: 0;
}

.job-details {
    padding: 0 30px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease-in-out;
}

.job-card.active .job-details {
    padding: 0 30px 48px; /* increased bottom padding so the Apply button has breathing room */
    opacity: 1;
    overflow: visible;
}

.job-section {
    margin-bottom: 25px;
}

.job-section h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.job-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section ul li {
    color: var(--text-gray);
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.6;
}

.job-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.apply-btn {
    background: var(--silver-gradient);
    color: var(--dark-bg);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    margin-bottom: 28px; /* increased to provide extra space from the card bottom */
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(191, 197, 202, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #d4d9dd 100%);
}


/* ===================================
   Icons (Simple SVG as Data URIs)
   =================================== */
.icon-chart::before {
    content: "📊";
}

.icon-shield::before {
    content: "🛡️";
}

.icon-link::before {
    content: "🔗";
}

.icon-layers::before {
    content: "📚";
}

.icon-bolt::before {
    content: "⚡";
}

.icon-rocket::before {
    content: "🚀";
}

.icon-beaker::before {
    content: "🧪";
}

.icon-wave::before {
    content: "📈";
}

.icon-book::before {
    content: "📖";
}

.icon-trend::before {
    content: "📉";
}

/* ===================================
   Responsive Design
   =================================== */

/* Desktop Navigation - Hide on screens smaller than 1024px */
@media (max-width: 1023px) {
    .desktop-nav {
        display: none !important;
    }
}

/* Mobile breakpoints */
@media (max-width: 750px) {
    .hero {
        background-attachment: scroll;
        padding: 100px 20px 60px;
    }

    /* Ensure careers and legal hero do not use fixed attachment on mobile */
    .hero.hero-small.hero-careers,
    .hero.hero-small.hero-legal {
        background-attachment: scroll !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 20px;
    }

    /* Header mobile responsiveness */
    .header-top {
        padding: 8px 0;
    }

    .header-top .container {
        font-size: 12px;
        gap: 15px;
    }

    .nav-container {
        padding: 10px 0;
    }

    .logo img {
        height: 45px !important;
        width: auto !important;
    }

    /* Hide desktop navigation on all screen sizes (burger is always shown) */
    .desktop-nav {
        display: none;
    }


    .header-top-left {
        gap: 15px;
    }

    .process-grid,
    .templates-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .job-card {
        padding: 30px 20px;
    }

    .job-header {
        flex-direction: column;
    }

    .job-title-section h3 {
        font-size: 1.5rem;
    }

    .job-meta {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
}
