/* 
   Main Stylesheet for Domain Accounting Services
   Color palette:
   - Main background: #1F2633 (deep gray-blue)
   - Accents: #00D4FF (bright azure)
   - Text: #FFFFFF and #C0C8D1
   - Blocks: Gradients from #1F2633 to #2A3142
   - Forms/buttons: #00FFA3 (mint neon)
   - Hover states: #FF4ECD (purple)
*/

/* ---------- Reset & Base Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Add padding for anchor links */
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #C0C8D1;
    background-color: #1F2633;
    overflow-x: hidden;
}

a {
    color: #00D4FF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF4ECD;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.highlight {
    color: #00D4FF;
}

section {
    padding: 5rem 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #00D4FF;
    color: #1F2633;
}

.btn-primary:hover {
    background-color: #FF4ECD;
    color: #FFFFFF;
}

.btn-cta {
    background-color: #00FFA3;
    color: #1F2633;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 255, 163, 0.3);
    animation: pulse 2s infinite;
}

.btn-cta:hover {
    background-color: #FF4ECD;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 78, 205, 0.4);
}

.btn-accent {
    background-color: #FF4ECD;
    color: #FFFFFF;
}

.btn-accent:hover {
    background-color: #00D4FF;
    color: #1F2633;
}

.btn-submit {
    background-color: #00FFA3;
    color: #1F2633;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 4px;
}

.btn-submit:hover {
    background-color: #FF4ECD;
    color: #FFFFFF;
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(31, 38, 51, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #FFFFFF;
    letter-spacing: -1px;
    position: relative;
}

.logo:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00D4FF, #00FFA3);
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    height: 100%;
}

.main-nav ul li {
    margin-left: 2rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav ul li a {
    color: #FFFFFF;
    font-weight: 600;
    position: relative;
}

.main-nav ul li a:hover {
    color: #00D4FF;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00D4FF;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
    background: linear-gradient(135deg, #1F2633, #2A3142);
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.1), transparent 70%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeIn 1s ease-out;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 2rem;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* ---------- Benefits Section ---------- */
.benefits {
    background: linear-gradient(to bottom, #2A3142, #1F2633);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: linear-gradient(135deg, #1F2633, #2A3142);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.benefit-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #00D4FF, #00FFA3);
    transition: height 0.3s ease;
    z-index: -1;
}

.benefit-card:hover:before {
    height: 100%;
}

.benefit-icon {
    width: 100%;
    height: 180px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon img {
    transform: scale(1.05);
}

/* ---------- About Section ---------- */
.about {
    background: linear-gradient(to bottom, #1F2633, #2A3142);
    position: relative;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about .container {
    display: flex;
    flex-direction: column;
}

.about-content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.about-image:after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid #00D4FF;
    z-index: -1;
    border-radius: 4px;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 1rem;
    margin: 0.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #00D4FF;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* ---------- Services Section ---------- */
.services {
    background: linear-gradient(to bottom, #2A3142, #1F2633);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #1F2633, #2A3142);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.service-card:hover {
    border-color: #00D4FF;
    transform: translateY(-10px);
}

.service-icon {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-card ul {
    list-style-type: none;
    padding-left: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-card ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00FFA3;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background: linear-gradient(to bottom, #1F2633, #2A3142);
    position: relative;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: linear-gradient(135deg, #1F2633, #2A3142);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: rgba(0, 212, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 2px solid #00D4FF;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    color: #FFFFFF;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #C0C8D1;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-nav-form {
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-dot.active, .nav-dot:hover {
    background: #00D4FF;
    transform: scale(1.2);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ---------- Process Section ---------- */
.process {
    background: linear-gradient(to bottom, #2A3142, #1F2633);
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:after {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, #00D4FF, transparent);
    z-index: -1;
}

.step:last-child:after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00D4FF, #00FFA3);
    color: #1F2633;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

/* ---------- Contact Form Section ---------- */
.contact {
    background: linear-gradient(to bottom, #1F2633, #2A3142);
    position: relative;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, #1F2633, #2A3142);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #00D4FF, #00FFA3);
    z-index: -1;
    transform: skew(-3deg, -3deg);
    border-radius: 10px;
    opacity: 0.5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 4px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    background-color: rgba(42, 49, 66, 0.8);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #00D4FF;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
    margin-bottom: 0;
    color: #FFFFFF;
}

/* ---------- FAQ Section ---------- */
.faq {
    background: linear-gradient(to bottom, #2A3142, #1F2633);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, #1F2633, #2A3142);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.faq-item.active {
    border-color: #00D4FF;
}

.faq-form {
    width: 100%;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-icon {
    color: #00D4FF;
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #00D4FF;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(135deg, #262f3f, #1a2130);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .logo {
    margin-bottom: 1.5rem;
    display: block;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact ul li,
.footer-links ul li {
    margin-bottom: 0.8rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

/* ---------- Policy Pages ---------- */
.policy-page {
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1F2633, #2A3142);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid #00D4FF;
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-size: 1.8rem;
    text-align: left;
    color: #FF4ECD;
    margin-bottom: 1rem;
}

.policy-updated {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    font-style: italic;
    font-size: 0.9rem;
}

/* ---------- Thank You Page ---------- */
.thank-you {
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
}

.thank-you-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1F2633, #2A3142);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid #00D4FF;
}

.what-next {
    text-align: left;
    margin: 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.what-next ol {
    margin-left: 2rem;
}

.what-next li {
    margin-bottom: 0.8rem;
}

/* ---------- Cookie Consent Popup ---------- */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1F2633, #2A3142);
    padding: 1.5rem;
    display: none;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    border-top: 2px solid #00D4FF;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-content p {
    margin: 0 1rem 0 0;
}

/* ---------- Mobile Menu Toggle ---------- */
.menu-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.menu-toggle-btn span {
    width: 30px;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

/* ---------- Media Queries ---------- */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-bottom: 3rem;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-image {
        margin-left: 0;
        max-width: 80%;
    }
    
    .about-content-wrapper {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefit-card, 
    .service-card {
        animation-delay: 0.1s !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1F2633;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .main-nav.menu-visible {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .main-nav ul li:last-child {
        margin-bottom: 0;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn-cta {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .policy-content,
    .thank-you-content {
        padding: 1.5rem;
    }
}

/* Apply animation to elements in sequence */
.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:nth-child(1) { animation: fadeIn 0.8s ease-out 0.1s forwards; opacity: 0; }
.service-card:nth-child(2) { animation: fadeIn 0.8s ease-out 0.2s forwards; opacity: 0; }
.service-card:nth-child(3) { animation: fadeIn 0.8s ease-out 0.3s forwards; opacity: 0; }
