/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1A1A2E;
    background-color: #FFFFFF;
}

/* ============================================
   COLOR PALETTE
   ============================================ */
:root {
    --primary-color: #2E86AB;
    --secondary-color: #A23B72;
    --accent-color: #F18F01;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-light: #6B7280;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(46, 134, 171, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Mobile Menu Toggle (Checkbox Hack) */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-toggle:checked ~ nav {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 46, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(241, 143, 1, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 143, 1, 0.4);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(46, 134, 171, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.15);
    transition: all 0.3s ease;
    text-align: center;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 134, 171, 0.25);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose {
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.why-card:nth-child(even) {
    border-top-color: var(--secondary-color);
}

.why-card:nth-child(3n) {
    border-top-color: var(--accent-color);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
    background: var(--bg-white);
}

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .process-step::before {
        display: none;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 1rem;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    list-style: none;
    position: relative;
    transition: background 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: var(--bg-light);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact {
    background: var(--bg-white);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #FFFFFF, var(--bg-light));
    border-radius: 15px;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.2);
    animation: fadeInUp 0.8s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 134, 171, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   POLICY PAGES
   ============================================ */

.policy-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 40px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    line-height: 1.8;
}

.policy-container h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.policy-container h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-container p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.policy-container ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .policy-container {
        margin: 1rem;
        padding: 20px;
    }
}

/* ============================================
   EXTRA PAGES (About, Blog, Tips, FAQ)
   ============================================ */

.content-page {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    line-height: 1.8;
}

.content-page h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.content-page h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.thank-you {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.thank-you-content {
    max-width: 600px;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.15);
}

.thank-you-content h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.thank-you-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ============================================
   COOKIE POPUP
   ============================================ */

#cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

#cookie-popup.hidden {
    display: none;
}

#cookie-popup p {
    flex: 1;
    margin: 0;
    min-width: 200px;
}

#cookie-popup a {
    color: var(--accent-color);
    text-decoration: underline;
}

#cookie-popup a:hover {
    color: white;
}

#accept-cookies {
    padding: 0.75rem 2rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    background: #d17a01;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #cookie-popup {
        flex-direction: column;
        text-align: center;
    }

    #accept-cookies {
        width: 100%;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

