/* Main styling for domain accounting website */

/* Reset and Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette */
    --bg-main: #0B132B;
    --accent: #5BC0BE;
    --accent-yellow: #FEE440;
    --text-light: #F4F4F9;
    --btn-color: #F76C6C;
    --heading-color: #EDEDED;
    --section-bg-start: #272C34;
    --section-bg-end: #0B132B;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-yellow);
}

.btn {
    display: inline-block;
    background-color: var(--btn-color);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e55b5b;
    color: var(--text-light);
}

section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--section-bg-start), var(--section-bg-end));
    text-align: center;
}

/* Header styling */
header {
    background-color: var(--bg-main);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: var(--text-light);
    font-weight: 600;
}

.nav-menu li a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 24px;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(11, 19, 43, 0.8), rgba(11, 19, 43, 0.9)), url('../img/jBtIHj.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    animation: slideInLeft 1s ease;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    animation: slideInRight 1s ease;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Why Choose Us section */
.why-us-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.why-us-card {
    width: calc(33.33% - 20px);
    background: linear-gradient(135deg, var(--section-bg-end), var(--section-bg-start));
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.why-us-card i {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Services section */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1 0 calc(33.33% - 30px);
    background: linear-gradient(135deg, var(--section-bg-start), var(--section-bg-end));
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(91, 192, 190, 0.2);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.service-features span {
    padding: 8px;
    background-color: rgba(91, 192, 190, 0.2);
    border-radius: 4px;
}

/* Pricing section */
.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.pricing-plan {
    flex: 1 0 calc(33.33% - 30px);
    background: linear-gradient(135deg, var(--section-bg-start), var(--section-bg-end));
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-plan:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.popular {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--accent-yellow);
    color: var(--bg-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    margin: 20px 0;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(244, 244, 249, 0.1);
}

/* Testimonials section */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    flex: 1 0 calc(33.33% - 30px);
    background: linear-gradient(135deg, var(--section-bg-start), var(--section-bg-end));
    border-radius: 8px;
    padding: 25px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

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

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

.author-info p {
    color: var(--accent);
    font-size: 14px;
}

/* Contact form section */
.contact-form {
    background: linear-gradient(135deg, var(--section-bg-start), var(--section-bg-end));
    padding: 40px;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid rgba(244, 244, 249, 0.2);
    background-color: rgba(11, 19, 43, 0.5);
    color: var(--text-light);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check input {
    margin-right: 10px;
}

.services-checkboxes {
    display: flex;
    flex-wrap: wrap;
}

.services-checkboxes .form-check {
    width: 33.33%;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, #06091a, var(--bg-main));
    padding: 60px 0 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(244, 244, 249, 0.1);
}

/* Policy pages */
.policy-content {
    background: linear-gradient(135deg, var(--section-bg-start), var(--section-bg-end));
    padding: 40px;
    border-radius: 8px;
    margin-top: 100px;
    margin-bottom: 40px;
}

.policy-content h1 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.policy-content h2 {
    color: var(--accent);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.policy-content ul, .policy-content ol {
    margin-bottom: 15px;
    margin-left: 30px;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--section-bg-start);
    color: var(--text-light);
    padding: 15px;
    text-align: center;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-popup p {
    margin: 0;
}

/* Thanks page */
.thanks-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 100px auto 40px;
    padding: 40px 20px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--section-bg-start), var(--section-bg-end));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.thanks-container h1 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thanks-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .why-us-card {
        width: calc(50% - 15px);
    }
    
    .service-card, .pricing-plan, .testimonial-card {
        flex: 1 0 calc(50% - 20px);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .services-checkboxes .form-check {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-main);
        flex-direction: column;
        padding: 20px 0;
        transition: all 0.4s ease;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 15px 0;
        text-align: center;
        border-bottom: 1px solid rgba(244, 244, 249, 0.1);
    }
    
    .why-us-card, .service-card, .pricing-plan, .testimonial-card {
        width: 100%;
        flex: 1 0 100%;
    }
    
    .services-checkboxes .form-check {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-column {
        flex: 1 0 100%;
    }
}
