/* Base Styles */
:root {
    --mint: #EAF7F0;
    --coral: #FF6B6B;
    --dark-gray: #4C5C68;
    --lemon: #F9F871;
    --deep-blue: #2D728F;
    --text-color: #1E1E1E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--mint);
    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: 1rem;
    color: var(--dark-gray);
}

a {
    color: var(--coral);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--deep-blue);
}

section {
    padding: 5rem 0;
}

/* Fix for anchor links being hidden under fixed header */
section[id] {
    scroll-margin-top: 80px;
}

button, .button {
    display: inline-block;
    background-color: var(--coral);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

button:hover, .button:hover {
    background-color: var(--deep-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--deep-blue);
    text-transform: lowercase;
    letter-spacing: -1px;
    position: relative;
}



.logo a:hover::after {
    transform: scaleX(1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--mint) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 30%;
    height: 80%;
    background-color: var(--lemon);
    opacity: 0.2;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    animation: float 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 5%;
    width: 40%;
    height: 60%;
    background-color: var(--coral);
    opacity: 0.1;
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
    z-index: 1;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--deep-blue);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

/* Advantages Section */
.advantages {
    background-color: var(--mint);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.advantage-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--coral);
    margin-bottom: 1rem;
}

/* Audit Types Section */
.audit-types {
    background-color: white;
}

.audit-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.audit-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.audit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--deep-blue);
    opacity: 0.05;
    transition: height 0.3s ease;
    z-index: -1;
}

.audit-card:hover::before {
    height: 100%;
}

.audit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Animation Block */
.animation-block {
    background-color: var(--mint);
    text-align: center;
    padding: 8rem 0;
}

.animation-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.animated-icon {
    font-size: 4rem;
    color: var(--deep-blue);
    transition: transform 0.5s ease;
    margin: 1rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-icon:hover {
    transform: rotate(360deg) scale(1.2);
    color: var(--coral);
}

/* Reviews Section */
.reviews {
    background-color: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: var(--mint);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.review-quote {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.review-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--coral);
    opacity: 0.2;
    line-height: 1;
}

.reviewer {
    font-weight: bold;
    margin-top: 1rem;
}

.reviewer-position {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Blog Section */
.blog {
    background-color: var(--mint);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.blog-title {
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Contact Form Section */
.contact {
    background-color: white;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--mint);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--deep-blue);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--coral);
}

footer a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 1;
    color: var(--lemon);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--dark-gray);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    opacity: 0;
    transition: bottom 0.5s ease, opacity 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
    opacity: 1;
}

.cookie-popup button {
    background-color: var(--coral);
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cookie-popup button:hover {
    background-color: var(--lemon);
    color: var(--dark-gray);
}

/* Legal Pages */
.legal-page {
    padding: 8rem 0 5rem;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.legal-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 0 80px;
}

.thank-you-content {
    max-width: 600px;
    padding: 3rem;
    background-color: white;
    border-radius: 10px;
    border: 2px solid var(--coral);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
}

.thank-you h1 {
    color: var(--coral);
    margin-bottom: 1rem;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--lemon);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .advantages-grid,
    .audit-types-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--dark-gray);
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: white;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        height: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .advantages-grid,
    .audit-types-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
