/* ============================================
   Doha Car Repair - Main Stylesheet
   Fully Responsive & Optimized
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --primary-color: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.4);
    --shadow-glow-lg: 0 0 40px rgba(102, 126, 234, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

/* Image Optimization for Mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading support */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive images */
@media (max-width: 768px) {
    img {
        width: 100%;
        height: auto;
    }
    
    /* Optimize background images for mobile */
    .hero {
        background-image: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=800&q=75');
        background-attachment: scroll;
    }
    
    .service-card {
        background-size: cover;
        background-position: center;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 65px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo {
    transform: scale(1.02);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-image: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.8)); }
}

.hero-tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: white;
    font-size: 0.9rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 10px auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(10px) rotate(45deg); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.03);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Sections */
section {
    padding: 70px 0;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background-color: #2d3748;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    min-height: 320px;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

/* Service Card Background Images - Improved Visibility */
.service-card[data-service="Car Repair Service"] {
    background-image: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(30, 30, 30, 0.3)), 
                      url('https://images.unsplash.com/photo-1625047509248-ec889cbff17f?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Engine Repair"] {
    background-image: linear-gradient(135deg, rgba(118, 75, 162, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Buy Scrap Car"] {
    background-image: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(30, 30, 30, 0.3)), 
                      url('https://images.unsplash.com/photo-1645216755684-c946ce202427?q=80&w=871&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Buy Damaged Car"] {
    background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(30, 30, 30, 0.3)), 
                      url('https://images.unsplash.com/photo-1756364898206-08123aaf2bda?q=80&w=774&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Sell Accident Car"] {
    background-image: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(30, 30, 30, 0.3)), 
                      url('https://images.unsplash.com/photo-1673187139211-1e7ec3dd60ec?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Emergency Car Service"] {
    background-image: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Brake Repair"] {
    background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="AC Repair"] {
    background-image: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1552519507-da3b142c6e3d?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Battery Replacement"] {
    background-image: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1544636331-e26879cd4d9b?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Steering Box Repair"] {
    background-image: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Front Windshield Installation"] {
    background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Body Denting"] {
    background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1621939514649-280fb7df4037?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card[data-service="Car Painting"] {
    background-image: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(30, 30, 30, 0.3)),
                      url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?w=800&q=75');
    background-size: cover;
    background-position: center;
}

.service-card::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;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    color: #fff;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    color: #ffcc00;
}

.service-card h2,
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 0.95rem;
}

.service-link-text {
    display: inline-block;
    margin-top: 1rem;
    color: #ffcc00;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-blog-link {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    display: block;
}

.service-blog-link a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
}

.service-blog-link a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.service-card:hover .service-link-text {
    opacity: 1;
    transform: translateY(0);
}

/* Team Section */
.team {
    background: white;
}

.team-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.team-slider::-webkit-scrollbar {
    height: 8px;
}

.team-slider::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.team-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.team-card {
    flex: 0 0 260px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.team-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.team-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

.testimonials-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.testimonial-card {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: rgba(102, 126, 234, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

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

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

.testimonial-message {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonial-card h4 {
    color: var(--text-dark);
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.cta-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.9rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Back to Top Button - Left Side */
.back-to-top {
    position: fixed;
    bottom: 50px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.4s ease;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 800;
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* About Page Styles */
.about-content {
    padding: 60px 0;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.stats-section {
    background: var(--bg-light);
    padding: 60px 0;
    margin: 60px 0;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.services-overview {
    margin: 60px 0;
}

.services-list {
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.service-item h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Why Choose Us - Feature Cards */
.why-choose-us {
    background: var(--bg-light);
    padding: 60px 0;
    margin: 60px 0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Feature Card Background Images */
.feature-card:nth-child(1) {
    background-image: linear-gradient(135deg, rgba(102, 126, 234, 0.92), rgba(118, 75, 162, 0.88)), 
                      url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?w=500&q=80');
}

.feature-card:nth-child(2) {
    background-image: linear-gradient(135deg, rgba(16, 185, 129, 0.92), rgba(5, 150, 105, 0.88)), 
                      url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?w=500&q=80');
}

.feature-card:nth-child(3) {
    background-image: linear-gradient(135deg, rgba(239, 68, 68, 0.92), rgba(185, 28, 28, 0.88)), 
                      url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=500&q=80');
}

.feature-card:nth-child(4) {
    background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(37, 99, 235, 0.88)), 
                      url('https://images.unsplash.com/photo-1487754180451-c456f719a1fc?w=500&q=80');
}

.feature-card:nth-child(5) {
    background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(217, 119, 6, 0.88)), 
                      url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=500&q=80');
}

.feature-card:nth-child(6) {
    background-image: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(109, 40, 217, 0.88)), 
                      url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=500&q=80');
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: #fff;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    display: inline-block;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    color: #ffcc00;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.team-section {
    margin: 60px 0;
}

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

.team-member {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.team-member .team-image {
    width: 150px;
    height: 150px;
}

.team-bio {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.map-section {
    margin: 60px 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 30px;
    text-align: center;
    border-radius: 12px;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-success {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

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

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

.form-success p {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-info-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 16px;
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.contact-icon i {
    font-size: 1.3rem;
}

.contact-info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.contact-info-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--secondary-color);
}

/* Blog Page Styles */
.blog-section {
    padding: 60px 0;
}

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

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Extra Large Screens */
@media (max-width: 1400px) {
    .container {
        max-width: 1100px;
    }
}

/* Large Screens / Small Laptops */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .nav-logo {
        height: 55px;
        max-width: 200px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: white;
        width: 280px;
        height: 100vh;
        text-align: left;
        transition: 0.4s ease;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 30px;
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin-bottom: 15px;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 100px 0 50px;
        margin-top: 70px;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Small Tablets / Large Phones */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-logo {
        height: 50px;
        max-width: 180px;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .hero {
        min-height: 550px;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-card {
        min-height: 280px;
        padding: 1.75rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .feature-card {
        min-height: 240px;
        padding: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }
    
    .team-card {
        flex: 0 0 240px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.6rem;
    }
    
    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .contact-form-container,
    .contact-info-panel {
        padding: 2rem;
    }
    
    .contact-info-item {
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .cta-section {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    section {
        padding: 50px 0;
    }
    
    .page-header {
        padding: 90px 0 40px;
        margin-top: 65px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .nav-logo {
        height: 45px;
        max-width: 150px;
    }
    
    .hamburger span {
        width: 24px;
    }
    
    .nav-menu {
        width: 100%;
        padding: 90px 25px 25px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 32px;
    }
    
    .service-card {
        min-height: 260px;
        padding: 1.5rem;
    }
    
    .feature-card {
        min-height: 220px;
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .contact-form-container,
    .contact-info-panel {
        padding: 1.5rem;
    }
    
    .contact-form-container h2,
    .contact-info-panel h2 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .about-intro {
        margin-bottom: 3rem;
    }
    
    .about-intro p {
        font-size: 1rem;
    }
    
    .services-overview {
        margin: 40px 0;
    }
    
    .service-item {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 80px;
    }
}

/* Extra Small Phones */
@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-logo {
        height: 40px;
        max-width: 130px;
    }
    
    .hero {
        min-height: 480px;
    }
    
    .service-card,
    .feature-card {
        min-height: 240px;
    }
    
    .contact-form-container,
    .contact-info-panel {
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .back-to-top,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        background: white;
    }
}
