/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-system);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    text-align: left;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1.5rem;
    height: 80px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

@media (max-width: 480px) {
    /* logo-text is hidden at 768px */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: inherit;
    background: transparent;
}

.nav-link i {
    font-size: 1rem;
}

/* Modern Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i:last-child {
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
}

.dropdown:hover .dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-large);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    backdrop-filter: blur(20px) saturate(1.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.dropdown-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.dropdown-menu a i {
    font-size: 0.9rem;
    width: 16px;
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
}

.btn-outline:hover {
    background: var(--accent-red);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Default: hide auth-buttons in nav-menu (shown only on mobile) */
.nav-menu .auth-buttons {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }
    .nav-right > .auth-buttons {
        display: none;
    }
    
    .nav-menu .auth-buttons {
        display: block;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu .auth-buttons a {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .projects-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .featured-projects {
        padding: 4rem 0;
    }
    
    .project-card.featured {
        margin: 0 1rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-content h3 {
        font-size: 1.25rem;
    }
    
    .project-stats {
        gap: 1rem;
        font-size: 0.8rem;
        flex-direction: column;
    }
    
    .project-client {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

.lang-toggle select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.theme-toggle {
    display: flex;
    gap: 0.5rem;
}

.theme-toggle button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle button:hover,
.theme-toggle button.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle button {
    appearance: none;
    border: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--card-bg) 85%, transparent);
    color: var(--text-primary);
    border-radius: 999px;
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-fast), background var(--transition-base), border-color var(--transition-base);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
}

.mobile-menu-toggle button:active {
    transform: scale(0.98);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    text-align: left;
    max-width: 1200px;
    padding: 2rem;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
.section-header {
    text-align: left;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 2px;
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-base);
    text-align: left;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-green);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-medium);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.service-link:hover {
    color: var(--accent-red);
    transform: translateX(4px);
}

/* Featured Projects Section */
.featured-projects {
    padding: 6rem 0;
    background: var(--card-bg);
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card.featured {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.project-card.featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

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

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

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blurred-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    opacity: 0.3;
    transform: scale(1.1);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.project-card:hover .blurred-logo {
    filter: blur(4px);
    opacity: 0.5;
}

.project-logo-fallback {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-title-overlay {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    max-width: 90%;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-client {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.project-client span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--accent-red);
    font-weight: 500;
}

.view-all-projects {
    text-align: left;
    margin-top: 3rem;
}

/* Company Stats Section */
.company-stats {
    padding: 6rem 0;
    background: var(--card-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-medium);
}

.stat-info {
    flex: 1;
}

.stat-info .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-info .stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg);
    opacity: 0.1;
    z-index: 0;
}

[data-theme="dark"] .cta {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.cta-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--accent-red);
    color: white;
}

.cta .btn-primary:hover {
    background: var(--accent-red-hover);
    color: white;
}

.cta .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.cta .btn-secondary:hover {
    background: var(--text-primary);
    color: white;
}

/* Completely New Footer Design */
.footer-new {
    background: #ffffff;
    color: #333333;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #e74c3c;
}

[data-theme="dark"] .footer-new {
    background: #1a1a2e;
    color: #ffffff;
}

.footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b, #e74c3c);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Footer Main Section */
.footer-main {
    padding: 4rem 0 3rem;
    background: #ffffff;
}

[data-theme="dark"] .footer-main {
    background: #1a1a2e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-col-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: #333333;
    position: relative;
    padding-bottom: 0.75rem;
}

[data-theme="dark"] .footer-col-title {
    color: #ffffff;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.footer-col-desc {
    color: #666666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

[data-theme="dark"] .footer-col-desc {
    color: #bdc3c7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: #666666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
    display: inline-block;
}

[data-theme="dark"] .footer-links li a {
    color: #ecf0f1;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: #e74c3c;
    padding-left: 0.5rem;
}

.footer-links li a:hover::before {
    width: 100%;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social h4 {
    font-size: 1rem;
    color: #333333;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

[data-theme="dark"] .footer-social h4 {
    color: #ecf0f1;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

[data-theme="dark"] .social-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ecf0f1;
}

.social-icon:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.footer-contact-details h4 {
    font-size: 0.95rem;
    color: #333333;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

[data-theme="dark"] .footer-contact-details h4 {
    color: #ecf0f1;
}

.footer-contact-details p {
    color: #666666;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

[data-theme="dark"] .footer-contact-details p {
    color: #bdc3c7;
}

.footer-logo-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-new img {
    height: 50px;
    width: auto;
}

.footer-company-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #333333;
    line-height: 1.2;
}

[data-theme="dark"] .footer-company-name {
    color: #ffffff;
}

.footer-company-desc {
    font-size: 1.1rem;
    color: #e74c3c;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.footer-company-text {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
}

[data-theme="dark"] .footer-company-text {
    color: #bdc3c7;
}

/* Footer Bottom */
.footer-bottom {
    background: #ffffff;
    padding: 1.5rem 0;
    border-top: 1px solid #e9ecef;
}

[data-theme="dark"] .footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

[data-theme="dark"] .footer-copyright p {
    color: #95a5a6;
}

.footer-credits {
    color: #e74c3c;
    font-size: 0.85rem;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

.footer-credits a {
    color: #0000FF !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 9999 !important;
    display: inline-block !important;
}

.footer-credits a:hover {
    text-decoration: none !important;
    opacity: 0.8 !important;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #333333;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-bottom-links a {
    color: #95a5a6;
}

.footer-bottom-links a:hover {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-contact-card {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-main {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-company-name {
        font-size: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--accent-red);
    width: 20px;
    text-align: center;
    margin-top: 0.25rem;
}

.contact-item div strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-item div p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}


.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-toggle,
    .lang-toggle {
        display: none;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .logo-text {
        display: none;
    }

    .nav-right > .auth-buttons {
        display: none;
    }

    .nav-left {
        flex: 0 0 auto;
    }

    .nav-right {
        flex: 1;
        justify-content: flex-end;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 80px;
        max-height: calc(100dvh - 80px);
        overflow: auto;
        flex-direction: column;
        gap: 0.125rem;
        background: rgba(50, 50, 50, 0.95);
        border-top: 1px solid var(--border-color);
        width: 100%;
        text-align: left;
        transform: translateY(-130%);
        transition: transform 0.3s ease;
        box-shadow: 0 18px 45px var(--shadow-medium);
        padding: 0.5rem;
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        backdrop-filter: blur(20px) saturate(1.2);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-left {
        gap: 1rem;
    }

    .logo {
        height: 42px;
    }

    .nav-link {
        padding: 0.5rem 0.5rem;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.0625rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(30, 30, 30, 0.9);
        padding: 0.125rem;
        display: block;
        border-radius: var(--radius-md);
        margin: 0.125rem 0;
    }

    [data-theme="light"] .dropdown-menu {
        background: rgba(30, 30, 30, 0.85);
    }

    .dropdown-menu a {
        padding: 0.375rem 0.75rem;
        border-radius: var(--radius-md);
        color: white;
        display: block;
        margin-bottom: 0.0625rem;
    }

    .dropdown-menu a:last-child {
        margin-bottom: 0;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .link-card {
        padding: 2rem 1.5rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 30px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #b91c1c;
    transform: translateY(-3px);
    color: white;
}

.back-to-top.visible {
    display: flex;
}

[data-theme="dark"] .back-to-top {
    background: #EF4444;
}

[data-theme="dark"] .back-to-top:hover {
    background: #DC2626;
}

/* Search Modal */
.search-toggle button {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-toggle button:hover {
    color: var(--accent-red);
}

.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
}

.search-modal.active {
    display: block;
}

.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.search-content {
    position: relative;
    max-width: 600px;
    margin: 100px auto;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
}

.search-header button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-header button:hover {
    color: var(--accent-red);
}

.search-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input-container input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input-container input:focus {
    border-color: var(--accent-red);
}

.search-input-container button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-red);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-input-container button:hover {
    background: #b91c1c;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-result-item:hover {
    background: var(--bg-tertiary);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.search-result-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-tertiary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.author-rating {
    color: #FFD700;
    font-size: 1rem;
}

.author-rating .fa-star-half-alt {
    position: relative;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }
}

/* News Section */
.news {
    padding: 100px 0;
    background: var(--card-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.news-image img,
.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    display: block;
    transition: transform 0.3s ease;
}

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

/* News placeholder (replaces inline styles for CSP compliance) */
.news-placeholder {
    background: #064E3B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    font-size: 18px;
}

/* Loading message (replaces inline styles for CSP compliance) */
.loading-message {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.loading-spinner {
    font-size: 24px;
    margin-bottom: 16px;
    display: block;
}

/* No news message (replaces inline styles for CSP compliance) */
.no-news-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.no-news-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.news-date,
.news-read-time {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.news-link:hover {
    gap: 0.75rem;
    color: #b91c1c;
}

.view-all-news {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-tertiary);
}

.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: var(--accent-red);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Loading Progress Indicator */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 300px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-red-hover));
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
        left: 100%;
    }
}

.loading-text {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Document Download Center */
.document-center {
    padding: 100px 0;
    background: var(--bg-tertiary);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.document-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.document-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.document-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.document-download:hover {
    background: var(--accent-red);
    color: white;
    gap: 0.75rem;
}

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, #064E3B 0%, #065F46 50%, #10B981 100%);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #b91c1c;
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Print-friendly Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .back-to-top,
    .search-toggle,
    .theme-toggle,
    .lang-toggle,
    .mobile-menu-toggle,
    .hero-video,
    .cta,
    .newsletter,
    .document-center {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .hero {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .section-title {
        color: black !important;
    }

    .card,
    .testimonial-card,
    .news-card,
    .project-card,
    .service-card {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
        color: black !important;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8rem;
    }

    .btn {
        display: none;
    }
}

/* ============================================
   LEGAL PAGES STYLES
   Privacy Policy, Terms of Service, Cookie Policy, Sitemap
   ============================================ */

/* Common Legal Page Layout */
.privacy-policy,
.terms-of-service,
.cookie-policy,
.sitemap {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    min-height: calc(100vh - 400px);
}

/* Page Header */
.policy-header,
.terms-header,
.cookie-header,
.sitemap-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px 30px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.policy-header h1,
.terms-header h1,
.cookie-header h1,
.sitemap-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-subtitle,
.terms-subtitle,
.cookie-subtitle,
.sitemap-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.policy-introduction,
.terms-introduction,
.cookie-introduction,
.sitemap-introduction {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Container */
.policy-content,
.terms-content,
.cookie-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Section Styling */
.policy-section,
.terms-section,
.cookie-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 35px 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section:hover,
.terms-section:hover,
.cookie-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.policy-section h2,
.terms-section h2,
.cookie-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    text-align: left;
}

.policy-section h3,
.terms-section h3,
.cookie-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 25px 0 12px;
    text-align: left;
}

.policy-section p,
.terms-section p,
.cookie-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.policy-section ul,
.terms-section ul,
.cookie-section ul,
.policy-section ol,
.terms-section ol,
.cookie-section ol {
    margin: 15px 0 15px 25px;
    padding-left: 20px;
}

.policy-section li,
.terms-section li,
.cookie-section li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
}

.policy-section li::marker,
.terms-section li::marker,
.cookie-section li::marker {
    color: var(--primary-color);
}

/* Subsection */
.policy-subsection {
    margin: 20px 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary-light);
}

/* Sitemap Specific Styles */
.sitemap-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sitemap-section {
    margin-bottom: 40px;
}

.sitemap-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.sitemap-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sitemap-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.sitemap-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sitemap-icon i {
    font-size: 1.3rem;
    color: white;
}

.sitemap-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: left;
}

.sitemap-info h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap-info h3 a:hover {
    color: var(--primary-color);
}

.sitemap-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Contact Info Box */
.contact-info-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    color: white;
}

.contact-info-box h3 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.contact-info-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.contact-info-box a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .privacy-policy,
    .terms-of-service,
    .cookie-policy,
    .sitemap {
        padding: 40px 0 60px;
    }
    
    .policy-header,
    .terms-header,
    .cookie-header,
    .sitemap-header {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .policy-header h1,
    .terms-header h1,
    .cookie-header h1,
    .sitemap-header h1 {
        font-size: 2rem;
    }
    
    .policy-section,
    .terms-section,
    .cookie-section {
        padding: 25px 20px;
    }
    
    .policy-section h2,
    .terms-section h2,
    .cookie-section h2 {
        font-size: 1.3rem;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

/* Client & Partner Trust Section */
.partners-trust {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    overflow: hidden;
}

.partners-trust .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-trust .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.partners-trust .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments for partners section */
@media (max-width: 768px) {
    .partners-trust {
        padding: 60px 0;
    }
    
    .partners-trust .section-title {
        font-size: 2rem;
    }
    
    .partner-logo {
        width: 160px;
        height: 80px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .partners-track {
        gap: 2rem;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

/* Project Link Styles */
.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--primary-hover);
    transform: translateX(5px);
}

.project-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
