/* 
 * Main Stylesheet for domain.com
 * Color Palette:
 * - Main background: gradient from mandarin (#ff5e62) to cornflower (#845ec2)
 * - Accents: neon yellow-green (#caff00), peach (#ffc5bf)
 * - Text: deep graphite (#2f2f2f)
 * - Buttons: glass effect with translucency and white shadows
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2f2f2f;
    background: linear-gradient(135deg, #ff5e62 0%, #845ec2 100%);
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2f2f2f;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

a {
    color: #845ec2;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff5e62;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #ff5e62, #845ec2);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Button Styles */
.cta-button, .service-cta {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #2f2f2f;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-button:hover, .service-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    color: #2f2f2f;
}

.service-cta {
    font-size: 0.9rem;
    padding: 8px 20px;
}

/* Enhanced Submit Button */
.submit-button {
    background: linear-gradient(135deg, #ff5e62 0%, #845ec2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(132, 94, 194, 0.3);
    transition: all 0.3s ease;
}

.submit-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
    z-index: -1;
}

.submit-button:hover {
    background: linear-gradient(135deg, #ff5e62 0%, #845ec2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(132, 94, 194, 0.4);
    color: white;
}

.submit-button:hover:before {
    left: 100%;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 0; /* Reduced padding to make header smaller */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    color: #2f2f2f;
}

.logo {
    width: 40px; /* Smaller logo */
    height: 25px;
    margin-right: 10px;
}

.site-name {
    font-weight: 700;
    font-size: 1.3rem; /* Smaller font size */
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center; /* Align all items to the same level */
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    display: block; /* Make all links block elements for consistent height */
}

.main-nav ul li a.active,
.main-nav ul li a:hover {
    background: rgba(202, 255, 0, 0.2);
}

.main-nav ul li a.cta-button {
    background: linear-gradient(135deg, #ff5e62 0%, #845ec2 100%);
    color: white;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.toggle-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.toggle-button span {
    width: 100%;
    height: 3px;
    background-color: #2f2f2f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Welcome Banner */
.welcome-banner {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 94, 98, 0.1) 0%, rgba(132, 94, 194, 0.1) 100%);
}

.welcome-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.banner-content {
    flex: 1;
    text-align: left;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.banner-image {
    flex: 1;
    max-width: 500px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-list {
    margin-left: 20px;
    margin-top: 20px;
}

.about-list li {
    margin-bottom: 10px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* Services Section - Updated to 3 cards layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content ul {
    margin: 15px 0;
    margin-left: 20px;
    flex-grow: 1;
}

.service-content ul li {
    margin-bottom: 8px;
}

.service-content .service-cta {
    align-self: flex-start;
    margin-top: auto;
}

/* Testimonials Section - Updated to fixed cards */
.testimonials-section {
    padding-bottom: 60px;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-content blockquote {
    font-style: italic;
    font-size: 1rem;
    position: relative;
    padding: 0 20px;
    margin-bottom: 20px;
}

.testimonial-content blockquote::before,
.testimonial-content blockquote::after {
    content: '"';
    font-size: 2rem;
    color: #ff5e62;
    position: absolute;
}

.testimonial-content blockquote::before {
    top: -10px;
    left: 0;
}

.testimonial-content blockquote::after {
    bottom: -20px;
    right: 0;
}

.testimonial-author {
    text-align: right;
    margin-top: auto;
}

/* Contact Form */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin: 0;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.form-errors {
    background: rgba(255, 94, 98, 0.1);
    color: #ff5e62;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ff5e62;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    margin: 0;
    background: white;
}

.faq-question a {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #2f2f2f;
}

.faq-icon {
    font-size: 1.5rem;
    color: #845ec2;
    font-weight: 700;
}

.faq-answer {
    padding: 0 20px 15px;
    background: white;
}

/* Footer */
.site-footer {
    background: rgba(47, 47, 47, 0.9);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.site-footer h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #caff00;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact ul li,
.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ffc5bf;
}

.footer-links ul li a:hover {
    color: #caff00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none; /* Initially hidden, shown by JS */
}

.cookie-popup.show {
    display: block;
}

.cookie-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

#accept-cookies {
    background: #caff00;
    color: #2f2f2f;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    background: #b7e600;
}

/* Thank You Page Styles */
.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thanks-section h1 {
    color: #845ec2;
    margin-bottom: 30px;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    border-radius: 5px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.thanks-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.primary-thanks-button {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #ff5e62 0%, #845ec2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(132, 94, 194, 0.3);
    transition: all 0.3s ease;
}

.primary-thanks-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(132, 94, 194, 0.4);
    color: white;
}

.secondary-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #845ec2;
    border: 1px solid #845ec2;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(132, 94, 194, 0.1);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .welcome-banner .container {
        flex-direction: column;
    }
    
    .banner-content {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
    
    .testimonial-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.menu-open {
        max-height: 300px;
        padding: 10px 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav ul li a {
        padding: 12px 20px;
        display: block;
        margin: 5px 0;
    }
    
    .toggle-button.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .toggle-button.active span:nth-child(2) {
        opacity: 0;
    }
    
    .toggle-button.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .welcome-banner {
        padding: 50px 0;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .testimonial-container {
        grid-template-columns: 1fr; /* 1 column for mobile */
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions a {
        width: 100%;
        max-width: 250px;
        text-align: center;
        margin-bottom: 10px;
    }
} 