/* 
* domain - Accounting Services
* Main Stylesheet
* Colors:
* - Primary: #0A0F2C (night ultramarine)
* - Accent 1: #F25C05 (bright mandarin)
* - Accent 2: #32BCA9 (turquoise)
* - Text: #D0D0D0, #E6E6E6 (light gray, off-white)
* - Buttons: gradient from #F25C05 to #FFD700 (orange-gold)
*/

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0A0F2C;
    --accent1: #F25C05;
    --accent2: #32BCA9;
    --text: #D0D0D0;
    --heading: #E6E6E6;
    --gradient: linear-gradient(135deg, #F25C05, #FFD700);
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

html {
    font-size: 62.5%; /* 10px base for easier rem calculation */
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--primary);
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: var(--accent2);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--heading);
}

h1 { font-size: 4.8rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.8rem; }
h4 { font-size: 2.2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.6rem; }

p {
    margin-bottom: 1.6rem;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--accent2);
    border: 2px solid var(--accent2);
}

.btn-secondary:hover {
    background: var(--accent2);
    color: var(--primary);
}

/* Header & Navigation */
.main-header {
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(10, 15, 44, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    text-transform: lowercase;
    letter-spacing: 1px;
    position: relative;
}

.logo::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover {
    color: white;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.menu li {
    margin-left: 3rem;
}

.menu a {
    color: var(--text);
    font-weight: 500;
    font-size: 1.6rem;
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.menu a:hover, .menu a.active {
    color: var(--heading);
}

.menu a:hover::after, .menu a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(50, 188, 169, 0.1), transparent 70%);
    z-index: -1;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--accent2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-title {
    color: var(--heading);
    margin-bottom: 1.5rem;
}

.service-description {
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* About Section */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-content p {
    margin-bottom: 3rem;
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 8rem;
    opacity: 0.1;
    color: var(--accent1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--heading);
}

.testimonial-author-title {
    color: var(--accent2);
    font-size: 1.4rem;
}

/* Contact Form */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--heading);
}

.form-control {
    width: 100%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--heading);
    font-family: inherit;
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent2);
    box-shadow: 0 0 0 3px rgba(50, 188, 169, 0.3);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 4rem;
    cursor: pointer;
    color: var(--heading);
    font-weight: 500;
}

.form-select option {
    background-color: var(--primary);
    color: var(--heading);
    padding: 1rem;
}

.form-select:hover, .form-select:focus {
    border-color: var(--accent2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-top: 0.3rem;
    margin-right: 1rem;
}

.form-check-label {
    font-size: 1.4rem;
}

.form-check-label a {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-error {
    color: #ff6b6b;
    margin-top: 0.5rem;
    font-size: 1.4rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--heading);
    transition: var(--transition);
}

.faq-question::after {
    content: "+";
    font-size: 2rem;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background: rgba(255, 255, 255, 0.1);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 2rem;
}

/* Footer */
.main-footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-description {
    font-size: 1.4rem;
    opacity: 0.8;
}

.footer-column h4 {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent1);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text);
}

.footer-links a:hover {
    color: var(--accent2);
}

address p {
    margin-bottom: 1rem;
    font-style: normal;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 1.4rem;
    opacity: 0.8;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.policy-container h2 {
    margin-top: 4rem;
}

.policy-container h2:first-child {
    margin-top: 0;
}

.policy-container ul, .policy-container ol {
    margin-left: 2rem;
    margin-bottom: 3rem;
}

.policy-container li {
    margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 10rem 0;
}

.thank-you-icon {
    font-size: 8rem;
    color: var(--accent2);
    margin-bottom: 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.thank-you h1 {
    margin-bottom: 3rem;
}

.thank-you p {
    font-size: 1.8rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 1;
        max-height: 400px;
        overflow: hidden;
    }
    
    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .about-content {
        order: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-form-container, .policy-container {
        padding: 3rem;
    }
    
    /* Mobile Menu */
    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        z-index: 200;
    }
    
    .menu-btn span, .menu-btn::before, .menu-btn::after {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--heading);
        transition: var(--transition);
    }
    
    .menu-btn::before {
        content: "";
        transform-origin: top left;
    }
    
    .menu-btn::after {
        content: "";
        transform-origin: bottom left;
    }
    
    .menu-toggle:checked ~ .menu-btn span {
        transform: scaleX(0);
    }
    
    .menu-toggle:checked ~ .menu-btn::before {
        transform: rotate(45deg);
        width: 28px;
    }
    
    .menu-toggle:checked ~ .menu-btn::after {
        transform: rotate(-45deg);
        width: 28px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: var(--primary);
        z-index: 99;
        padding: 8rem 2rem 2rem;
        transform: translateX(100%);
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .menu-toggle:checked ~ .main-nav {
        transform: translateX(0);
    }
    
    .menu {
        flex-direction: column;
    }
    
    .menu li {
        margin-left: 0;
        margin-bottom: 2rem;
    }
    
    .menu a {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    h1 { font-size: 3.6rem; }
    h2 { font-size: 3rem; }
    
    .hero {
        padding: 8rem 0 6rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .benefit-card, .service-card, .testimonial-card {
        padding: 2rem;
    }
} 