/* Main style file for domain website */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #2B0A3D; /* Main dark-purple background */
    color: #FFFFFF; /* White text */
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    background: linear-gradient(90deg, #fefcff, #29E3C1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
    color: #E6E6E6; /* Light gray text */
}

a {
    color: #C7FF3D; /* Lime-neon accent */
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #29E3C1; /* Turquoise secondary accent */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #2B0A3D, #29E3C1);
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #29E3C1, #C7FF3D);
    transform: translateY(-3px);
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    background-color: rgba(43, 10, 61, 0.9); /* Semi-transparent dark purple */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Checkbox for hamburger menu */
#menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 10, 61, 0.7); /* Semi-transparent overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: rgba(43, 10, 61, 0.8);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: rgba(41, 227, 193, 0.1); /* Semi-transparent turquoise */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: rgba(199, 255, 61, 0.1); /* Semi-transparent lime-neon */
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: rgba(199, 255, 61, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    color: #C7FF3D;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: rgba(43, 10, 61, 0.8);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: rgba(41, 227, 193, 0.1);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #29E3C1;
}

/* Steps Section */
.steps {
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: rgba(41, 227, 193, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #C7FF3D, #29E3C1);
    color: #2B0A3D;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 700;
}

/* Contact Form Section */
.contact {
    padding: 5rem 0;
    background-color: rgba(43, 10, 61, 0.8);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(41, 227, 193, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #E6E6E6;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(41, 227, 193, 0.3);
    background-color: rgba(43, 10, 61, 0.3);
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #C7FF3D;
}

select.form-control option {
    background-color: #FFFFFF;
    color: #2B0A3D;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-container input {
    margin-right: 10px;
    margin-top: 5px;
}

.submit-btn {
    background: linear-gradient(135deg, #2B0A3D, #29E3C1);
    color: #FFFFFF;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #29E3C1, #C7FF3D);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    position: relative;
    cursor: pointer;
}

.faq-checkbox {
    display: none;
}

.faq-label {
    display: block;
    padding: 1rem;
    background-color: rgba(41, 227, 193, 0.1);
    border-radius: 5px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.faq-label::after {
    content: '+';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

.faq-checkbox:checked + .faq-label {
    background-color: rgba(199, 255, 61, 0.2);
}

.faq-checkbox:checked + .faq-label::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(43, 10, 61, 0.5);
    border-radius: 0 0 5px 5px;
}

.faq-content {
    padding: 1rem;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px; /* Arbitrary large value to ensure content is visible */
}

/* Footer Section */
footer {
    background-color: rgba(43, 10, 61, 0.9);
    padding: 3rem 0 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #C7FF3D;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(41, 227, 193, 0.2);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(43, 10, 61, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-text {
    margin-right: 1rem;
}

.cookie-btn {
    background: linear-gradient(135deg, #C7FF3D, #29E3C1);
    color: #2B0A3D;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Thank You Page */
.thank-you {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.thank-you-container {
    margin: 8rem auto 5rem;
    text-align: center;
    border: 1px solid #29E3C1;
    padding: 3rem;
    border-radius: 10px;
    max-width: 600px;
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(41, 227, 193, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #29E3C1;
}

.legal-container h1 {
    color: #C7FF3D;
    margin-bottom: 2rem;
}

.legal-container h2 {
    font-size: 1.5rem;
    color: #FFFFFF;
    background: none;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Hamburger Menu */
    .hamburger {
        display: block;
        font-size: 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        height: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: rgba(43, 10, 61, 0.95);
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    #menu-toggle:checked ~ .nav-links {
        height: calc(100vh - 70px);
    }
    
    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 1rem 0;
    }
}
