/* Base Styles */
:root {
    --primary-color: #1E88E5;
    --secondary-color: #0D47A1;
    --accent-color: #90CAF9;
    --light-color: #E3F2FD;
    --dark-color: #333333;
    --white-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-color: #333333;
    --text-light: #666666;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --error-color: #F44336;
    --border-radius: 4px;
    --box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--dark-color);
}

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: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

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

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

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

.btn-tertiary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-light);
}

.btn-tertiary:hover {
    background-color: var(--gray-color);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white-color);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.25);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-consent input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-consent label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

/* Header */
#header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: block;
}

.main-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu li {
    margin-left: 1.5rem;
}

.main-menu a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    padding: 8rem 0 5rem;
}

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

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

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

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
#services {
    background-color: var(--gray-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* About Section */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text ul {
    margin-bottom: 1.5rem;
}

.about-text ul li {
    margin-bottom: 0.5rem;
}

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

/* Pricing Section */
#pricing {
    background-color: var(--gray-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.pricing-header {
    background-color: var(--light-color);
    padding: 2rem;
    text-align: center;
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.testimonial-avatar {
    margin-right: 1rem;
    width: 64px;
    height: 64px;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Newsletter Section */
#newsletter {
    background-color: var(--primary-color);
    color: var(--white-color);
}

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

.newsletter-content h2 {
    color: var(--white-color);
}

.newsletter-content p {
    margin-bottom: 2rem;
}

#newsletter-form .form-group {
    display: flex;
    margin-bottom: 1rem;
}

#newsletter-form input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

#newsletter-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

#newsletter-form .form-consent label {
    color: var(--white-color);
}

#newsletter-form .form-consent a {
    color: var(--white-color);
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 4rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.social-media {
    margin-top: 2rem;
}

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

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

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons a:hover svg path {
    fill: var(--white-color);
}

/* Blog Section */
#blog {
    background-color: var(--gray-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image svg {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

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

/* Footer */
#footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 5rem 0 0;
}

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

.footer-col h3 {
    color: var(--white-color);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    #hero {
        padding: 7rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    #header {
        height: auto;
        padding: 1rem 0;
    }
    
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        margin: 0;
    }
    
    .main-menu a {
        display: block;
        padding: 0.75rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    #hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .services-grid,
    .pricing-grid,
    .testimonials-slider,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    #newsletter-form .form-group {
        flex-direction: column;
    }
    
    #newsletter-form input {
        border-radius: var(--border-radius);
        border-right: 1px solid #ddd;
        margin-bottom: 1rem;
    }
    
    #newsletter-form button {
        border-radius: var(--border-radius);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
