/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #4D94FF;
    --secondary-color: #00D4AA;
    --secondary-dark: #00B894;
    --accent-color: #FF6B6B;
    --accent-light: #FF8E8E;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #0066FF 0%, #00D4AA 100%);
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.3);
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Scroll Animation */
.fade-in-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Only apply hidden state if JavaScript is enabled */
.js-enabled .fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.js-enabled .fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 1536px) {
    .container {
        max-width: 1400px;
    }
}

/* Header Styles - Modern */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(229, 231, 235, 0.8);
}

.navbar {
    padding: 1.25rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.2));
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a:hover {
    transform: translateY(-2px);
}

.logo a:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
    transition: transform 0.3s ease;
}

.logo-icon {
    font-size: 2rem;
}

.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;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg-gradient);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    color: white;
    transform: scale(1.1);
}

.slide.active {
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    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.3s ease, height 0.3s ease;
}

.slider-btn:hover::before {
    width: 100%;
    height: 100%;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: white;
    transition: width 0.3s ease, height 0.3s ease;
}

.dot.active::before {
    width: 100%;
    height: 100%;
}

.dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    animation: glow 2s ease-in-out infinite;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(to bottom, var(--bg-white) 0%, rgba(249, 250, 251, 0.5) 100%);
}

/* Ensure all sections are visible */
.section {
    opacity: 1 !important;
    visibility: visible !important;
}

.section > * {
    opacity: 1 !important;
    visibility: visible !important;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: block;
    width: 100%;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    animation: scaleIn 0.6s ease-out 0.3s both;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    margin-top: 2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* About Home Section */
.about-home-section {
    background: var(--bg-light);
}

.about-home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-home-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-home-image:hover img {
    transform: scale(1.05);
}

.about-home-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-home-text .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-home-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.about-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

/* Services Section - Standard Grid */
.services-section {
    background: linear-gradient(to bottom, var(--bg-white) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-grid-standard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .services-grid-standard {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .services-grid-standard {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-image-wrapper {
        height: 220px;
    }
    
    .service-icon-standard {
        margin-top: -2.5rem;
    }
}

.service-item-standard {
    background: white;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 102, 255, 0.1), rgba(0, 212, 170, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-content-wrapper {
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-item-standard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-item-standard:hover::before {
    transform: scaleX(1);
}

.service-item-standard:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-light);
}

.service-item-standard:hover .service-image-wrapper img {
    transform: scale(1.15);
}

.service-item-standard:hover .service-overlay-gradient {
    opacity: 1;
}

.service-icon-standard {
    font-size: 3.5rem;
    margin: -2rem auto 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.2);
}

.service-item-standard:hover .service-icon-standard {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.service-content-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-content-wrapper p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-content-wrapper .btn {
    margin-top: auto;
}

.service-item-standard p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-item-standard .btn {
    width: 100%;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.testimonials-slider-container {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-rating {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.testimonial-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Services Slider */
.services-slider-container {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    padding: 0 60px;
}

.services-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.service-slide {
    min-width: calc(30% - 1.2rem);
    flex-shrink: 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.service-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: reflect 3s infinite;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.15);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay .service-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.service-card:hover .service-overlay .service-icon {
    transform: scale(1);
}

.service-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.service-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.service-content > p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    flex-grow: 1;
    font-size: 0.85rem;
}

.service-features {
    list-style: none;
    margin-bottom: 0.75rem;
    padding: 0;
}

.service-features li {
    color: var(--text-dark);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: bold;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.service-footer .btn {
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.85rem;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.services-cta .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.services-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.services-slider-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: -1;
}

.services-slider-btn:hover::before {
    width: 100%;
    height: 100%;
}

.services-slider-btn:hover {
    color: white;
    transform: translateY(-50%) scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    border-color: var(--primary-dark);
}

@media (max-width: 1024px) {
    .service-slide {
        min-width: calc(45% - 1rem);
    }
    
    .service-image {
        height: 140px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card:nth-child(even) {
        direction: ltr;
    }
    
    .service-detail-image {
        height: 350px;
    }
    
    .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-slide {
        min-width: 85%;
    }
    
    .service-image {
        height: 140px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-footer .btn {
        width: 100%;
    }
}
    
    .btn-link {
        text-align: center;
        justify-content: center;
    }

    .services-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}


.prev-services {
    left: 0;
}

.next-services {
    right: 0;
}

/* Services Page Styles */
.services-page-section {
    background: linear-gradient(to bottom, var(--bg-white) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.services-page-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.services-detail-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.service-detail-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) > * {
    direction: ltr;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-light);
}

.service-detail-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-card:hover .service-detail-image img {
    transform: scale(1.1);
}

.service-detail-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    background: rgba(255, 255, 255, 0.95);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.3));
    transition: all 0.4s ease;
    opacity: 0;
}

.service-detail-card:hover .service-detail-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
}

.service-detail-content {
    padding: 3rem;
}

.service-detail-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.service-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-details {
    margin-bottom: 2rem;
}

.service-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li span {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-brands {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 212, 170, 0.05));
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.service-brands p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

.service-brands strong {
    color: var(--primary-color);
}

/* Additional Services Section */
.additional-services-section {
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.additional-services-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

.additional-services-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.additional-services-card > p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.additional-service-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.additional-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-light);
}

.additional-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.2));
}

.additional-service-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* CTA Section */
.services-cta-section {
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 3rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.3);
    color: white;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-card p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-card .btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* CTA Hero Section */
.cta-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    margin: 0;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-hero-text h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.cta-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
}

.cta-check {
    width: 24px;
    height: 24px;
    background: white;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.cta-phone-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-phone-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.phone-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.phone-info {
    flex: 1;
}

.phone-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.phone-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-number:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-hero-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cta-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.cta-image-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.cta-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

/* Sticky Call Now Button */
.sticky-call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.sticky-call-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid white;
}

.sticky-call-link:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6);
}

.sticky-call-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.sticky-call-text {
    font-size: 1rem;
}

.sticky-call-number {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 800;
}

/* Services Grid (fallback) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover::before {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 3s ease-in-out infinite;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.3));
}

.feature-item:hover .feature-icon::after {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
}

/* About Page Styles */
.about-page-section {
    background: linear-gradient(to bottom, var(--bg-white) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.about-page-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-hero-section {
    margin: 4rem 0;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-hero-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-hero-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-hero-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 102, 255, 0.1));
    pointer-events: none;
}

/* Commitment Section */
.commitment-section {
    margin: 5rem 0;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.commitment-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.commitment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-light);
}

.commitment-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.2));
    transition: transform 0.3s ease;
}

.commitment-card:hover .commitment-icon {
    transform: scale(1.15) rotate(5deg);
}

.commitment-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.commitment-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Gallery Section */
.about-gallery-section {
    margin: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Team Section */
.team-section {
    margin: 5rem 0;
}

.team-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.team-feature-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
}

.team-feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.team-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.team-feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    margin: 5rem 0;
}

.why-choose-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(10px);
    padding: 4rem 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.why-choose-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.why-choose-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-choose-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
}

.check-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.why-choose-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.why-choose-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9375rem;
}

/* About CTA Section */
.about-cta-section {
    margin-top: 5rem;
}

.cta-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 3rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.3);
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-content .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-content .btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Contact Form */
/* Contact Page Styles */
.contact-page-section {
    background: linear-gradient(to bottom, var(--bg-white) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.contact-page-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-details-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.contact-info-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-intro {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 212, 170, 0.05));
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-method-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1);
}

.contact-method-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.2));
}

.contact-method-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-method-content p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-method-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.emergency-service-card {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
    text-align: center;
    color: white;
}

.emergency-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.emergency-service-card h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.emergency-service-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.emergency-service-card .btn {
    background: white;
    color: #FF6B6B;
    border-color: white;
}

.emergency-service-card .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.contact-form-wrapper {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.contact-form-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.125rem;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

.service-areas-section {
    margin-top: 4rem;
}

.service-areas-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-areas-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-areas-card > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.area-item {
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.area-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.15);
    color: var(--primary-color);
}

.contact-section {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-details {
    list-style: none;
    margin-top: 2rem;
}

.contact-details li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.contact-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.contact-form:hover::before {
    left: 100%;
}

.contact-form:hover {
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.85);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.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;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Content Pages */
.content-page {
    padding: 60px 0;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.content-page h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-page h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.content-page p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul,
.content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes reflect {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
    }
}

/* Add shimmer effect to buttons */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::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.5s ease;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .cta-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-hero-image img {
        height: 350px;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card:nth-child(even) {
        direction: ltr;
    }
    
    .commitment-grid,
    .team-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .services-slider-container {
        padding: 0 50px;
    }

    .service-slide {
        min-width: 100%;
    }

    .service-image {
        height: 220px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-footer {
        flex-direction: column;
    }
    
    .service-footer .btn {
        width: 100%;
    }
    
    .btn-link {
        text-align: center;
        justify-content: center;
    }

    .services-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .about-image-container {
        grid-template-columns: 1fr;
    }
    
    .about-home-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid-standard {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero-image img {
        height: 350px;
    }
    
    .commitment-grid,
    .team-features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-card {
        padding: 2.5rem 2rem;
    }
    
    .contact-details-wrapper {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .contact-main-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-hero-image img {
        height: 300px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card:nth-child(even) {
        direction: ltr;
    }
    
    .service-detail-image {
        height: 300px;
    }
    
    .service-detail-content {
        padding: 2rem;
    }
    
    .service-detail-content h3 {
        font-size: 1.75rem;
    }
    
    .additional-services-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-services-card {
        padding: 2rem 1.5rem;
    }
    
    .additional-services-card h2 {
        font-size: 2rem;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 1.75rem;
    }
    
    .cta-card p {
        font-size: 1rem;
    }
    
    .cta-card .cta-buttons {
        flex-direction: column;
    }
    
    .cta-content {
        padding: 3rem 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content .cta-buttons {
        flex-direction: column;
    }
    
    .sticky-call-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .sticky-call-number {
        display: none;
    }
    
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .services-grid-standard {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonials-controls {
        gap: 1rem;
    }
    
    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card:nth-child(even) {
        direction: ltr;
    }
    
    .service-detail-image {
        height: 300px;
    }
    
    .service-detail-content {
        padding: 2rem;
    }
    
    .service-detail-content h3 {
        font-size: 1.75rem;
    }
    
    .additional-services-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-services-card {
        padding: 2rem 1.5rem;
    }
    
    .additional-services-card h2 {
        font-size: 2rem;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 1.75rem;
    }
    
    .cta-card p {
        font-size: 1rem;
    }
    
    .cta-card .cta-buttons {
        flex-direction: column;
    }
    
    .cta-card .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero-image img {
        height: 350px;
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
    
    .team-features-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-card {
        padding: 2.5rem 2rem;
    }
    
    .contact-main-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-hero-image img {
        height: 350px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-content {
        padding: 3rem 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content .cta-buttons {
        flex-direction: column;
    }
    
    .sticky-call-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .sticky-call-number {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-slider {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        padding: 0 10px;
    }

    .services-slider-container {
        padding: 0 40px;
    }

    .services-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .about-hero-text h2 {
        font-size: 1.75rem;
    }
    
    .cta-hero-text h2 {
        font-size: 2rem;
    }
    
    .cta-lead {
        font-size: 1.125rem;
    }
    
    .cta-hero-image img {
        height: 250px;
    }
    
    .commitment-card,
    .team-feature-card {
        padding: 1.5rem 1rem;
    }
    
    .commitment-card h3,
    .team-feature-card h3 {
        font-size: 1.25rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-card h3 {
        font-size: 1.75rem;
    }
    
    .emergency-service-card {
        padding: 2rem 1.5rem;
    }
    
    .emergency-service-card h4 {
        font-size: 1.5rem;
    }
    
    .service-areas-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .why-choose-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .why-choose-item h4 {
        font-size: 1.125rem;
    }
    
    .contact-method-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .contact-method-icon {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.25rem;
    }
    
    .service-item-standard {
        padding: 1.5rem;
    }
    
    .service-item-standard h3 {
        font-size: 1.25rem;
    }
    
    .service-detail-content {
        padding: 1.5rem;
    }
    
    .service-detail-content h3 {
        font-size: 1.5rem;
    }
    
    .additional-services-card {
        padding: 1.5rem 1rem;
    }
    
    .additional-services-card h2 {
        font-size: 1.75rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9375rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 1.5rem;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .why-choose-card {
        padding: 2rem 1.5rem;
    }
    
    .why-choose-card h2 {
        font-size: 2rem;
    }
    
    .service-areas-card {
        padding: 2rem 1.5rem;
    }
    
    .service-areas-card h3 {
        font-size: 1.75rem;
    }
    
    .sticky-call-button {
        bottom: 15px;
        right: 15px;
    }
    
    .sticky-call-link {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
    
    .sticky-call-icon {
        font-size: 1.25rem;
    }

    .section {
        padding: 3rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.125rem;
        min-height: 50px;
    }
    
    .phone-number {
        font-size: 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .main-header {
        padding: 1rem 0;
    }
    
    .slider-dots {
        bottom: 15px;
    }
    
    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .testimonials-controls {
        margin-top: 2rem;
    }
    
    .testimonial-dots .testimonial-dot {
        width: 8px;
        height: 8px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .sticky-call-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .sticky-call-icon {
        font-size: 1.125rem;
    }
    
    /* Ensure all touch targets are adequate */
    button, 
    .btn, 
    a.btn,
    .slider-btn,
    input[type="submit"],
    select {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Prevent text size adjustment on iOS */
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    /* Improve scrolling on mobile */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better spacing for mobile */
    .section {
        padding: 2.5rem 0;
    }
    
    /* Footer mobile optimization */
    .main-footer {
        padding: 2.5rem 0 1.5rem;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-slider {
        height: 400px;
    }
    
    .section {
        padding: 2rem 0;
    }
}

