/* Modern Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Satoshi:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

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

html, body {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2a2a2a;
    overflow-x: hidden;
    background-color: #ffffff;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Add padding to first section to account for fixed navbar */
body > section:first-of-type {
    padding-top: 80px;
}

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

/* Modern Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #2a2a2a;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
}

h4 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

h5, h6 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a4a4a;
    font-weight: 400;
}

.lead {
    font-size: 1.375rem;
    line-height: 1.6;
    font-weight: 300;
    color: #2a2a2a;
    margin-bottom: 2rem;
}

.small-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666;
}

strong {
    font-weight: 600;
    color: #333;
}

.highlight {
    color: #0066cc;
    font-weight: 500;
}

.accent-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    position: relative;
    overflow: hidden;
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052a3, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    animation-play-state: paused;
}

@keyframes subtle-glow {
    0% {
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4), 0 0 0 0 rgba(0, 102, 204, 0.6);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.8), 0 0 40px 12px rgba(0, 170, 255, 0.7);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4), 0 0 0 0 rgba(0, 102, 204, 0.6);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    color: #2a2a2a;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: #0066cc;
    transform: translateY(-1px);
}

/* Contact button styling */
.nav-contact {
    position: relative;
}

.nav-link-contact {
    background: linear-gradient(135deg, #0066cc, #00aaff) !important;
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3) !important;
}

.nav-link-contact:hover {
    background: linear-gradient(135deg, #0052a3, #0088cc) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4) !important;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a1a1a;
    contain: layout style paint;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden;
    will-change: auto;
    pointer-events: none;
}

/* Ensure video never moves regardless of any other CSS */
.hero-video[style*="transform"] {
    transform: translate3d(0, 0, 0) !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-container {
    text-align: center;
    color: white;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    white-space: normal !important;
    display: block;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

    .hero-cta {
        margin-top: 2rem;
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: white;
    border: 2px solid transparent;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, #0052a3, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.hero-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.hero-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Left-aligned section header */
.section-header-left {
    text-align: left;
    margin-bottom: 4rem;
}

.section-header-left h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Headlines with decorative lines */
.headline-with-line {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem !important;
}

.headline-with-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    border-radius: 2px;
}

/* Center the line for centered headers */
.section-header .headline-with-line::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    grid-column: 1;
    text-align: left;
}

.about-text p {
    font-size: 0.85rem;
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.about-image {
    grid-column: 2;
    width: 100%;
}

/* Vision section specific layout - image on left, text on right */
.vision-section .about-text {
    grid-column: 2;
}

.vision-section .about-image {
    grid-column: 1;
}

.about-cta {
    margin-top: 2rem;
    text-align: left;
}

.about-image .image-carousel {
    height: 400px;
    width: 100%;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.about-cta {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
}

/* About Page Specific Styles */
/* Unified Hero Header - All Pages */
.page-header,
.enterprise-header {
    background-size: cover;
    background-position: center;
    color: white;
    height: 400px;
    padding: 0;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Default fallback background removed - using HTML img tags for SEO */
.page-header {
    background: transparent;
}

/* Hero Header Container Styling */
.page-header .container,
.enterprise-header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* Hero Header Typography */
.page-header h1,
.enterprise-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    z-index: 10;
    text-transform: uppercase;
}

/* Mobile responsive typography */
@media (max-width: 768px) {
    .page-header h1,
    .enterprise-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .page-header h1,
    .enterprise-header h1 {
        font-size: 2rem;
    }
}

/* Removed duplicate - unified with main hero header styling */

.page-header p {
    font-size: 1.1rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.story-section, .vision-section, .team-section {
    padding: 25px 0;
}

.vision-section {
    background: #f8f9fa;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

/* Services Section */
.services {
    background: radial-gradient(ellipse 120% 150% at center, #e9ecef 0%, #dee2e6 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.services-grid .home-service-item:nth-child(1) {
    grid-column: 1 / 3;
}

.services-grid .home-service-item:nth-child(2) {
    grid-column: 3 / 5;
}

.services-grid .home-service-item:nth-child(3) {
    grid-column: 5 / 7;
}

.services-grid .home-service-item:nth-child(4) {
    grid-column: 2 / 4;
}

.services-grid .home-service-item:nth-child(5) {
    grid-column: 4 / 6;
}

.services-grid .service-item:nth-child(1) {
    grid-column: 1 / 3;
}

.service-item {
    text-align: center;
    padding: 2rem;
}

.service-icon {
    font-size: 3rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-item p {
    color: #666;
}

.services-cta {
    text-align: center;
    margin-top: 2rem;
}

.services-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.services-description p {
    font-size: 0.9rem;
    color: #666;
}

/* Home Page Service Item Styles */
.home-service-item {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.home-service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.home-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 4px;
    background-color: #0066cc;
    transition: width 0.4s ease;
}

.home-service-item:hover::before {
    width: 100%;
}

.home-service-item .service-icon {
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 1rem;
}

.home-service-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.home-service-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
}

/* Marquee Section */
.marquee-section {
    background: #f8f9fa;
    padding: 60px 0;
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 40s linear infinite;
    align-items: center;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 60px;
    flex-shrink: 0;
}

.marquee-item img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.7);
    transition: all 0.3s ease;
}

.marquee-item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Work Section - Card Slider */
.work {
    background: #2a2a2a;
    color: white !important;
    overflow: hidden;
}

.work .section-header h2 {
    color: white !important;
    text-shadow: none;
}

.work .section-subtitle {
    color: #ccc !important;
    text-shadow: none;
}

.work .section-header p {
    color: #e0e0e0 !important;
    text-shadow: none;
    font-size: 1rem;
    line-height: 1.6;
}

.work strong {
    color: #66b3ff !important;
    text-shadow: none;
}

/* Card Slider Container */
.card-slider-container {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.card-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.card-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 1rem;
}

/* Work Card Styling */
.work-card {
    flex: 0 0 300px;
    height: 400px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    scroll-snap-align: start;
    background: #111;
    transform-origin: center;
}

.work-card:focus {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}

.work-card.active {
    flex: 0 0 500px;
    height: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(1.02);
    z-index: 2;
}

/* Card Background Image */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.work-card:hover .card-background img {
    transform: scale(1.05);
}

.work-card.active .card-background img {
    transform: scale(1.02);
}

/* Card Content Overlay */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95));
    color: white;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.work-card .card-content h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: font-size 0.6s ease;
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    filter: none !important;
    animation: none !important;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.6s ease;
}

/* Expanded Card Content */
.card-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s ease;
    margin-top: 1rem;
}

.work-card.active .card-description {
    max-height: 200px;
    opacity: 1;
}

.work-card.active .card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    filter: none !important;
    animation: none !important;
}

.work-card.active .card-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.card-description p {
    font-size: 0.8rem;
    line-height: 1.3;
    color: #ddd;
    margin-bottom: 1.5rem;
}

/* Learn More Button */
.card-learn-more {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #0066cc, #0099ff);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
    border: 2px solid transparent;
}

.card-learn-more:hover {
    background: transparent;
    border-color: #0066cc;
    color: #0066cc;
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.4);
    transform: translateY(-2px);
}

.card-learn-more:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Navigation Dots */
.slider-navigation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.nav-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #666;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 6px;
}

.nav-dot:hover {
    border-color: #0066cc;
    transform: scale(1.2);
}

.nav-dot.active {
    background: #0066cc;
    border-color: #0066cc;
    transform: scale(1.3);
}

.nav-dot:focus {
    outline: 2px solid #0066cc;
    outline-offset: 3px;
}

/* Work Detail Page Styles */
.work-showcase {
    padding: 100px 0;
    background: #f8f9fa;
}

.work-grid-detail {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.work-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.work-detail-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.work-detail-item.reverse .work-detail-image {
    order: 2;
}

.work-detail-item.reverse .work-detail-content {
    order: 1;
}

.work-detail-image {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.work-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-detail-item:hover .work-detail-image img {
    transform: scale(1.05);
}

.work-detail-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.work-detail-content h3 {
    font-size: 2rem;
    font-weight: 900;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.work-detail-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.work-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.work-detail-content ul li {
    font-size: 0.9rem;
    color: #555;
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.work-detail-content ul li:before {
    content: "★";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* Case Study Link Styling */
.case-study-link {
    margin-top: 2rem;
}

.case-study-link .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.case-study-link .btn-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.2);
}

/* Work CTA Section */
.work-cta {
    background: transparent;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: white !important;
}

.cta-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Work Detail */
@media (max-width: 768px) {
    .work-detail-item,
    .work-detail-item.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .work-detail-item.reverse .work-detail-image,
    .work-detail-item.reverse .work-detail-content {
        order: unset;
    }
    
    /* On mobile, always show text first, then image */
    .work-detail-content {
        order: 1 !important;
    }
    
    .work-detail-image {
        order: 2 !important;
    }
    
    .work-detail-content h3 {
        font-size: 1.5rem;
    }
    
    .work-detail-image img {
        height: 300px;
    }
    
    .work-grid-detail {
        gap: 4rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: transparent;
    color: white !important;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

.contact-info h2 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #0066cc;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    color: #0066cc;
    text-decoration: none;
}

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: white !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group select option {
    background: #333;
    color: white;
}

/* Services Page Styles */
.services-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-detail-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.service-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(0, 102, 204, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.service-detail-section.alternate {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    position: relative;
}

.service-detail-section.alternate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 75% 75%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.service-detail-section:nth-of-type(3) {
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    position: relative;
}

.service-detail-section:nth-of-type(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 102, 204, 0.01) 50%, transparent 51%);
    pointer-events: none;
}

.service-detail-section:nth-of-type(5) {
    background: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 100%);
    position: relative;
}

.service-detail-section:nth-of-type(5)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 102, 204, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Alternate sections - flip the order so image comes first, then text */
.service-detail-section.alternate .service-detail-content {
    grid-template-columns: 1fr 1fr;
}

.service-detail-section.alternate .service-detail-text {
    order: 2;
}

.service-detail-section.alternate .service-detail-image {
    order: 1;
}

.service-detail-text {
    max-width: 600px;
}

.service-icon-large {
    font-size: 4rem;
    color: #0066cc;
    margin-bottom: 2rem;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.service-detail-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 1.5rem;
}

.service-detail-text p {
    font-size: 0.85rem;
    line-height: 1.35;
    margin-bottom: 2rem;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.service-item-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 122, 204, 0.05);
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.service-item-inline i {
    color: #0066cc;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.service-item-inline span {
    font-weight: 600;
    font-size: 0.9rem;
}

.service-detail-image {
    position: relative;
}

/* Image Carousel Styles - Using Work Page System */
.image-carousel {
    position: relative;
    width: 100%;
    height: 640px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-carousel:hover .carousel-slide img {
    transform: scale(1.02);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.image-carousel:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 15px;
}

.carousel-arrow.next {
    right: 15px;
}

/* Fallback for single image */
.service-detail-image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-detail-image:hover img {
    transform: scale(1.02);
}

.why-choose-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    color: #1a1a1a;
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    justify-items: center;
}

.why-choose-item {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    font-size: 3rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.why-choose-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.why-choose-item p {
    font-size: 0.85rem;
    line-height: 1.35;
    color: #666666;
}

.services-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 25%, #003d7a 50%, #005f99 75%, #0066cc 100%) !important;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.services-cta-section .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-cta-section .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    min-width: 200px;
    font-size: 0.9rem;
    padding: 1rem 2rem;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: white;
    color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Case Studies Grid - More Specific Selectors */
.services-cta-section .case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-section .case-study-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.services-cta-section .case-study-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    min-height: 140px !important;
    min-width: auto !important;
    max-width: none !important;
    width: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: none !important;
}

.services-cta-section .case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.4s;
}

.services-cta-section .case-study-card:hover::before {
    left: 100%;
}

.services-cta-section .case-study-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.services-cta-section .case-study-card h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.4rem !important;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.services-cta-section .case-study-card p {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 !important;
    line-height: 1.4;
    font-weight: 400;
}

/* Case Study Thumbnails */
.services-cta-section .case-study-thumbnail {
    width: 100%;
    height: 80px;
    margin: 0;
    border-radius: 7px 7px 0 0;
    overflow: hidden;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-cta-section .case-study-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0.05) 50%, transparent 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.services-cta-section .case-study-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
    display: block;
    min-width: 100%;
    min-height: 100%;
}

.services-cta-section .case-study-card:hover .case-study-thumbnail {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.services-cta-section .case-study-card:hover .case-study-thumbnail::before {
    opacity: 0.7;
}

.services-cta-section .case-study-card:hover .case-study-thumbnail img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.15) saturate(1.2);
}

/* Case Study Content Area */
.services-cta-section .case-study-content {
    padding: 1rem 1rem 1.2rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Footer */
.footer {
    background: #111;
    color: white;
    padding: 2rem 0 0.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    color: #ffffff !important;
}

.footer-logo p {
    color: #ccc !important;
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

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

.footer-section ul li a {
    color: #ccc !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #0066cc;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-social a {
    color: #ccc !important;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #0066cc;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #ffffff !important;
    font-size: 0.85rem;
}

/* More specific mobile footer styling */
.footer .footer-bottom {
    font-size: 0.85rem;
}

/* Target footer bottom paragraph directly */
.footer-bottom p,
.footer .footer-bottom p,
footer .footer-bottom p {
    font-size: inherit !important;
    line-height: 1.3 !important;
}

/* Emergency small font CSS - if text is still large after this, there's a caching issue */
@media (max-width: 500px) {
    .footer-bottom,
    .footer .footer-bottom,
    footer .footer-bottom,
    .footer-bottom p,
    .footer .footer-bottom p,
    footer .footer-bottom p {
        font-size: 0.25rem !important;
        line-height: 1.2 !important;
    }
}

.footer-bottom p {
    color: #ffffff !important;
}

.footer-bottom a {
    color: inherit !important;
    text-decoration: none !important;
}

.footer-bottom a:hover,
.footer-bottom a:visited,
.footer-bottom a:active,
.footer-bottom a:focus {
    color: inherit !important;
    text-decoration: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
        transition: all 0.3s ease;
    }

    /* Reorder team content within sections on about page for mobile */
    .vision-section .about-content {
        flex-direction: column-reverse;
    }

    .team-section .about-content {
        flex-direction: column;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        z-index: 999;
        height: 100vh;
        padding: 2rem 0;
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
        opacity: 0;
        transform: translateX(-50px);
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link {
        color: #ffffff !important;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        display: block;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .nav-menu .nav-link:hover::before {
        left: 100%;
    }

    .nav-menu .nav-link:hover {
        color: #0066cc !important;
        background: rgba(0, 102, 204, 0.1);
        transform: none;
    }

    /* Mobile contact button styling */
    .nav-menu .nav-link-contact {
        background: linear-gradient(135deg, #0066cc, #00aaff) !important;
        color: white !important;
        border-radius: 25px !important;
        margin: 1rem auto !important;
        max-width: 200px !important;
        text-align: center !important;
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3) !important;
    }

    .nav-menu .nav-link-contact:hover {
        background: linear-gradient(135deg, #0052a3, #0088cc) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4) !important;
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown > .nav-link {
        position: relative;
        padding-right: 3rem;
    }

    .nav-dropdown > .nav-link::after {
        content: '+';
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        color: #0066cc;
    }

    .nav-dropdown.active > .nav-link::after {
        transform: translateY(-50%) rotate(45deg);
    }

    .dropdown-menu {
        position: static;
        display: none;
        visibility: visible;
        opacity: 1;
        background: rgba(0, 0, 0, 0.8);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        backdrop-filter: blur(5px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-dropdown.active .dropdown-menu li:nth-child(1) { transition-delay: 0.1s; }
    .nav-dropdown.active .dropdown-menu li:nth-child(2) { transition-delay: 0.2s; }
    .nav-dropdown.active .dropdown-menu li:nth-child(3) { transition-delay: 0.3s; }
    .nav-dropdown.active .dropdown-menu li:nth-child(4) { transition-delay: 0.4s; }
    .nav-dropdown.active .dropdown-menu li:nth-child(5) { transition-delay: 0.5s; }
    .nav-dropdown.active .dropdown-menu li:nth-child(6) { transition-delay: 0.6s; }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu li a {
        color: #cccccc !important;
        font-size: 0.95rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 0.7rem 3rem;
        display: block;
        transition: all 0.3s ease;
        position: relative;
    }

    .dropdown-menu li a::before {
        content: '→';
        position: absolute;
        left: 2.5rem;
        opacity: 0;
        transition: all 0.3s ease;
        transform: translateX(-10px);
    }

    .dropdown-menu li a:hover {
        color: #0066cc !important;
        background: rgba(0, 102, 204, 0.15);
        padding-left: 3.5rem;
    }

    .dropdown-menu li a:hover::before {
        opacity: 1;
        transform: translateX(0);
    }

    /* Hamburger Animation Enhancement */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

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

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

    /* Mobile Menu Backdrop */
    .nav-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-cta {
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
        gap: 3rem;
        grid-template-columns: 1fr;
        display: flex;
    }
    
    .contact-form {
        background: rgba(255, 255, 255, 0.1);
        padding: 1.5rem;
        border-radius: 10px;
        backdrop-filter: blur(10px);
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .contact-details {
        margin-top: 1.5rem;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo {
        text-align: left !important;
    }
    
    .footer-logo p {
        text-align: left !important;
    }

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

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

    .footer-bottom {
        text-align: center;
        font-size: 0.5rem !important;
    }
    
    .footer .footer-bottom {
        font-size: 0.5rem !important;
    }
    
    .footer-bottom p,
    .footer .footer-bottom p,
    footer .footer-bottom p {
        font-size: 0.5rem !important;
    }

    .work-card {
        flex: 0 0 280px;
        height: 350px;
    }
    
    .work-card.active {
        flex: 0 0 320px;
        height: 450px;
    }
    
    .work-card.active .card-description {
        max-height: 250px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .work-card .card-content h3 {
        font-size: 1.2rem;
        color: white !important;
        background: none !important;
        -webkit-text-fill-color: white !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        filter: none !important;
        animation: none !important;
    }
    
    .work-card.active .card-content h3 {
        font-size: 1.6rem;
        color: white !important;
        background: none !important;
        -webkit-text-fill-color: white !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        filter: none !important;
        animation: none !important;
    }
    
    .card-learn-more {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .card-track {
        padding: 0 0.5rem;
        gap: 0.75rem;
    }
    
    /* Why Choose LVEP Section - 768px Responsive */
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

      .container {
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .service-detail-section {
    padding: 20px 0;
    overflow: hidden;
  }
  
  .service-detail-section .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }

    .work-card {
        flex: 0 0 250px;
        height: 300px;
    }
    
    .work-card.active {
        flex: 0 0 280px;
        height: 420px;
    }
    
    .work-card.active .card-description {
        max-height: 280px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .work-card .card-content h3 {
        font-size: 1rem;
        color: white !important;
        background: none !important;
        -webkit-text-fill-color: white !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        filter: none !important;
        animation: none !important;
    }
    
    .work-card.active .card-content h3 {
        font-size: 1.4rem;
        color: white !important;
        background: none !important;
        -webkit-text-fill-color: white !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        filter: none !important;
        animation: none !important;
    }
    
    .card-subtitle {
        font-size: 0.8rem;
    }
    
    .work-card.active .card-subtitle {
        font-size: 0.9rem;
    }
    
    .card-learn-more {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    
    .card-description p {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .services-grid .home-service-item:nth-child(1),
    .services-grid .home-service-item:nth-child(2),
    .services-grid .home-service-item:nth-child(3),
    .services-grid .home-service-item:nth-child(4),
    .services-grid .home-service-item:nth-child(5) {
        grid-column: 1;
        display: flex;
        flex-direction: column;
        min-height: 180px;
        padding: 1.5rem 1.25rem;
    }
    
    .services-grid .home-service-item h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        flex-shrink: 0;
    }
    
    .services-grid .home-service-item p {
        font-size: 0.8rem;
        line-height: 1.4;
        flex-grow: 1;
        margin-bottom: 0;
    }
    
    .services-grid .home-service-item .service-icon {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        flex-shrink: 0;
    }
    
    .marquee-section {
        padding: 40px 0;
    }
    
    .marquee-item {
        margin: 0 30px;
    }
    
    .marquee-item img {
        height: 45px;
        max-width: 120px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-item {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }

    .why-choose-item h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }

    .why-choose-item p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }

    .why-icon {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .why-choose-section {
        padding: 50px 0 !important;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }
    
    .capability-category {
        padding: 2rem 1.5rem;
    }
    
    .services-cta-section .cta-content h2 {
        font-size: 2rem;
    }

    .services-cta-section .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }

    .services-cta-section .case-study-card {
        padding: 0 !important;
        min-height: 140px !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .services-cta-section .case-study-thumbnail {
        width: 100%;
        height: 70px;
        flex-shrink: 0;
    }
    
    .services-cta-section .case-study-content {
        padding: 0.75rem 0.8rem 1rem 0.8rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .services-cta-section .case-study-card h3 {
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem;
        line-height: 1.2;
        font-weight: 600;
    }
    
    .services-cta-section .case-study-card p {
        font-size: 0.7rem !important;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .carousel-arrow.prev {
        left: 10px;
    }
    
    .carousel-arrow.next {
        right: 10px;
    }
    
    .carousel-nav {
        bottom: 15px;
        gap: 6px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        font-size: 0.35rem !important;
    }
    
    .footer .footer-bottom {
        font-size: 0.35rem !important;
    }
    
    .footer-bottom p,
    .footer .footer-bottom p,
    footer .footer-bottom p {
        font-size: 0.35rem !important;
    }
    
    /* Structure CTA mobile fixes */
    .structure-cta {
        padding: 60px 0 !important;
    }
    
    .structure-cta h2 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .structure-cta p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
}

/* Extra small devices (very small mobile screens) */
@media (max-width: 360px) {
    .footer-bottom {
        font-size: 0.3rem !important;
        padding-top: 1rem !important;
    }
    
    .footer .footer-bottom {
        font-size: 0.3rem !important;
    }
    
    .footer-bottom p,
    .footer .footer-bottom p,
    footer .footer-bottom p {
        font-size: 0.3rem !important;
    }
}

/* Additional mobile responsive breakpoint for case studies */
@media (max-width: 390px) {
    .work-card.active {
        height: 440px;
    }
    
    .work-card.active .card-description {
        max-height: 300px;
    }
    
    .card-learn-more {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-top: 0.5rem;
    }
    
    .services-cta-section .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-cta-section .case-study-card {
        min-height: 120px !important;
    }
    
    .services-cta-section .case-study-thumbnail {
        height: 60px;
    }
    
    .services-cta-section .case-study-content {
        padding: 0.6rem 0.7rem 0.8rem 0.7rem;
    }
    
    .services-cta-section .case-study-card h3 {
        font-size: 0.8rem !important;
    }
    
    .services-cta-section .case-study-card p {
        font-size: 0.65rem !important;
    }
}

/* Loading Animation */
.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Slide-in Animations from Left and Right */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for work items */
.work-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.work-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.work-item:nth-child(even) {
    transition-delay: 0.2s;
}

.work-item:nth-child(odd) {
    transition-delay: 0.1s;
}

/* Gallery items slide in alternating directions */
.gallery-item {
    opacity: 0;
    transition: all 0.7s ease-out;
}

.gallery-item:nth-child(odd) {
    transform: translateX(-50px);
}

.gallery-item:nth-child(even) {
    transform: translateX(50px);
}

.gallery-item.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Service items slide in from different directions */
.service-item {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.service-item:nth-child(1) {
    transform: translateX(-80px);
    transition-delay: 0.1s;
}

.service-item:nth-child(2) {
    transform: translateX(80px);
    transition-delay: 0.2s;
}

.service-item:nth-child(3) {
    transform: translateX(-80px);
    transition-delay: 0.3s;
}

.service-item:nth-child(4) {
    transform: translateX(80px);
    transition-delay: 0.4s;
}

.service-item:nth-child(5) {
    transform: translateY(50px);
    transition-delay: 0.5s;
}

.service-item.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth scrolling for Safari */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    html {
        scroll-behavior: smooth;
    }
}

/* Magical Cards Values Section */
.values-section {
    position: relative;
    background: #1a1a2e;
    color: #ffffff;
    padding: 40px 0 30px 0;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.values-section .container {
    position: relative;
    z-index: 1;
}

.values-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 1;
    position: relative;
}

.values-section .section-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: white;
}

.values-section .section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes text-glow {
    0% {
        text-shadow: 0 0 5px rgba(65, 105, 225, 0.3),
                     0 0 10px rgba(65, 105, 225, 0.2);
    }
    100% {
        text-shadow: 0 0 10px rgba(65, 105, 225, 0.5),
                     0 0 15px rgba(65, 105, 225, 0.3),
                     0 0 20px rgba(65, 105, 225, 0.2);
    }
}

.magical-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 2rem 2rem 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 3000px;
    transform-style: preserve-3d;
    z-index: 1;
    position: relative;
}

.magical-card {
    position: relative;
    width: 320px;
    height: 420px;
    background: rgba(15, 20, 54, 0.7);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
                0 0 10px var(--glow, rgba(65, 105, 225, 0.3));
    overflow: visible;
    backdrop-filter: blur(5px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    z-index: 1;
    perspective: 1500px;
    cursor: pointer;
    border: 1px solid var(--glow, rgba(65, 105, 225, 0.3));
    /* animation: card-float 6s ease-in-out infinite alternate; TEMPORARILY DISABLED */
}

.magical-card:nth-child(1) {
    animation-delay: 0s;
}

.magical-card:nth-child(2) {
    animation-delay: 2s;
}

.magical-card:nth-child(3) {
    animation-delay: 4s;
}

@keyframes card-float {
    0% { transform: translateY(0px) rotateX(0deg); }
    100% { transform: translateY(-10px) rotateX(2deg); }
}

.magical-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
                0 0 25px var(--glow, rgba(65, 105, 225, 0.6));
    border: 1px solid var(--glow, rgba(65, 105, 225, 0.8));
    /* transform: translateY(-10px) scale(1.05); TEMPORARILY DISABLED */
}

.magical-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(
        45deg,
        var(--glow, rgba(65, 105, 225, 0.7)) 0%,
        transparent 35%,
        transparent 65%,
        var(--glow, rgba(65, 105, 225, 0.7)) 100%
    );
    z-index: -1;
    filter: blur(4px);
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.magical-card:hover::before {
    opacity: 0.8;
    filter: blur(6px);
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: inherit;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        var(--glow, #4169e1) 0%, 
        transparent 70%
    );
    filter: blur(20px);
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { 
        filter: blur(20px) brightness(1); 
        opacity: 0.3; 
    }
    100% { 
        filter: blur(25px) brightness(1.5); 
        opacity: 0.6; 
    }
}

.highlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 70%
    );
    opacity: 0;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: blur(10px);
    animation: highlight-pulse 4s infinite alternate;
}

@keyframes highlight-pulse {
    0% { opacity: 0.2; filter: blur(10px); }
    100% { opacity: 0.5; filter: blur(15px); }
}

.edge-glow {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, var(--glow, #4169e1), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    opacity: 0.3;
    filter: blur(3px);
    transition: opacity 0.1s ease, filter 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
    animation: pulse-edge 3s ease-in-out infinite;
    box-shadow: 0 0 15px 5px var(--glow, rgba(65, 105, 225, 0.4));
}

@keyframes pulse-edge {
    0% {
        filter: blur(3px) brightness(1);
        box-shadow: 0 0 15px 5px var(--glow, rgba(65, 105, 225, 0.4));
    }
    50% {
        filter: blur(4px) brightness(1.5);
        box-shadow: 0 0 20px 8px var(--glow, rgba(65, 105, 225, 0.7));
    }
    100% {
        filter: blur(3px) brightness(1);
        box-shadow: 0 0 15px 5px var(--glow, rgba(65, 105, 225, 0.4));
    }
}

.magical-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    height: 100%;
    text-align: center;
    z-index: 10;
}

.card-content .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--glow, #4169e1);
    filter: drop-shadow(0 0 10px var(--glow, rgba(65, 105, 225, 0.6)));
    animation: icon-glow 2s ease-in-out infinite alternate;
}

@keyframes icon-glow {
    0% {
        filter: drop-shadow(0 0 10px var(--glow, rgba(65, 105, 225, 0.4)));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 20px var(--glow, rgba(65, 105, 225, 0.8)));
        transform: scale(1.05);
    }
}

.card-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff; /* Fallback color for better readability */
    background: linear-gradient(45deg, #ffffff, var(--glow, #4169e1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px var(--glow, rgba(65, 105, 225, 0.3)));
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% {
        filter: drop-shadow(0 0 5px var(--glow, rgba(65, 105, 225, 0.3)));
    }
    100% {
        filter: drop-shadow(0 0 15px var(--glow, rgba(65, 105, 225, 0.7)));
    }
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Interactive hover effects */
.magical-card:hover .card-glow {
    opacity: 0.8;
}

.magical-card:hover .highlight {
    opacity: 0.7;
}

.magical-card:hover .edge-glow {
    opacity: 0.9;
}

/* Responsive design for magical cards */
@media (max-width: 1200px) {
    .magical-cards-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 80px 0;
    }
    
    .values-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .magical-card {
        width: 100%;
        max-width: 350px;
        height: 380px;
    }
    
    .card-content .icon {
        font-size: 2.5rem;
    }
    
    .card-content h3 {
        font-size: 1.6rem;
    }
    
    .magical-cards-container {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 2rem;
        align-items: center;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .capability-category {
        width: 100% !important;
        max-width: none !important;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
        max-width: 100%;
    }
    
    .service-detail-text,
    .service-detail-image {
        width: 100%;
        max-width: 100%;
    }
    
    .service-detail-text h2 {
        font-size: 2rem;
    }
    
    .service-detail-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .values-section .section-header h2 {
        font-size: 2rem;
    }
    
    .magical-cards-container {
        padding: 1rem;
    }
    
    .magical-card {
        width: 260px;
        height: 350px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
}

/* Furniture Looks Page Styles */
.furniture-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.furniture-collections {
    padding: 100px 0;
}

.collections-grid {
    display: grid;
    gap: 4rem;
}

.furniture-look-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.furniture-look-card:nth-child(even) {
    direction: rtl;
}

.furniture-look-card:nth-child(even) .look-description {
    direction: ltr;
}

.look-image {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.look-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.look-image:hover img {
    transform: scale(1.05);
}

.look-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.look-image:hover .look-overlay {
    opacity: 1;
}

.look-details h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.look-details p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.look-description h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.look-description p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.furniture-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.furniture-items li {
    font-size: 0.9rem;
    color: #555;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.furniture-items li:before {
    content: "★";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.custom-look-cta {
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.custom-look-cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.custom-look-cta p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Furniture Looks */
@media (max-width: 768px) {
    .furniture-look-card,
    .furniture-look-card:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .look-image {
        height: 300px;
    }
    
    .look-description h4 {
        font-size: 1.5rem;
    }
    
    .custom-look-cta h2 {
        font-size: 2rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin-top: 1rem;
    }
}

/* ===== ENTERPRISE PREMIUM STYLING ===== */

/* Enterprise Header - Default Background */
/* Removed duplicate - enterprise-header styling is unified with page-header above */



.enterprise-hero-content {
    position: relative;
    z-index: 2;
}

.credential-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
}

/* Removed duplicate - unified with main hero header styling */

.enterprise-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Trust Stats Section */
.trust-stats-section {
    background: #f8f9fa !important;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat {
    padding: 2rem;
    background: transparent;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #444 !important;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666 !important;
    font-weight: 600;
    text-shadow: none;
}

/* Client Portfolio */
.client-portfolio {
    padding: 100px 0;
    background: white;
    color: #333;
}

.client-grid {
    display: grid;
    gap: 4rem;
}

.client-tier {
    border-bottom: 1px solid #eee;
    padding-bottom: 3rem;
}

.client-tier:last-child {
    border-bottom: none;
}

.client-tier h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    color: #444 !important;
    position: relative;
    text-shadow: none;
}

.client-tier h3::after {
    content: '';
    width: 80px;
    height: 3px;
    background: #0066cc;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

.client-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 122, 204, 0.1);
    border-color: #0066cc;
}

.client-card img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-card:hover img {
    filter: grayscale(0%);
}

.client-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #444 !important;
    text-shadow: none;
}

.client-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Enterprise Design */
@media (max-width: 768px) {
    .enterprise-header h1 {
        font-size: 2.5rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .credential-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .client-cards {
        grid-template-columns: 1fr;
    }
    
    .enterprise-subtitle {
        font-size: 1.1rem;
    }
}

/* ===== ADVANCED ANIMATIONS & MICRO-INTERACTIONS ===== */

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    animation: pulse-logo 2s ease-in-out infinite;
}

.loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    animation: loading-bar 3s ease-out forwards;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes loading-bar {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Enhanced Button Animations */
.btn-primary {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Advanced Card Animations */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

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

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.animate span {
    transform: translateY(0);
}

/* Number Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 900;
    color: #0066cc;
    display: block;
    margin-bottom: 0.5rem;
}

/* Parallax Scroll Effects */
.parallax-element {
    transform: translateY(0);
    transition: transform 0.1s linear;
}

/* Advanced Hover Effects */
.image-hover-effect {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-hover-effect img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-hover-effect:hover img {
    transform: scale(1.1);
}

.image-hover-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.8), rgba(0, 170, 255, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-hover-effect:hover::after {
    opacity: 1;
}

/* Stagger Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* Floating Elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

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

/* Magnetic Button Effect */
.magnetic-button {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.magnetic-button:hover {
    transform: scale(1.05);
}

/* Premium Gradient Text */
.gradient-text {
    color: #0066cc; /* Solid fallback color */
    background: linear-gradient(135deg, #0066cc, #00aaff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Advanced Grid Animations */
.grid-item {
    opacity: 0;
    transform: scale(0.8) rotateY(10deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-item.in-view {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

/* Cursor follower removed per user request */

/* Scroll Snap Sections */
.scroll-snap-container {
    scroll-snap-type: y mandatory;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.scroll-snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
}

/* Advanced Typography Effects */
.typing-effect {
    overflow: hidden;
    border-right: 2px solid #0066cc;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #0066cc; }
}

/* Glass Morphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Performance Optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .feature-card {
        background: rgba(255, 255, 255, 0.05);
        color: white;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *:not(.marquee-content) {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Keep marquee animation running even with reduced motion */
    .marquee-content {
        animation: marquee 40s linear infinite !important;
    }
}

/* ===== ADDITIONAL ENTERPRISE PAGE STYLING ===== */

/* Structures Page */
.structures-overview {
    padding: 100px 0;
}

.structures-grid {
    display: grid;
    gap: 4rem;
}

.structure-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.structure-category:nth-child(even) {
    direction: rtl;
}

.structure-category:nth-child(even) .structure-details {
    direction: ltr;
}

.structure-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.structure-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.structure-image:hover img {
    transform: scale(1.05);
}

.structure-details h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.structure-details p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.structure-cta {
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.structure-cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.structure-cta p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* AV Production Page */
.av-capabilities {
    padding: 25px 0;
    background: #f8f9fa;
}

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

.capability-category {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.capability-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.capability-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.capability-category:hover::before {
    transform: scaleX(1);
}

.capability-icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.capability-category:hover .capability-icon {
    transform: scale(1.1);
    color: #0052a3;
}

.capability-category h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.capability-category:hover h4 {
    color: #0066cc;
}

.capability-category p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.capability-category:hover p {
    color: #333;
}

.enterprise-av-solutions {
    padding: 100px 0;
}

.solutions-showcase {
    display: grid;
    gap: 4rem;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solution-item.reverse {
    direction: rtl;
}

.solution-item.reverse .solution-content {
    direction: ltr;
}

.solution-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-image:hover img {
    transform: scale(1.05);
}

.solution-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.solution-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.solution-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.solution-features li:before {
    content: "★";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.technical-excellence {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.excellence-item {
    background: white;
    padding: 3rem;
    border-radius: 15px;
}

.excellence-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.excellence-item p {
    color: #666;
    line-height: 1.6;
}

.av-cta {
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.av-cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.av-cta p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .structure-category,
    .structure-category:nth-child(even),
    .solution-item,
    .solution-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .structure-image,
    .solution-image {
        height: 300px;
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .excellence-grid {
        grid-template-columns: 1fr;
    }
    
    .structure-details h4,
    .solution-content h4 {
        font-size: 1.5rem;
    }
    
    .structure-cta h2,
    .av-cta h2 {
        font-size: 2rem;
    }
    
    .structure-cta p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin-bottom: 2rem !important;
    }
}

/* ===== PREMIUM HOMEPAGE SECTIONS ===== */

/* Enterprise Testimonials */
.enterprise-testimonials {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.testimonial-card {
    position: relative;
    padding: 3rem;
    text-align: left;
}

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

.testimonial-logo img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.testimonial-card:hover .testimonial-logo img {
    filter: grayscale(0%);
}

.testimonial-rating .stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-card blockquote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #2a2a2a;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: left;
}

.testimonial-card blockquote::before,
.testimonial-card blockquote::after {
    display: none;
}

.testimonial-card cite {
    font-style: normal;
}

.testimonial-card cite strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.2rem !important;
}

/* Stats Section */
.stats-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%) !important;
    color: #1a1a1a;
    text-align: center;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.stats-section .section-header h2 {
    color: #1a1a1a;
}

.stats-section .lead {
    color: #666666 !important;
    text-shadow: none;
}

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

.stat-card {
    background: rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 102, 204, 0.1);
    color: #1a1a1a;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 10px;
}

.stat-icon {
    font-size: 3rem;
    color: #0066cc;
    margin-bottom: 2rem;
}

.stat-card h4 {
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stat-card .small-text {
    color: #666;
}

/* Awards Section */
.awards-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0066cc 0%, #00aaff 100%);
    color: white;
    text-align: center;
}

.awards-section .section-header h2 {
    color: white;
}

.awards-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

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

.award-item {
    text-align: center;
    padding: 3rem 2rem;
    color: white;
}

.award-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.award-item h3,
.award-item h4 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.award-item .accent-text {
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 4rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3,
.faq-question h4 {
    margin: 0;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #0066cc;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 2rem;
    display: none;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Final CTA Section */
.final-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    text-align: center;
}

.final-cta-section .gradient-text {
    background: linear-gradient(135deg, #0066cc, #00aaff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-section .lead {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
    font-size: 0.9rem;
}

.feature-item i {
    color: #0066cc;
    font-size: 1.1rem;
}

/* Enhanced Typography for Content Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .lead {
    font-size: 1.375rem;
    line-height: 1.6;
    font-weight: 300;
    color: #666666 !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design for New Sections */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid,
    .stats-grid,
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card blockquote {
        font-size: 1.1rem;
    }
    
    .testimonial-card blockquote::before {
        font-size: 3rem;
        top: -0.3rem;
        left: -0.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        min-width: 200px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .section-header .lead {
        font-size: 1.2rem;
    }
} 

/* Universal hero/overlay text fix */
.hero, .hero-overlay, .hero p, .hero h1, .hero h2, .hero h3 {
    color: #fff !important;
    text-shadow: 2px 2px 8px #000;
}

/* FAQ Page Styles */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #0066cc;
    border-radius: 8px;
    background: transparent;
    color: #0066cc;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-category-btn:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.faq-category-btn.active {
    background: #0066cc;
    color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #2a2a2a;
    font-weight: 600;
}

.faq-toggle {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    margin: 0;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
    .faq-categories {
        gap: 0.5rem;
    }

    .faq-category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-question,
    .faq-answer {
        padding: 1rem;
    }
}

/* ===== CASE STUDY PAGE STYLES ===== */

/* Case Study Hero */
.case-study-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.case-study-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    width: 100%;
}

.case-study-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.case-study-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: white;
}

.highlight-text {
    color: white;
}

.case-study-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    color: white;
}

/* Executive Summary */
.executive-summary {
    padding: 80px 0;
    background: #f8f9fa;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.summary-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.result-highlight {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.summary-image, .partnership-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.summary-image:hover .feature-image,
.partnership-image:hover .feature-image {
    transform: scale(1.05);
}

/* Theme Section */
.theme-section {
    padding: 80px 0;
    background: white;
}

.theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-stack {
    position: relative;
    height: 500px;
}

.stack-image {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.stack-image.primary {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 2;
    object-fit: cover;
}

.stack-image.secondary {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 1;
    object-fit: cover;
}

.image-stack:hover .stack-image.primary {
    transform: translate(-10px, -10px);
}

.image-stack:hover .stack-image.secondary {
    transform: translate(10px, 10px);
}

.section-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.theme-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* Partnership Section */
.partnership-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Services & Scope */
.services-scope {
    padding: 80px 0;
    background: white;
}

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

.scope-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

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

.service-item {
    display: list-item;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-item::before {
    content: "•";
    color: #0066cc;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.service-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    margin-top: 0;
    color: #1a1a1a;
}

.service-details p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Override animation styles specifically for services list in case studies */
.services-list .service-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    margin-bottom: 0.5rem !important;
    padding-left: 1.5rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
}

.services-list .service-item:first-child {
    margin-top: 1rem !important;
}

.services-list .service-item .service-details {
    text-align: left !important;
}

.services-list .service-item .service-details h4 {
    text-align: left !important;
}

.services-list .service-item .service-details p {
    text-align: left !important;
}

/* Standardize body text typography for case study pages */
.case-study-hero .case-study-subtitle,
.executive-summary p,
.theme-section p,
.partnership-section p,
.services-scope p,
.visual-results p,
.case-study-cta p {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    color: #4a4a4a !important;
}

.case-study-hero .case-study-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.result-highlight {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    font-weight: 500 !important;
}

.lead {
    font-size: 1.375rem !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    color: #2a2a2a !important;
}

.scope-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scope-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

/* Key Metrics */
.key-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.metric-item {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.metric-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.metric-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Visual Results */
.visual-results {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.results-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Interactive Expanding Gallery */
.gallery-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.item {
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: flex 0.8s ease;
    cursor: pointer;
    position: relative;
}

.item:hover {
    flex: 7;
}

/* Case study gallery items now use HTML img tags instead of CSS background images */

/* More Work Carousel Section */
.more-work-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.more-work-section .section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.case-studies-carousel {
    overflow: hidden;
    margin-bottom: 3rem;
}

.case-studies-carousel .carousel-track {
    display: flex;
    gap: 2rem;
    animation: infiniteScroll 30s linear infinite;
    width: calc(400px * 12 + 2rem * 11); /* Accommodate duplicated items */
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 6 - 2rem * 5)); /* Move by 6 items */
    }
}

.case-study-card {
    min-width: 400px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-info {
    padding: 1.5rem;
}

.case-study-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.case-study-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.case-study-client {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Pause animation on hover */
.case-studies-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .summary-grid,
    .theme-grid,
    .partnership-grid,
    .scope-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .theme-grid .theme-images {
        order: -1;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .key-metrics {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-wrap {
        height: 50vh;
        min-height: 300px;
    }
    
    .item:hover {
        flex: 5;
    }
}

@media (max-width: 768px) {
    .case-study-hero {
        height: 80vh;
    }
    
    .case-study-title {
        font-size: 2.5rem;
    }
    
    .case-study-subtitle {
        font-size: 1.1rem;
    }
    
    .executive-summary,
    .theme-section,
    .partnership-section,
    .services-scope,
    .visual-results,
    .case-study-cta {
        padding: 80px 0;
    }
    
    .summary-content h2,
    .theme-content h2,
    .partnership-content h2,
    .scope-header h2,
    .results-header h2 {
        font-size: 2rem;
    }
    
    .more-work-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .case-study-card {
        min-width: 300px;
    }
    
    .case-study-info {
        padding: 1rem;
    }
    
    .case-study-info h3 {
        font-size: 1.1rem;
    }
    
    .summary-grid,
    .theme-grid,
    .partnership-grid,
    .scope-grid {
        gap: 3rem;
    }
    
    .feature-image,
    .scope-image {
        height: 300px;
    }
    
    .services-list {
        gap: 0.5rem;
    }
    
    .service-item {
        padding: 0.5rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .case-study-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .case-study-title {
        font-size: 2rem;
    }
    
    .section-icon {
        font-size: 2.5rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .metric-item {
        padding: 2rem 1.5rem;
    }
    
    .metric-icon {
        font-size: 2.5rem;
    }
}

/* Entertainment Portfolio Gallery Styles */
.entertainment-portfolio {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 1;
}

.entertainment-portfolio .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.entertainment-portfolio .section-header h2 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.entertainment-portfolio .section-header p {
    color: #666;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Gallery Styles */
* {
    box-sizing: border-box;
}

#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin: 2rem auto;
    max-width: 1200px;
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

@media (max-width: 800px) {
    #gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 6px;
        margin: 1rem;
        grid-auto-rows: 180px;
    }
}

@media (max-width: 600px) {
    #gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 4px;
        margin: 1rem;
        grid-auto-rows: 140px;
    }
}

@media (max-width: 400px) {
    #gallery {
        grid-template-columns: 1fr 1fr;
        gap: 3px;
        grid-auto-rows: 120px;
    }
    
    /* Reset all spans on mobile for clean 2-column layout */
    #gallery > div {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

#gallery > div {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

/* Dynamic sizing for varied layout - optimized for dense grid */
#gallery > div:nth-child(3n + 1) {
    grid-row: span 2;
}

#gallery > div:nth-child(4n + 2) {
    grid-column: span 2;
}

#gallery > div:nth-child(7n + 3) {
    grid-row: span 2;
}

#gallery > div:nth-child(5n + 4) {
    grid-column: span 2;
    grid-row: span 2;
}

#gallery > div:nth-child(8n + 5) {
    grid-row: span 2;
}

#gallery > div:nth-child(6n + 6) {
    grid-column: span 2;
}

#gallery > div.gallery-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all ease 0.3s;
    cursor: pointer;
    display: block;
}

#gallery > div.gallery-item:hover > img {
    filter: brightness(0.85) sepia(0.5) hue-rotate(200deg) saturate(1.3);
}



/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-style: italic;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .lightbox-caption {
        bottom: -40px;
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Gallery_1 Styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700;800&display=swap');

.gallery_1 * {
  font-family: Nunito, sans-serif;
}

.gallery_1 {
  background: none !important;
  background-image: none !important;
  padding-top: 80px;
}

.gallery_1 .text-blk {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  line-height: 25px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}

.gallery_1 img {
  object-fit: cover;
}

.gallery_1 .responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  justify-content: flex-start;
}

.gallery_1 .responsive-container-block.bigContainer {
  padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 10px;
  padding-left: 30px;
  background: none !important;
  background-image: none !important;
}

.gallery_1 .responsive-container-block.Container {
  max-width: 1320px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  margin-top: 50px;
  margin-right: auto;
  margin-bottom: 50px;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none !important;
  background-image: none !important;
}

.gallery_1 .text-blk.heading {
  font-family: 'Satoshi', sans-serif;
  font-size: 32pt;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #242424;
  text-align: center;
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 0px;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

.gallery_1 .text-blk.subHeading {
  text-align: center;
  font-size: 20px;
  line-height: 30px;
  max-width: 750px;
  color: #a3a3a3;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 50px;
  margin-left: 0px;
}

.gallery_1 .responsive-container-block.imgContainer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 10px;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  background: none !important;
  background-image: none !important;
}

.gallery_1 .overlay {
  position: fixed;
  background-color: rgba(71, 69, 69, 0.9);
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  pointer-events: auto;
}

.gallery_1 .overlay-inner {
  position: relative;
  background-color: white;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  padding: 35px 20px 20px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.gallery_1 .close {
  position: absolute;
  top: 9px;
  right: 15px;
  background-color: transparent;
  outline: none;
  color: #474545;
  border: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  font-weight: 600;
}

.gallery_1 .close:hover {
  color: #0066cc;
}

.gallery_1 .overlay-inner img {
  height: auto;
  width: 100%;
  transform: none;
}

.gallery_1 .project {
  position: relative;
  background: none !important;
  background-image: none !important;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery_1 .project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 102, 204, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 8px;
}

.gallery_1 .btn-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.gallery_1 .project:hover .btn-box {
  opacity: 1;
  pointer-events: auto;
}

.gallery_1 .project:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery_1 .project:hover::before {
  opacity: 1;
}

.gallery_1 .project:hover .smallImage {
  transform: scale(1.05);
}

/* Disable hover effects when modal is open */
.gallery_1.modal-open .project:hover {
  transform: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.gallery_1.modal-open .project:hover::before {
  opacity: 0 !important;
}

.gallery_1.modal-open .project:hover .smallImage {
  transform: none !important;
}

.gallery_1.modal-open .project:hover .btn-box {
  opacity: 0 !important;
  pointer-events: none !important;
}

.gallery_1 .btn {
  cursor: pointer;
  background: #0066cc;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.gallery_1 .btn:hover {
  background: #0052a3;
  transform: scale(1.05);
}

.gallery_1 .smallImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Grid Layout Variations for Visual Interest */
.gallery_1 .project.project1 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery_1 .project.project2 {
  grid-column: span 2;
}

.gallery_1 .project.project3 {
  /* Default single cell */
}

.gallery_1 .project.project4 {
  /* Default single cell */
}

.gallery_1 .project.project5 {
  grid-column: span 2;
}

.gallery_1 .project.project6 {
  grid-row: span 2;
}

/* Grid Layout Variations for Additional Projects */
.gallery_1 .project.project7 {
  /* Default single cell */
}

.gallery_1 .project.project8 {
  /* Default single cell */
}

.gallery_1 .project.project9 {
  grid-column: span 2;
}

.gallery_1 .project.project10 {
  /* Default single cell */
}

.gallery_1 .project.project11 {
  grid-row: span 2;
}

.gallery_1 .project.project12 {
  grid-column: span 2;
}

.gallery_1 .project.project13 {
  /* Default single cell */
}

.gallery_1 .project.project14 {
  grid-row: span 2;
}

.gallery_1 .project.project15 {
  /* Default single cell */
}

.gallery_1 .project.project16 {
  grid-column: span 2;
}

.gallery_1 .project.project17 {
  /* Default single cell */
}

.gallery_1 .project.project18 {
  /* Default single cell */
}

.gallery_1 .project.project19 {
  grid-column: span 2;
}

.gallery_1 .project.project20 {
  grid-row: span 2;
}

.gallery_1 .project.project21 {
  /* Default single cell */
}

.gallery_1 .project.project22 {
  grid-column: span 2;
}

.gallery_1 .project.project23 {
  /* Default single cell */
}

.gallery_1 .project.project24 {
  grid-row: span 2;
}

.gallery_1 .project.project25 {
  /* Default single cell */
}

.gallery_1 .project.project26 {
  grid-column: span 2;
}

.gallery_1 .project.project27 {
  /* Default single cell */
}

@media (max-width: 1024px) {
  .gallery_1 .responsive-container-block.imgContainer {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .gallery_1 .text-blk.subHeading {
    font-size: 18px;
    line-height: 27px;
  }
}

@media (max-width: 900px) {
  .gallery_1 .text-blk.heading {
    font-size: 28px;
    line-height: 1.15;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .gallery_1 .responsive-container-block.imgContainer {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery_1 .project {
    /* Reset all grid spans for mobile - uniform layout */
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .gallery_1 .overlay-inner {
    width: 90%;
  }

  .gallery_1 .text-blk.subHeading {
    line-height: 25px;
    font-size: 17px;
    max-width: 600px;
  }

  .gallery_1 .text-blk.heading {
    font-size: 24px;
    line-height: 1.2;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 15px;
    margin-left: 0px;
    white-space: normal;
  }


}

@media (max-width: 500px) {
  .gallery_1 .responsive-container-block.imgContainer {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery_1 .responsive-container-block.bigContainer {
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
  }

  .gallery_1 .text-blk.heading {
    font-size: 20px;
    line-height: 1.15;
    white-space: normal;
  }

  .gallery_1 .text-blk.subHeading {
    font-size: 16px;
    line-height: 22px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 30px;
    margin-left: 0px;
  }
}

/* ===== RHETT CUBE SLIDER ===== */
.rhett-cube-slider {
    position: relative;
    width: 400px;
    height: 490px;
    margin: 0 auto;
}

.rhett-swiper {
    position: relative;
    width: 100%;
    height: 100%;
}

.rhett-swiper .swiper-slide {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    user-select: none;
    border-radius: 20px;
    overflow: hidden;
}

.rhett-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.rhett-swiper .overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 0 0 20px 20px;
}

.rhett-swiper .overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.rhett-swiper .overlay p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.4;
    color: #fff;
}

/* Responsive adjustments for cube slider */
@media (max-width: 1050px) {
    .rhett-cube-slider {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    .rhett-cube-slider {
        width: 320px;
        height: 420px;
    }
    
    .rhett-swiper .overlay {
        height: 130px;
        padding: 12px 15px;
    }
    
    .rhett-swiper .overlay h3 {
        font-size: 1.1rem;
    }
    
    .rhett-swiper .overlay p {
        font-size: 0.8rem;
    }
}

@media (max-width: 470px) {
    .rhett-cube-slider {
        width: 280px;
        height: 380px;
    }
    
    .rhett-swiper .overlay {
        height: 120px;
        padding: 10px 12px;
    }
    
    .rhett-swiper .overlay h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .rhett-swiper .overlay p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* CIRCULAR ROTATING GALLERY - CONTINUOUS ROTATION */
.circular-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-container {
  position: relative;
  width: 350px;
  height: 500px;
  margin: 0 auto;
  perspective: 1000px;
  perspective-origin: center center;
}

.image-circle {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateCircle 15s linear infinite;
}

.image-circle:hover {
  animation-play-state: paused;
}

.image-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 400px;
  margin-left: -140px;
  margin-top: -200px;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  backface-visibility: visible;
}

/* Position each image around the circle */
.image-item:nth-child(1) {
  transform: rotateY(0deg) translateZ(250px);
}

.image-item:nth-child(2) {
  transform: rotateY(90deg) translateZ(250px);
}

.image-item:nth-child(3) {
  transform: rotateY(180deg) translateZ(250px);
}

.image-item:nth-child(4) {
  transform: rotateY(270deg) translateZ(250px);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.image-item:hover {
  transform: rotateY(var(--rotation, 0deg)) translateZ(280px) scale(1.02);
}

@keyframes rotateCircle {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(-360deg);
  }
}

.cost {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  padding: 8px 16px;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-text {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.overlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.98));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff !important;
  border-radius: 0 0 15px 15px;
  z-index: 2;
}

.overlay h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.overlay p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #ffffff !important;
  opacity: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.8);
}

.ratings {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.stars {
  display: flex;
  gap: 3px;
}

.star {
  color: #ffd700;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ratings span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 1050px) {
  .gallery-container {
    width: 320px;
    height: 460px;
  }
  
  .image-item {
    width: 250px;
    height: 350px;
    margin-left: -125px;
    margin-top: -175px;
  }
  
  .overlay h1 {
    font-size: 20px;
  }
  
  .overlay p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .gallery-container {
    width: 300px;
    height: 430px;
    perspective: 800px;
  }
  
  .image-item {
    width: 220px;
    height: 320px;
    margin-left: -110px;
    margin-top: -160px;
  }
  
  .image-item:nth-child(1) {
    transform: rotateY(0deg) translateZ(180px);
  }
  
  .image-item:nth-child(2) {
    transform: rotateY(90deg) translateZ(180px);
  }
  
  .image-item:nth-child(3) {
    transform: rotateY(180deg) translateZ(180px);
  }
  
  .image-item:nth-child(4) {
    transform: rotateY(270deg) translateZ(180px);
  }
  
  .overlay {
    height: 160px;
    padding: 20px;
  }
  
  .overlay h1 {
    font-size: 18px;
  }
  
  .overlay p {
    font-size: 12px;
  }
}

@media (max-width: 470px) {
  .gallery-container {
    width: 280px;
    height: 400px;
    perspective: 600px;
  }
  
  .image-item {
    width: 200px;
    height: 280px;
    margin-left: -100px;
    margin-top: -140px;
  }
  
  .image-item:nth-child(1) {
    transform: rotateY(0deg) translateZ(150px);
  }
  
  .image-item:nth-child(2) {
    transform: rotateY(90deg) translateZ(150px);
  }
  
  .image-item:nth-child(3) {
    transform: rotateY(180deg) translateZ(150px);
  }
  
  .image-item:nth-child(4) {
    transform: rotateY(270deg) translateZ(150px);
  }
  
  .overlay {
    height: 150px;
    padding: 15px;
  }
  
  .overlay h1 {
    font-size: 16px;
  }
  
  .overlay p {
    font-size: 11px;
    line-height: 1.3;
  }
  
  .ratings span {
    font-size: 12px;
  }
  
  .star {
    font-size: 12px;
  }
}

/* Make service carousels square on services page */
.services .image-carousel,
.services .carousel-container,
.services .carousel-track,
.services .carousel-slide,
.services .carousel-slide img {
    aspect-ratio: 1/1;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 15px;
}

.service-detail-section,
.stats-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 600px) {
  .services .image-carousel,
  .services .carousel-container,
  .services .carousel-track,
  .services .carousel-slide,
  .services .carousel-slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  
  .service-detail-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
    padding: 0;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
  }
  
  /* On mobile, always show image first, then text regardless of alternate class */
  .service-detail-image {
    order: 1 !important;
  }
  
  .service-detail-text {
    order: 2 !important;
  }
  
  .service-detail-text,
  .service-detail-image {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  .service-detail-text {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .service-detail-text h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }
  
  .service-detail-text h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .service-detail-text p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }
  
  .service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
  }
  
  .service-item-inline {
    width: 100%;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  
  .cta-buttons {
    width: 100%;
    text-align: center;
  }
  
  .btn-primary {
    width: 100%;
    max-width: 280px;
    padding: 0.8rem 1.5rem;
  }
  
  .service-detail-section,
  .stats-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* Tent Page Specific Styles */
.tent-sizes-section {
    padding: 80px 0;
    background: #fff;
}

.tent-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 3rem;
}

.tent-category {
    flex: 0 1 400px;
    margin-bottom: 40px;
}

/* Remove grid-specific styles for .tent-grid */
.attractions-page .tent-grid .tent-category:nth-child(3) {
    grid-column: unset;
    max-width: unset;
    margin: unset;
}

.tent-category {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tent-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tent-image {
    overflow: hidden;
    height: 250px;
    position: relative;
}

.tent-carousel .carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.tent-carousel .carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.tent-carousel .carousel-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transition: opacity 0.8s ease-in-out !important;
    z-index: 1 !important;
}

.tent-carousel .carousel-slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

.tent-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tent-category:hover .tent-carousel .carousel-slide.active img {
    transform: scale(1.1);
}

.tent-carousel .carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.tent-carousel .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.tent-carousel .dot.active,
.tent-carousel .dot:hover {
    background: #0066cc;
    border-color: white;
    transform: scale(1.2);
}

.tent-details {
    padding: 2rem;
}

.tent-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.tent-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tent-details ul li {
    font-size: 0.95rem;
    color: #666;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.tent-details ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: #0066cc;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.tent-features-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.feature-category {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-category h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.feature-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-category ul li {
    font-size: 0.9rem;
    color: #666;
    padding: 0.4rem 0;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.feature-category ul li:last-child {
    border-bottom: none;
}

.feature-category ul li strong {
    color: #0066cc;
    font-weight: 600;
}

.specialty-section {
    padding: 80px 0;
    background: #fff;
}

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

.specialty-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.specialty-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.specialty-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.specialty-item:hover img {
    transform: scale(1.05);
}

.specialty-content {
    padding: 2rem;
}

.specialty-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.specialty-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.emergency-service {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.emergency-service h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.one-stop-section {
    padding: 80px 0;
}

.one-stop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 2rem;
}

.one-stop-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.one-stop-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.one-stop-content ul {
    margin-left: 20px;
    line-height: 1.8;
}

.one-stop-content ul li {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tent-grid,
    .specialty-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Override any conflicting carousel styles with maximum specificity */
    body .tent-sizes-section .tent-category .tent-image.tent-carousel {
        height: 220px !important;
        max-height: 220px !important;
        overflow: hidden !important;
    }
    
    body .tent-sizes-section .tent-category .tent-carousel .carousel-container {
        height: 220px !important;
        max-height: 220px !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    body .tent-sizes-section .tent-category .tent-carousel .carousel-slides {
        height: 220px !important;
        max-height: 220px !important;
        position: relative !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    body .tent-sizes-section .tent-category .tent-carousel .carousel-slide {
        height: 220px !important;
        max-height: 220px !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    body .tent-sizes-section .tent-category .tent-carousel .carousel-slide img {
        height: 220px !important;
        max-height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .one-stop-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tent-category,
    .specialty-item {
        margin: 0 1rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    .feature-category {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .emergency-service h2 {
        font-size: 1.8rem;
    }
    
    .tent-details h3,
    .specialty-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    /* Perfect mobile carousel setup with high specificity */
    .tent-category .tent-image {
        height: 220px !important;
        width: 100% !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        max-height: 220px !important;
    }
    
    .tent-category .tent-carousel .carousel-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 220px !important;
        max-height: 220px !important;
        overflow: hidden !important;
    }
    
    .tent-category .tent-carousel .carousel-slides {
        position: relative !important;
        width: 100% !important;
        height: 220px !important;
        max-height: 220px !important;
        overflow: hidden !important;
    }
    
    .tent-category .tent-carousel .carousel-slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 220px !important;
        max-height: 220px !important;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
        z-index: 1;
        overflow: hidden !important;
    }
    
    .tent-category .tent-carousel .carousel-slide.active {
        opacity: 1;
        z-index: 2;
    }
    
    .tent-category .tent-carousel .carousel-slide img {
        width: 100% !important;
        height: 220px !important;
        max-height: 220px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        border: none !important;
        border-radius: 0 !important;
    }
    
    .tent-category .tent-carousel .carousel-dots {
        position: absolute !important;
        bottom: 12px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        gap: 6px !important;
        z-index: 10 !important;
    }
    
    .tent-category .tent-carousel .dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.6) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
    }
    
    .tent-category .tent-carousel .dot.active,
    .tent-category .tent-carousel .dot:hover {
        background: #0066cc !important;
        border-color: white !important;
        transform: scale(1.2) !important;
    }
    
    .tent-details {
        padding: 1.5rem;
    }
    
    .tent-details ul li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
        padding-left: 1.4rem;
        line-height: 1.4;
    }
    
    .tent-details ul li:before {
        top: 0.35rem;
    }
}

@media (max-width: 480px) {
    .tent-category .tent-image {
        height: 180px !important;
        max-height: 180px !important;
    }
    
    .tent-category .tent-carousel .carousel-container,
    .tent-category .tent-carousel .carousel-slides,
    .tent-category .tent-carousel .carousel-slide {
        height: 180px !important;
        max-height: 180px !important;
    }
    
    .tent-category .tent-carousel .carousel-slide img {
        height: 180px !important;
        max-height: 180px !important;
    }
    
    /* Maximum specificity override for small screens */
    body .tent-sizes-section .tent-category .tent-image.tent-carousel,
    body .tent-sizes-section .tent-category .tent-carousel .carousel-container,
    body .tent-sizes-section .tent-category .tent-carousel .carousel-slides,
    body .tent-sizes-section .tent-category .tent-carousel .carousel-slide {
        height: 180px !important;
        max-height: 180px !important;
    }
    
    body .tent-sizes-section .tent-category .tent-carousel .carousel-slide img {
        height: 180px !important;
        max-height: 180px !important;
    }
    
    .tent-category .tent-carousel .carousel-dots {
        bottom: 10px !important;
        gap: 5px !important;
    }
    
    .tent-category .tent-carousel .dot {
        width: 7px !important;
        height: 7px !important;
        border-width: 1px !important;
    }
    
    .tent-details {
        padding: 1.2rem;
    }
    
    .tent-details h3 {
        font-size: 1.1rem;
    }
    
    .tent-details ul li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
        padding-left: 1.3rem;
    }
    
    .tent-details ul li:before {
        font-size: 1.1rem;
        top: 0.25rem;
    }
}

/* Specialty Gallery Styling */
.specialty-gallery::-webkit-scrollbar {
    height: 8px;
}

.specialty-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.specialty-gallery::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 10px;
}

.specialty-gallery::-webkit-scrollbar-thumb:hover {
    background: #0052a3;
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.specialty-card:hover img {
    transform: scale(1.05);
}

/* Mobile responsiveness for specialty gallery */
@media (max-width: 768px) {
    .specialty-card {
        min-width: 280px !important;
    }
    
    .specialty-gallery {
        gap: 20px !important;
        padding: 15px 0 !important;
    }
    
    .specialty-card div[style*="padding: 25px"] {
        padding: 20px !important;
    }
    
    .specialty-card h3 {
        font-size: 1.1rem !important;
    }
    
    .specialty-card p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .specialty-card {
        min-width: 250px !important;
    }
    
    .specialty-card div[style*="height: 250px"] {
        height: 200px !important;
    }
}

/* Mobile responsiveness for One Call Does It All section */
@media (max-width: 768px) {
    .one-stop-content {
        display: block !important;
        gap: 0 !important;
    }
    
    .one-stop-content > div:first-child {
        padding-right: 0 !important;
        margin-bottom: 40px;
    }
    
    .one-stop-content h3 {
        font-size: 1.6rem !important;
        text-align: center;
        margin-bottom: 25px !important;
    }
    
    .one-stop-content p {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
        text-align: center;
    }
    
    .one-stop-content h4 {
        font-size: 1.2rem !important;
        text-align: center;
        margin-bottom: 25px !important;
    }
    
    .one-stop-content ul {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .one-stop-content li {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        line-height: 1.7 !important;
    }
    
    .one-stop-content img {
        height: 250px !important;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .one-stop-section {
        padding: 60px 0 !important;
    }
    
    .section-header h2 {
        font-size: 2.2rem !important;
    }
    
    .section-header p {
        font-size: 1rem !important;
        padding: 0 15px;
    }
    
    .one-stop-content h3 {
        font-size: 1.4rem !important;
    }
    
    .one-stop-content p {
        font-size: 1rem !important;
        padding: 0 10px;
    }
    
    .one-stop-content ul {
        max-width: 350px;
        padding: 0 10px;
    }
    
    .one-stop-content li {
        font-size: 0.95rem !important;
        padding-left: 20px !important;
    }
    
    .one-stop-content li span {
        font-size: 0.9rem !important;
    }
}

/* Responsive CSS for Enhanced Carpet Sections */
@media (max-width: 768px) {
    .custom-colors-grid {
        display: block !important;
        gap: 0 !important;
        margin-top: 30px !important;
    }
    
    .custom-colors-grid > div {
        margin-bottom: 30px !important;
        padding: 30px 20px !important;
    }
    
    .custom-colors-grid > div:last-child {
        margin-bottom: 0 !important;
    }
    
    .custom-colors-grid h4 {
        font-size: 1.2rem !important;
    }
    
    .custom-colors-grid p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .custom-colors-grid > div {
        padding: 25px 15px !important;
    }
    
    .custom-colors-grid h4 {
        font-size: 1.1rem !important;
    }
    
    .custom-colors-grid p {
        font-size: 0.9rem !important;
    }
  }

@media (max-width: 768px) {
    .footer-logo,
    .footer-logo p,
    .footer-section h4 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }
    .footer-social {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .image-carousel {
        height: 220px !important;
        max-height: 220px !important;
    }
    .carousel-slide,
    .carousel-slide img {
        height: 220px !important;
        max-height: 220px !important;
    }
}
@media (max-width: 480px) {
    .image-carousel {
        height: 160px !important;
        max-height: 160px !important;
    }
    .carousel-slide,
    .carousel-slide img {
        height: 160px !important;
        max-height: 160px !important;
    }
}

@media (max-width: 768px) {
    .tent-carousel,
    .tent-carousel .carousel-container,
    .tent-carousel .carousel-slides,
    .tent-carousel .carousel-slide,
    .tent-carousel .carousel-slide img {
        height: 220px !important;
        max-height: 220px !important;
    }
}
@media (max-width: 480px) {
    .tent-carousel,
    .tent-carousel .carousel-container,
    .tent-carousel .carousel-slides,
    .tent-carousel .carousel-slide,
    .tent-carousel .carousel-slide img {
        height: 160px !important;
        max-height: 160px !important;
    }
}

@media (max-width: 768px) {
    .one-stop-content ul li {
        word-break: break-word;
        overflow-wrap: break-word;
        padding-left: 16px !important;
    }
}
@media (max-width: 480px) {
    .one-stop-content ul li {
        font-size: 0.95rem !important;
        padding-left: 12px !important;
    }
}

@media (max-width: 768px) {
    .tent-sizes-section p {
        word-break: break-word;
        overflow-wrap: break-word;
        font-size: 1rem !important;
        margin: 0 0 18px 0 !important;
    }
}
@media (max-width: 480px) {
    .tent-sizes-section p {
        font-size: 0.95rem !important;
        margin: 0 0 12px 0 !important;
    }
}

@media (max-width: 768px) {
    .one-stop-content ul {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .tent-sizes-section .info-box,
    .tent-sizes-section .info-box p {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        text-align: left !important;
        word-break: break-word;
        overflow-wrap: break-word;
        font-size: 1rem !important;
    }
}
@media (max-width: 480px) {
    .tent-sizes-section .info-box,
    .tent-sizes-section .info-box p {
        font-size: 0.95rem !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

@media (max-width: 768px) {
    .tent-sizes-section h2 {
        white-space: nowrap !important;
        font-size: 1.8rem !important;
        letter-spacing: -1.5px !important;
    }
}
@media (max-width: 480px) {
    .tent-sizes-section h2 {
        font-size: 1.2rem !important;
        letter-spacing: -1px !important;
    }
}

@media (max-width: 768px) {
    .tent-sizes-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .tent-sizes-section .section-header {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .tent-sizes-section .section-header p {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
@media (max-width: 480px) {
    .tent-sizes-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 768px) {
    .tent-sizes-section .section-header h2 {
        font-size: 1.5rem !important;
        white-space: nowrap !important;
        letter-spacing: -1.5px !important;
    }
}
@media (max-width: 480px) {
    .tent-sizes-section .section-header h2 {
        font-size: 1.1rem !important;
        letter-spacing: -1.5px !important;
    }
}

.section-header > div,
.section-header .headline-accent {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Timeline Styles */
.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #0066cc, #00aaff);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 14px;
    width: 20px;
    height: 20px;
    background: #0066cc;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    width: 48%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.timeline-content h4 {
    color: #0066cc;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content h5 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.timeline-content p {
    line-height: 1.6;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left !important;
    }

    .timeline-marker {
        left: 30px !important;
    }

    .timeline-content {
        width: calc(100% - 80px);
    }
}

/* Responsive contact grid for about page */
@media (max-width: 768px) {
    .contact div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        max-width: 500px !important;
        gap: 1.5rem !important;
    }
}
