/* ========================================
   EEC - Entreprise Emmanuel Construction
   Styles Principaux - Site Multipages
   ======================================== */

:root {
    --eec-blue: #0a1f3d;
    --eec-blue-mid: #1a3a6e;
    --eec-blue-light: #2c5aa0;
    --eec-green: #00a651;
    --eec-green-dark: #008542;
    --eec-gold: #d4af37;
    --eec-gray: #6b7280;
    --eec-dark: #111827;
    --eec-light: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #fafafa;
}

h1, h2, h3, .display-font {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--eec-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--eec-green);
    border-radius: 5px;
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--eec-blue) 0%, var(--eec-blue-mid) 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 180px;
    animation: pulse 1.5s infinite;
}

.preloader-text {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* ========================================
   Navbar - Logo agrandi et en-tête clair
   ======================================== */
.navbar {
    background-color: transparent !important;
}

.navbar-eec {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-eec.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
}

/* Logo agrandi */
.navbar-eec .navbar-brand img {
    height: 85px;
    transition: height 0.4s;
}

.navbar-eec.scrolled .navbar-brand img {
    height: 65px;
}

.navbar-eec .navbar-menu {
    background: transparent;
}

/* Menu items en bleu foncé */
.navbar-eec .navbar-item {
    color: var(--eec-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s;
}

.navbar-eec .navbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--eec-green);
    transition: all 0.3s;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-eec .navbar-item:hover::after,
.navbar-eec .navbar-item.active::after {
    width: 70%;
}

.navbar-eec .navbar-item:hover,
.navbar-eec .navbar-item.active {
    color: var(--eec-green);
    background: transparent;
}

.navbar-burger span {
    background-color: var(--eec-blue) !important;
    height: 3px;
    border-radius: 2px;
}

.btn-devis {
    background: linear-gradient(135deg, var(--eec-green) 0%, var(--eec-green-dark) 100%);
    color: white !important;
    border-radius: 30px;
    padding: 0.8rem 1.8rem !important;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 166, 81, 0.35);
}

.btn-devis:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 166, 81, 0.5);
}

.btn-devis::after {
    display: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.88) 0%, rgba(26, 58, 110, 0.75) 50%, rgba(0, 166, 81, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 3rem;
    margin-top: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 166, 81, 0.2);
    border: 1px solid var(--eec-green);
    color: var(--eec-green);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-size: 5rem;
    color: white;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title span {
    color: var(--eec-green);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--eec-green);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s;
    box-shadow: 0 10px 40px rgba(0, 166, 81, 0.4);
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 166, 81, 0.5);
    color: white;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    color: white;
    padding: 1.2rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--eec-blue);
    border-color: white;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.hero-scroll i {
    color: var(--eec-green);
    font-size: 1.5rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* ========================================
   Stats Bar
   ======================================== */
.stats-bar {
    background: var(--eec-blue);
    padding: 0;
    position: relative;
    z-index: 20;
    margin-top: -60px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.stat-item {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: #e5e7eb;
}

.stat-item:hover {
    background: var(--eec-green);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
    color: white;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--eec-blue);
    line-height: 1;
    transition: color 0.4s;
}

.stat-label {
    color: var(--eec-gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: color 0.4s;
}

/* ========================================
   Section Commons
   ======================================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--eec-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--eec-green);
}

.section-title {
    font-size: 3rem;
    color: var(--eec-blue);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-title.light {
    color: white;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 8rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: 'EEC';
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20rem;
    color: rgba(0, 166, 81, 0.03);
    letter-spacing: 20px;
    pointer-events: none;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 500px;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.about-img:hover img {
    transform: scale(1.1);
}

.about-img-large {
    grid-row: span 2;
}

.about-experience {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--eec-green);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.about-experience-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.about-text {
    color: var(--eec-gray);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--eec-green) 0%, var(--eec-green-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.about-feature h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--eec-blue);
    margin-bottom: 0.3rem;
}

.about-feature p {
    color: var(--eec-gray);
    font-size: 0.9rem;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.service-card:hover .service-card-image img {
    transform: scale(1.15);
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, white, transparent);
}

.service-card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    z-index: 5;
}

.service-card-content {
    padding: 1.5rem 2rem 2rem;
    position: relative;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--eec-blue) 0%, var(--eec-blue-mid) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-top: -55px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(26, 58, 110, 0.3);
    transition: all 0.4s;
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--eec-green) 0%, var(--eec-green-dark) 100%);
    box-shadow: 0 15px 35px rgba(0, 166, 81, 0.3);
    transform: rotate(10deg);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--eec-blue);
    margin: 1.2rem 0 0.8rem;
}

.service-card p {
    color: var(--eec-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--eec-green);
    font-weight: 600;
    margin-top: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.service-card-link:hover {
    gap: 1rem;
    color: var(--eec-green-dark);
}

.service-large {
    grid-column: span 2;
}

.service-large .service-card-image {
    height: 280px;
}

/* ========================================
   Projects Section
   ======================================== */
.projects-section {
    padding: 6rem 0;
    background: var(--eec-dark);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 31, 61, 0.95) 0%, transparent 100%);
    transform: translateY(60%);
    transition: transform 0.4s;
}

.project-card:hover .project-card-overlay {
    transform: translateY(0);
}

.project-card h4 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.project-card span {
    color: var(--eec-green);
    font-size: 0.85rem;
    font-weight: 500;
}

.project-large {
    grid-column: span 2;
    grid-row: span 2;
}

.project-wide {
    grid-column: span 2;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--eec-blue) 0%, var(--eec-blue-mid) 100%);
    border-radius: 30px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.3) 0%, transparent 70%);
}

.contact-info-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.contact-info-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.contact-item-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-item h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
}

.contact-social a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.contact-social a:hover {
    background: var(--eec-green);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.contact-form-title {
    font-size: 2rem;
    color: var(--eec-blue);
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    color: var(--eec-gray);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--eec-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--eec-green);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--eec-green) 0%, var(--eec-green-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 10px 40px rgba(0, 166, 81, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 166, 81, 0.4);
}

/* ========================================
   Page Header (Pages internes)
   ======================================== */
.page-header {
    padding: 12rem 0 5rem;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.92) 0%, rgba(26, 58, 110, 0.85) 100%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, #fafafa, transparent);
}

.page-header h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 5;
}

.breadcrumb a {
    color: var(--eec-green);
    text-decoration: none;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--eec-green) 0%, var(--eec-green-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--eec-green);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background: var(--eec-blue);
    color: white;
    transform: translateY(-5px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--eec-blue);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--eec-green), var(--eec-gold), var(--eec-green));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand img {
    height: 90px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--eec-green);
    transform: translateY(-5px);
}

.footer-title {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--eec-green);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--eec-green);
    padding-left: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.footer-contact-item i {
    color: var(--eec-green);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.footer-bottom {
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--eec-green);
}

/* ========================================
   Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .navbar-eec .navbar-brand img {
        height: 70px;
    }

    .navbar-eec.scrolled .navbar-brand img {
        height: 55px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-large {
        grid-column: span 2;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .project-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .navbar-eec {
        padding: 0.5rem 1rem;
    }

    .navbar-eec .navbar-brand img {
        height: 60px;
    }

    .navbar-menu {
        background: white !important;
        padding: 1rem;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .about-image-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .about-img-large {
        grid-row: span 1;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-large {
        grid-column: span 1;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-large,
    .project-wide {
        grid-column: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}
