/* Base Styles */
:root {
    --twilight-coral: #FF6B6B;
    --lime-ash: #D4E157;
    --arctic-indigo: #5C6BC0;
    --pale-clay: #F0E6D2;
    --onyx-ink: #1B1B1B;
    
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--onyx-ink);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--arctic-indigo);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--twilight-coral);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 4rem 0;
}

/* Add padding-top to sections with IDs for better anchor positioning */
section[id]:before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
    pointer-events: none;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    background-color: var(--arctic-indigo);
    color: white;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn:hover {
    background-color: var(--twilight-coral);
    color: white;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--lime-ash);
    color: var(--onyx-ink);
}

.btn-secondary:hover {
    background-color: #bbc748;
    color: var(--onyx-ink);
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.5rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--arctic-indigo);
    text-transform: lowercase;
    padding: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav li {
    margin-left: 1.5rem;
}

.desktop-nav a {
    font-weight: 600;
    position: relative;
}

.desktop-nav a.active, .desktop-nav a:hover {
    color: var(--twilight-coral);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--twilight-coral);
    transition: var(--transition);
}

.desktop-nav a:hover::after, .desktop-nav a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

#menu-toggle {
    display: none;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    z-index: 200;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--arctic-indigo);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 150;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
}

.mobile-nav li {
    margin: 10px 0;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 10px 0;
}

#menu-toggle:checked ~ .mobile-nav {
    right: 0;
}

#menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(92, 107, 192, 0.8), rgba(92, 107, 192, 0.8)), url('./img/FiZyOh.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

h1, h2, h3 {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* About Section */
.about {
    background-color: var(--pale-clay);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--arctic-indigo);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.testimonial-content {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 700;
}

.testimonial-company {
    opacity: 0.8;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: white;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--lime-ash);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Pricing Section */
.pricing {
    background-color: var(--pale-clay);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.pricing-header {
    background-color: var(--arctic-indigo);
    color: white;
    padding: 1.5rem;
}

.pricing-content {
    padding: 1.5rem;
    text-align: center;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.price-period {
    opacity: 0.7;
    font-size: 1rem;
}

.pricing-features {
    margin: 1.5rem 0;
    text-align: center;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.pricing-features li::before {
    content: '✓';
    color: var(--twilight-coral);
    margin-right: 0.5rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
    text-align: center;
}

.blog-date {
    color: var(--twilight-coral);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Form Section */
.form-section {
    padding: 4rem 0;
    background-color: white;
}

.form-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--pale-clay);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--arctic-indigo);
    outline: none;
    box-shadow: 0 0 0 2px rgba(92, 107, 192, 0.2);
}

.checkbox-group {
    margin-top: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--onyx-ink);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

footer h3 {
    margin-bottom: 1.5rem;
    position: relative;
    text-align: left;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--twilight-coral);
}

footer a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

footer a:hover {
    color: var(--lime-ash);
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
}

.footer-links li, .footer-legal li {
    margin-bottom: 0.7rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(27,27,27,0.95);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-consent p {
    margin: 0;
    padding-right: 1rem;
}

.cookie-consent a {
    color: var(--lime-ash);
}

.cookie-consent button {
    background-color: var(--lime-ash);
    color: var(--onyx-ink);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-consent button:hover {
    background-color: #bbc748;
}

/* Policy Pages */
.policy-page {
    padding: 4rem 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--pale-clay);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--arctic-indigo);
    transition: var(--transition);
}

.faq-item.active .faq-question:after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1.5rem;
    text-align: center;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 6rem 0;
}

.thank-you h1 {
    margin-bottom: 1.5rem;
    color: var(--arctic-indigo);
}

/* Media Queries */
@media (max-width: 992px) {
    .services-grid, .pricing-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .services-grid, .pricing-grid, .blog-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .cookie-consent {
        flex-direction: column;
    }
    
    .cookie-consent p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
}