/* 
 * Main Stylesheet for domain accounting website
 * Color palette:
 * - Primary: #4ECDC4 (fresh turquoise)
 * - Accent: #FF6B6B (coral red)
 * - Background: #F7FFF7 (almost white with light green tint)
 * - Secondary: #1A535C (deep blue-green)
 * - Text: #2E2E2E (dark gray)
 */

/* ---------- Global Styles ---------- */
:root {
    --primary: #4ECDC4;
    --primary-light: #7DDFD9;
    --primary-dark: #3AA8A0;
    --accent: #FF6B6B;
    --accent-light: #FF9494;
    --accent-dark: #D94A4A;
    --background: #F7FFF7;
    --secondary: #1A535C;
    --secondary-light: #2A7782;
    --secondary-dark: #12393F;
    --text: #2E2E2E;
    --text-light: #5F5F5F;
    --text-lighter: #8F8F8F;
    --white: #FFFFFF;
    --gray-light: #F0F0F0;
    --gray: #D0D0D0;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-round: 50%;
    
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 40px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}
.elem {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 4px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 20px;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ---------- Header Styles ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    align-items: center;
}

.main-nav ul li {
    margin: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav ul li a {
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav ul li a:hover {
    color: var(--primary);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a.btn {
    color: var(--white);
    height: auto;
    padding: 12px 24px;
}

.main-nav ul li a.btn::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text);
    transition: var(--transition);
}

/* Cookie Consent Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background-color: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    z-index: 9999;
    margin: 0 auto;
    display: none; /* Hidden by default, JS will show it */
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 160px 0 100px;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: rgba(78, 205, 196, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ---------- About Section ---------- */
.about {
    background-color: var(--white);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ---------- Services Section ---------- */
.services {
    background-color: var(--background);
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover::after {
    margin-left: 10px;
}

/* ---------- Process Section ---------- */
.process {
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15%;
    width: 30%;
    height: 2px;
    background-color: var(--primary-light);
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 auto 20px;
}

.step-item h3 {
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---------- Benefits Section ---------- */
.benefits {
    background-color: var(--background);
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.benefit-content h3 {
    margin-bottom: 10px;
}

.benefit-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ---------- FAQ Section ---------- */
.faq {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray);
    margin-bottom: 15px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 40px 20px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: block;
    color: var(--secondary);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question.active {
    color: var(--primary);
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-light);
    display: none;
    border-top: 1px solid var(--gray-light);
    margin-top: 0;
    background-color: var(--gray-light);
}

.faq-answer.show {
    display: block;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background-color: var(--background);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    position: relative;
    padding-top: 25px;
    margin-bottom: 20px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-light);
    font-family: serif;
    height: 40px;
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-lighter);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- Contact Form Section ---------- */
.contact {
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: var(--background);
    padding: 40px;
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: var(--radius-md);
    background-color: var(--white);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.checkbox-group a {
    text-decoration: underline;
}

.contact-info {
    padding: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p, 
.contact-text a {
    color: var(--text-light);
    margin-bottom: 0;
}

.map-container {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-contact ul,
.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact ul li,
.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact ul li .icon {
    font-size: 18px;
    width: 24px;
}

.footer-links a,
.footer-legal a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- Policy Pages ---------- */
.policy-page {
    padding: 150px 0 80px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.policy-container h1 {
    margin-bottom: 30px;
}

.policy-container h2 {
    font-size: 1.8rem;
    margin-top: 40px;
}

.policy-container p,
.policy-container ul {
    color: var(--text-light);
}

.policy-container ul {
    margin-left: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* ---------- Thank You Page ---------- */
.thank-you {
    padding: 150px 0 80px;
    text-align: center;
}

.thank-you-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: var(--primary-light);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-dark);
    margin: 0 auto 30px;
}

.thank-you h1 {
    margin-bottom: 20px;
}

.thank-you p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ---------- Responsive Styles ---------- */
@media screen and (max-width: 1024px) {
    :root {
        --container-width: 900px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-wrapper,
    .testimonials-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-item:nth-child(2n)::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --container-width: 100%;
        --header-height: 70px;
    }
    
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        padding: 100px 20px 20px;
        transform: translateX(100%);
        opacity: 0;
        transition: var(--transition);
        visibility: hidden;
    }
    
    .main-nav.menu-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul li {
        margin: 0;
    }
    
    .mobile-menu-toggle.menu-open span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.menu-open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.menu-open span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-wrapper,
    .benefits-wrapper,
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step-item::after {
        display: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
}
