:root {
    --primary: #1a5f7a;
    --primary-dark: #134b5f;
    --secondary: #57c5b6;
    --accent: #159895;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #fafafa;
    --bg-alt: #f0f4f5;
    --white: #ffffff;
    --border: #dfe6e9;
    --shadow: rgba(26, 95, 122, 0.1);
    --fallback-img: #e8f4f5;
}

* {
    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.7;
    color: var(--text);
    background-color: var(--bg);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

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

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

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ad-disclosure {
    background-color: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: var(--text);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--fallback-img);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.92) 0%, rgba(21, 152, 149, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 650px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(87, 197, 182, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

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

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

/* Magazine Layout Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-dark {
    background-color: var(--primary);
    color: var(--white);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
}

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

.section-header.center p {
    margin: 0 auto;
}

/* Magazine Grid */
.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.magazine-main {
    flex: 2;
    min-width: 300px;
}

.magazine-sidebar {
    flex: 1;
    min-width: 280px;
}

/* Feature Blocks */
.feature-block {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.feature-block:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-alt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
}

.feature-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-block p {
    color: var(--text-light);
    font-size: 15px;
}

/* Service Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow);
}

.service-image {
    height: 180px;
    background-color: var(--fallback-img);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.service-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

/* Split Section */
.split-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.split-content {
    flex: 1;
    min-width: 300px;
}

.split-image {
    flex: 1;
    min-width: 300px;
    background-color: var(--fallback-img);
    border-radius: 12px;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.split-content h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.split-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.check-list {
    list-style: none;
    margin-bottom: 25px;
}

.check-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    background-color: var(--secondary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Stats Section */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.section-dark .stat-number {
    color: var(--white);
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

.section-dark .stat-label {
    color: rgba(255,255,255,0.8);
}

/* Testimonials */
.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 25px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--fallback-img);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 16px;
    color: var(--primary);
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* Form Styles */
.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(87, 197, 182, 0.2);
}

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

/* Contact Info */
.contact-info-block {
    background-color: var(--primary);
    color: var(--white);
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.contact-info-block h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p {
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-col ul a:hover {
    color: var(--secondary);
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text);
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

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

.cookie-buttons .btn {
    padding: 10px 25px;
    font-size: 14px;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-content h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-content h3 {
    font-size: 20px;
    color: var(--text);
    margin-top: 25px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--text);
}

/* Thanks Page */
.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--white);
}

.thanks-content h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Disclaimer */
.disclaimer {
    background-color: var(--bg-alt);
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid var(--accent);
}

.disclaimer p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 34px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .service-card {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px var(--shadow);
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border);
    }

    .nav-list a {
        display: block;
        padding: 15px 0;
    }

    .hero {
        min-height: 450px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section {
        padding: 50px 0;
    }

    .split-section {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    .magazine-main,
    .magazine-sidebar {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .form-container {
        padding: 25px;
    }

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