/* CSS Variables */
:root {
    --primary-color: 44 153 225; /* #4299E1 */
    --secondary-color: 44 82 130; /* #2C5282 */
    --accent-color: 99 179 237; /* #63B3ED */
    --background: 248 250 252; /* #F8FAFC */
    --surface: 255 255 255; /* #FFFFFF */
    --text-primary: 26 32 44; /* #1A202C */
    --text-secondary: 74 85 104; /* #4A5568 */
    --text-light: 160 174 192; /* #A0AEC0 */
    --border: 226 232 240; /* #E2E8F0 */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.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: 3rem;
    color: rgb(var(--secondary-color));
}

h2 {
    font-size: 2.5rem;
    color: rgb(var(--secondary-color));
}

h3 {
    font-size: 1.5rem;
    color: rgb(var(--secondary-color));
}

p {
    margin-bottom: 1rem;
    color: rgb(var(--text-secondary));
}

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

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

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

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

.btn-secondary {
    background-color: rgb(var(--text-secondary));
    color: white;
    border-color: rgb(var(--text-secondary));
}

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

.btn-outline {
    background-color: transparent;
    color: rgb(24, 67, 146);
    border-color: rgb(var(--primary-color));
}

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

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(var(--secondary-color));
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-text h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.cookie-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
}

.cookie-category {
    margin: 20px 0;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-top: 2px;
}

.cookie-category small {
    display: block;
    color: rgb(var(--text-secondary));
    margin-top: 5px;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    justify-content: flex-end;
}

/* Header */
.header {
    background-color: rgb(var(--surface));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--secondary-color));
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    font-weight: 500;
    color: rgb(var(--text-secondary));
    transition: var(--transition);
}

.nav-link:hover {
    color: rgb(var(--primary-color));
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: rgb(var(--text-secondary));
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-content h1 {
    color: rgb(24, 67, 146);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: rgb(var(--surface));
}

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 1.5rem;
}

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

.service-card p {
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: rgb(var(--primary-color));
}

.service-link:hover {
    color: rgb(var(--secondary-color));
}

/* Company Info */
.company-info {
    padding: 80px 0;
    background-color: rgb(var(--background));
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgb(var(--text-secondary));
    margin: 0;
}

.company-svg {
    width: 100%;
    height: auto;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: rgb(var(--surface));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgb(var(--border));
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: rgb(var(--background));
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgb(var(--border));
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(var(--primary-color));
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgb(var(--primary-color)), rgb(var(--secondary-color)));
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-info h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 400px;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-disclaimer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* Contact Info */
.contact-info {
    padding: 80px 0;
    background-color: rgb(var(--background));
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

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

.contact-icon {
    margin-bottom: 1rem;
}

.contact-item h3 {
    margin-bottom: 1rem;
}

.contact-item p {
    margin: 0;
}

/* Footer */
.footer {
    background-color: rgb(var(--secondary-color));
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
    transform: translateY(-2px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgb(var(--surface));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .form-group {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgb(var(--surface));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgb(var(--text-primary));
    width: 100%;
    text-align: left;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 14px 16px;
    border: 2px solid rgb(var(--border));
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgb(var(--primary-color));
    box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.1);
}

.form-group textarea {
    min-height: 120px;
    max-height: 300px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

/* Checkbox and form submission styles */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    cursor: pointer;
}

.form-checkbox label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.form-submit {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

/* Page Layouts */
.page-header {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgb(var(--primary-color)), rgb(var(--secondary-color)));
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    margin-bottom: 1.5rem;
}

.content-section h3 {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* Service Page Styles */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    padding: 1.5rem;
    background-color: rgb(var(--background));
    border-radius: var(--border-radius);
    border-left: 4px solid rgb(var(--primary-color));
}

.feature-item h4 {
    color: rgb(var(--secondary-color));
    margin-bottom: 0.5rem;
}

.price-section {
    background-color: rgb(var(--background));
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

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

.price-item {
    text-align: center;
    padding: 1rem;
    background-color: rgb(var(--surface));
    border-radius: var(--border-radius);
}

.price-item .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(var(--primary-color));
}

/* Thanks Page */
.thanks-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-container h1 {
    color: rgb(var(--primary-color));
    margin-bottom: 1.5rem;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}
