/* CSS Variables */
:root {
    --primary-bg: #f7f7f7;
    --accent-blue: #768fa8;
    --accent-dark: #424b54;
    --accent-rose: #b8818b;
    --light-bg: #e4e5ef;
    --white-bg: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border-light: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--accent-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Utility Classes */
.section-padding {
    padding: 80px 0;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

/* Header Styles */
.header-section {
    background-color: var(--accent-dark);
    box-shadow: var(--shadow);
    z-index: 1030;
}

.navbar-brand {
    color: var(--white-bg) !important;
    font-size: 1.8rem !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--white-bg) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-blue) !important;
}

.offcanvas-body {
    background-color: var(--white-bg);
}

.offcanvas .nav-link {
    color: var(--text-dark) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Button Styles */
.btn-custom {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--white-bg);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-custom:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Service Cards */
.service-card {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--accent-blue);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-rose));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white-bg);
}

.service-card h4 {
    color: var(--accent-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Advantage Cards */
.advantage-card {
    padding: 2rem 1rem;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--white-bg);
}

.advantage-card h5 {
    color: var(--accent-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    color: var(--text-muted);
}

/* Steps Timeline */
.steps-timeline {
    position: relative;
    padding-left: 2rem;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-rose));
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 40px;
    background: var(--accent-blue);
    color: var(--white-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
}

.step-content h5 {
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-muted);
    margin: 0;
}

.steps-images img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Project Cards */
.project-card {
    background: var(--white-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h5 {
    color: var(--accent-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.project-date {
    display: flex;
    align-items: center;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

.project-date i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Statistics */
.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Tip Cards */
.tip-card {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border-top: 4px solid var(--accent-rose);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tip-icon i {
    font-size: 1.8rem;
    color: var(--white-bg);
}

.tip-card h5 {
    color: var(--accent-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tip-card p {
    color: var(--text-muted);
}

/* Review Cards */
.review-card {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--accent-rose);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-content p {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--accent-blue);
}

.review-info h6 {
    color: var(--accent-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.review-details {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent-dark);
    color: var(--white-bg);
    padding: 1.5rem;
    z-index: 1040;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: var(--accent-blue);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
}

/* Footer */
.footer-section {
    background-color: var(--accent-dark);
    color: var(--white-bg);
    padding: 3rem 0 1rem;
}

.footer-title {
    color: var(--white-bg);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: #bdc3c7;
}

.footer-contact i {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    color: var(--accent-blue);
    font-size: 1rem;
}

.footer-divider {
    border-color: #5a6c7d;
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: #95a5a6;
    margin: 0;
    font-size: 0.9rem;
}

/* Page Header for Secondary Pages */
.page-header {
    background: linear-gradient(135deg, var(--light-bg), var(--white-bg));
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    background: var(--white-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    color: var(--accent-dark);
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-section ul, .content-section ol {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Blog Cards */
.blog-card {
    background: var(--white-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 300px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Partner Cards */
.partner-card {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    border-top: 4px solid var(--accent-blue);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-card h4 {
    color: var(--accent-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.partner-card p {
    color: var(--text-muted);
}

/* Contact Form */
.contact-form {
    background: var(--white-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--accent-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-family: 'Rubik', sans-serif;
}

.form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(118, 143, 168, 0.25);
}

.btn-submit {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--white-bg);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Contact Info */
.contact-info {
    background: var(--white-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--accent-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    background: #d6dae2;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white-bg);
    font-size: 1.1rem;
}

.contact-details h6 {
    color: var(--accent-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Map Container */
.map-container {
    background: var(--white-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.map-container h4 {
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

/* Thank You Page */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-bg), var(--white-bg));
}

.thank-you-card {
    background: var(--white-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-rose));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thank-you-icon i {
    font-size: 2.5rem;
    color: var(--white-bg);
}

.thank-you-card h2 {
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

.thank-you-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .steps-timeline {
        padding-left: 1rem;
    }
    
    .steps-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 1rem;
    }
    
    .step-content {
        margin-top: 0.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
    
    .thank-you-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.5rem;
    }
    
    .service-card,
    .tip-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .footer-contact p {
        flex-direction: column;
    }
    
    .footer-contact i {
        margin-bottom: 0.5rem;
    }
}
