/* Base Styles and Variables */
:root {
    --primary-color: #0077FF;
    --accent-color: #FF6B35;
    --background-color: #FDFCFB;
    --text-color: #2C2C2C;
    --gray-color: #E4E5E7;
    --white-color: #FFFFFF;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.8em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

section {
    padding: 5rem 0;
}

/* Animation Classes */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.animate-text-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Styles */
.main-header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-item a:hover {
    color: var(--primary-color);
}

.nav-item.active a {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.mobile-menu-toggle-container {
    display: none;
}

.mobile-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    padding: 0.8rem 2rem;
    border-bottom: 1px solid var(--gray-color);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: var(--transition);
}

.mobile-nav-item a:hover {
    color: var(--primary-color);
}

.mobile-nav-item.active a {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005BB9 100%);
    color: white;
    text-align: center;
    padding: 8rem 0;
    position: relative;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-section .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #E55A25;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Services Section */
.services-section {
    background-color: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    margin-bottom: 1.5rem;
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.service-button:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white-color);
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.testimonial {
    flex: 0 0 auto;
    width: calc(33.333% - 1.33rem);
    scroll-snap-align: start;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    min-width: 280px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(0, 119, 255, 0.1);
    z-index: 0;
}

.faq-section::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 107, 53, 0.1);
    z-index: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.faq-item:nth-child(even) {
    border-left: 4px solid var(--accent-color);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 1.8rem 2rem 0.8rem;
    position: relative;
}

.faq-question::before {
    content: "Q";
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(0, 119, 255, 0.15);
    z-index: 0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--primary-color);
    padding-left: 1.2rem;
    position: relative;
    z-index: 1;
}

.faq-item:nth-child(even) .faq-question h3 {
    color: var(--accent-color);
}

.faq-answer {
    position: relative;
    padding: 0.5rem 2rem 1.8rem 3.2rem;
    color: #444;
    line-height: 1.7;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    margin: 0 1.2rem;
}

.faq-answer::before {
    content: "A";
    position: absolute;
    top: 0.5rem;
    left: 0.3rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.15);
}

.faq-answer p {
    margin: 0;
    font-size: 1.05rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e5e7 100%);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3);
}

/* Why Choose Us Section */
.why-us-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.why-us-map {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.why-us-text {
    flex: 1;
}

.why-us-list {
    list-style: none;
}

.why-us-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.why-us-list li svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Footer */
.main-footer {
    background-color: #111;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ddd;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 400px;
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    align-self: flex-end;
}

.cookie-button:hover {
    background-color: var(--accent-color);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-content, 
    .why-us-content {
        flex-direction: column;
    }
    
    .testimonial {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle-container {
        display: block;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .subtitle {
        font-size: 1rem;
    }
    
    .testimonial {
        width: calc(100% - 2rem);
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}
