/* Main CSS Styles for Bring 2 Me */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d60a3;
    --secondary-color: #E3335B;
    --accent-color: #1abc9c;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f9f9f9;
    --background-white: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #2d60a3 0%, #1abc9c 100%);
    --gradient-secondary: linear-gradient(135deg, #E3335B 0%, #ff8a65 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d60a3 0%, #1abc9c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.logo-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-loading img {
    height: 50px;
    margin-right: 15px;
    animation: pulse 2s infinite;
}

.logo-loading span {
    font-size: 28px;
    font-weight: 700;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background-color: white;
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pulse {
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(45, 96, 163, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(45, 96, 163, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 96, 163, 0); }
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4e8f;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #e85928;
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f1f1f1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.section-header.left-aligned {
    text-align: left;
}

.section-header.left-aligned h2:after {
    left: 0;
    transform: none;
}

.highlight {
    color: var(--secondary-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(45, 96, 163, 0.1);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(45, 96, 163, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

.header.sticky {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.12);
}

.header.scrolled {
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled.visible {
    transform: translateY(0);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    overflow: hidden;
}

.logo span::after {
    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;
}

.logo:hover span::after {
    left: 100%;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: var(--text-color);
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 25px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item i {
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-item a:hover i,
.nav-item a.active i {
    opacity: 1;
    transform: scale(1.1);
}

.nav-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-item a:hover::before,
.nav-item a.active::before {
    opacity: 0.1;
    transform: scale(1);
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-item a:hover::after,
.nav-item a.active::after {
    width: 30px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.header-btn {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-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;
}

.header-btn:hover::before {
    left: 100%;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 96, 163, 0.3);
}

.language-selector {
    position: relative;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1.05em; /* smaller font for compact look */
    min-width: 60px;
    min-height: 60px;
    padding: 8px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.language-selector:hover {
    background: rgba(45, 96, 163, 0.05);
    border-color: rgba(45, 96, 163, 0.1);
}

.current-lang {
    height: 20px;
    border-radius: 3px;
    transition: transform 0.3s ease;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    margin-right: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.language-selector:hover .current-lang {
    transform: scale(1.1);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 15px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    border: 1px solid rgba(45, 96, 163, 0.1);
    font-size: 1.1em;
    padding: 10px 0;
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    margin: 2px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.8em;
    gap: 10px;
}

.lang-dropdown a:hover {
    background: rgba(45, 96, 163, 0.08);
    transform: translateX(5px);
}

.lang-dropdown a img {
    width: 30px;
    height: 30px;
  
}

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid transparent;
    position: relative;
    z-index: 1001;
}

.mobile-nav-toggle:hover {
    background: rgba(45, 96, 163, 0.05);
    border-color: rgba(45, 96, 163, 0.1);
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.hamburger:before {
    top: -6px;
}

.hamburger:after {
    bottom: -6px;
}

.mobile-nav-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle.active .hamburger:before {
    transform: rotate(45deg);
    top: 0;
    background-color: var(--primary-color);
}

.mobile-nav-toggle.active .hamburger:after {
    transform: rotate(-45deg);
    bottom: 0;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 96, 163, 0.8) 0%, rgba(26, 188, 156, 0.6) 100%);
}

.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 10px;
    font-size: 48px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .rotating-words {
    display: block;
    height: 50px;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .rotating-words .word {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: inline-block;
}

.hero-content .rotating-words .word.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .counter {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 30px;
    position: relative;
}

.hero-image-grid {
    position: relative;
}

.main-image {
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.main-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
}

.secondary-images {
    position: absolute;
    top: 20px;
    right: -30px;
    z-index: 1;
}

.secondary-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    animation: floatSecondary 4s ease-in-out infinite;
}

.secondary-img:nth-child(2) {
    animation-delay: 1s;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    animation: floatIcon 4s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.float-icon:nth-child(2) {
    animation-delay: 1s;
}

.float-icon:nth-child(3) {
    animation-delay: 2s;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatSecondary {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Enhanced Header Micro-Interactions */
.logo span {
    position: relative;
    overflow: hidden;
}

.logo span::after {
    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;
}

.logo:hover span::after {
    left: 100%;
}

/* Nav Item Icons */
.nav-item i {
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-item a:hover i,
.nav-item a.active i {
    opacity: 1;
    transform: scale(1.1);
}

/* Header Pulse Effect */
@keyframes headerPulse {
    0%, 100% { box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08); }
    50% { box-shadow: 0 5px 40px rgba(45, 96, 163, 0.15); }
}

.header:hover {
    animation: headerPulse 2s ease-in-out infinite;
}

/* Language Selector Tooltip */
.language-selector::before {
    content: 'Choose Language';
    position: absolute;
    bottom: -35px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.language-selector:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Animation Enhancements */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar.active .nav-item {
    animation: slideInFromRight 0.4s ease forwards;
}

/* Header Button Ripple Effect */
.header-btn {
    position: relative;
    overflow: hidden;
}

.header-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.header-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Smart Header Hide/Show Transitions */
.header.scrolled {
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled.visible {
    transform: translateY(0);
}

/* Enhanced Mobile Overlay */
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.nav-overlay.active {
    animation: fadeInOverlay 0.3s ease;
}

/* Services Section */
.services {
    background-color: var(--background-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card: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.5s ease;
}

.service-card:hover:before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card p {
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(45, 96, 163, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: var(--secondary-color);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Gallery Section */
.gallery {
    background-color: var(--background-light);
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(45, 96, 163, 0.9) 0%, rgba(26, 188, 156, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.gallery-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.gallery-content p {
    font-size: 16px;
    margin: 0;
}

/* Partners Section */
.partners {
    background-color: var(--background-light);
    padding: 60px 0;
}

.partners-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.partner {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner img {
    max-width: 150px;
    max-height: 60px;
}

/* About Us Section */
.about {
    background-color: var(--background-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    animation: rotate 10s linear infinite;
}

.decoration-square {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 10px;
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-light);
}

/* About Us Team Section */
.team-section {
    margin: 48px 0 32px 0;
    text-align: center;
}
.team-section h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #2d60a3;
}
.team-section p {
    color: #555;
    margin-bottom: 32px;
}
.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}
.team-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 24px 18px 18px 18px;
    max-width: 320px;
    min-width: 240px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}
.team-card:hover {
    box-shadow: 0 6px 24px rgba(45,96,163,0.13);
}
.team-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 3px solid #2d60a3;
}
.team-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.15rem;
    color: #2d60a3;
}
.team-info span {
    display: block;
    color: #666;
    font-size: 1em;
    margin-bottom: 2px;
}
.team-info p {
    margin: 8px 0 0 0;
    font-size: 0.98em;
}
.team-info a {
    color: #2d60a3;
    text-decoration: underline;
}
.about-company {
    margin: 40px auto 0 auto;
    max-width: 600px;
    text-align: center;
}
.about-company h3 {
    color: #2d60a3;
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.about-company p {
    color: #444;
    font-size: 1.08rem;
}
@media (max-width: 900px) {
    .team-card {
        max-width: 100%;
        min-width: 0;
    }
}

/* Features Section */
.features {
    background-color: var(--background-light);
}

.features-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.feature-content {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-list li i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-right: 15px;
}

.feature-list li span {
    font-size: 18px;
}

.feature-image {
    flex: 1;
    position: relative;
}

.feature-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 106, 61, 0.3);
    animation: pulse 2s infinite;
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-content i {
    font-size: 20px;
}

.badge-content span {
    font-weight: 600;
    font-size: 14px;
}

/* Achievements Section */
.achievements {
    background-color: var(--background-white);
    padding: 100px 0;
}

.achievements-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.achievements-image {
    flex: 0 0 300px;
    text-align: center;
}

.achievements-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

.achievements-text {
    flex: 1;
}

.achievement-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.achievement-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.achievement-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

/* Tracking Section */
.tracking {
    background-color: var(--primary-color);
    color: white;
}

.tracking .section-header h2,
.tracking .section-header p {
    color: white;
}

.tracking .section-header h2:after {
    background-color: white;
}

.tracking-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tracking-form .form-group {
    display: flex;
    gap: 15px;
}

.tracking-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.tracking-form input:focus {
    border-color: var(--primary-color);
}

.tracking-result {
    margin-top: 20px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    display: none;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    gap: 30px;
}

.testimonial {
    min-width: 100%;
    transition: transform 0.5s ease;
}

.testimonial-content {
    background-color: var(--background-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 60px;
    color: rgba(45, 96, 163, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.client-info h4 {
    margin-bottom: 5px;
}

.client-info span {
    color: var(--text-light);
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-white);
    border: none;
    box-shadow: 0 2px 10px var(--shadow-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-controls button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* CTA Section */
.cta {
    position: relative;
    color: white;
    padding: 100px 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 106, 61, 0.9) 0%, rgba(45, 96, 163, 0.8) 100%);
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.cta-feature i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: var(--background-white);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.contact-info {
    flex: 1 1 320px;
    min-width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44, 96, 163, 0.08);
    padding: 32px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.contact-info .contact-item i {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 4px;
}

.contact-info h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info p {
    margin: 0 0 2px 0;
    color: #444;
    font-size: 15px;
}

.contact-info .social-links {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.contact-info .social-links a {
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s;
}

.contact-info .social-links a:hover {
    background: var(--secondary-color);
}

.contact-map {
    flex: 1 1 350px;
    min-width: 260px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f6f8fa;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44, 96, 163, 0.06);
    padding: 24px 10px;
    margin-left: 0;
    margin-right: 0;
    min-height: 480px;
}

.contact-map iframe {
    width: 100%;
    min-width: 250px;
    max-width: 600px;
    height: 440px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .contact-map {
        padding: 12px 2px;
        border-radius: 10px;
        min-height: 320px;
    }
    .contact-map iframe {
        min-width: 180px;
        max-width: 100%;
        height: 260px;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .contact-map {
        padding: 6px 0;
        border-radius: 8px;
        min-height: 220px;
    }
    .contact-map iframe {
        min-width: 120px;
        height: 240px;
        border-radius: 6px;
    }
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.footer h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: white;
}

.footer h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer p {
    color: #b3b3b3;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b3b3b3;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #333;
    background-color: #333;
    color: white;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 0 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #b3b3b3;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Search Button */
.search-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(45, 96, 163, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
}

.search-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(45, 96, 163, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    position: relative;
}

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 18px;
    border: none;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.search-content {
    text-align: center;
    color: white;
    max-width: 600px;
    width: 100%;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.search-overlay.active .search-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.search-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.search-form {
    position: relative;
    margin-bottom: 40px;
}

.search-input {
    width: 100%;
    padding: 20px 70px 20px 25px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.search-input:focus {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    transform: translateY(-50%) scale(1.1);
}

.search-suggestions h3 {
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0.9;
    font-size: 18px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.suggestion-tag {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.suggestion-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Mobile footer fixes */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
        text-align: center;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Make the back to top button larger on mobile for easier tapping */
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* Mobile services fixes */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-features {
        justify-content: center;
    }
    
    /* Make cards stand out more on mobile */
    .service-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    /* Gallery improvements for mobile */
    .gallery-item {
        height: 250px;
    }
    
    /* Testimonial fixes for mobile */
    .testimonial-content {
        padding: 25px 20px;
    }
    
    .testimonial-controls {
        margin-top: 20px;
    }
    
    .testimonial-controls button {
        width: 50px;
        height: 50px;
    }
}

/* Mobile tracking form fixes */
@media (max-width: 768px) {
    .tracking-form-container {
        padding: 30px 20px;
    }
    
    .tracking-form .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .tracking-form input {
        width: 100%;
        padding: 15px 20px;
        border-radius: 10px;
    }
    
    .tracking-form button {
        width: 100%;
        padding: 15px 20px;
        border-radius: 10px;
    }
    
    /* Contact form mobile fixes */
    .contact-form .form-group input,
    .contact-form .form-group textarea {
        padding: 15px 20px;
        font-size: 16px; /* Prevents iOS from zooming in on focus */
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content .rotating-words {
        font-size: 32px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-content, 
    .features-grid,
    .achievements-content {
        flex-direction: column;
    }
    
    .about-image, 
    .about-text,
    .feature-content, 
    .feature-image,
    .achievements-image,
    .achievements-text {
        width: 100%;
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .about-text {
        margin-bottom: 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        flex-direction: column;
    }
    
    .contact-form, 
    .contact-info {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .header-content {
        position: relative;
    }
    
    .mobile-nav-toggle {
        display: block;
        z-index: 2000;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 100px 20px 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1500;
        flex-direction: column;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    
    .nav-item {
        width: 100%;
        margin: 5px 0;
    }
    
    .nav-item a {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .header-cta {
        position: static;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin: 20px 0 0 0;
    }
    
    .header-btn, 
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1200;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .language-selector {
        position: absolute;
        top: 25px;
        right: 80px;
    }
    
    .hero-content, 
    .hero-image {
        width: 100%;
        text-align: center;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .search-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .search-content h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .search-input {
        padding: 15px 55px 15px 20px;
        font-size: 16px;
    }
    
    .search-submit {
        width: 40px;
        height: 40px;
        right: 6px;
    }
    
    .suggestion-tags {
        gap: 8px;
    }
    
    .suggestion-tag {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Mobile Hero Adjustments */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content .rotating-words {
        font-size: 28px;
        height: 40px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px 30px;
    }
    
    .hero-stats .stat {
        flex: 1 0 40%;
    }
    
    /* Make all sections more compact on mobile */
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

/* Mobile hero image fixes */
@media (max-width: 768px) {
    .hero-image-grid {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .main-image img {
        max-width: 100%;
        height: auto;
    }
    
    .secondary-images {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .secondary-images img {
        width: calc(50% - 5px);
        height: auto;
        margin: 10px 0;
    }
    
    .floating-elements .float-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Fix padding in all sections */
    .hero, .services, .gallery, .partners, .about, 
    .features, .achievements, .tracking, .testimonials, 
    .cta, .contact {
        padding: 80px 0 50px;
    }
    
    /* Fix first section padding to account for fixed header */
    .hero {
        padding-top: 100px;
    }
}

/* Animated mobile menu */
@media (max-width: 768px) {
    .navbar .nav-item {
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        transition-delay: 0.1s;
    }
    
    .navbar.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    
    .navbar.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .navbar.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .navbar.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .navbar.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
    
    /* Better animation for mobile header */
    @keyframes slideInDown {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .header {
        animation: slideInDown 0.5s ease-out;
    }
    
    /* Improved tap targets for mobile */
    .nav-item a, 
    .header-btn,
    .search-btn,
    .mobile-nav-toggle,
    .language-selector,
    .btn {
        min-height: 44px; /* Minimum recommended tap target size */
    }
}

/* Avatar Styles for Team Section */
.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #2d60a3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    letter-spacing: 1px;
    border: 3px solid #fff;
}

.team-card img { display: none !important; }

.lang-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    margin-right: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    letter-spacing: 1px;
    border: 2px solid #fff;
    transition: background 0.2s;
}

.language-selector:hover .lang-avatar {
    background: var(--secondary-color);
}

.language-selector .current-lang {
    margin-right: 0;
}

/* Mobile Menu Language Selector */
.mobile-menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: #ffffff;
    padding: 25px;
    overflow-y: auto;
    box-shadow: -5px 0px 20px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nav-overlay.active .mobile-menu-container {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo img {
    height: 35px;
    margin-right: 10px;
}

.mobile-logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-close:hover {
    background: #eaeaea;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-item a {
    display: flex;
    align-items: center;
    padding: 15px 0;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-nav-item a:hover {
    color: var(--primary-color);
}

.mobile-nav-item a i {
    margin-right: 15px;
    font-size: 18px;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.mobile-language-selector {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-language-selector h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.mobile-lang-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mobile-lang-options a {
    text-decoration: none;
}

.lang-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.lang-item:hover {
    background: #f5f5f5;
}

.lang-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 3px;
}

.lang-item span {
    font-size: 14px;
    color: var(--text-color);
}

@media (max-width: 991px) {
  .language-selector {
    display: none !important;
  }
}
