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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
    text-decoration: none;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 90px;
    width: auto;
    max-width: 250px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
    text-decoration: none;
}

.phone-link {
    background-color: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.phone-link:hover {
    background-color: #1d4ed8;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 60px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-icon i {
    font-size: 40px;
    color: #2563eb;
}

.service-card h3 {
    color: #1e293b;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f8fafc;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-header h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.about-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.credential-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.credential-item h4 {
    color: #2563eb;
    margin-bottom: 8px;
}

.credential-item p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonial-carousel {
    position: relative;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 300px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    transform: translateX(100%);
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-item.prev {
    transform: translateX(-100%);
}

.testimonial-item.next {
    transform: translateX(100%);
}

.testimonial-card {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 300px;
}

.testimonial-content {
    margin-bottom: 30px;
}

.quote-icon {
    font-size: 3rem;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.author-info {
    text-align: center;
}

.author-name {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-location {
    color: #64748b;
    font-size: 0.9rem;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background-color: #f8fafc;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.carousel-control.prev {
    left: -25px;
}

.carousel-control.next {
    right: -25px;
}

.carousel-control-icon {
    color: #2563eb;
    width: 20px;
    height: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background-color: #94a3b8;
    transform: scale(1.1);
}

.indicator.active {
    background-color: #2563eb;
    transform: scale(1.2);
}

.indicator:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3,
.contact-form h3 {
    color: #1e293b;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    color: #2563eb;
    margin-bottom: 8px;
}

.contact-item p {
    color: #64748b;
    margin-bottom: 0;
}

.contact-item a {
    color: #2563eb;
    font-weight: 500;
}

/* Service Area Map Styles */
.service-area-map {
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 12px;
}

.map-container {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-area-info h4 {
    color: #2563eb;
    margin-bottom: 15px;
    text-align: center;
}

.service-area-info p {
    color: #64748b;
    margin-bottom: 20px;
    text-align: center;
}

.service-cities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.city-list ul {
    list-style: none;
    padding: 0;
}

.city-list li {
    padding: 8px 0;
    color: #374151;
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
}

.city-list li:last-child {
    border-bottom: none;
}

.service-note {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    margin-bottom: 0;
}

.service-note a {
    color: #2563eb;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
    color: #94a3b8;
}

.footer-section a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .credentials {
        grid-template-columns: 1fr;
    }
    
    .testimonial-carousel {
        margin-top: 40px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
        min-height: 280px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control.prev {
        left: -20px;
    }
    
    .carousel-control.next {
        right: -20px;
    }
    
    .carousel-indicators {
        margin-top: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .service-area-map {
        padding: 30px 20px;
    }
    
    .service-cities {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .testimonial-card {
        padding: 25px 15px;
        min-height: 250px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .carousel-control.prev {
        left: -15px;
    }
    
    .carousel-control.next {
        right: -15px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .btn,
    .service-card {
        transition: none;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .hero-buttons,
    .contact-form {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .services,
    .about,
    .contact {
        padding: 20px 0;
    }
}