/* 
   Domain - Accounting Services
   Main Stylesheet
   
   Color Palette:
   - Background: #F2F0EC (pastel beige-gray)
   - Accent: #E85D75 (bright magenta)
   - Accent: #3D348B (indigo)
   - Accent: #F9C80E (vibrant yellow)
   - Text: #333333, #555555
   - Button Gradient: #3D348B to #E85D75
*/

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* For easier rem calculations - 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333333;
    background-color: #F2F0EC;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #3D348B;
    transition: color 0.3s ease;
}

a:hover {
    color: #E85D75;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2rem;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3D348B, #E85D75);
    color: #fff;
    box-shadow: 0 4px 10px rgba(232, 93, 117, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(232, 93, 117, 0.4);
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    color: #3D348B;
    border: 2px solid #3D348B;
}

.btn-secondary:hover {
    background-color: #3D348B;
    color: #fff;
}

/* ===== HEADER ===== */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 2.8rem;
    font-weight: 700;
    color: #3D348B;
    text-transform: lowercase;
    margin: 0;
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin-left: 3rem;
}

.nav-list a {
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3D348B, #E85D75);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.4rem;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #3D348B;
    transition: all 0.3s ease;
    margin: 4px 0;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
}

.mobile-menu li {
    margin: 1rem 0;
}

/* ===== MAIN CONTENT ===== */
.site-main {
    margin-top: 0; /* Removed margin between header and first block */
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(61, 52, 139, 0.9), rgba(232, 93, 117, 0.85)), url('../img/SaOave.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 12rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-subtext {
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s both;
    padding: 1.5rem 4rem;
    font-size: 1.8rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 8rem 0;
}

.about h2 {
    color: #3D348B;
    text-align: center;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 80%; /* Make image smaller */
}

.trust-indicators {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.trust-item h3 {
    font-size: 4rem;
    color: #E85D75;
    margin-bottom: 1rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    padding: 8rem 0;
    background-color: #fff;
}

.benefits h2 {
    text-align: center;
    color: #3D348B;
    margin-bottom: 5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.benefit-card {
    padding: 3rem;
    background-color: #F2F0EC;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card h3 {
    color: #3D348B;
}

.licenses {
    text-align: center;
    padding: 3rem;
    background-color: #F2F0EC;
    border-radius: 10px;
    margin-top: 5rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 8rem 0;
}

.services h2 {
    text-align: center;
    color: #3D348B;
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 2rem;
    object-fit: cover;
}

.service-card h3 {
    color: #3D348B;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(61, 52, 139, 0.05), rgba(232, 93, 117, 0.05));
}

.pricing h2 {
    text-align: center;
    color: #3D348B;
    margin-bottom: 5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.price-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, 
                linear-gradient(135deg, #3D348B, #E85D75) border-box;
    transform: scale(1.05);
}

.price-card h3 {
    color: #3D348B;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    color: #E85D75;
    margin: 2rem 0;
}

.price span {
    font-size: 2rem;
    color: #555555;
}

.price-features {
    margin: 3rem 0;
    text-align: left;
}

.price-features li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E85D75;
}

/* ===== WORK STEPS SECTION ===== */
.work-steps {
    padding: 8rem 0;
}

.work-steps h2 {
    text-align: center;
    color: #3D348B;
    margin-bottom: 5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #3D348B, #E85D75);
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.step-card h3 {
    color: #3D348B;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 8rem 0;
    background-color: #fff;
}

.testimonials h2 {
    text-align: center;
    color: #3D348B;
    margin-bottom: 5rem;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.testimonial-card {
    background-color: #F2F0EC;
    border-radius: 10px;
    padding: 4rem 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.8rem;
    position: relative;
    padding: 0 2rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 5rem;
    color: #E85D75;
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -2rem;
    left: -1rem;
}

.testimonial-text::after {
    bottom: -5rem;
    right: -1rem;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: #3D348B;
    margin-top: 2rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 8rem 0;
}

.contact h2 {
    text-align: center;
    color: #3D348B;
    margin-bottom: 5rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    background-clip: padding-box;
    background-image: linear-gradient(#fff, #fff), 
                      linear-gradient(135deg, #3D348B, #E85D75);
    background-origin: padding-box, border-box;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3D348B;
    outline: none;
    box-shadow: 0 0 0 2px rgba(61, 52, 139, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 1rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-group button {
    width: 100%;
    padding: 1.5rem;
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
    padding: 15rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thank-you-content h1 {
    color: #3D348B;
    margin-bottom: 3rem;
}

.thank-you-actions {
    margin-top: 4rem;
}

/* ===== POLICY PAGES ===== */
.policy {
    padding: 12rem 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    color: #3D348B;
    margin-bottom: 4rem;
    text-align: center;
}

.policy-section {
    margin-bottom: 4rem;
}

.policy-section h2 {
    color: #3D348B;
    font-size: 2.4rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
    padding-left: 2rem;
    margin: 2rem 0;
}

.policy-section li {
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #3D348B;
    color: #fff;
    padding: 6rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo .logo-text {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-description {
    opacity: 0.8;
}

.footer-nav h3,
.footer-contact h3,
.footer-legal h3 {
    color: #F9C80E;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-nav ul,
.footer-contact ul,
.footer-legal ul {
    margin-left: 0;
}

.footer-nav li,
.footer-contact li,
.footer-legal li {
    margin-bottom: 1rem;
}

.footer-nav a,
.footer-legal a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: #F9C80E;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 1;
    color: #F9C80E;
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    opacity: 0.7;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    z-index: 1000;
    max-width: 500px;
    animation: fadeInUp 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    margin-right: 2rem;
    margin-bottom: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial animation removed as we now use fixed cards */

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        row-gap: 5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .about-grid,
    .benefits-grid,
    .services-grid,
    .pricing-grid,
    .steps-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .testimonials {
        padding: 6rem 0;
    }
    
    .testimonial-card {
        padding: 3rem 2rem;
    }
    
    .testimonial-text {
        font-size: 1.6rem;
    }
    
    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 3rem;
    }
    
    .testimonial-text::before {
        top: -1rem;
        left: -0.5rem;
    }
    
    .testimonial-text::after {
        bottom: -3rem;
        right: -0.5rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .form-container {
        padding: 3rem;
    }
    
    .policy-content {
        padding: 3rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .hero-subtext {
        font-size: 1.8rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 3rem;
    }
    
    .trust-item {
        padding-bottom: 2rem;
        border-bottom: 1px solid #eee;
    }
    
    .testimonials h2 {
        font-size: 2.8rem;
        margin-bottom: 3rem;
    }
    
    .testimonial-card {
        padding: 2.5rem 1.8rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-text {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav ul,
    .footer-contact ul,
    .footer-legal ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
} 