/* ===== VARIABLES ===== */
:root {
    --primary-blue: #0066cc;
    --primary-dark: #004999;
    --secondary-green: #00a86b;
    --secondary-dark-green: #008f5a;
    --dark: #1a1a1a;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
    --gradient-blue: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    --gradient-green: linear-gradient(135deg, #00a86b 0%, #008f5a 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-green);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.text-gradient {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #008f5a 0%, #00a86b 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
}

.logo-syg {
    color: var(--primary-blue);
}

.logo-solar {
    color: var(--secondary-green);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-green);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 2px 0;
    transition: var(--transition);
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,102,204,0.8) 0%, rgba(0,168,107,0.8) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    padding: 5rem 0;
    background: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.benefit-description {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    padding: 5rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-green);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    margin-bottom: 1.5rem;
}

.service-image i {
    font-size: 4rem;
    color: var(--secondary-green);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--secondary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 1rem;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
    padding: 5rem 0;
    background: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 200px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image i {
    font-size: 5rem;
    color: var(--white);
    opacity: 0.8;
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    padding: 5px 10px;
    background: var(--secondary-green);
    color: var(--white);
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.project-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-green);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.section-cta {
    text-align: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-name {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-position {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-blue);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 120px 0 60px;
    background: var(--gradient-blue);
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    font-size: 1rem;
    opacity: 0.9;
}

.breadcrumbs a {
    color: var(--white);
    text-decoration: underline;
}

/* ===== COMPANY STORY ===== */
.company-story {
    padding: 5rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.image-placeholder {
    background: var(--light-gray);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--secondary-green);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== MISSION VISION VALUES ===== */
.mission-vision {
    padding: 5rem 0;
    background: var(--light-gray);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mvv-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mvv-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.mvv-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mvv-text {
    color: var(--medium-gray);
    line-height: 1.6;
}

.mvv-list {
    text-align: left;
}

.mvv-list li {
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mvv-list li i {
    color: var(--secondary-green);
}

@media (max-width: 768px) {
    .mvv-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== DIFFERENTIATORS ===== */
.differentiators {
    padding: 5rem 0;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.diff-item {
    padding: 2rem;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.diff-item:hover {
    border-color: var(--secondary-green);
    box-shadow: var(--shadow-md);
}

.diff-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-green);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.diff-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.diff-text {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===== SUSTAINABLE COMMITMENT ===== */
.sustainable-commitment {
    padding: 5rem 0;
    background: var(--gradient-green);
    color: var(--white);
}

.commitment-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.commitment-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.commitment-text {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.commitment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.commitment-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.commitment-stat .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .commitment-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== TEAM CTA ===== */
.team-cta {
    padding: 5rem 0;
    background: var(--light-gray);
    text-align: center;
}

.team-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.team-cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.team-cta-text {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* ===== SERVICE DETAIL ===== */
.service-detail {
    padding: 5rem 0;
}

.service-detail.alt-bg {
    background: var(--light-gray);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse .service-detail-content {
    direction: ltr;
}

.service-detail-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary-green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-description {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-title,
.benefits-title,
.process-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.features-list,
.benefits-list,
.process-list {
    margin-bottom: 2rem;
}

.features-list li,
.benefits-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list i {
    color: var(--primary-blue);
}

.benefits-list i {
    color: var(--secondary-green);
}

.process-list {
    list-style: none;
    counter-reset: process-counter;
}

.process-list li {
    counter-increment: process-counter;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.process-list li::before {
    content: counter(process-counter);
    width: 25px;
    height: 25px;
    background: var(--secondary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 968px) {
    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== SERVICES FAQ ===== */
.services-faq {
    padding: 5rem 0;
    background: var(--light-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.faq-answer {
    color: var(--medium-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PROJECTS FILTER ===== */
.projects-filter {
    padding: 2rem 0;
    background: var(--white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--light-gray);
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    color: var(--white);
}

/* ===== PROJECTS GALLERY ===== */
.projects-gallery {
    padding: 3rem 0 5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.gallery-card {
    position: relative;
    height: 300px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image i {
    font-size: 5rem;
    color: var(--white);
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-location {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gallery-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.gallery-link {
    color: var(--secondary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== IMPACT STATS ===== */
.impact-stats {
    padding: 5rem 0;
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-green);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--medium-gray);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== CASE STUDY ===== */
.case-study {
    padding: 5rem 0;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.case-study-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary-green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.case-study-description {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.case-study-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 768px) {
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-details {
        grid-template-columns: 1fr;
    }
}

/* ===== PROJECTS CTA ===== */
.projects-cta {
    padding: 5rem 0;
    background: var(--gradient-green);
    color: var(--white);
    text-align: center;
}

/* ===== CONTACT INTRO ===== */
.contact-intro {
    padding: 3rem 0;
    text-align: center;
    background: var(--white);
}

/* ===== CONTACT GRID ===== */
.contact-grid {
    padding: 3rem 0 5rem;
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-form-container {
    padding: 3rem;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 3px rgba(0,168,107,0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
}

.form-checkbox label {
    font-size: 0.9rem;
}

.form-checkbox a {
    color: var(--secondary-green);
    text-decoration: underline;
}

.form-note {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info */
.contact-info {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 3rem;
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-items {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.5rem;
}

.info-details h4 {
    margin-bottom: 0.3rem;
}

.info-details p {
    opacity: 0.9;
    margin-bottom: 0.2rem;
}

.info-details a {
    opacity: 0.9;
}

.info-details a:hover {
    opacity: 1;
    text-decoration: underline;
}

.info-badge {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-badge i {
    font-size: 2.5rem;
}

.badge-content h4 {
    margin-bottom: 0.5rem;
}

.badge-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.social-info h4 {
    margin-bottom: 1rem;
}

.social-info .social-links {
    display: flex;
    gap: 1rem;
}

.social-info .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-info .social-link:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-container,
    .contact-info {
        padding: 2rem;
    }
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 0 0 5rem;
}

.map-container {
    height: 400px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    color: var(--white);
}

.map-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.map-placeholder p {
    margin-bottom: 1.5rem;
}

/* ===== WHY CONTACT ===== */
.why-contact {
    padding: 3rem 0 5rem;
}

.why-contact .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 968px) {
    .why-contact .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-contact .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    padding: 3rem 0;
    background: var(--light-gray);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.badge i {
    color: var(--secondary-green);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-description {
    color: #999;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-green);
}

.footer-list li {
    margin-bottom: 0.8rem;
}

.footer-list a {
    color: #999;
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--secondary-green);
    padding-left: 5px;
}

.footer-list i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--secondary-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #999;
}

.footer-legal a:hover {
    color: var(--secondary-green);
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

.benefit-card,
.service-card,
.project-card,
.testimonial-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }


/* ===== LOADING INDICATOR ===== */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

/* --- ESTILOS DEL SECUNDARIO (Prevalecen sobre los principales) --- */

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}

.modal-close:hover {
    color: var(--danger-color, #dc3545);
}

.modal-body {
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px;
}

/* ===== PROJECT GALLERY IN MODAL ===== */
/* Esta versión (del secundario) reemplaza a la del principal */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.project-gallery a {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 5px;
    transition: transform 0.3s;
}

.project-gallery a:hover {
    transform: scale(1.05);
}

.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== SPINNER ===== */
/* Esta versión (del secundario) reemplaza a la del principal */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray, #f0f0f0);
    border-top: 4px solid var(--secondary-green, #00a86b);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ERROR MESSAGE ===== */
.error-message {
    text-align: center;
    padding: 3rem;
    background: var(--light-gray);
    border-radius: 10px;
    margin: 2rem 0;
}

.error-message i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.error-message p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

/* ===== PROJECT GALLERY ENHANCEMENTS ===== */
.gallery-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-link {
    padding: 6px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.gallery-link:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

/* ===== PROJECT DETAILS IN MODAL ===== */
.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-item {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 0.3rem;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-green);
}

.project-description {
    color: var(--medium-gray);
    line-height: 1.8;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .project-details {
        grid-template-columns: 1fr;
    }
    
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-buttons {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .gallery-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }
}