/* Reset and Base 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: #2C3E50;
    background-color: #F8F9FA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Palette */
:root {
    --primary: #2D5F8F;
    --secondary: #F4A261;
    --tertiary: #E76F51;
    --bg-light: #F8F9FA;
    --bg-dark: #1A1F2E;
    --text-main: #2C3E50;
    --text-light: #FFFFFF;
    --text-accent: #264653;
    --shadow: rgba(45, 95, 143, 0.15);
    --gradient1: linear-gradient(135deg, #2D5F8F 0%, #E76F51 100%);
    --gradient2: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
}

/* Header */
.main-header {
    background: var(--bg-dark);
    padding: 1rem 0;
    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 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient1);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 46, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient2);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 111, 81, 0.4);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--text-main);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient1);
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.about-features {
    list-style: none;
    margin-top: 1.5rem;
}

.about-features li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Why Choose Us */
.why-choose {
    background: var(--bg-dark);
    color: var(--text-light);
}

.why-choose .section-title {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Services Section */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(45, 95, 143, 0.25);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: var(--gradient1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-main);
    line-height: 1.8;
}

/* Process Section */
.process-section {
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: scale(1.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient1);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-dark);
    color: var(--text-light);
}

.benefits-section .section-title {
    color: var(--text-light);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.benefit-item h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
}

.testimonial-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-light);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient1);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 95, 143, 0.1);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: var(--tertiary);
}

/* Contact Info Section */
.contact-info-section {
    background: var(--bg-dark);
    color: var(--text-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-info-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-info-item h4 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    color: var(--secondary);
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-light);
    text-decoration: none;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.contact-info-item a:hover {
    color: var(--secondary);
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-light);
}

.footer-section p a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: var(--gradient1);
    color: var(--text-light);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#accept-cookies {
    padding: 0.75rem 1.5rem;
    background: var(--secondary);
    color: var(--text-light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    background: var(--tertiary);
    transform: scale(1.05);
}

.cookie-buttons a {
    color: var(--text-light);
    text-decoration: underline;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Policy Pages */
.policy-page {
    padding: 3rem 0;
    min-height: 70vh;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
}

.policy-container h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.policy-container h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-container p,
.policy-container ul,
.policy-container ol {
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.8;
}

.policy-container ul,
.policy-container ol {
    margin-left: 2rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
}

.contact-info-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
}

/* Content Pages (About, Blog, Tips, FAQ) */
.content-page {
    padding: 3rem 0;
    min-height: 70vh;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.content-container h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content-container h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-container p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--primary);
    list-style: none;
    transition: background 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
}

.faq-item[open] summary::before {
    content: '−';
}

.faq-item summary:hover {
    background: rgba(45, 95, 143, 0.1);
}

.faq-item .faq-answer {
    padding: 1.5rem;
    background: white;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.8;
}

/* Thank You Page */
.thank-you-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.thank-you-content h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.thank-you-content p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 2rem;
    color: var(--text-main);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

.slide-in-left {
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .menu-toggle:checked ~ .main-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .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, -7px);
    }
    
    section {
        padding: 3rem 0;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .policy-container,
    .content-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
    }
    
    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

