/* Base Styles */
:root {
    --charcoal-black: #1B1F3B;
    --luminous-coral: #FF6F61;
    --glacier-teal: #88E1D4;
    --pale-ivory: #FFF8E7;
    --graphite-grey: #5D5C61;
    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

* {
    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: var(--charcoal-black);
    background-color: var(--pale-ivory);
    padding-top: 50px; /* Reduced padding for smaller fixed header */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
    position: relative;
}

section[id]::before {
    content: '';
    display: block;
    height: 120px;
    margin-top: -120px;
    visibility: hidden;
    pointer-events: none;
}

main {
    margin-top: 20px; /* Additional spacing for the fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 20px;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--luminous-coral);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--glacier-teal);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.6s;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background-color: var(--luminous-coral);
    color: white;
}

.btn-primary:hover {
    background-color: #ff574a;
    color: white;
}

.btn-secondary {
    background-color: var(--glacier-teal);
    color: var(--charcoal-black);
}

.btn-secondary:hover {
    background-color: #79d3c6;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--luminous-coral);
}

/* Header Styles */
.site-header {
    background-color: var(--charcoal-black);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--luminous-coral);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--pale-ivory);
    font-weight: 500;
    padding-bottom: 5px;
    position: relative;
}

.nav-links a:hover {
    color: var(--luminous-coral);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--luminous-coral);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-icon {
    position: relative;
    width: 30px;
    height: 24px;
}

.menu-icon span, 
.menu-icon::before, 
.menu-icon::after {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--pale-ivory);
    transition: var(--transition);
}

.menu-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon::before {
    content: '';
    top: 0;
}

.menu-icon::after {
    content: '';
    bottom: 0;
}

#menu-toggle-checkbox {
    display: none;
}

#menu-toggle-checkbox:checked ~ .menu-icon span {
    opacity: 0;
}

#menu-toggle-checkbox:checked ~ .menu-icon::before {
    transform: translateY(10px) rotate(45deg);
}

#menu-toggle-checkbox:checked ~ .menu-icon::after {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background-color: var(--charcoal-black);
    color: var(--pale-ivory);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    margin-right: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(800px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(800px) rotateY(0deg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    font-size: 3rem;
    color: var(--pale-ivory);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: rgba(255, 248, 231, 0.9);
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, rgba(255, 111, 97, 0.2), rgba(136, 225, 212, 0.2));
    transform: rotate(-15deg);
    z-index: 1;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background-color: var(--pale-ivory);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--luminous-coral), var(--glacier-teal));
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--glacier-teal);
}

.service-card:hover::before {
    transform: translateY(5px);
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--charcoal-black);
}

/* Features Section */
.features {
    background-color: white;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 20px;
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 111, 97, 0.1);
    color: var(--luminous-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* Metrics Section */
.metrics {
    background-color: var(--charcoal-black);
    color: var(--pale-ivory);
    position: relative;
    overflow: hidden;
}

.metrics::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 50%;
    height: 120%;
    background: linear-gradient(135deg, rgba(136, 225, 212, 0.1), rgba(255, 111, 97, 0.1));
    transform: rotate(15deg);
    z-index: 1;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.metric-item {
    text-align: center;
    padding: 20px;
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--luminous-coral);
}

.metric-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--pale-ivory);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-content {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 6rem;
    color: rgba(136, 225, 212, 0.3);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--charcoal-black);
}

.testimonial-position {
    color: var(--graphite-grey);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(93, 92, 97, 0.3);
    margin: 0 5px;
}

.testimonial-indicator.active {
    background-color: var(--luminous-coral);
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: var(--pale-ivory);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(93, 92, 97, 0.2);
    border-radius: 10px;
    background-color: white;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.form-control:focus {
    outline: none;
    border-color: var(--glacier-teal);
    box-shadow: 0 0 0 4px rgba(136, 225, 212, 0.2);
}

.form-label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--graphite-grey);
    transition: var(--transition);
    pointer-events: none;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: var(--pale-ivory);
    padding: 0 5px;
    color: var(--glacier-teal);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--glacier-teal);
}

.form-check-label {
    font-size: 0.9rem;
}

.form-error {
    background-color: rgba(255, 111, 97, 0.1);
    border-left: 4px solid var(--luminous-coral);
    color: #d63939;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background-color: var(--pale-ivory);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-weight: 600;
}

.faq-question a {
    color: var(--charcoal-black);
    text-decoration: none;
    display: block;
    width: 100%;
    cursor: pointer;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--luminous-coral);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Footer Styles */
.site-footer {
    background-color: var(--charcoal-black);
    color: var(--pale-ivory);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--luminous-coral);
    margin-bottom: 20px;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 248, 231, 0.7);
}

.footer-links a:hover {
    color: var(--luminous-coral);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 248, 231, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 248, 231, 0.5);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--charcoal-black);
    color: var(--pale-ivory);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.btn-cookie {
    background-color: var(--glacier-teal);
    color: var(--charcoal-black);
}

.cookie-link {
    font-size: 0.9rem;
    color: rgba(255, 248, 231, 0.7);
    text-decoration: underline;
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 60px;
}

.policy-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(93, 92, 97, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.policy-container h1 {
    margin-bottom: 30px;
    color: var(--charcoal-black);
    border-bottom: 3px solid var(--glacier-teal);
    padding-bottom: 15px;
}

.policy-container h2 {
    margin: 30px 0 20px;
    color: var(--charcoal-black);
    font-size: 1.5rem;
}

/* Thank You Page */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--pale-ivory);
}

.thank-you-content {
    max-width: 600px;
    padding: 50px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--glacier-teal);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.thank-you-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--luminous-coral), var(--glacier-teal));
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--glacier-teal);
    margin-bottom: 20px;
}

.thank-you h1 {
    margin-bottom: 20px;
    color: var(--charcoal-black);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--charcoal-black);
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active,
    #menu-toggle-checkbox:checked ~ .nav-links {
        height: auto;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 248, 231, 0.1);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-flex-container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 100%;
        transform: perspective(800px) rotateY(0);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-card, .feature-item, .metric-item {
        margin-bottom: 20px;
    }
    
    .testimonial-container {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
    
    .thank-you-content {
        margin: 0 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title h2::after {
        width: 60px;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-control {
        padding: 14px;
    }
    
    .service-card::before {
        height: 4px;
    }
    
    .service-image {
        height: 160px;
    }
    
    .about-image img {
        max-height: 250px;
        object-fit: cover;
    }
}