/* 
   Main styles for domain.com
   Color palette:
   - Main: #00B8A9 (turquoise)
   - Secondary: #FF6F61 (coral)
   - Light: #D4F1F4 (light blue)
   - Dark: #222831 (deep charcoal)
   - Cream: #F7F6E7 (cream)
*/

/* ----- Reset & Base Styles ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adjusts anchor positioning to account for fixed header */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #222831;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #00B8A9;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1em;
}

section {
    padding: 60px 0;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.white-text {
    color: #fff !important;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #00B8A9;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #FF6F61;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #FF6F61;
}

.btn-secondary:hover {
    background-color: #00B8A9;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #00B8A9;
    color: #00B8A9;
}

.btn-outline:hover {
    background-color: #00B8A9;
    color: #fff;
}

/* ----- Section Anchors ----- */
.section-anchor {
    display: block;
    position: relative; /* Changed from -120px to -90px to position anchors slightly lower */
    visibility: hidden;
    height: 0;
}

/* ----- Header & Navigation ----- */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Reduced from 15px 20px */
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    max-width: 160px; /* Reduced from 180px */
    height: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    font-weight: 500;
    color: #222831;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #00B8A9;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile menu */
.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle-label span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #222831;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ----- Hero Section ----- */
.hero {
    background: linear-gradient(135deg, #D4F1F4 0%, #00B8A9 100%);
    color: #222831;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ----- About Section ----- */
.about {
    background-color: #F7F6E7;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ----- Benefits Section ----- */
.benefits {
    background-color: #fff;
}

.benefits-header {
    text-align: center;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: #D4F1F4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* ----- Audit Types Section ----- */
.audit-types {
    background-color: #D4F1F4;
}

.audit-types-header {
    text-align: center;
    margin-bottom: 40px;
}

.audit-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.audit-type-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.audit-type-card:hover {
    transform: translateY(-5px);
}

.audit-type-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.audit-type-content {
    padding: 25px;
}

/* ----- Form Section ----- */
.form-section {
    background: linear-gradient(135deg, #00B8A9 0%, #D4F1F4 100%);
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background-color: #222831;
    color: #fff;
    padding: 25px;
    text-align: center;
}

.form-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #00B8A9;
    box-shadow: 0 0 0 3px rgba(0, 184, 169, 0.1);
    outline: none;
}

.radio-group,
.checkbox-group {
    margin-top: 10px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.radio-item input,
.checkbox-item input {
    margin-right: 10px;
}

.submit-group {
    margin-top: 30px;
    text-align: center;
}

/* Custom radio and checkboxes */
input[type="radio"],
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #00B8A9;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked::after,
input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    display: block;
}

input[type="radio"]:checked::after {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00B8A9;
    top: 3px;
    left: 3px;
}

input[type="checkbox"]:checked::after {
    width: 6px;
    height: 12px;
    border: solid #00B8A9;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 0;
    left: 5px;
}

/* ----- Testimonials Section ----- */
.testimonials {
    background-color: #F7F6E7;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: #00B8A9;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-name {
    font-weight: bold;
}

.testimonial-author-title {
    color: #777;
    font-size: 0.9rem;
}

/* ----- FAQ Section ----- */
.faq {
    background-color: #fff;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 1000px;
}

/* ----- Contact Section ----- */
.contact {
    background-color: #D4F1F4;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    margin-right: 15px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-map {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

/* ----- Footer ----- */
.site-footer {
    background-color: #222831;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #00B8A9;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: #FF6F61;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

address {
    font-style: normal;
}

/* ----- Thank You Page ----- */
.thanks-page {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #D4F1F4 0%, #00B8A9 100%);
}

.thanks-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    font-size: 5rem;
    color: #00B8A9;
    margin-bottom: 20px;
}

/* ----- Policy Pages ----- */
.policy-page {
    padding: 80px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    border-bottom: 2px solid #00B8A9;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* ----- Cookie Consent ----- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: rgba(34, 40, 49, 0.95);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: flex-end;
}

.cookie-popup p {
    margin-bottom: 15px;
    width: 100%;
}

.cookie-popup a {
    color: #00B8A9;
}

#accept-cookies {
    background-color: #00B8A9;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#accept-cookies:hover {
    background-color: #FF6F61;
}

/* ----- Responsive Design ----- */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .menu-toggle-label {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .menu-toggle:checked ~ .nav-menu {
        max-height: 300px;
        padding: 20px 0;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 12px 0;
    }

    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .form-body {
        padding: 20px 15px;
    }

    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }
} 