/* Variables */
:root {
    /* Colors */
    --primary: 210 75% 25%; /* #164A6B */
    --primary-light: 210 75% 35%; /* #1C5E8C */
    --secondary: 25 95% 53%; /* #F97316 */
    --secondary-light: 25 95% 63%; /* #FA9648 */
    --light: 210 33% 98%; /* #F8FAFC */
    --dark: 210 50% 15%; /* #0F2A3D */
    --gray: 210 15% 50%; /* #7A8996 */
    --gray-light: 210 15% 90%; /* #ECF0F4 */
    --success: 142 76% 36%; /* #22C55E */
    --error: 0 84% 60%; /* #EF4444 */
    
    /* Typography */
    --heading-font: 'Arial', sans-serif;
    --body-font: 'Arial', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Container */
    --container-width: 1200px;
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: hsl(var(--dark));
    line-height: 1.6;
    background-color: hsl(var(--light));
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-lg);
}

h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: hsl(var(--secondary));
    bottom: -10px;
    left: 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: hsl(var(--secondary));
}

img, svg {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--body-font);
}

input, textarea, select {
    font-family: var(--body-font);
    font-size: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xl) 0;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: white;
}

.btn-primary:hover {
    background-color: hsl(var(--primary-light));
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-secondary:hover {
    background-color: hsl(var(--primary));
    color: white;
}

.section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: hsl(var(--dark));
    color: white;
    padding: var(--space-lg);
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.cookie-settings {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid hsla(var(--light), 0.2);
}

.cookie-option {
    margin-bottom: var(--space-md);
}

.cookie-option p {
    font-size: 0.9rem;
    margin-left: 1.8rem;
    margin-top: var(--space-xs);
    color: hsla(var(--light), 0.7);
}

.cookie-settings-button {
    background: none;
    border: none;
    color: hsla(var(--light), 0.7);
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 0;
}

.cookie-settings-button:hover {
    color: white;
}

/* Header & Navigation */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-md);
}

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

.logo a {
    display: block;
}

.logo-svg {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: var(--space-lg);
}

.nav-list a {
    font-weight: 600;
    position: relative;
}

.nav-list a.active, .nav-list a:hover {
    color: hsl(var(--secondary));
}

.nav-list a.active::after, .nav-list a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: hsl(var(--secondary));
    bottom: -5px;
    left: 0;
    transform: scaleX(1);
    transition: var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: hsl(var(--secondary));
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transition: var(--transition);
}

.btn-contact {
    background-color: hsl(var(--secondary));
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.btn-contact:hover {
    background-color: hsl(var(--secondary-light));
}

.btn-contact::after {
    display: none !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: hsl(var(--dark));
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Hero Section */
.hero {
    background-color: hsl(var(--light));
    padding: var(--space-xl) 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: hsl(var(--primary));
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Services Section */
.services {
    text-align: center;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.service-card {
    background-color: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: var(--space-md);
}

.service-card h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-md);
}

.services-cta {
    margin-top: var(--space-lg);
}

/* About Section */
.about {
    background-color: hsl(var(--light));
}

.about .container {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.about-content {
    flex: 1;
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.stat h3 {
    font-size: 2.5rem;
    color: hsl(var(--secondary));
    margin-bottom: var(--space-xs);
}

.stat p {
    font-weight: 600;
}

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

/* Testimonials Section */
.testimonials {
    background-color: white;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: hsl(var(--light));
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin: var(--space-lg) 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author strong {
    color: hsl(var(--primary));
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-lg);
    gap: var(--space-md);
}

.testimonial-prev, .testimonial-next {
    background: none;
    border: none;
    color: hsl(var(--primary));
    font-size: 1.5rem;
    cursor: pointer;
}

.testimonial-indicators {
    display: flex;
    gap: var(--space-sm);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: hsl(var(--gray-light));
    border: none;
    transition: var(--transition);
}

.indicator.active, .indicator:hover {
    background-color: hsl(var(--secondary));
}

/* Newsletter Section */
.newsletter {
    background-color: hsl(var(--primary));
    color: white;
    text-align: center;
    padding: var(--space-xl) 0;
}

.newsletter h2 {
    color: white;
}

.newsletter h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    margin-bottom: var(--space-md);
    gap: var(--space-sm);
}

.form-group input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius);
    outline: none;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    text-align: left;
    font-size: 0.9rem;
}

.form-consent input {
    margin-top: 5px;
}

/* Contact Section */
.contact {
    text-align: center;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    text-align: left;
    margin-top: var(--space-lg);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.contact-icon {
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: var(--space-xs);
    color: hsl(var(--primary));
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: 0;
}

.contact-form label {
    font-weight: 600;
    color: hsl(var(--dark));
}

.contact-form input, .contact-form select, .contact-form textarea {
    padding: 0.75rem;
    border: 1px solid hsl(var(--gray-light));
    border-radius: var(--border-radius);
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: hsl(var(--primary));
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: hsl(var(--dark));
    color: white;
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-company p {
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: hsla(var(--light), 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: hsl(var(--secondary));
}

.footer-links h3 {
    color: white;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: hsl(var(--secondary));
    bottom: -5px;
    left: 0;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: hsla(var(--light), 0.7);
}

.footer-links a:hover {
    color: hsl(var(--secondary));
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid hsla(var(--light), 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        gap: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 100;
    }
    
    .nav-list.active {
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-list li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-list.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-list a {
        display: block;
        padding: var(--space-md);
        border-bottom: 1px solid hsl(var(--gray-light));
    }
    
    /* Hero Section */
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* About Section */
    .about .container {
        flex-direction: column;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    /* Contact Section */
    .contact-grid, .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .newsletter .form-group {
        flex-direction: column;
    }
    
    .testimonial-content {
        padding: var(--space-md);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
