

/* Modern Preloader Styles */
.modern-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.modern-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.geometric-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 25%;
    animation-delay: 1s;
}

.shape-5 {
    width: 60px;
    height: 60px;
    bottom: 40%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

.preloader-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.logo-container {
    margin-bottom: 3rem;
    animation: logoFadeIn 1s ease-out;
}

.logo-wrapper {
    display: inline-block;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.preloader-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(1.1) contrast(1.1);
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    }
}

.loading-indicator {
    margin-top: 2rem;
    animation: contentFadeIn 1s ease-out 0.5s both;
}

.modern-loader {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.loader-circle {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    animation: modernPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.loader-circle:nth-child(1) {
    animation-delay: -0.3s;
}

.loader-circle:nth-child(2) {
    animation-delay: -0.15s;
}

.loader-circle:nth-child(3) {
    animation-delay: 0s;
}

@keyframes modernPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.loading-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: textGlow 2s ease-in-out infinite alternate;
    margin-bottom: 1rem;
}

/* Enhanced Interactive Preloader Elements */
.progress-container {
    margin-bottom: 1.5rem;
    text-align: center;
}

.progress-bar {
    width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0 auto 0.5rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.loading-steps {
    margin-top: 1.5rem;
    text-align: left;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.step::before {
    content: '○';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.step.active {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.step.active::before {
    content: '●';
    color: #ffffff;
    animation: pulse 1s ease-in-out;
}

.step.completed {
    color: #4CAF50;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.step.completed::before {
    content: '✓';
    color: #4CAF50;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    }
    100% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    }
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive modern preloader */
@media (max-width: 768px) {
    .preloader-logo {
        max-width: 140px;
    }
    
    .logo-wrapper {
        padding: 1.5rem;
    }
    
    .shape {
        display: none;
    }
    
    .loading-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .progress-bar {
        width: 150px;
    }
    
    .loading-steps {
        max-width: 200px;
    }
    
    .step {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        max-width: 120px;
    }
    
    .logo-wrapper {
        padding: 1rem;
    }
    
    .loader-circle {
        width: 10px;
        height: 10px;
    }
    
    .loading-text {
        font-size: 0.9rem;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide close button on desktop by default */
.nav-menu-header {
    display: none;
}

.nav-close {
    display: none;
}

/* Email Button Styles */
.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.email-btn::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.5s ease;
}

.email-btn:hover::before {
    left: 100%;
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.email-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.email-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.email-btn:hover i {
    transform: scale(1.1);
}

.email-btn span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive email button */
@media (max-width: 768px) {
    .email-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .email-btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .email-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .email-btn i {
        font-size: 0.85rem;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Ensure smooth animations */
.nav-menu * {
    will-change: transform, opacity;
}

/* Optimize for mobile performance */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling on mobile */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    /* Ensure all containers stay within viewport */
    .container {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* Prevent elements from extending beyond viewport */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix any potential overflow issues */
    .hero, .overview, .stats, .our-services, .cta-section, .footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .nav-menu {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }
    
    .nav-menu.active {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-color: #56B947;
    --secondary-color: #2C499F;
    --blue-light: #4A90E2;
    --blue-medium: #3B7BC0;
    --blue-dark: #1E3A8A;
    --blue-accent: #60A5FA;
    --blue-gradient: linear-gradient(135deg, #2C499F 0%, #4A90E2 100%);
    --white: #FFFFFF;
    --light-grey: #F8F9FA;
    --text-grey: #333333;
    --text-light: #666666;
    --border-color: #E9ECEF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* App-like Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    min-height: 44px;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::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.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--blue-gradient);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Modern App-like Header */
.header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    border-bottom: 1px solid rgba(44, 73, 159, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.navbar {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand a {
    text-decoration: none;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-img:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 2rem;
}

.nav-list li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-grey);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(86, 185, 71, 0.05);
}

.btn-quote {
    background: var(--blue-gradient);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #1E3A8A 0%, #3B7BC0 100%);
}

/* Modern Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: var(--border-radius-md);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    list-style: none;
    padding: 0.5rem;
    border: 1px solid rgba(44, 73, 159, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-grey);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(86, 185, 71, 0.08);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Modern Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(86, 185, 71, 0.05);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-grey);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
}

.nav-toggle span:nth-child(1) {
    transform-origin: top left;
}

.nav-toggle span:nth-child(3) {
    transform-origin: bottom left;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: var(--blue-gradient);
    background-image: url('assets/images for web/Construction Services.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 73, 159, 0.8) 0%, rgba(26, 47, 107, 0.8) 50%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(2px);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideInUp 0.8s ease-out;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.page-header p {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    animation: slideInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
    text-align: left;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255,255,255,0.5);
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.breadcrumb a:hover {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.breadcrumb li[aria-current="page"] {
    color: var(--white);
    font-weight: 500;
}

/* Page Header Meta */
.page-header-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.page-header-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.95);
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.page-header-meta i {
    color: var(--primary-color);
}

/* Hero Section with Modern Slider */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transform: scale(1.1);
    transition: transform 8s ease-out;
    opacity: 1;
    background-color: var(--primary-color);
}

.slide.active .slide-bg {
    transform: scale(1);
    opacity: 1;
}

.slide .slide-bg {
    opacity: 1;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    display: block;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 73, 159, 0.7) 0%, rgba(26, 47, 107, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out 0.5s;
}

.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    font-weight: 400;
}

.hero-content .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-out 1s;
}

.slide.active .hero-content .btn {
    transform: translateY(0);
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-buttons .btn {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(0.9rem, 2vw, 1rem);
    min-width: 140px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Modern Slider Controls */
.slider-controls {
    position: absolute;
    bottom: clamp(10px, 3vw, 20px);
    left: clamp(10px, 3vw, 20px);
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    z-index: 10;
}

.slider-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.8rem, 2vw, 1rem);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.dot.active {
    background: transparent;
    transform: scale(1.2);
}

.dot.active::before {
    width: 100%;
    height: 100%;
}

.dot:hover {
    transform: scale(1.1);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

/* Overview Section */
.overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.overview .container {
    position: relative;
    z-index: 2;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: 3rem;
}

.overview-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(86, 185, 71, 0.1), transparent);
    transition: left 0.5s ease;
}

.overview-card:hover::before {
    left: 100%;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.overview-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(1rem, 3vw, 1.5rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
}

.overview-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.overview-card:hover .overview-icon {
    transform: scale(1.1) rotate(5deg);
}

.overview-icon i {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
}

.overview-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.overview-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Achievements Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.stats .container {
    position: relative;
    z-index: 1;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }
.achievement-card:nth-child(4) { animation-delay: 0.4s; }

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.08) 0%, 
        rgba(40, 167, 69, 0.08) 50%,
        rgba(255, 193, 7, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.achievement-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 
        0 10px 20px rgba(0, 123, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.achievement-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    transition: all 0.5s ease;
    filter: blur(8px);
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 
        0 15px 30px rgba(0, 123, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.achievement-card:hover .achievement-icon::before {
    transform: scale(1.3);
    opacity: 0.4;
}

.achievement-icon i {
    font-size: 2.5rem;
    color: white;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.achievement-card:hover .achievement-icon i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.achievement-content {
    position: relative;
    z-index: 2;
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.achievement-card:hover .achievement-number {
    transform: scale(1.08);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.achievement-label {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 600;
    transition: color 0.4s ease;
    line-height: 1.3;
}

.achievement-card:hover .achievement-label {
    color: var(--primary-color);
}

.achievement-progress {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.achievement-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 2s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 123, 255, 0.3);
}

.achievement-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Latest Projects Section */
.latest-projects {
    padding: 80px 0;
    background-color: var(--white);
}

.projects-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
    height: 500px;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.project-item.large {
    grid-row: span 2;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.project-overlay p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.project-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.text-center {
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
}

.testimonial-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-btn {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: #4a9f3d;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(86, 185, 71, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Our Services Section */
.our-services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.our-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.our-services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.3;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.service-item:hover .service-icon::before {
    transform: scale(1.2);
}

.service-item:hover .service-icon i {
    transform: scale(1.1);
}

.service-item h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover h3::after {
    opacity: 1;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(44, 73, 159, 0.05);
    border: 1px solid transparent;
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        justify-items: center;
        max-width: 100%;
    }
    
    .service-item {
        padding: 2rem;
    }
    
    .service-image {
        height: 180px;
        margin-bottom: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 10px;
    }
    
    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .service-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .service-item p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .service-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .our-services {
        padding: 4rem 0;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .service-image {
        height: 160px;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .service-item h3 {
        font-size: 1.2rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4CAF50 50%, #45a049 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced hover effects */
.overview-card,
.stat-item,
.advantage-card,
.project-item {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        background-attachment: scroll;
    }
    
    .navbar .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        flex-direction: column;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        display: none;
        transform: translateX(-100%);
        border-top: 1px solid rgba(44, 73, 159, 0.1);
        overflow: hidden;
        z-index: 9999;
        will-change: transform, opacity;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-sizing: border-box;
    }

    .nav-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(44, 73, 159, 0.1);
        background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: relative;
        height: 80px;
        flex-shrink: 0;
        z-index: 10;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .mobile-logo-img {
        height: 45px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
        transition: all 0.3s ease;
    }

    .mobile-logo:hover .mobile-logo-img {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    }

    .nav-close {
        background: linear-gradient(135deg, rgba(86, 185, 71, 0.1) 0%, rgba(86, 185, 71, 0.05) 100%);
        border: 2px solid rgba(86, 185, 71, 0.2);
        color: var(--primary-color);
        font-size: 1.25rem;
        cursor: pointer;
        padding: 0.75rem;
        border-radius: 50%;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        box-shadow: 0 2px 8px rgba(86, 185, 71, 0.15);
    }

    .nav-close:hover {
        background: linear-gradient(135deg, rgba(86, 185, 71, 0.2) 0%, rgba(86, 185, 71, 0.1) 100%);
        border-color: rgba(86, 185, 71, 0.4);
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(86, 185, 71, 0.25);
    }

    .nav-close:active {
        transform: scale(0.95);
        box-shadow: 0 2px 6px rgba(86, 185, 71, 0.2);
    }



    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding: 2rem 1.5rem;
        padding-bottom: 2rem;
        animation: slideInUp 0.5s ease-out 0.2s both;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        height: calc(100vh - 80px);
        box-sizing: border-box;
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-list li {
        width: 100%;
        margin: 0;
        opacity: 0;
        animation: fadeInUp 0.4s ease-out forwards;
    }

    .nav-list li:nth-child(1) { animation-delay: 0.3s; }
    .nav-list li:nth-child(2) { animation-delay: 0.4s; }
    .nav-list li:nth-child(3) { animation-delay: 0.5s; }
    .nav-list li:nth-child(4) { animation-delay: 0.6s; }
    .nav-list li:nth-child(5) { animation-delay: 0.7s; }
    .nav-list li:nth-child(6) { animation-delay: 0.8s; }
    .nav-list li:nth-child(7) { animation-delay: 0.9s; }

    /* Ensure language switcher is visible in mobile nav */
    .nav-list li.language-switcher {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(86, 185, 71, 0.1);
        border-radius: 10px;
        border: 2px solid rgba(86, 185, 71, 0.3);
        box-shadow: 0 4px 12px rgba(86, 185, 71, 0.2);
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-link {
        padding: 1.25rem 1.75rem;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 500;
        width: 100%;
        justify-content: flex-start;
        background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,249,250,0.8) 100%);
        border: 1px solid rgba(44, 73, 159, 0.1);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        position: relative;
        overflow: hidden;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(86, 185, 71, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(135deg, rgba(86, 185, 71, 0.1) 0%, rgba(86, 185, 71, 0.05) 100%);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(86, 185, 71, 0.15);
        border-color: rgba(86, 185, 71, 0.3);
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        left: 100%;
    }

    .btn-quote {
        width: 100%;
        justify-content: center;
        margin-top: 1.5rem;
        padding: 1.25rem 1.75rem !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, #6bbf5a 100%);
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.1rem;
        box-shadow: 0 4px 16px rgba(86, 185, 71, 0.3);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
    }

    .btn-quote::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.5s ease;
    }

    .btn-quote:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(86, 185, 71, 0.4);
    }

    .btn-quote:hover::before {
        left: 100%;
    }

    .nav-toggle {
        display: flex;
        will-change: transform;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        transition: transform 0.3s ease;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        transition: transform 0.3s ease;
    }

    .logo-img {
        height: 60px;
        max-width: 200px;
    }

    /* Language switcher mobile adjustments */
    .language-switcher {
        width: 100%;
        margin-top: 1rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(86, 185, 71, 0.1);
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 4px rgba(86, 185, 71, 0.2);
    }

    .lang-btn:hover {
        background: var(--primary-color);
        color: white;
    }

    .lang-dropdown {
        position: static;
        transform: none;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        background: rgba(86, 185, 71, 0.05);
        box-shadow: none;
        border: none;
        margin-top: 0.5rem;
        border-radius: var(--border-radius-sm);
        padding: 0.5rem;
        width: 100%;
        z-index: 1001;
    }

    /* Ensure language switcher is always visible on mobile */
    .nav-list .language-switcher {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 1rem;
        padding: 0.5rem;
        background: rgba(86, 185, 71, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(86, 185, 71, 0.2);
    }

    .lang-dropdown li {
        width: 100%;
        display: block !important;
    }

    .lang-option {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Dropdown adjustments for mobile */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(86, 185, 71, 0.05);
        box-shadow: none;
        border: none;
        margin-top: 0.5rem;
        margin-left: 1rem;
        border-radius: var(--border-radius-sm);
        padding: 0.5rem;
    }

    .dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .dropdown-menu a:hover {
        background: rgba(86, 185, 71, 0.1);
        transform: none;
    }

    /* Services section mobile layout */
    .service-card {
        margin-bottom: 4rem;
        border-radius: 15px;
    }

    .service-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-content.reverse {
        grid-template-columns: 1fr;
    }

    .service-image {
        order: 1;
        height: 300px;
    }

    .service-text {
        order: 2;
        padding: 2rem;
    }

    .service-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-text h2::after {
        width: 50px;
        height: 3px;
    }

    .service-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.7;
    }

    .service-text ul {
        margin: 1rem 0;
    }

    .service-text ul li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .service-text .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 200px;
    }

    /* Services slider mobile layout */
    .services-slider {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
        perspective: none;
    }

    .service-slide {
        flex: 0 0 100%;
        opacity: 1;
        transform: none;
        display: none;
        filter: none;
    }

    .service-slide.active {
        display: block;
        transform: none;
        filter: none;
    }

    .service-slide.active .service-card {
        transform: none;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

    .service-card {
        max-width: 450px;
        margin: 0 auto;
        border-radius: 15px;
    }

    .service-image {
        height: 180px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .service-content .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        width: auto;
        max-width: none;
    }

    .services-controls {
        margin-top: 2rem;
        gap: 1rem;
    }

    .service-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Stats grid mobile - 2 cards per row */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Reduce padding after first section */
    .hero + .overview {
        padding-top: 0.5rem;
    }

    .overview + .stats {
        padding-top: 3rem;
    }
}

    .hero-title {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .projects-showcase {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .project-item.large {
        grid-row: auto;
    }

    .testimonial-content {
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-controls {
        bottom: 20px;
        gap: 1rem;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
    }

@media (max-width: 480px) {
    /* Additional mobile containment for smaller screens */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure all sections are properly contained */
    .hero, .overview, .stats, .our-services, .cta-section, .footer,
    .latest-projects, .testimonials, .contact-hero, .contact-content {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }
    
    /* Fix any potential image overflow */
    img {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    /* Ensure text doesn't cause overflow */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .slider-controls {
        bottom: 20px;
        gap: 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .logo-img {
        height: 50px;
    }

    /* Services mobile optimization */
    .service-card {
        margin-bottom: 3rem;
    }

    .service-text {
        padding: 1.5rem;
    }

    .service-text h2 {
        font-size: 1.6rem;
    }

    .service-text p {
        font-size: 0.95rem;
    }

    .service-text ul li {
        font-size: 0.9rem;
    }

    .service-image {
        height: 200px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Lazy Loading Styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

.lazy-bg {
    background-image: none !important;
    transition: background-image 0.3s ease;
}

.lazy-bg.loaded-bg {
    background-image: inherit !important;
}

/* Loading animation */
.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loaded {
    opacity: 1;
}

/* Gallery Styles */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* News Section */
.news {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-meta .date {
    color: var(--text-light);
}

.news-meta .category {
    color: var(--primary-color);
    font-weight: 500;
}

.news-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Video Content */
.video-content {
    padding: 80px 0;
    background-color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-placeholder {
    background: linear-gradient(135deg, var(--secondary-color), #1a2f6b);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.video-placeholder h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.video-placeholder p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* Awards Section */
.awards {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.award-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
}

.award-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.award-item:hover .award-icon {
    transform: scale(1.1);
}

.award-icon i {
    font-size: 2rem;
    color: var(--white);
}

.award-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.award-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.member-info span {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.member-info p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Values Section */
.values {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Content */
.about-content {
    padding: 80px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

/* Services Overview */
.services-overview {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.services-overview .container {
    position: relative;
    z-index: 1;
}

.service-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.overview-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.overview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.overview-item:hover::before {
    transform: scaleX(1);
}

.overview-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.overview-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.overview-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    transition: all 0.3s ease;
}

.overview-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.overview-item:hover .overview-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.overview-item:hover .overview-icon::before {
    transform: scale(1.2);
    opacity: 0.5;
}

.overview-item:hover .overview-icon i {
    transform: scale(1.1);
}

.overview-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
}

.overview-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overview-item:hover .overview-item h3::after {
    opacity: 1;
}

.overview-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Services Detailed - Enhanced */
.services-detailed {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,123,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'),
        linear-gradient(135deg, rgba(0,123,255,0.05) 0%, rgba(0,123,255,0.02) 100%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.services-detailed .container {
    position: relative;
    z-index: 1;
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    backdrop-filter: blur(20px);
    scroll-margin-top: 100px; /* For smooth scrolling to anchors */
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 1;
}

.service-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-content.reverse {
    flex-direction: column;
}

.service-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), transparent);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.95) contrast(1.05);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
    filter: brightness(1.05) contrast(1.1);
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-card:hover .service-image::before {
    opacity: 0.3;
}

.service-text {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--white);
    position: relative;
    flex: 1;
    z-index: 2;
}

.service-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-text h2 {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.service-card:hover .service-text::before {
    transform: scaleX(1);
}

.service-card:hover .service-text h2 {
    color: var(--primary-color);
}

.service-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.service-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-text p {
    color: var(--text-color);
}

.service-text ul {
    margin: 1.2rem 0;
    padding-left: 0;
    list-style: none;
}

.service-text ul li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.service-text ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1rem;
    top: 0;
    transition: all 0.3s ease;
    background: rgba(0, 123, 255, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.service-text ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: 0;
    transition: transform 0.3s ease;
}

.service-text ul li:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.service-text ul li:hover::before {
    transform: scale(1.2);
    background: rgba(0, 123, 255, 0.2);
}

.service-card:hover .service-text ul li {
    color: var(--text-color);
}

.service-text .btn {
    margin-top: 1.5rem;
    align-self: flex-start;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.service-text .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.service-text .btn::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.5s ease;
}

.service-text .btn:hover::before {
    left: 100%;
}

.service-text .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.service-card:hover .service-text .btn {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

/* Enhanced Services Overview Section */
.services-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e3e6ea"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.services-overview .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-item {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-item:hover::before {
    opacity: 0.05;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 1;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), transparent);
    z-index: 1;
    border-radius: 15px;
    transition: opacity 0.3s ease;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 15px;
}

.service-item:hover .service-image {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-item:hover .service-image::before {
    opacity: 0.3;
}

.service-item h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-item:hover h3::after {
    width: 60px;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    z-index: 1;
    position: relative;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Enhanced Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 0l15 8.66v17.32L15 34.64 0 26V8.66L15 0z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

.why-choose-us .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-choose-us .section-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-choose-us .section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.3);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.advantage-card:hover .advantage-icon i {
    transform: scale(1.2);
}

.advantage-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.advantage-card p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Enhanced CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .services-detailed {
        padding: 60px 0;
    }
    
    .overview {
        padding: 60px 0;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .services-detailed-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
        padding: 0 1rem;
    }
    
    .service-card {
        margin-bottom: 0;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        transition: all 0.4s ease;
    }
    
    .service-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .service-content {
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 0;
    }

    .service-content.reverse {
        flex-direction: column;
    }

    .service-image {
        order: 1;
        height: 220px;
        position: relative;
    }
    
    .service-image::before {
        background: linear-gradient(45deg, rgba(0,0,0,0.2), transparent);
    }

    .service-text {
        order: 2;
        padding: 2rem;
        background: var(--white);
    }

    .service-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: var(--secondary-color);
    }

    .service-text h2::after {
        width: 35px;
        height: 3px;
        bottom: -6px;
    }

    .service-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.6;
        color: var(--text-light);
    }

    .service-text ul {
        margin: 1rem 0;
        padding-left: 0;
    }

    .service-text ul li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        padding-left: 1.5rem;
        line-height: 1.5;
    }
    
    .service-text ul li::before {
        font-size: 0.9rem;
        top: -1px;
    }

    .service-text .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 25px;
        align-self: flex-start;
        max-width: 180px;
        margin-top: 1rem;
    }
    
    /* Enhanced mobile UX */
    .service-image img {
        transition: transform 0.4s ease;
        object-position: center;
    }
    
    .service-card:hover .service-image img {
        transform: scale(1.05);
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .service-image {
        height: 180px;
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .service-item p {
        font-size: 0.95rem;
    }

    /* Why Choose Us Mobile */
    .why-choose-us {
        padding: 60px 0;
    }

    .why-choose-us .section-title {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advantage-card {
        padding: 1.5rem;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
    }

    .advantage-icon i {
        font-size: 1.5rem;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .services-detailed-grid {
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 0 0.5rem;
    }
    
    .service-card {
        margin-bottom: 0;
        border-radius: 16px;
    }

    .service-text {
        padding: 1.5rem;
    }

    .service-text h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .service-text h2::after {
        width: 30px;
        height: 2px;
        bottom: -5px;
    }

    .service-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .service-text ul {
        margin: 0.8rem 0;
        padding-left: 0;
    }

    .service-text ul li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        padding-left: 1.2rem;
        line-height: 1.4;
    }
    
    .service-text ul li::before {
        font-size: 0.8rem;
        top: -1px;
    }
    
    .service-text .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        max-width: 150px;
        margin-top: 0.8rem;
    }

    .service-image {
        height: 180px;
    }
    
    /* Enhanced small mobile UX */
    .service-card:hover {
        transform: translateY(-2px);
    }
    
    .service-card:hover .service-image img {
        transform: scale(1.02);
    }

    .service-item {
        padding: 1rem;
    }

    .service-image {
        height: 150px;
    }

    .service-item h3 {
        font-size: 1.2rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }

    .why-choose-us .section-title {
        font-size: 1.8rem;
    }

    .advantage-card {
        padding: 1rem;
    }

    .advantage-icon {
        width: 50px;
        height: 50px;
    }

    .advantage-icon i {
        font-size: 1.2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-item,
    .advantage-card,
    .service-image,
    .service-image img,
    .service-text .btn,
    .service-link,
    .cta-buttons .btn {
        transition: none;
    }
}

/* Focus States for Better Accessibility */
.service-card:focus-within,
.service-item:focus-within,
.advantage-card:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.service-text .btn:focus,
.service-link:focus,
.cta-buttons .btn:focus {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .service-card,
    .service-item,
    .advantage-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .service-image {
        max-height: 200px;
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1000;
}

.language-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-grey);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.lang-option:hover,
.lang-option.active {
    background-color: var(--light-grey);
    color: var(--primary-color);
}

/* Arabic Language Support */
[lang="ar"] {
    direction: rtl;
    font-family: 'Noto Sans Arabic', 'Poppins', sans-serif;
}

[lang="ar"] .container {
    direction: rtl;
}

[lang="ar"] .nav-list {
    direction: rtl;
}

[lang="ar"] .hero-content {
    text-align: right;
}

[lang="ar"] .section-header {
    text-align: right;
}

[lang="ar"] .overview-card,
[lang="ar"] .stat-item,
[lang="ar"] .advantage-card {
    text-align: right;
}

[lang="ar"] .testimonial-content {
    text-align: right;
}

[lang="ar"] .footer-content {
    direction: rtl;
}

[lang="ar"] .slider-controls {
    left: auto;
    right: 20px;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    background-image: url('assets/images for web/Construction Services.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-color);
    opacity: 0.9;
    z-index: 1;
}

.footer-content,
.footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-radius: var(--border-radius-sm);
}

.footer-section ul li a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    padding-left: 0.5rem;
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact p i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.newsletter-form {
    margin-top: 1.5rem;
}

.newsletter-form .form-group {
    margin-bottom: 1rem;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-sm);
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus,
.newsletter-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 3px rgba(86, 185, 71, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2rem;
    text-align: center;
    color: var(--white);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Footer Logo */
.footer-logo {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.1);
}

.footer-logo:hover {
    transform: scale(1.02);
    filter: brightness(1.2);
}

/* Footer Brand Text */
.footer-brand p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-brand p.geomak-group {
    color: var(--primary-color);
    font-weight: 600;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(86, 185, 71, 0.3);
}

.social-links i {
    font-size: 1.2rem;
}

/* Careers Page Styles */
.careers-content {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.careers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.careers-text h2 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
}

.careers-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.benefits {
    margin: var(--spacing-lg) 0;
}

.benefits h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits ul li {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
}

.benefits ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.culture {
    margin: var(--spacing-lg) 0;
}

.culture h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.careers-image {
    text-align: center;
}

.careers-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Positions Section */
.positions {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-grey);
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.position-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-color);
}

.position-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.position-header h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.25rem;
}

.position-type {
    background: var(--blue-gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.position-details {
    margin-bottom: var(--spacing-md);
}

.position-details p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.position-details i {
    color: var(--primary-color);
    width: 16px;
}

.position-description {
    margin-bottom: var(--spacing-md);
}

.position-description p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
}

.position-skills {
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.skill-tag {
    background: rgba(86, 185, 71, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Application Form */
.application-form {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(44, 73, 159, 0.1);
}

.form-group input[type="file"] {
    padding: 8px;
    border: 2px dashed var(--border-color);
    background-color: var(--light-grey);
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: var(--secondary-color);
    background-color: rgba(44, 73, 159, 0.05);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-grey);
    font-size: 0.875rem;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Mission Section */
.mission {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-grey);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.why-choose-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.why-choose-icon i {
    font-size: 2rem;
    color: var(--white);
}

.why-choose-card h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.why-choose-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design for Careers */
@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
    }
    
    .highlight-icon i {
        font-size: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .achievement-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .achievement-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .achievement-icon i {
        font-size: 2rem;
    }
    
    .achievement-number {
        font-size: 3rem;
    }
    
    .achievement-label {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-card {
        padding: 1rem;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
    }
    
    .highlight-icon i {
        font-size: 1.3rem;
    }
    
    .highlight-card h3 {
        font-size: 1.1rem;
    }
    
    .highlight-card p {
        font-size: 0.9rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 0 0.5rem;
    }
    
    .achievement-card {
        padding: 2rem 1rem;
        border-radius: 16px;
    }
    
    .achievement-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }
    
    .achievement-icon i {
        font-size: 1.8rem;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
    
    .achievement-label {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Services Page Styles */

/* Page Progress Bar */
.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 0 2px 2px 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Enhanced Form Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(86, 185, 71, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: '⚠';
    font-size: 1rem;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 15px;
    margin: 1rem 0;
    animation: slideInUp 0.6s ease;
}

.form-success i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-success p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* Enhanced Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch Active State */
.touch-active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* Keyboard Navigation Styles */
.keyboard-navigation .service-card:focus-within,
.keyboard-navigation .service-item:focus-within,
.keyboard-navigation .advantage-card:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.keyboard-navigation .btn:focus,
.keyboard-navigation .service-link:focus {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .page-progress {
        height: 3px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .form-success {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .form-success i {
        font-size: 2.5rem;
    }
    
    .form-success h3 {
        font-size: 1.3rem;
    }
    
    .form-success p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .page-progress {
        height: 2px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-success {
        padding: 1rem;
    }
    
    .form-success i {
        font-size: 2rem;
    }
    
    .form-success h3 {
        font-size: 1.2rem;
    }
    
    .form-success p {
        font-size: 0.9rem;
    }
}

/* Enhanced Loading States */
.service-image img.loaded {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Enhanced Hover Effects for Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .service-item:hover,
    .advantage-card:hover {
        transform: none;
    }
    
    .service-card:active,
    .service-item:active,
    .advantage-card:active {
        transform: scale(0.98);
    }
}

/* Print Styles Enhancement */
@media print {
    .scroll-to-top,
    .page-progress {
        display: none !important;
    }
    
    .service-card,
    .service-item,
    .advantage-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 2rem;
    }
    
    .service-image {
        max-height: 200px;
    }
    
    .form-success {
        background: #f8f9fa !important;
        color: #333 !important;
        border: 1px solid #ddd;
    }
}

/* Accessibility Improvements */

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    z-index: 10001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced Focus States */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Enhanced focus for keyboard navigation */
.keyboard-navigation *:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card,
    .service-item,
    .advantage-card {
        border: 2px solid var(--primary-color);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .nav-link {
        border-bottom: 2px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-bottom-color: var(--primary-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .service-card:hover,
    .service-item:hover,
    .advantage-card:hover {
        transform: none;
    }
    
    .service-image img {
        transition: none;
    }
    
    .btn::before {
        animation: none;
    }
}

/* Enhanced Mobile Accessibility */
@media (max-width: 768px) {
    .skip-link {
        top: -50px;
        left: 10px;
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .skip-link:focus {
        top: 10px;
    }
}

/* Print Accessibility */
@media print {
    .skip-link,
    .nav-toggle,
    .language-switcher,
    .social-links,
    .cta-buttons {
        display: none !important;
    }
    
    .service-card,
    .service-item,
    .advantage-card {
        break-inside: avoid;
        border: 1px solid #000;
        margin-bottom: 2rem;
    }
    
    .service-text h2 {
        color: #000 !important;
    }
    
    .service-text p,
    .service-text ul li {
        color: #333 !important;
    }
    
    .advantage-card {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #000;
    }
    
    .advantage-card h3 {
        color: #000 !important;
    }
    
    .advantage-card p {
        color: #333 !important;
    }
}

/* Modern Contact Page Styles */

/* Contact Hero Section */
.contact-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.contact-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

/* Contact Content */
.contact-content {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e3e6ea" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    z-index: 0;
}

.contact-content .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info */
.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.contact-info-header h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info-header p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(86, 185, 71, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(86, 185, 71, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(86, 185, 71, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.contact-details h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-label {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: rgba(86, 185, 71, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.form-header h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(86, 185, 71, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* File Upload */
.file-upload-area {
    position: relative;
    border: 2px dashed rgba(86, 185, 71, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(86, 185, 71, 0.02);
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(86, 185, 71, 0.05);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.file-upload-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.file-upload-content span {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::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.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
}

.map-wrapper iframe {
    border-radius: 20px;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.location-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.location-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.location-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.location-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.location-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-card a:hover {
    color: var(--secondary-color);
}

.location-actions {
    margin-top: 1.5rem;
}

.location-actions .btn {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 0l15 8.66v17.32L15 34.64 0 26V8.66L15 0z" fill="none" stroke="%23e3e6ea" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.2;
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(86, 185, 71, 0.05);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(86, 185, 71, 0.1);
}

.faq-question h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 2rem;
    display: none;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Links */
.social-links h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-hero-text h2 {
        font-size: 2rem;
    }
    
    .contact-hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-items {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero-text h2 {
        font-size: 1.8rem;
    }
    
    .contact-hero-text p {
        font-size: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info-header h2 {
        font-size: 2rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .location-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    .contact-item,
    .faq-item,
    .submit-btn,
    .social-icons a {
        transition: none;
    }
    
    .faq-answer {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .contact-hero,
    .map-wrapper,
    .social-icons,
    .submit-btn {
        display: none !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Custom Scrollbar Styling */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 0 10px rgba(86, 185, 71, 0.3);
}

::-webkit-scrollbar-corner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f8f9fa;
}

/* For Firefox, we need to use a different approach since it doesn't support gradients in scrollbar-color */
@supports (scrollbar-color: auto) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) #f8f9fa;
    }
}

/* Custom scrollbar for specific elements */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(86, 185, 71, 0.1);
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

/* Enhanced scrollbar for dark sections */
.dark-section::-webkit-scrollbar-track {
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
}

.dark-section::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.2) 100%);
    border: 2px solid rgba(0,0,0,0.1);
}

.dark-section::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.3) 100%);
}

/* Mobile scrollbar adjustments */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    
    ::-webkit-scrollbar-thumb {
        border-width: 1px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    ::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border: 2px solid var(--white);
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    ::-webkit-scrollbar-thumb {
        transition: none;
    }
}

/* Story Timeline Styles */
.story-timeline {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.story-timeline .container {
    position: relative;
    z-index: 2;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    max-height: 800px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.timeline::-webkit-scrollbar {
    width: 8px;
}

.timeline::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
}

.timeline::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    min-height: 300px;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    flex-direction: row;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px rgba(86, 185, 71, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .marker-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(86, 185, 71, 0.3);
}

.marker-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translate(-50%, -50%);
}

.timeline-item:nth-child(odd) .marker-line {
    left: calc(50% + 10px);
}

.timeline-item:nth-child(even) .marker-line {
    left: calc(50% - 10px);
    transform: translate(-50%, -50%) scaleX(-1);
}

.timeline-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(86, 185, 71, 0.05) 0%, rgba(86, 185, 71, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.timeline-image {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.05);
}

.timeline-text {
    flex: 1;
    padding: 1rem 0;
}

.timeline-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    position: relative;
}

.timeline-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.timeline-item:nth-child(even) .timeline-text h3::after {
    left: auto;
    right: 0;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(86, 185, 71, 0.3);
}

.timeline-text p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Service Highlights Styles */
.service-highlights {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.service-highlights .section-title {
    color: var(--white);
}

.service-highlights .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.highlight-icon i {
    font-size: 2rem;
    color: var(--white);
}

.highlight-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Mission & Vision Styles */
.mission-vision {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(86, 185, 71, 0.1), transparent);
    transition: left 0.6s ease;
}

.mission-card:hover::before,
.vision-card:hover::before {
    left: 100%;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6bbf5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(86, 185, 71, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mission-card:hover .card-icon,
.vision-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(86, 185, 71, 0.4);
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3,
.vision-card h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.mission-card h3::after,
.vision-card h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #6bbf5a 100%);
    margin-top: 1rem;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.mission-card:hover h3::after,
.vision-card:hover h3::after {
    width: 80px;
}

.mission-card p,
.vision-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.mission-features,
.vision-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(86, 185, 71, 0.1) 0%, rgba(86, 185, 71, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(86, 185, 71, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(86, 185, 71, 0.15) 0%, rgba(86, 185, 71, 0.1) 100%);
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(86, 185, 71, 0.2);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

    .feature-item span {
        color: var(--secondary-color);
        font-weight: 600;
        font-size: 0.95rem;
    }

/* Mobile Responsiveness for Timeline */
@media (max-width: 768px) {
    .timeline {
        max-height: 600px;
    }
    
    .timeline::before {
        left: 0%;
        width: 2px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        flex-direction: column;
        text-align: left;
        margin-left: 50px;
        padding: 1.5rem;
    }
    
    .timeline-item:nth-child(odd) .marker-line,
    .timeline-item:nth-child(even) .marker-line {
        left: 20px;
        transform: translate(-50%, -50%);
        width: 25px;
    }
    
    .timeline-image {
        flex: none;
        width: 100%;
        height: 180px;
        margin-bottom: 1rem;
    }
    
    .timeline-text h3::after {
        left: 0;
        right: auto;
    }
    
    .timeline-text h3 {
        font-size: 1.4rem;
    }
    
    .timeline-text p {
        font-size: 0.95rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .story-timeline {
        padding: 3rem 0;
    }
    
    .timeline {
        max-height: 500px;
    }
    
    .timeline-content {
        padding: 1rem;
        margin-left: 35px;
    }
    
    .timeline-marker {
        left: 15px;
    }
    
    .timeline::before {
        left: 0%;
        width: 2px;
    }
    
    .timeline-item:nth-child(odd) .marker-line,
    .timeline-item:nth-child(even) .marker-line {
        left: 15px;
        width: 20px;
    }
    
    .timeline-image {
        height: 150px;
    }
    
    .timeline-text h3 {
        font-size: 1.2rem;
    }
    
    .timeline-text p {
        font-size: 0.9rem;
    }
    
    .timeline-year {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 1.3rem;
    }
    
    .mission-card h3,
    .vision-card h3 {
        font-size: 1.5rem;
    }
    
    .mission-card p,
    .vision-card p {
        font-size: 0.95rem;
    }
}

/* Animation for timeline items */
@keyframes timelineFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item.animate {
    animation: timelineFadeIn 0.8s ease forwards;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .timeline-item,
    .timeline-content,
    .mission-card,
    .vision-card,
    .card-icon {
        transition: none;
    }
    
    .timeline-item.animate {
        animation: none;
        opacity: 1;
        transform: translateY(0);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .timeline-content {
        border: 2px solid var(--dark);
    }
    
    .marker-dot {
        border: 4px solid var(--dark);
    }
    
    .timeline-text h3::after,
    .mission-card h3::after,
    .vision-card h3::after {
        background: var(--dark);
    }
}

/* Print styles */
@media print {
    .story-timeline {
        background: white;
    }
    
    .timeline-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .mission-card,
    .vision-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

.achievement-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.achievement-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.achievement-milestone {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.milestone-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.milestone-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievements-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(44, 73, 159, 0.3) transparent;
}

.achievements-grid::-webkit-scrollbar {
    height: 6px;
}

.achievements-grid::-webkit-scrollbar-track {
    background: rgba(44, 73, 159, 0.1);
    border-radius: 3px;
}

.achievements-grid::-webkit-scrollbar-thumb {
    background: rgba(44, 73, 159, 0.3);
    border-radius: 3px;
}

.achievements-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(44, 73, 159, 0.5);
}

.achievement-card-modern {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 20px;
    padding: 2rem;
    min-width: 280px;
    flex-shrink: 0;
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.achievement-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.achievement-card-modern:hover::before {
    left: 100%;
}

.achievement-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(44, 73, 159, 0.3);
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.achievement-card-modern:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(44, 73, 159, 0.4);
}

.achievement-card-modern:hover .card-icon i {
    transform: scale(1.1);
}

.card-number {
    text-align: right;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    display: block;
}

.counter-symbol {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-left: 0.25rem;
}

.card-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.progress-indicator {
    width: 100%;
    height: 6px;
    background: rgba(44, 73, 159, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-modern {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 1.5s ease-out;
    position: relative;
}

.progress-bar-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.achievements-timeline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.achievements-timeline h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.achievements-timeline h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-items {
    position: relative;
    padding-left: 2rem;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
    transition: all 0.3s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -20px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(44, 73, 159, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item:hover .marker-dot {
    transform: scale(1.3);
    box-shadow: 0 6px 20px rgba(44, 73, 159, 0.4);
}

.marker-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    margin-top: 8px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(44, 73, 159, 0.3);
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .achievements-showcase {
        gap: 3rem;
    }
    
    .achievement-featured {
        flex-direction: row;
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .achievements-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .achievements-showcase {
        gap: 2rem;
    }
    
    .achievement-featured {
        flex-direction: row;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .achievement-circle {
        transform: scale(0.8);
    }
    
    .achievements-grid {
        gap: 1rem;
    }
    
    .achievement-card-modern {
        padding: 1.5rem;
        min-width: 250px;
    }
    
    .card-header {
        margin-bottom: 1rem;
    }
    
    .achievements-timeline {
        padding: 2rem;
    }
    
    .timeline-items::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .achievement-featured {
        flex-direction: row;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .achievement-circle {
        transform: scale(0.7);
    }
    
    .achievement-info h3 {
        font-size: 1.5rem;
    }
    
    .achievement-info p {
        font-size: 1rem;
    }
    
    .achievements-timeline {
        padding: 1.5rem;
    }
    
    .timeline-items::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .marker-dot {
        width: 10px;
        height: 10px;
    }
}

/* Animation for counters */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: countUp 1s ease-out;
}

/* Animation for progress rings */
@keyframes progressFill {
    from {
        stroke-dashoffset: 502.4;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.progress-ring-circle {
    animation: progressFill 2s ease-out 0.5s forwards;
}

/* Hover effects for timeline */
.timeline-item:hover .timeline-content {
    transform: translateX(15px) scale(1.02);
}

/* Focus states for accessibility */
.achievement-card-modern:focus-within,
.achievement-featured:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.timeline-content:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .achievement-card-modern,
    .achievement-featured,
    .timeline-content {
        transition: none;
    }
    
    .counter,
    .progress-ring-circle {
        animation: none;
    }
    
    .progress-bar-modern::after {
        animation: none;
    }
} 

/* Modern Scrollable Timeline */
.timeline-scroll-container {
    position: relative;
    margin: 4rem 0;
    height: 600px;
    overflow: hidden;
}

.timeline-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    overflow-y: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
}

/* Custom scrollbar for timeline */
.timeline-scroll-track::-webkit-scrollbar {
    width: 8px;
}

.timeline-scroll-track::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.timeline-scroll-track::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, #6bbf5a 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.timeline-scroll-track::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6bbf5a 0%, var(--primary-color) 100%);
}

.timeline-scroll-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    min-height: 280px;
}

.timeline-scroll-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-scroll-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-scroll-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-scroll-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-scroll-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-scroll-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-scroll-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.timeline-scroll-item:hover .timeline-scroll-card {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.timeline-scroll-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.timeline-scroll-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-scroll-item:hover .timeline-scroll-image img {
    transform: scale(1.1);
}

.timeline-scroll-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-scroll-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6bbf5a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(86, 185, 71, 0.3);
    align-self: flex-start;
}

.timeline-scroll-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.timeline-scroll-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 1rem;
}

.timeline-scroll-milestone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(86, 185, 71, 0.1) 0%, rgba(86, 185, 71, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(86, 185, 71, 0.2);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.timeline-scroll-milestone:hover {
    background: linear-gradient(135deg, rgba(86, 185, 71, 0.15) 0%, rgba(86, 185, 71, 0.1) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(86, 185, 71, 0.2);
}

.timeline-scroll-milestone i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .timeline-scroll-container {
        height: 500px;
    }
    
    .timeline-scroll-card {
        min-height: 250px;
    }
    
    .timeline-scroll-image {
        height: 150px;
    }
    
    .timeline-scroll-content {
        padding: 1.5rem;
    }
    
    .mission-vision-grid {
        gap: 2.5rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .timeline-scroll-container {
        height: 450px;
    }
    
    .timeline-scroll-track {
        gap: 1.5rem;
    }
    
    .timeline-scroll-card {
        min-height: 220px;
    }
    
    .timeline-scroll-image {
        height: 140px;
    }
    
    .timeline-scroll-content {
        padding: 1.25rem;
    }
    
    .timeline-scroll-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-scroll-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .timeline-scroll-container {
        height: 400px;
    }
    
    .timeline-scroll-track {
        gap: 1rem;
    }
    
    .timeline-scroll-card {
        min-height: 200px;
    }
    
    .timeline-scroll-image {
        height: 120px;
    }
    
    .timeline-scroll-content {
        padding: 1rem;
    }
    
    .timeline-scroll-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-scroll-content p {
        font-size: 0.9rem;
    }
    
    .timeline-scroll-milestone {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .timeline-scroll-year {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Policy Pages Styles */
.privacy-hero,
.policy-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.privacy-hero::before,
.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.privacy-hero .hero-content,
.policy-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.privacy-hero .hero-title,
.policy-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.privacy-hero .hero-subtitle,
.policy-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-breadcrumb a:hover {
    opacity: 0.7;
}

.hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.policy-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.policy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.policy-section {
    padding: 3rem;
    border-bottom: 1px solid #e9ecef;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.policy-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border-radius: 2px;
}

.policy-section h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.policy-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.policy-section ul,
.policy-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.policy-section ul li,
.policy-section ol li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.policy-section ul li::marker {
    color: var(--primary-color);
}

.policy-section ol li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

.policy-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    min-width: 80px;
    color: var(--primary-color);
}

.last-updated {
    text-align: center;
    font-style: italic;
    color: #6c757d;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
    .privacy-hero,
    .policy-hero {
        padding: 100px 0 60px;
    }

    .privacy-hero .hero-title,
    .policy-hero .hero-title {
        font-size: 2.5rem;
    }

    .privacy-hero .hero-subtitle,
    .policy-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .policy-content {
        padding: 60px 0;
    }

    .policy-wrapper {
        margin: 0 1rem;
        border-radius: 15px;
    }

    .policy-section {
        padding: 2rem;
    }

    .policy-section h2 {
        font-size: 1.8rem;
    }

    .policy-section h3 {
        font-size: 1.3rem;
    }

    .contact-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero,
    .policy-hero {
        padding: 80px 0 50px;
    }

    .privacy-hero .hero-title,
    .policy-hero .hero-title {
        font-size: 2rem;
    }

    .privacy-hero .hero-subtitle,
    .policy-hero .hero-subtitle {
        font-size: 1rem;
    }

    .policy-content {
        padding: 40px 0;
    }

    .policy-wrapper {
        margin: 0 0.5rem;
        border-radius: 12px;
    }

    .policy-section {
        padding: 1.5rem;
    }

    .policy-section h2 {
        font-size: 1.6rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }

    .policy-section p,
    .policy-section ul li,
    .policy-section ol li {
        font-size: 0.95rem;
    }

    .contact-info {
        padding: 1rem;
    }

    .contact-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .contact-info strong {
        min-width: auto;
    }
}

/* Animation for Policy Sections */
.policy-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.policy-section:nth-child(1) { animation-delay: 0.1s; }
.policy-section:nth-child(2) { animation-delay: 0.2s; }
.policy-section:nth-child(3) { animation-delay: 0.3s; }
.policy-section:nth-child(4) { animation-delay: 0.4s; }
.policy-section:nth-child(5) { animation-delay: 0.5s; }
.policy-section:nth-child(6) { animation-delay: 0.6s; }
.policy-section:nth-child(7) { animation-delay: 0.7s; }
.policy-section:nth-child(8) { animation-delay: 0.8s; }
.policy-section:nth-child(9) { animation-delay: 0.9s; }
.policy-section:nth-child(10) { animation-delay: 1.0s; }
.policy-section:nth-child(11) { animation-delay: 1.1s; }
.policy-section:nth-child(12) { animation-delay: 1.2s; }
.policy-section:nth-child(13) { animation-delay: 1.3s; }
.policy-section:nth-child(14) { animation-delay: 1.4s; }
.policy-section:nth-child(15) { animation-delay: 1.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility and Print Styles */
@media (prefers-reduced-motion: reduce) {
    .policy-section {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media print {
    .privacy-hero,
    .policy-hero {
        background: white !important;
        color: black !important;
    }

    .policy-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .policy-section {
        border-bottom: 1px solid #ddd;
    }
}