/* 
 * Main Stylesheet 
 * Accounting Services Website
 * Colors:
 * - Deep Indigo: #2A2E45
 * - Bright Coral: #FF6B6B
 * - Lime: #D4FF00
 * - Milk White: #FAFAFA
 * - Light Grey: #B0B0B0
 */

/* Global Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --indigo: #2A2E45;
    --coral: #FF6B6B;
    --lime: #D4FF00;
    --white: #FAFAFA;
    --grey: #B0B0B0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem for easy calculations */
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--indigo);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
}

a {
    color: var(--lime);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--coral);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.cta-button, button[type="submit"] {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background: linear-gradient(135deg, var(--lime) 0%, var(--coral) 100%);
    color: var(--indigo);
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-align: center;
}

.cta-button:hover, button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: var(--indigo);
}

/* Header Styles */
.main-header {
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(42, 46, 69, 0.95);
    backdrop-filter: blur(5px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 15rem;
}

.logo img {
    height: auto;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.main-nav a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--lime);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--indigo);
    padding: 1.5rem 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 999;
}

.cookie-popup .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-popup p {
    margin-bottom: 0;
    flex: 1;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(to right, rgba(42, 46, 69, 0.8), rgba(42, 46, 69, 0.6)), url('../img/jV66Ky.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
}

.hero-content {
    max-width: 60rem;
}

.hero h1 {
    margin-bottom: 2rem;
    color: var(--white);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 4rem;
    color: var(--grey);
}

/* Sections General Styling */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--lime), var(--coral));
    margin: 1.5rem auto 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--lime), var(--coral));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card h3 {
    margin-bottom: 1.5rem;
}

.service-card .price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--lime);
    margin-top: 2rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 4rem;
    height: 4rem;
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 80rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 3rem;
    margin: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 8rem;
    color: var(--lime);
    position: absolute;
    top: -2rem;
    left: 1rem;
    opacity: 0.2;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact Form Section */
.contact-section {
    background: linear-gradient(to right, rgba(42, 46, 69, 0.9), rgba(42, 46, 69, 0.8)), url('../img/9oFnkp.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
}

.contact-form-container {
    max-width: 60rem;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color:#2a2e45;
    border-radius: 5px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--lime);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.4rem;
}

/* FAQ Section */
.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-answer {
    padding: 0 2rem 2rem;
}

/* Footer Styles */
.main-footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about, .footer-contact, .footer-legal {
    padding: 0 1rem;
}

.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    padding: 10rem 0;
}

.thank-you-icon {
    font-size: 8rem;
    color: var(--lime);
    margin-bottom: 3rem;
}

/* Legal Pages */
.legal-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 6rem 0;
}

.legal-container h1 {
    margin-bottom: 4rem;
}

.legal-container h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.legal-container ul, .legal-container ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .main-nav ul {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .cookie-popup .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .service-card, .testimonial-card, .contact-form-container {
        padding: 2rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
} 