/* 
* Main Stylesheet for domain.com
* Color Palette:
* #FF6B6B - Coral Accent
* #FFE66D - Sunlit Yellow
* #1E555C - Dark Teal
* #F7FFF7 - Almost White Background
* #3D3D3D - Elegant Gray Text
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #3D3D3D;
    background-color: #F7FFF7;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #1E555C;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #FF6B6B;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: #1E555C;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.2rem;
}

/* Header Styles - Larger background */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px 0; /* Doubled height for desktop */
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo and Text Styling */
.logo-container {
    float: left;
    margin-top: -20px; /* Increased negative margin to move logo higher */
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    color: #3D3D3D;
    font-weight: bold;
    margin-left: 5px;
}

.main-nav {
    float: right;
    margin-top: -20px; /* Increased negative margin to move nav higher */
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    display: block;
    padding: 10px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6B6B;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: #FF6B6B;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Adjust anchor offset for better heading visibility */
:target {
    scroll-margin-top: 100px; /* More space above anchored elements */
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    position: absolute;
    right: 20px;
    top: 25px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1E555C;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 85, 92, 0.9), rgba(30, 85, 92, 0.7)), url('../img/VA9eAZ.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding-left: 30px;
}

/* Benefits Section */
.benefits {
    background-color: #f0f8ff;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FF6B6B;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f0f8ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.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: 20px;
}

/* Process Section */
.process {
    background-color: #f0f8ff;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background-color: #FF6B6B;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 20px;
}

.step-content {
    flex: 1;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: #FFE66D;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    color: rgba(255, 107, 107, 0.2);
    font-family: serif;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

/* Contact Form Section */
.contact {
    background-color: #f0f8ff;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #FF6B6B;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.submit-btn {
    background: linear-gradient(135deg, #FF6B6B, #ff5252);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.error-message {
    color: #FF6B6B;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f0f8ff;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Footer Styles */
.main-footer {
    background-color: #1E555C;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.main-footer h3 {
    color: white;
    margin-bottom: 20px;
}

.main-footer p, .main-footer address {
    opacity: 0.8;
}

.footer-links ul {
    list-style: none;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: #FFE66D;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px 0;
    z-index: 1000;
}

.cookie-consent .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent p {
    margin: 0;
    max-width: 80%;
}

.cookie-consent button {
    background-color: #FFE66D;
    color: #1E555C;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-consent button:hover {
    background-color: white;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    text-align: left;
    margin-top: 40px;
}

.legal-content h2::after {
    left: 0;
    transform: none;
}

.legal-content ol, .legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Thank You Page */
.thankyou {
    text-align: center;
    padding: 100px 0;
}

.thankyou-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.check-icon {
    color: #4CAF50;
    font-size: 5rem;
    margin-bottom: 20px;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Footer Logo and Contact Link Styling */
.footer-logo {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.footer-logo-text {
    font-size: 22px;
    color: white;
    margin-left: 5px;
    font-weight: bold;
}

.footer-contact-link {
    color: white !important;
}

/* Media Queries */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 0; /* Original size for mobile */
        position: relative;
    }
    
    .logo-container {
        float: none;
        text-align: center;
        margin: 0 auto;
        width: 70%;
        margin-top: 0; /* Reset margin for mobile */
    }
    
    .logo-wrap {
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        float: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0; /* Reset margin for mobile */
    }
    
    .main-nav.active {
        max-height: 300px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .main-nav ul li {
        margin: 8px 0;
        text-align: center;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .cookie-consent .container {
        flex-direction: column;
    }
    
    .cookie-consent p {
        max-width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    :target {
        scroll-margin-top: 80px;
    }
} 