/* 
  Thalman Engineering - Premium CSS 
  Colors based on the logo: Dark Blue & Cyan
*/

:root {
    /* Color Palette - Premium Corporate Light */
    --primary-blue: #123A9C; /* Royal Blue */
    --primary-blue-dark: #0B2569;
    --accent-cyan: #6DE7DD; /* Aqua Cyan */
    --accent-cyan-dark: #4BC5BB;
    --precision-blue: #0B1D4F; /* Dark Navy Accent */
    
    /* Neutral Colors */
    --text-dark: #0B1D4F; /* Dark Navy for text */
    --text-light: #52607A;
    --bg-light: #F7F8FA;
    --bg-white: #FFFFFF;
    --bg-dark: #0B1D4F; /* Dark sections mapped to Navy */
    --bg-darker: #071336;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(247, 248, 250, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    
    /* Shadows - Stripe / Apple style */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-cyan: 0 10px 30px rgba(0, 229, 255, 0.25); /* Soft Cyan glow */
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    /* Spacing */
    --section-padding: 60px 0;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-base: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    font-size: 17px;
    line-height: 1.6;
    background-color: #f8fafc;
    background-image: 
        linear-gradient(rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.96)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: var(--font-heading);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: clamp(3rem, 5vw, 56px); }
h2 { font-size: clamp(1.5rem, 4vw, 30px); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; font-weight: 600; }

.text-3d-effect {
    background: linear-gradient(to right, #FFFFFF 0%, #F1F5F9 50%, #E2E8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 4px 25px rgba(255, 255, 255, 0.15);
    letter-spacing: -0.5px;
    font-size: clamp(2.5rem, 5vw, 48px);
    margin-bottom: 24px;
    font-weight: 800;
}


p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: var(--bg-white); }
.text-cyan { color: var(--accent-cyan); }

/* Typography utilities */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.subtitle {
    display: inline-block;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-base);
    padding: 0;
    height: 76px;
    background: rgba(255, 255, 255, 0.85); /* White glass */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* clean light border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

/* Logo Styles */
.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    position: relative;
}



/* Radial Glow */
.header-logo-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #39E6FF 0%, transparent 70%);
    opacity: 0.06;
    filter: blur(18px);
    border-radius: 50%;
    z-index: -1;
    transition: opacity 0.35s ease-out;
}

header.scrolled .header-logo-link::before {
    opacity: 0.10;
}

.header-logo-link:hover::before {
    opacity: 0.10;
}

.brand-icon-wrapper {
    height: 76px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: transform 0.35s ease-out;
    position: relative;
    border-radius: 12px;
}

/* SVG Brand Icon styling */
.brand-icon-svg {
    height: 92px;
    width: auto;
    transition: filter 0.3s ease-out;
    animation: logoPulse 10.5s infinite;
}

.brand-icon {
    /* Optional glow effect */
}

.header-logo-link:hover .brand-icon-wrapper {
    transform: scale(1.04);
}

.header-logo-link:hover .brand-icon-svg {
    filter: brightness(1.1);
}

/* Base logo paths */
.svg-base-logo path {
    transition: fill 0.3s ease;
}

/* Tracing Layer */
.trace-path {
    fill: none;
    stroke: url(#traceGradient);
    stroke-width: 25px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 6000;
    stroke-dashoffset: 6000;
    opacity: 0;
    filter: drop-shadow(0 0 20px #5EEAD4);
    animation: vectorTrace 12s infinite;
}

@keyframes vectorTrace {
    0% { stroke-dashoffset: 6000; opacity: 0; }
    2% { opacity: 1; }
    33% { stroke-dashoffset: 0; opacity: 1; }
    35% { opacity: 0; stroke-dashoffset: 0; }
    100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes logoPulse {
    0%, 32% { filter: brightness(1.18) saturate(1.10); }
    34% { filter: brightness(1.28) saturate(1.15); } 
    37%, 100% { filter: brightness(1.18) saturate(1.10); }
}

.metal-sweep {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    animation: metalSweep 10s infinite;
}

@keyframes metalSweep {
    0% { left: -150%; }
    8% { left: 150%; } /* Sweep takes 0.8s out of 10s (8%) */
    100% { left: 150%; }
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-left: -10px;
    margin-top: 6px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.header-logo-link:hover .brand-text {
    color: var(--primary-blue);
    text-shadow: 0 0 15px rgba(18, 58, 156, 0.3);
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.navbar .nav-links {
    display: flex;
    gap: 1.2rem;
}

.nav-links li a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.35s ease;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-blue);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.35s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-contacts {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(11, 29, 79, 0.15); /* Dark Navy border */
    border-radius: 50px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.7); /* Pill shape */
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1; /* Fix vertical alignment */
    transition: var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0; /* Prevents box from compressing smaller than text */
}

.contact-pill .contact-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.contact-pill:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(18, 58, 156, 0.05);
}

.contact-pill .flag-img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    display: block;
}

/* Compress navbar on standard laptops to prevent clipping */
@media (max-width: 1450px) {
    .nav-links { gap: 0.8rem; }
    .nav-links li a { font-size: 0.9rem; }
    .contact-pill { padding: 4px 8px; gap: 4px; }
    .contact-pill .contact-number { font-size: 0.75rem; }
    .header-contacts { gap: 0.25rem; }
    .nav-container { padding: 0 0.5rem; }
}

@media (max-width: 1300px) {
    .header-contacts {
        display: none; /* Hide on smaller screens to keep navbar clean */
    }
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

header.scrolled .hamburger {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 120px; /* Space for navbar */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-text-block {
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-shadow: none;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Hero Categories Animation */
.hero-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.category-pill {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(11, 29, 79, 0.1);
    border-radius: 30px;
    padding: 12px 24px;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: floatCategory 6s ease-in-out infinite;
    animation-delay: var(--delay);
    transition: all 0.3s ease;
    cursor: default;
}

.category-pill:hover {
    background: var(--bg-white);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(18, 58, 156, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #FF3366; /* Vibrant Red/Pink */
    border-radius: 50%;
    box-shadow: 0 0 10px #FF3366;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 51, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 51, 102, 0); }
}

@keyframes floatCategory {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Industrial Button Styles */
.btn-industrial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px; /* Sharp edges */
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-darker);
    border: 2px solid var(--accent-cyan);
}

.btn-primary:hover {
    background: var(--precision-blue);
    border-color: var(--precision-blue);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--bg-white);
    background: rgba(255,255,255,0.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: white;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
}

.abstract-img {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    background: linear-gradient(45deg, #f3f4f6 0%, #e5e7eb 100%);
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-left: 5px solid var(--accent-cyan);
}

.experience-badge h2 {
    color: var(--primary-blue);
    margin-bottom: 0;
    font-size: 2rem;
}

.experience-badge p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.mv-box {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition-base);
}

.mv-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.mv-box i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
}

.mv-box h4 {
    margin-bottom: 0.5rem;
}

.mv-box p {
    margin: 0;
    font-size: 0.95rem;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.value-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.value-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(10, 25, 47, 0.15), 0 0 0 1px var(--accent-cyan);
}

.value-card:hover::after {
    opacity: 1;
}

.value-card .icon-box {
    width: 85px;
    height: 85px;
    margin: 0 auto 2rem;
    background: rgba(0, 229, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 2.2rem;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.value-card .icon-box::before {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%;
    border: 1px dashed var(--accent-cyan);
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    transition: all 0.5s ease;
}

.value-card:hover .icon-box {
    background: var(--primary-blue);
    color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.2);
}

.value-card:hover .icon-box::before {
    opacity: 0.3;
    transform: scale(1) rotate(45deg);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(10, 25, 47, 0.0) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px -10px rgba(0, 229, 255, 0.2);
    z-index: 10;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.service-card p {
    color: var(--text-light);
    flex-grow: 1;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--bg-white);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition-slow);
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.2));
}

/* Premium Card Styles */
.premium-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.premium-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}
.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(18, 58, 156, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
}
.premium-card:hover::after {
    opacity: 1;
}

/* Premium SVG Icon Base */
.svg-premium-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    z-index: 1;
    position: relative;
}

/* 1. ASME Pressure Vessel (Full Image Card) */
.image-bg-card { border: none !important; }
.image-bg-card .card-bg-img { transform: scale(1); filter: brightness(0.9); }
.service-card.image-bg-card:hover .card-bg-img { transform: scale(1.1); filter: brightness(1.05); }
.service-card.image-bg-card:hover .glass-content { background: rgba(255, 255, 255, 0.6); transform: translateY(-5px); }
.service-card:hover .anim-heat .heat-shell { stroke: var(--bg-white); transition: stroke 0.4s; }
.service-card:hover .anim-heat .heat-pipe { stroke: #ff4757; animation: heatRadiate 2s infinite alternate; }
.service-card:hover .anim-heat .heat-flow { stroke: var(--accent-cyan); animation: heatFlowAnim 1s linear infinite; }
.service-card:hover .anim-heat .heat-flow-2 { animation-delay: 0.5s; }
@keyframes heatRadiate { 0% { filter: drop-shadow(0 0 2px #ff4757); } 100% { filter: drop-shadow(0 0 10px #ff4757); } }
@keyframes heatFlowAnim { 0% { transform: translateX(-5px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(5px); opacity: 0; } }

/* 3. Storage Tank */
.service-card:hover .anim-tank .tank-top, .service-card:hover .anim-tank .tank-body { stroke: var(--bg-white); transition: stroke 0.4s; }
.service-card:hover .anim-tank .tank-fill { animation: tankFillAnim 3s cubic-bezier(0.4, 0, 0.2, 1) infinite; fill: var(--accent-cyan); }
.service-card:hover .anim-tank .tank-ladder, .service-card:hover .anim-tank .tank-ladder-step { stroke: rgba(255,255,255,0.5); }
@keyframes tankFillAnim { 0% { transform: translateY(20px) scaleY(0.5); opacity: 0.5; } 50% { transform: translateY(0) scaleY(1); opacity: 1; filter: drop-shadow(0 -5px 15px var(--accent-cyan)); } 100% { transform: translateY(20px) scaleY(0.5); opacity: 0.5; } }

/* 4. Skid Design */
.service-card:hover .anim-skid .skid-base { stroke: var(--bg-white); }
.service-card:hover .anim-skid .skid-frame-1 { animation: frameSlideLeft 1.5s ease infinite alternate; stroke: var(--accent-cyan); }
.service-card:hover .anim-skid .skid-frame-2 { animation: frameSlideRight 1.5s ease infinite alternate; stroke: var(--accent-cyan); }
.service-card:hover .anim-skid .skid-node { animation: nodePulse 1.5s infinite; fill: var(--bg-white); }
@keyframes frameSlideLeft { 0% { transform: translate(2px, -2px); } 100% { transform: translate(-2px, 2px); } }
@keyframes frameSlideRight { 0% { transform: translate(-2px, -2px); } 100% { transform: translate(2px, 2px); } }
@keyframes nodePulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--bg-white)); } 50% { transform: scale(1.5); filter: drop-shadow(0 0 10px var(--bg-white)); } }

/* 5. AutoCAD Drafting */
.service-card:hover .anim-draft .draft-compass-left { animation: compassLegLeft 2s ease infinite alternate; stroke: var(--bg-white); }
.service-card:hover .anim-draft .draft-compass-right { animation: compassLegRight 2s ease infinite alternate; stroke: var(--bg-white); }
.service-card:hover .anim-draft .draft-arc { animation: arcDraw 2s ease infinite alternate; stroke: var(--accent-cyan); }
.service-card:hover .anim-draft .draft-hinge { stroke: var(--accent-cyan); fill: var(--bg-white); }
@keyframes compassLegLeft { 0% { transform: rotate(0deg); transform-origin: 50px 20px; } 100% { transform: rotate(10deg); transform-origin: 50px 20px; } }
@keyframes compassLegRight { 0% { transform: rotate(0deg); transform-origin: 50px 20px; } 100% { transform: rotate(-10deg); transform-origin: 50px 20px; } }
@keyframes arcDraw { 0% { stroke-dasharray: 0 100; stroke-opacity: 0; } 100% { stroke-dasharray: 100 100; stroke-opacity: 1; filter: drop-shadow(0 0 8px var(--accent-cyan)); } }

/* 6. BIM & REVIT */
.service-card:hover .anim-bim .bim-cube-top { animation: cubeFloat 2s ease infinite alternate; stroke: var(--bg-white); }
.service-card:hover .anim-bim .bim-cube-left { animation: cubeFloat 2s ease infinite alternate 0.2s; stroke: rgba(255,255,255,0.7); }
.service-card:hover .anim-bim .bim-cube-right { animation: cubeFloat 2s ease infinite alternate 0.4s; stroke: rgba(255,255,255,0.4); }
.service-card:hover .anim-bim .bim-node { animation: dataBlink 1.5s infinite; fill: var(--accent-cyan); }
.service-card:hover .anim-bim .bim-node-2 { animation-delay: 0.4s; }
.service-card:hover .anim-bim .bim-node-3 { animation-delay: 0.8s; }
.service-card:hover .anim-bim .bim-node-4 { animation-delay: 1.2s; }
@keyframes cubeFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-5px); } }
@keyframes dataBlink { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.3); filter: drop-shadow(0 0 6px var(--accent-cyan)); } }

/* SVG Icon Hover Animations for Expertise Section */
.svg-anim-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .svg-anim-icon {
    transform: scale(1.1);
}

/* BIM Build Animation */
.anim-bim-build .draw-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}
.service-card:hover .anim-bim-build .draw-path {
    animation: drawPath 1.5s ease-out forwards;
}
.service-card:hover .anim-bim-build .delay-path {
    animation-delay: 0.5s;
}

/* Structure Animation */
.service-card:hover .anim-structure .beam-pulse {
    animation: beamPulse 1s ease-in-out infinite alternate;
}

/* Architect Animation */
.service-card:hover .anim-architect .compass-leg-left {
    animation: compassLeft 1s ease-in-out infinite alternate;
}
.service-card:hover .anim-architect .compass-leg-right {
    animation: compassRight 1s ease-in-out infinite alternate;
}
.service-card:hover .anim-architect .draw-arc {
    animation: pulseOpacity 1s ease-in-out infinite alternate;
}

/* Facade Animation */
.service-card:hover .anim-facade .pane {
    animation: lightUp 1.5s infinite;
}
.service-card:hover .anim-facade .pane-2 { animation-delay: 0.5s; }
.service-card:hover .anim-facade .pane-3 { animation-delay: 1s; }

/* MEP Animation */
.service-card:hover .anim-mep .gear-spin {
    animation: spin 3s linear infinite;
    transform-origin: 25px 25px;
}
.service-card:hover .anim-mep .gear-spin-reverse {
    animation: spinReverse 2s linear infinite;
    transform-origin: 42px 40px;
}
.service-card:hover .anim-mep .lightning-flash {
    animation: flash 1s infinite alternate;
}

/* Revit Animation */
.service-card:hover .anim-revit .orbit-node {
    animation: pulseNode 1s ease-in-out infinite alternate;
}
.service-card:hover .anim-revit .node-2 { animation-delay: 0.3s; }
.service-card:hover .anim-revit .node-3 { animation-delay: 0.6s; }

@keyframes drawPath { to { stroke-dashoffset: 0; } }
@keyframes beamPulse { 0% { stroke-width: 2; fill: transparent; } 100% { stroke-width: 3; fill: rgba(109,231,221,0.2); } }
@keyframes compassLeft { 0% { transform: rotate(0); transform-origin: 30px 10px; } 100% { transform: rotate(10deg); transform-origin: 30px 10px; } }
@keyframes compassRight { 0% { transform: rotate(0); transform-origin: 30px 10px; } 100% { transform: rotate(-10deg); transform-origin: 30px 10px; } }
@keyframes pulseOpacity { 0% { opacity: 0.3; } 100% { opacity: 1; } }
@keyframes lightUp { 0%, 100% { fill: rgba(109,231,221,0.2); } 50% { fill: rgba(109,231,221,0.8); } }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }
@keyframes flash { 0% { opacity: 0.2; filter: drop-shadow(0 0 0px #ff6b6b); } 100% { opacity: 1; filter: drop-shadow(0 0 10px #ff6b6b); } }
@keyframes pulseNode { 0% { r: 4; fill: var(--accent-cyan); } 100% { r: 7; fill: var(--primary-blue); } }
/* ==========================================================================
   Careers Section Styles
   ========================================================================== */

.careers-content {
    padding-right: 2rem;
}

.job-accordion {
    margin-top: 1rem;
}

.job-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

.job-btn {
    width: 100%;
    text-align: left;
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
}

.job-btn:hover {
    color: var(--primary-blue);
    border-color: rgba(18,58,156,0.2);
}

.job-btn i {
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.job-content {
    padding: 1.5rem;
    color: var(--text-light);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: var(--bg-white);
}

.career-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.career-form label {
    display: block;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.career-form .input-wrapper {
    position: relative;
}

.career-form .input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    opacity: 0.7;
}

.career-form .input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: inherit;
    transition: var(--transition-base);
}

.career-form .input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(18,58,156,0.1);
}

.file-upload-wrapper {
    position: relative;
    border: 1px dashed rgba(0,0,0,0.2);
    border-radius: 8px;
    background: var(--bg-light);
    transition: var(--transition-base);
}

.file-upload-wrapper:hover {
    border-color: var(--accent-cyan);
}

.file-input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    pointer-events: none;
    margin: 0 !important;
}

.file-btn {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 1rem;
}

.file-text {
    color: var(--text-light);
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .careers .split-layout {
        flex-direction: column;
    }
    .careers-content {
        padding-right: 0;
    }
}
/* Expertise Section */
.expertise {
    position: relative;
}

.expertise-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-list {
    margin-top: 2rem;
}

.expertise-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
}

.expertise-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.stat-box h3 {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: white;
    margin: 0;
}

/* Careers Section */
.jobs-container {
    max-width: 800px;
    margin: 4rem auto 0;
    display: grid;
    gap: 2rem;
}

.job-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-cyan);
    transition: var(--transition-base);
}

.job-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.job-header h3 {
    margin: 0;
    color: var(--primary-blue);
}

.badge {
    background: rgba(125, 253, 254, 0.2);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.job-details {
    margin-bottom: 2rem;
}

.job-details p {
    margin-bottom: 0.5rem;
}

.job-details strong {
    color: var(--text-dark);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item .icon {
    width: 60px;
    height: 60px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan-dark);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.location-list li {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    color: var(--text-light);
}

.location-list i {
    color: var(--primary-blue);
    margin-top: 5px;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: #f9fafb;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(125, 253, 254, 0.2);
}

/* Footer */
.footer {
    background: var(--bg-white);
    padding: 5rem 0 0;
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-logo-text .logo-t, .footer-logo-text .logo-text {
    color: var(--primary-blue);
    text-shadow: 0 2px 10px rgba(18, 58, 156, 0.1);
}

.footer-logo-text .logo-h {
    color: #6DE7DD;
}

.footer-logo p {
    margin-top: 1.5rem;
    max-width: 500px;
    color: var(--text-light);
}

.footer h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-light);
}

.footer-links ul li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(18, 58, 156, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-blue);
    transition: var(--transition-base);
}

.social-icons a:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #18538c;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid,
    .expertise-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .experience-badge {
        right: 0;
        bottom: -20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Futuristic Image Animations */
.tech-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(94, 234, 212, 0.15);
    animation: floatImage 6s ease-in-out infinite;
    transform-style: preserve-3d;
    border: 2px solid rgba(255,255,255,0.1);
}

.tech-image-container::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--accent-cyan), transparent, var(--primary-blue), transparent);
    z-index: -1;
    border-radius: 26px;
    background-size: 400%;
    animation: borderGlow 8s linear infinite;
}

.tech-overlay-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

.tech-scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-cyan);
    box-shadow: 0 0 20px 5px rgba(94, 234, 212, 0.8), 0 0 40px 10px rgba(94, 234, 212, 0.4);
    z-index: 3;
    opacity: 0.8;
    animation: scanLine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateX(2deg) rotateY(-2deg); }
}

.scrolling-image-track {
    display: flex;
    width: 400%;
    animation: slideImages 20s infinite ease-in-out;
}

@keyframes slideImages {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-25%); }
    50%, 70% { transform: translateX(-50%); }
    75%, 95% { transform: translateX(-75%); }
    100% { transform: translateX(0); }
}

@keyframes scanLine {
    0%, 100% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    95% { top: 100%; opacity: 0; }
}

@keyframes borderGlow {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta .btn {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile Menu (simplified for this task) */
    .nav-active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }
    
    .nav-active li a {
        color: var(--text-dark) !important;
        font-size: 1.2rem;
        display: block;
        padding: 0.5rem 0;
    }
}

/* Staggered Entrance Animations */
@keyframes premiumFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-logo-icon,
.animate-logo-text,
.animate-nav {
    opacity: 0;
    animation: premiumFadeInUp 0.8s ease-out forwards;
}

.animate-logo-icon {
    animation-delay: 0s;
}

.animate-logo-text {
    animation-delay: 0.15s;
}

.animate-nav {
    animation-delay: 0.35s;
}


/* Animated Blueprint Background */
.header-blueprint-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.05;
    background-image: 
        radial-gradient(#39E6FF 1px, transparent 1px),
        linear-gradient(rgba(57, 230, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 230, 255, 0.5) 1px, transparent 1px);
    background-size: 30px 30px, 60px 60px, 60px 60px;
    background-position: 0 0, 0 0, 0 0;
    animation: blueprintDrift 40s linear infinite;
}

@keyframes blueprintDrift {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: -60px 60px, -60px 60px, -60px 60px; }
}


/* Modern About Section */
.about-modern { background-color: #fcfdfd; }
.about-modern-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
@media (max-width: 991px) { .about-modern-grid { grid-template-columns: 1fr; gap: 40px; } }
.gradient-frame { position: relative; padding: 12px; background: linear-gradient(135deg, #e3a676, #9db468, #c68585); border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.gradient-frame .inner-img { width: 100%; height: auto; display: block; border-radius: 6px; object-fit: cover; aspect-ratio: 1 / 1.1; }
.profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.logo-circles { position: relative; width: 80px; height: 80px; }
.logo-circles .circle { position: absolute; border-radius: 50%; width: 55px; height: 55px; opacity: 0.85; }
.logo-circles .c-pink { background-color: #f08c99; top: -5px; left: -10px; }
.logo-circles .c-yellow { background-color: #eed67e; top: 15px; right: 0px; }
.logo-circles .c-green { background-color: #b2d4b8; bottom: -5px; left: 10px; }
.logo-circles .center-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 35px; z-index: 10; }
.profile-titles { display: flex; flex-direction: column; }
.company-profile-text { font-family: var(--font-heading); color: #79a179; font-weight: 700; font-size: 1.1rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px; }
.company-name-text { font-family: var(--font-heading); color: #c93b62; font-weight: 600; font-size: 2.2rem; margin: 0; line-height: 1; }
.pink-underline { height: 3px; background-color: #e8a0ba; width: 100%; margin-top: 10px; border-radius: 2px; }
.about-content-card { background: #ffffff; border-left: 6px solid #d4597b; border-radius: 16px; padding: 35px 45px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); }

/* Premium Light About Section */
.about-premium {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Background Glowing Orbs (Soft Pastels) */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: floatOrb 10s infinite alternate ease-in-out;
}
.orb-1 { width: 400px; height: 400px; background: rgba(229, 115, 115, 0.15); top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: rgba(230, 200, 110, 0.2); bottom: -50px; right: 10%; animation-delay: -3s; }
.orb-3 { width: 250px; height: 250px; background: rgba(163, 196, 168, 0.2); top: 30%; left: 40%; animation-delay: -6s; }

@keyframes floatOrb {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

.about-premium .container { position: relative; z-index: 2; }

.about-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 991px) {
    .about-premium-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* Cyber Frame for Image (Warm Light Theme) */
.cyber-frame {
    position: relative;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e3a676, #9db468, #c68585);
    animation: floatImage 6s ease-in-out infinite alternate;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

.cyber-frame-glow {
    display: none; /* Not needed for light theme */
}

.cyber-frame .inner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: cover;
    aspect-ratio: 1 / 1.1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cyber-corner {
    display: none; /* Remove cyber corners for elegant light theme */
}

/* Animated Logo Circles (Soft Bright Colors) */
.logo-circles-animated {
    position: relative;
    width: 80px;
    height: 80px;
    animation: rotateSlowly 15s linear infinite;
}

@keyframes rotateSlowly {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-circles-animated .circle {
    position: absolute;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    opacity: 0.85;
    mix-blend-mode: multiply;
}

.logo-circles-animated .c-cyan { background-color: #f08c99; top: -5px; left: -10px; } /* Pink */
.logo-circles-animated .c-blue { background-color: #eed67e; top: 15px; right: 0px; } /* Yellow */
.logo-circles-animated .c-purple { background-color: #b2d4b8; bottom: -5px; left: 10px; } /* Green */

/* Un-rotate the center logo so it stays upright while circles spin */
.logo-circles-animated .animated-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    z-index: 10;
    animation: counterRotate 15s linear infinite, pulseGlowLight 3s ease-in-out infinite alternate;
}

@keyframes counterRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes pulseGlowLight {
    0% { filter: drop-shadow(0 0 2px rgba(232, 160, 186, 0.3)); }
    100% { filter: drop-shadow(0 0 10px rgba(232, 160, 186, 0.8)); }
}

/* Glassmorphism Text Card (Light) */
.about-glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-left: 6px solid #d4597b;
    border-radius: 16px;
    padding: 35px 45px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Add a subtle highlight reflection inside the glass card */
.about-glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    pointer-events: none;
}

.glass-text {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.glass-text:last-child { margin-bottom: 0; }

.company-profile-text {
    font-family: var(--font-heading);
    color: #79a179;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.company-name-text {
    font-family: var(--font-heading);
    color: #c93b62;
    font-weight: 600;
    font-size: 2.2rem;
    margin: 0;
    line-height: 1;
    text-shadow: none;
}

.cyan-underline {
    height: 3px;
    background: #e8a0ba;
    width: 100%;
    margin-top: 15px;
    border-radius: 2px;
}

/* ==========================================================================
   3D Flip Card Animation Styles
   ========================================================================== */
.flip-card-container {
    perspective: 1500px;
    width: 100%;
    height: 350px;
    position: relative;
    z-index: 1;
    transition: z-index 0s 0.8s;
}

.flip-card-container:hover,
.flip-card-container:has(.is-flipped) {
    z-index: 100;
    transition: z-index 0s 0s;
}

.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.flip-card.is-flipped {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.read-more-btn {
    transition: transform 0.3s;
}
.read-more-btn:hover {
    transform: scale(1.05);
}

.animate-shimmer {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-cyan) 50%, var(--primary-blue) 100%);
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: shimmer 3s linear infinite;
    display: inline-block;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Job Accordion Styles */
.job-item {
    margin-bottom: 15px;
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.job-item.active {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.job-item .job-btn {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: var(--bg-white);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.job-item.active .job-btn {
    background: #0077b6; /* From screenshot */
    color: var(--bg-white);
}
.job-content {
    background: var(--bg-white);
}
.job-item.active .job-content {
    border-top: 1px solid rgba(0,0,0,0.05);
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 4px rgba(0, 229, 255, 0.4), 0 0 10px rgba(0, 229, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 8px rgba(0, 229, 255, 0.8), 0 0 16px rgba(0, 229, 255, 0.6), 0 0 25px rgba(0, 229, 255, 0.4);
    }
    100% {
        text-shadow: 0 0 4px rgba(0, 229, 255, 0.4), 0 0 10px rgba(0, 229, 255, 0.2);
    }
}

.glow-text-h {
    color: #00E5FF !important;
    animation: textGlow 2s ease-in-out infinite alternate;
}


/* =========================================
   GLOBAL RESPONSIVE OVERRIDES
   ========================================= */

/* Tablet & Mobile Layouts */
@media (max-width: 991px) {
    /* Fix Hero Video to fill screen without plain spaces */
    #hero-bg-video {
        object-fit: cover !important;
        background-color: #0B1D4F !important;
    }
    
    /* Ensure typography scales down */
    h1, .hero-title { font-size: 2.5rem !important; line-height: 1.2 !important; }
    h2, .section-title { font-size: 2rem !important; }
    h3 { font-size: 1.5rem !important; }
    p, .hero-subtitle { font-size: 1rem !important; }
    
    /* Section Paddings */
    .hero { min-height: 80vh !important; }
    .section-padding, section { padding: 60px 0 !important; }
    
    /* Collapse generic grids if they aren't already */
    .services-grid, .expertise-grid, .stats-grid, .careers-grid, .footer-grid, .contact-grid, .grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Center text in certain sections */
    .about-text, .contact-info { text-align: center !important; }
}

/* Mobile Specific (Phones) */
@media (max-width: 768px) {
    /* Further scale typography */
    h1, .hero-title { font-size: 2rem !important; }
    h2, .section-title { font-size: 1.8rem !important; }
    
    /* Header / Navbar Mobile Fix */
    .nav-links {
        display: none !important; /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Below header */
        left: 0;
        width: 100%;
        background: rgba(11, 29, 79, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    /* Toggled by main.js */
    .nav-links.nav-active {
        display: flex !important;
    }
    
    .nav-links li {
        margin: 15px 0 !important;
        text-align: center;
    }
    
    /* Adjust buttons */
    .btn, .cta-button {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    
    /* Fix contact top bar */
    .top-bar { display: none !important; } /* Hide top contact bar on small phones */
}

/* Mobile Menu 3-Dots & Dropdown Settings */
@media (max-width: 991px) {
    .hamburger {
        display: block !important;
        cursor: pointer;
        font-size: 1.8rem;
        color: var(--primary-blue);
        padding: 5px 15px;
        margin-left: auto;
    }
    
    .navbar {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        position: relative;
    }

    /* Active Menu Settings (Only applied when nav-active is present) */
    .nav-links.nav-active {
        display: flex !important;
        width: 150px !important;
        height: auto !important;
        max-height: 80vh !important;
        overflow-y: auto;
        left: auto !important;
        right: 0 !important;
        top: 70px !important;
        margin: 0 !important;
        border-radius: 0 0 0 8px;
        padding: 10px 0 !important;
        background: #0B4F9C !important;
        box-shadow: -5px 5px 15px rgba(0,0,0,0.3) !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .nav-links li {
        margin: 10px 0 !important;
    }
    
    .nav-links li a {
        font-size: 0.95rem;
        display: block;
        padding: 10px 15px; /* Increase padding for easier tapping */
        color: #FFFFFF !important; /* White text on blue background */
        font-weight: 600;
    }
}
@media (min-width: 992px) {
    .hamburger { display: none !important; }
}

/* =========================================
   MOBILE UI/UX POLISH
   ========================================= */
@media (max-width: 768px) {
    /* 1. Hamburger Touch Target */
    .hamburger {
        padding: 12px 15px !important; /* Larger touch target */
    }

    /* 2. Hero Center Alignment */
    .hero-title, .hero-subtitle, .hero .cta-button {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    /* 3. Typography Adjustments for Readability */
    h1, .hero-title { font-size: 2.2rem !important; line-height: 1.3 !important; }
    h2, .section-title { font-size: 1.8rem !important; line-height: 1.3 !important; }
    p { font-size: 1rem !important; line-height: 1.6 !important; }

    /* 4. Section Paddings and Grid Gaps */
    .section-padding, section { padding: 45px 0 !important; }
    .services-grid, .expertise-grid, .stats-grid, .careers-grid, .footer-grid, .contact-grid, .grid {
        gap: 20px !important; /* Tighter layout */
    }

    /* 5. Contact Form iOS Fix */
    input, textarea, select {
        font-size: 16px !important; /* Prevents iOS auto-zoom */
    }

    /* 6. Watermark Centering */
    .watermark-logo {
        left: 50% !important;
    }
}
