/* 
   domain - Main Stylesheet
   Color Palette:
   - Background: #F5F9FC (light blue)
   - Main Color: #3B3F72 (dark blue)
   - Accent: #F7931E (bright orange)
   - Text: #1C1C1C (almost black)
   - UI Elements: gradients #3B3F72 → #6C82D6
   - Font: Inter
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1C1C1C;
    background-color: #F5F9FC;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #3B3F72;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #F7931E;
    bottom: 0;
    left: 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: #3B3F72;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F7931E;
}

section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #3B3F72, #6C82D6);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 63, 114, 0.3);
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, #3B3F72, #6C82D6);
}

.btn-accent {
    background: linear-gradient(135deg, #F7931E, #FFB251);
}

/* Header & Navigation */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3B3F72;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #F7931E;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #3B3F72;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.main-nav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F7931E;
    transition: width 0.3s ease;
}

.main-nav a:hover:before,
.main-nav a:focus:before {
    width: 100%;
}

.main-nav a:hover {
    color: #F7931E;
}

.cta-button {
    background: linear-gradient(135deg, #F7931E, #FFB251);
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
}

.cta-button:before {
    display: none;
}

/* Mobile menu */
.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.hamburger,
.hamburger:before,
.hamburger:after {
    display: block;
    content: '';
    width: 100%;
    height: 3px;
    background: #3B3F72;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger:before {
    top: -10px;
}

.hamburger:after {
    bottom: -10px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(59, 63, 114, 0.9), rgba(108, 130, 214, 0.9)), url('../img/hero-bg.jpg') center center/cover no-repeat;
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeInUp 1.2s ease;
}

.hero .btn {
    animation: fadeInUp 1.4s ease;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 0 0 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin: 0 20px 15px;
}

.service-card p {
    margin: 0 20px 20px;
}

.service-card .btn {
    margin: 0 20px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F7931E, #FFB251);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card:after {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(59, 63, 114, 0.1);
    font-family: serif;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.client-role {
    font-size: 0.85rem;
    color: #666;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* CSS-only accordion for FAQ */
.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #fff;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: #3B3F72;
    transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"] {
    display: none;
}

.faq-answer {
    background: #fff;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question:after {
    content: '−';
}

/* Contact Form */
.contact-section {
    background: linear-gradient(135deg, #3B3F72, #6C82D6);
    color: #fff;
}

.contact-section .section-title h2 {
    color: #fff;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1C1C1C;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3B3F72;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B3F72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-label {
    font-size: 0.95rem;
    color: #1C1C1C;
}

.checkbox-label a {
    text-decoration: underline;
}

.form-submit {
    margin-top: 10px;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Footer */
.main-footer {
    background: #3B3F72;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #F7931E;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #F7931E;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.cookie-consent .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-consent p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-consent button {
    background: #F7931E;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-consent button:hover {
    background: #e78212;
}

.cookie-consent a {
    margin-left: 15px;
    text-decoration: underline;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 60px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-container h1 {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F7931E;
}

.legal-container h2 {
    margin-top: 40px;
}

/* Thank You Page */
.thank-you-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-container h1 {
    color: #3B3F72;
    margin-bottom: 20px;
}

.thank-you-container p {
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    /* Tablet Layout */
    section {
        padding: 60px 0;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Layout */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .about-grid,
    .benefits-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Menu */
    .menu-button {
        display: block;
        z-index: 1001;
    }
    
    .menu-toggle:checked ~ .menu-button .hamburger {
        background: transparent;
    }
    
    .menu-toggle:checked ~ .menu-button .hamburger:before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .menu-toggle:checked ~ .menu-button .hamburger:after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 1.2rem;
    }
    
    .cookie-consent .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    /* Small Mobile Layout */
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container,
    .legal-container {
        padding: 25px;
    }
    
    .cookie-consent {
        padding: 20px 0;
    }
    
    .cookie-consent .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-consent p {
        margin-bottom: 15px;
    }
    
    .cookie-consent button,
    .cookie-consent a {
        margin-left: 0;
        margin-right: 15px;
    }
} 