/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove focus outlines */
*:focus {
    outline: none !important;
}

a:focus,
button:focus,
img:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

:root {
    --primary-color: #42D9B8;
    --secondary-color: #2D3E4F;
    --accent-color: #3498db;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Center only main section titles */
.section-header h2,
.section-title {
    text-align: center;
}

.section-title {
    margin-bottom: 2rem;
}

h1 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.05rem, 2.1vw, 1.4rem); }
h4 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Center only section descriptions */
.section-header p,
.section-description {
    text-align: center;
}

/* Buttons */
/* text-shadow will be applied only when text is white */

.primary-btn, .secondary-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    z-index: 101;
    pointer-events: auto;
    position: relative;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--text-dark);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Sophisticated button animation like secondary-btn */
.primary-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 0%;
    height: 100%;
    background: var(--text-dark);
    transform: skewX(-15deg);
    transform-origin: left;
    transition: width 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.primary-btn:hover::before {
    transform: translateX(100%) translateY(100%);
}

.primary-btn:hover::after {
    width: 140%;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--text-dark) !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    text-shadow: none;
}

.primary-btn:hover span {
    color: var(--primary-color) !important;
    text-shadow: none;
}

.primary-btn:hover * {
    color: var(--primary-color) !important;
}

.primary-btn span {
    position: relative;
    z-index: 3;
    color: var(--text-dark);
}

.primary-btn:hover span {
    text-shadow: none;
}

.primary-btn {
    position: relative;
    z-index: 1;
}

.primary-btn:hover {
    z-index: 10;
}

/* Simplified button structure */

.primary-btn:focus,
.secondary-btn:focus {
    outline: none !important;
    border: none !important;
    box-shadow: var(--shadow) !important;
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    text-shadow: none;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.secondary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    transform: skewX(-15deg);
    transform-origin: left;
    transition: width 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.secondary-btn:hover::before {
    transform: translateX(100%) translateY(100%);
}

.secondary-btn:hover::after {
    width: 140%;
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--text-dark);
    text-shadow: none;
}

.secondary-btn:hover span {
    color: var(--text-dark);
    text-shadow: none;
}

.secondary-btn span {
    position: relative;
    z-index: 3;
    text-shadow: none;
}



/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: backdrop-filter 0.4s ease, box-shadow 0.4s ease;
    box-shadow: none;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

/* Homepage Navigation - Transparent (now applies to all pages) */

/* Navigation - All pages become opaque when scrolling */
.navbar.scrolled {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(123, 31, 162, 0.3);
}

.navbar.scrolled::after {
    opacity: 1;
}

.navbar.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(123, 31, 162, 0.15), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(103, 58, 183, 0.15), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.navbar.scrolled .nav-link {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .cta-button {
    font-weight: 700;
    color: var(--text-dark) !important;
}

.navbar.scrolled .cta-button span {
    color: var(--text-dark) !important;
}

.nav-container {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    z-index: 1;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link:hover {
    text-decoration: none;
}

.logo-link:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Logo brightness effect on scroll */
.navbar.scrolled .logo-link img {
    filter: none;
    transition: filter 0.3s ease;
}

/* Desktop dropdown styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: none;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: var(--white);
    font-weight: bold;
    transition: none;
}

.logo-symbol {
    width: 28px;
    height: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Homepage - Double logo size and hide text */
.homepage .logo-symbol {
    width: 56px;
    height: 56px;
}

.homepage .logo-text {
    display: none;
}

.logo-symbol img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 900;
    transition: var(--transition);
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-link:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Navigation links - White with text shadow (now applies to all pages) */

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-shadow: none;
}

.cta-button:hover {
    text-shadow: none;
}

/* CTA button - Bold (now applies to all pages) */

/* Sophisticated button animation like secondary-btn */
.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 0%;
    height: 100%;
    background: var(--text-dark);
    transform: skewX(-15deg);
    transform-origin: left;
    transition: width 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.cta-button:hover::before {
    transform: translateX(100%) translateY(100%);
}

.cta-button:hover::after {
    width: 140%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    background: var(--text-dark) !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.cta-button:hover * {
    color: var(--primary-color) !important;
}

.cta-button span {
    position: relative;
    z-index: 3;
    text-shadow: none;
}

.cta-button {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    z-index: 10;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
    opacity: 1;
}

/* Page Header */
.page-header {
    padding: 180px 0 80px;
    background: #4A148C;
    color: var(--white);
    text-align: center;
    margin-bottom: 80px; /* Add margin after gradient block */
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border: none;
    outline: none;
}

.hero-video-container {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -2;
    perspective: 2000px;
    transform-style: preserve-3d;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #000;
    opacity: 0;
    transform-style: preserve-3d;
    will-change: transform;
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-video.active {
    opacity: 1;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Mobile: Overlay adjustments */
@media (max-width: 768px) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.4);
        z-index: 0;
    }
    
    /* Prevent horizontal overflow on mobile */
    .hero-video-container {
        left: 0;
        width: 100%;
        overflow: hidden;
    }
    
    .hero-video {
        left: 0;
        width: 100%;
        top: 0;
        height: 100%;
    }
    
    .hero-overlay {
        left: 0;
        width: 100%;
        top: 0;
        height: 100%;
    }
    
    /* Ensure container doesn't cause overflow */
    .container {
        padding: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix elements that might overflow */
    section {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Fix map overflow - avoid 100vw on mobile */
    .office-map-fullwidth {
        position: relative;
        left: 0;
        right: 0;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
        max-width: 100vw;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .office-map-fullwidth #google-map {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Additional overflow protection */
    .office-location {
        overflow-x: hidden;
    }
}



.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    text-align: left;
    margin: 0;
    position: relative;
    left: 0;
    transform: none;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 7rem;
    z-index: 50;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: none;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), #ffffff, var(--primary-color), #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: none;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: none;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    opacity: 1;
    transform: none;
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.hero-buttons * {
    pointer-events: auto;
}

/* Quick Services Preview */
.quick-services {
    padding: 80px 0;
    background: var(--white);
}

.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-preview-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    backdrop-filter: blur(10px);
}

.service-preview-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 123, 255, 0.1), transparent, rgba(255, 0, 150, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: rotate(0deg);
    z-index: 1;
}

.service-preview-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.1) 0%, 
        rgba(255, 0, 150, 0.05) 25%, 
        rgba(0, 255, 200, 0.1) 50%, 
        rgba(255, 100, 0, 0.05) 75%, 
        rgba(0, 123, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.service-preview-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(10deg) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 0 50px rgba(0, 123, 255, 0.3),
        0 0 30px rgba(255, 0, 150, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(240, 248, 255, 0.9) 100%);
}

.service-preview-card:hover::before {
    opacity: 1;
    transform: rotate(360deg);
}

.service-preview-card:hover::after {
    opacity: 1;
}

.service-preview-card > * {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.service-preview-card:hover > * {
    transform: translateZ(20px);
}

.service-preview-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-preview-card .service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-preview-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-preview-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-preview-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-preview-card-link:hover .service-preview-card {
    transform: translateY(-20px) rotateX(10deg) rotateY(10deg) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 0 50px rgba(0, 123, 255, 0.3),
        0 0 30px rgba(255, 0, 150, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--accent-color);
}

.cta-section {
    text-align: center;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

.services-overview {
    padding: 60px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card .primary-btn {
    margin-top: auto;
    align-self: flex-start;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: left;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-cta {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

/* Sophisticated button animation like secondary-btn */
.service-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.service-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 0%;
    height: 100%;
    background: var(--text-dark);
    transform: skewX(-15deg);
    transform-origin: left;
    transition: width 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.service-cta:hover::before {
    transform: translateX(100%) translateY(100%);
}

.service-cta:hover::after {
    width: 140%;
}

.service-cta:hover {
    background: var(--text-dark) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
    text-shadow: none;
}

.service-cta:hover * {
    color: var(--primary-color) !important;
    text-shadow: none;
}

.service-cta span {
    position: relative;
    z-index: 3;
    color: var(--text-dark);
}

.service-cta:hover span {
    text-shadow: none;
}

.service-cta {
    position: relative;
    z-index: 1;
}

.service-cta:hover {
    z-index: 10;
}

/* Simplified button structure */

/* Service Process */
.service-process {
    padding: 80px 0;
    background: var(--light-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: left;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 1.5rem 0;
}

.process-step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-accordion-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-accordion-header:hover {
    color: var(--primary-color);
}

.faq-accordion-header i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-accordion-item.active .faq-accordion-header i {
    transform: rotate(180deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-accordion-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-accordion-header {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-accordion-content {
        padding: 0 1.5rem;
    }
    
    .faq-accordion-item.active .faq-accordion-content {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}

/* Referral Section */
.referral-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative;
}

.referral-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(123, 31, 162, 0.15), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(103, 58, 183, 0.15), transparent 50%);
    pointer-events: none;
}

.referral-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.referral-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 32px rgba(123, 31, 162, 0.4);
}

.referral-icon i {
    font-size: 2.5rem;
    color: white;
}

.referral-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.referral-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.referral-benefits-quick {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.referral-benefit-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.referral-benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    min-width: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-benefit-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    flex: 1;
}

@media (max-width: 768px) {
    .referral-content h2 {
        font-size: 1.8rem;
    }
    
    .referral-benefits-quick {
        text-align: center;
    }
    
    .referral-benefit-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Technology Stack */
.technology-stack {
    padding: 80px 0;
    background: var(--white);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: left;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-bg);
    width: 100%;
}

.about .container {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: auto !important;
}

.about-content {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.about-text {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

.about-text h3 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
    margin: 1.5rem auto;
}

.about-text li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-mini .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-mini .section-title {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-mini .about-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.about-mission-vision h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    text-align: left;
}

.about-mission-vision p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stats-section {
    padding: 80px 0;
    background: var(--white);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    margin: 0;
}

.about-visual {
    position: relative;
    height: 400px;
}

.about-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 8s ease-in-out infinite;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* First row: 3 cards, each taking 2 columns */
.values-grid .value-card:nth-child(1) {
    grid-column: 1 / 3;
}

.values-grid .value-card:nth-child(2) {
    grid-column: 3 / 5;
}

.values-grid .value-card:nth-child(3) {
    grid-column: 5 / 7;
}

/* Second row: 2 cards centered, each taking 2 columns with 1 column gap on each side */
.values-grid .value-card:nth-child(4) {
    grid-column: 2 / 4;
}

.values-grid .value-card:nth-child(5) {
    grid-column: 4 / 6;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.value-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.member-photo {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.team-member h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.team-member p {
    color: var(--text-light);
}

/* Careers Section */
.careers {
    padding: 80px 0;
    background: var(--white);
}

.careers-overview {
    padding: 60px 0;
    background: var(--light-bg);
}

.careers-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: left;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem 0;
    font-size: 2rem;
}

.benefit-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-light);
}

/* Open Positions */
.open-positions {
    padding: 80px 0;
    background: var(--white);
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.position-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.position-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.position-type {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    font-weight: bold;
}

.position-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.position-requirements h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.position-requirements ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.position-requirements li {
    padding: 0 0 0.25rem 1.9rem;
    color: var(--text-light);
    position: relative;
    margin-left: 0;
    margin-bottom: 0.25rem;
}

.position-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    top: 4px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.apply-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Sophisticated button animation like secondary-btn */
.apply-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.apply-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 0%;
    height: 100%;
    background: var(--text-dark);
    transform: skewX(-15deg);
    transform-origin: left;
    transition: width 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.apply-btn:hover::before {
    transform: translateX(100%) translateY(100%);
}

.apply-btn:hover::after {
    width: 140%;
}

.apply-btn:hover {
    background: var(--text-dark) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
    text-shadow: none;
}

.apply-btn:hover * {
    color: var(--primary-color) !important;
    text-shadow: none;
}

.apply-btn .btn-text {
    position: relative;
    z-index: 3;
    display: block;
    color: var(--text-dark);
}

.apply-btn:hover .btn-text {
    text-shadow: none;
}

.apply-btn {
    position: relative;
    z-index: 1;
}

.apply-btn:hover {
    z-index: 10;
}

.apply-btn .btn-text {
    position: relative;
    z-index: 10;
    color: var(--text-dark);
    display: block;
}

.apply-btn:hover .btn-text {
    text-shadow: none;
}

/* Simplified button structure */

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* Referral page specific layout */
.referral-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.referral-info-column h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.referral-info-column ul {
    margin-bottom: 0;
}

.referral-info-column li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.referral-info-column ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.referral-form-container {
    margin-top: 3rem;
}

.referral-form-container .careers-form {
    max-width: 100%;
}

@media (max-width: 768px) {
    .referral-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.careers-info h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.careers-info ul, .careers-info ol {
    margin-bottom: 2rem;
}

.careers-info li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.careers-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.careers-info ol li {
    padding-left: 0;
}

.careers-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
}

.careers-form h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.careers-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* General form styles - All inputs, textareas, selects */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="url"],
textarea,
select,
.form-control {
    padding: 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

/* Ensure labels are on separate lines */
label,
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.careers-form input,
.careers-form select,
.careers-form textarea {
    padding: 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

/* Focus states for all inputs */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 217, 184, 0.1);
}

.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 217, 184, 0.1);
}

.file-upload {
    margin: 1rem 0;
}

.file-upload label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: bold;
}

.file-upload input[type="file"] {
    border: 2px dashed var(--border-color);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

.file-upload input[type="file"]:hover {
    border-color: var(--primary-color);
}

/* Modern File Upload Styles */
.file-upload-wrapper {
    margin-bottom: 20px;
}

.file-upload-container {
    position: relative;
    border: 2px dashed #dadce0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-container:hover {
    border-color: var(--primary-color);
    background: #f0f9ff;
}

.file-upload-container.has-error {
    border-color: #ea4335;
    background: #fef7f7;
}

.file-upload-container.dragover {
    border-color: var(--primary-color);
    background: #e8f5e9;
    transform: scale(1.02);
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    pointer-events: none;
}

.file-label i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.file-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.file-format {
    font-size: 14px;
    color: #5f6368;
}

.file-name-display {
    margin-top: 12px;
    padding: 10px 15px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #dadce0;
    font-size: 14px;
    color: var(--text-dark);
    display: none;
}

.file-name-display.has-file {
    display: block;
}

.file-name-display i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Company Culture */
.company-culture {
    padding: 80px 0;
    background: var(--light-bg);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.culture-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.culture-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.culture-item p {
    color: var(--text-light);
}

/* Contact Choice Section */
.contact-choice {
    padding: 80px 0;
    background: var(--white);
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.choice-card {
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.05), rgba(103, 58, 183, 0.05));
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.choice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.choice-card:hover::before {
    transform: scaleX(1);
}

.choice-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.choice-icon i {
    font-size: 2.5rem;
    color: white;
}

.choice-card h3 {
    color: var(--text-dark);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.choice-card > p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.choice-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.choice-features span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.choice-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.choice-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: 8px;
    margin-top: auto;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.choice-card:hover .choice-btn {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.choice-btn i {
    transition: transform 0.3s ease;
}

.choice-card:hover .choice-btn i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .choice-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .choice-card {
        padding: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: left;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
    text-align: left;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.contact-form button,
.contact-form .primary-btn {
    text-shadow: none !important;
}

.contact-form button {
    margin-top: 0.5rem;
    text-shadow: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 217, 184, 0.1);
}

/* Quote Form */
.quote-form {
    padding: 80px 0;
    background: var(--white);
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.quote-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.quote-info ul, .quote-info ol {
    margin-bottom: 2rem;
}

.quote-info li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.quote-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.quote-info ol li {
    padding-left: 0;
}

.quote-form-container {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
}

.quote-form-container h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.quote-form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote-form-container input,
.quote-form-container select,
.quote-form-container textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.quote-form-container input:focus,
.quote-form-container select:focus,
.quote-form-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 217, 184, 0.1);
}

.checkbox-group {
    margin: 1rem 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Office Location */
.office-location {
    padding: 80px 0;
    background: var(--light-bg);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.location-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.location-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.location-info h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.location-info ul {
    list-style: none;
    margin-bottom: 1rem;
}

.location-info li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.location-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Full width map */
.office-map-fullwidth {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    margin-top: 3rem;
    margin-bottom: 3rem;
    overflow: hidden;
    box-sizing: border-box;
}

.office-map-fullwidth #google-map {
    width: 100%;
    max-width: 100%;
    height: 500px;
    display: block;
    box-sizing: border-box;
}

/* Location info grid (two columns) */
.location-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.location-info-column h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.location-info-column p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.location-info-column h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.location-info-column ul {
    list-style: none;
    margin-bottom: 1rem;
}

.location-info-column li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.location-info-column li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Legacy styles for backward compatibility */
.office-map {
    width: 100%;
    height: 400px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.office-map #google-map {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.map-placeholder {
    text-align: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Dual Expertise Section */
.dual-expertise {
    padding: 80px 0;
    background: var(--light-bg);
}

.dual-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.expertise-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.expertise-icon i {
    font-size: 2rem;
    color: var(--white);
}

.expertise-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.expertise-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.expertise-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.expertise-features li i {
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .dual-expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

/* CTA Sections */
.cta-section-about,
.cta-section-services,
.cta-section-careers,
.cta-section-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-align: center;
}

.cta-section-about p,
.cta-section-services p,
.cta-section-careers p,
.cta-section-contact p {
    color: var(--white) !important;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section-about .secondary-btn,
.cta-section-services .secondary-btn,
.cta-section-careers .secondary-btn,
.cta-section-contact .secondary-btn {
    color: var(--white);
    border-color: var(--white);
}

/* Force black text for career page jobs section */
.career-jobs-section p,
.career-jobs-section .cta-content p {
    color: #000000 !important;
}

.cta-section-about .secondary-btn:hover,
.cta-section-services .secondary-btn:hover,
.cta-section-careers .secondary-btn:hover,
.cta-section-contact .secondary-btn:hover {
    background: var(--text-dark);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 300px;
    height: auto;
    display: block;
}

.footer-logo .logo-text {
    color: var(--white);
    margin-top: 0;
    line-height: 1.2;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Enhanced Footer Styles */
.footer-brand {
    max-width: 400px;
}

.footer-brand .footer-logo {
    margin-bottom: 1rem;
    margin-left: 0;
}

.footer-brand p {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-section h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}


.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Footer Credits - Talents Nest */
.footer-credits {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.talents-credit {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
    background: transparent;
}

.talents-credit:hover {
    color: #bdc3c7;
}

.talents-credit .heart {
    color: #e74c3c;
    display: inline-block;
}

.talents-credit .talents-gradient {
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 25%, #FF6347 50%, #FF1493 75%, #8B00FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    display: inline-block;
}

/* Career Page - Remove all bullets */
.application-process,
.no-bullets {
    list-style: none;
    padding: 0;
}

.application-process li,
.no-bullets li {
    margin-bottom: 0.25rem;
    padding: 0 0 0.25rem 1.9rem;
    position: relative;
}

.application-process li::before,
.no-bullets li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
    top: 4px;
    font-size: 1.2rem;
    line-height: 1;
}

/* Process List - No bullets or checks */
.process-list {
    list-style: none;
    padding: 0;
}

.process-list li {
    margin-bottom: 0.75rem;
    padding-left: 0;
    color: var(--text-light);
}

/* Home CTA Dark Section */
.home-cta-dark {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative;
}

.home-cta-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(123, 31, 162, 0.15), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(103, 58, 183, 0.15), transparent 50%);
    pointer-events: none;
}

.home-cta-dark .container {
    position: relative;
    z-index: 1;
}

.home-cta-dark .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.home-cta-dark .section-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-cta-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.cta-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cta-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(123, 31, 162, 0.3);
}

.cta-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(123, 31, 162, 0.4);
}

.cta-icon i {
    font-size: 2rem;
    color: white;
}

.cta-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-card > p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.cta-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}

.cta-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(123, 31, 162, 0.4);
    text-shadow: none;
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .about-mini .section-title {
        font-size: 2rem;
    }
    
    .cta-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .home-cta-dark .section-header h2 {
        font-size: 2rem;
    }
}

/* Career Guidance Section */
.career-guidance-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative;
}

.career-guidance-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(123, 31, 162, 0.15), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(103, 58, 183, 0.15), transparent 50%);
    pointer-events: none;
}

.career-guidance-intro .container {
    position: relative;
    z-index: 1;
}

.guidance-offer-section {
    padding: 80px 0;
    background: var(--white);
}

.specialists-section-wrapper {
    padding: 80px 0;
    background: var(--white);
}

.career-page-header {
    margin-bottom: 0 !important;
}

.career-specialists-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.guidance-content {
    max-width: 1000px;
    margin: 0 auto;
}

.guidance-intro {
    text-align: center;
    margin-bottom: 0;
}

.guidance-intro h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.guidance-intro p {
    color: rgba(255, 255, 255, 0.8);
}

.guidance-intro .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1rem;
}

.guidance-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.guidance-offer {
    margin-bottom: 4rem;
}

.guidance-offer h3 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.offer-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.offer-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.offer-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.offer-item h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.offer-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.specialists-section {
    margin-bottom: 4rem;
}

.specialists-section h3 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.specialists-section > p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.specialist-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.specialist-avatar {
    margin-bottom: 1rem;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
}

.specialist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.specialist-avatar i {
    font-size: 4rem;
    color: var(--primary-color);
}

.specialist-card h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.specialist-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.specialist-card > i {
    font-size: 1.5rem;
    color: #0077B5;
}

.guidance-cta {
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 80px 2rem 60px 2rem;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    margin-top: 3rem;
    margin-bottom: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}

.guidance-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(123, 31, 162, 0.15), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(103, 58, 183, 0.15), transparent 50%);
    pointer-events: none;
    border-radius: 0;
}

.guidance-cta h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.guidance-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.guidance-cta .primary-btn {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .guidance-intro h2 {
        font-size: 2rem;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .specialists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .guidance-cta {
        padding: 2rem 1.5rem;
    }
}

/* Animations */


@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-left {
        gap: 1rem;
    }
    
    .nav-right {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu .nav-link {
        color: var(--primary-color) !important;
        font-weight: 600;
    }

    .nav-menu .nav-link:hover {
        color: var(--accent-color) !important;
    }
    
    .nav-menu.active {
        left: 0;
    }
    

    /* Dark background overlay when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #2c2c2c; /* Charcoal color */
        z-index: -1;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    .nav-dropdown {
        position: relative;
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .dropdown-toggle:focus,
    .dropdown-toggle:active {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .dropdown-menu {
        display: none !important;
        background-color: transparent !important;
        margin-top: 1rem !important;
        border-radius: 8px !important;
        padding: 1rem !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
        max-height: 0 !important;
        overflow: hidden !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        box-shadow: none !important;
        min-width: auto !important;
        visibility: visible !important;
    }

    .dropdown-menu.active {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        max-height: 500px !important;
    }

    .dropdown-link {
        display: block !important;
        padding: 0.75rem 1rem !important;
        color: var(--primary-color) !important;
        text-decoration: none !important;
        border-radius: 4px !important;
        transition: none !important;
        font-weight: 500 !important;
        position: static !important;
        width: 100% !important;
    }

    .dropdown-link:hover {
        background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
        color: var(--white) !important;
        font-weight: bold !important;
        text-decoration: none !important;
        transition: none !important;
    }

    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .dropdown-toggle.active i {
        transform: rotate(180deg);
    }

    .nav-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
        margin-right: 20px;
    }

    .nav-toggle .bar {
        z-index: 1003;
        position: relative;
        background: var(--primary-color) !important;
    }

    /* Hero Mobile */
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        padding: 2rem 1rem !important;
        text-align: center !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-title {
        color: var(--white) !important;
        background: none !important;
        -webkit-text-fill-color: var(--white) !important;
        animation: none !important;
        text-align: center !important;
        width: 100%;
    }

    .hero-subtitle {
        text-align: center !important;
        color: var(--white) !important;
        width: 100%;
    }

    .hero-description {
        text-align: center !important;
        color: var(--white) !important;
        width: 100%;
    }

    .hero-buttons {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        flex-wrap: wrap !important;
        width: 100%;
    }

    /* Footer Mobile */
    .footer {
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section img,
    .footer-logo img,
    .logo-symbol img {
        width: 324px !important;
        height: auto !important;
        margin: 15px auto 15px auto !important;
        display: block !important;
    }

    .footer-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input {
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo-symbol {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .social-links {
        justify-content: center;
    }

    /* Technologies Section Mobile */
    .tech-category h3 {
        text-align: center;
    }

    .tech-category .tech-list {
        justify-content: center;
    }

    .tech-category .tech-list .tech-item {
        text-align: center;
    }

    /* About Page Mobile */
    .about-text h2, .about-text p, .about-text h3,
    .about-mission-vision h3, .about-mission-vision p {
        text-align: center;
    }

    /* Career Page Mobile - Application Process */
    .process-step {
        padding-left: 0;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 1.5rem auto;
        position: static;
    }

    /* Disable hover animations on mobile */
    .primary-btn:hover,
    .secondary-btn:hover,
    .service-card:hover,
    .job-card:hover,
    .position-card:hover,
    .benefit-item:hover,
    .contact-item:hover,
    .tech-item:hover,
    .offer-card:hover,
    .service-preview-card:hover,
    .service-preview-card-link:hover .service-preview-card {
        transform: none !important;
        box-shadow: var(--shadow) !important;
    }

    .primary-btn::before,
    .primary-btn::after,
    .secondary-btn::before,
    .secondary-btn::after {
        display: none !important;
    }

    .service-card::before,
    .job-card::before,
    .position-card::before,
    .benefit-item::before,
    .contact-item::before,
    .tech-item::before,
    .offer-card::before {
        display: none !important;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0 !important;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    /* Ensure bars are visible when not active */
    .nav-toggle .bar {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-container,
    .about-content,
    .careers-content,
    .contact-content,
    .quote-content,
    .location-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    
    .office-map-fullwidth #google-map {
        height: 400px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid,
    .positions-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* About container responsive */
    .about .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .about-text {
        max-width: 100%;
        padding: 0;
    }
    
    /* Values grid responsive: single column on mobile */
    .values-grid {
        grid-template-columns: 1fr !important;
    }
    
    .values-grid .value-card {
        grid-column: 1 / -1 !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Ensure all form elements don't overflow */
    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .quote-form-container input,
    .quote-form-container select,
    .quote-form-container textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Prevent box-shadow from causing overflow */
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus,
    .quote-form-container input:focus,
    .quote-form-container select:focus,
    .quote-form-container textarea:focus {
        box-shadow: 0 0 0 2px rgba(66, 217, 184, 0.1);
    }
    
    /* Ensure choice cards don't overflow */
    .choice-card {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure all sections are contained */
    .contact-choice,
    .contact,
    .quote-form,
    .office-location,
    .faq-section,
    .cta-section-contact {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }
    
    /* Prevent media elements from overflowing */
    img, video, iframe, embed, object {
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure Google Maps iframe doesn't overflow */
    .office-map-fullwidth iframe {
        max-width: 100% !important;
        width: 100% !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .service-card,
    .careers-form,
    .contact-form,
    .quote-form-container {
        padding: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Smooth scrolling and performance optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Hover effects for interactive elements */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.contact-item:hover i {
    transform: scale(1.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* --- Homepage mini sections (modern, spacious) --- */
.careers-mini,
.contact-mini {
    padding: 120px 0; /* take more space */
}

.about-mini {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative;
}

.about-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(123, 31, 162, 0.15), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(103, 58, 183, 0.15), transparent 50%);
    pointer-events: none;
}

.about-mini .container {
    position: relative;
    z-index: 1;
}

.about-mini .about-mini-content {
    max-width: 900px;
    margin: 2rem auto 0;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    backdrop-filter: blur(6px);
}

.careers-mini {
    background: linear-gradient(135deg, rgba(0,123,255,0.06), rgba(0,255,200,0.06));
}

.careers-mini .careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.careers-mini .job-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.careers-mini .job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.careers-mini .job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.careers-mini .job-card:hover::before {
    transform: scaleX(1);
}

.careers-mini .job-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.careers-mini .job-card-link:hover .job-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.careers-mini .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.careers-mini .job-header h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    text-align: left;
}

.careers-mini .job-type {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    font-weight: bold;
    margin-left: 1rem;
}

.careers-mini .job-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: left;
}

.careers-mini .job-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.careers-mini .job-location,
.careers-mini .job-experience {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.careers-mini .job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.careers-mini .skill-tag {
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.careers-mini .what-we-offer {
    margin: 3rem 0 2rem;
    text-align: center;
}


.careers-mini .offer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.careers-mini .offer-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.careers-mini .offer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.careers-mini .offer-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.careers-mini .offer-item:hover::before {
    transform: scaleY(1);
}

.careers-mini .offer-icon {
    font-size: 1.75rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 255, 200, 0.1));
    border-radius: 12px;
    flex-shrink: 0;
}

.careers-mini .offer-item span {
    color: var(--text-dark);
    font-weight: bold;
    font-size: 0.95rem;
}

.careers-mini .careers-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.careers-mini .careers-cta,
.careers-mini .careers-cta-center {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-mini {
    background: var(--light-bg);
}

.contact-mini .contact-mini-form {
    max-width: 980px;
    margin: 2.5rem auto 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.contact-mini .contact-mini-form::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 180deg, rgba(0,123,255,0.2), rgba(0,255,200,0.2), rgba(255,0,150,0.15), rgba(0,123,255,0.2));
    z-index: 0;
    filter: blur(18px);
    opacity: 0.35;
}

.contact-mini .contact-mini-form .form-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-mini .contact-mini-form input,
.contact-mini .contact-mini-form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-mini .contact-mini-form input:focus,
.contact-mini .contact-mini-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0,123,255,0.15);
}

.contact-mini .contact-mini-form button {
    margin-top: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .careers-mini .careers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .careers-mini .offer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .careers-mini .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .careers-mini .offer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-mini, .careers-mini, .contact-mini { padding: 90px 0; }
    .contact-mini .contact-mini-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .about-mini, .careers-mini, .contact-mini { padding: 70px 0; }
}

/* About mini CTA center */
.about-mini .about-cta-center {
    display: flex;
    justify-content: center;
    margin-top: 0.625rem;
}

/* Contact teaser */
.contact-mini .contact-teaser {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-mini .teaser-step {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-mini .teaser-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.contact-mini .step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem auto;
}

.contact-mini .teaser-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin: 0 auto 0.75rem;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.contact-mini .teaser-icon i { font-size: 1.2rem; }

.contact-mini .contact-expect {
    margin: 1.5rem auto 0;
    max-width: 840px;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem 1rem;
    color: var(--text-light);
}

.contact-mini .contact-expect li {
    position: relative;
    padding-left: 1.25rem;
}

.contact-mini .contact-expect li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.contact-mini .contact-cta-center {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
