/* ===================================
   BK GREEN ENERGY - Services PAGE
   =================================== */

:root {
    --primary-green: #90cf4d;
    --secondary-green: #90cf4d;
    --white: #ffffff;
    --dark: #1a1a1a;
    --light-bg: #f8f9fa;
    --light-green-bg: #e8f5e9;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ==============================
   Light Transparent Navbar
================================ */

/* Base transparent navbar */
.custom-navbar {
    background-color: #fff6;
    border-radius: 50rem;
    justify-content: space-between;
    align-items: center;
    width: 97%;
    height: auto;
    min-height: 4.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
}

/* Nav link normal */
.custom-navbar .nav-link {
    color: #000000;
    font-weight: 700;
    /* was 500 → now bold */
    margin-left: 18px;
    transition: 0.3s ease;
    letter-spacing: 0.5px;
    /* optional: cleaner look */
}

.custom-navbar .nav-link:hover {
    color: #ffffff;
}
/* Contact button */
.btn-nav {
    /* border: 2px solid #0f7c3a; */
    padding: 6px 18px;
    border-radius: 30px;
    color: #0f7c3a;
    font-weight: 700;
    /* make button text bold */
    transition: all 0.3s ease;
}


.btn-nav:hover {
    /* background: #0f7c3a; */
    color: #fff !important;
}

/* Mobile toggler icon style */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler::after {
    content: "☰";
    font-size: 24px;
    color: #0f7c3a;
}


/* Change navbar on scroll */
.navbar-scrolled {
    background: #90cf4d;
    padding: 12px 0;
    box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.15);
}

.navbar-scrolled .nav-link {
    color: #000000;
}

.navbar-scrolled .btn-nav {
    color: #000000;
}
/* ===================================
   HERO BANNER
   =================================== */

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("../assets/images/Our-projects.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* Keep content above overlay */
.hero-banner .container {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Ensure content wrapper is above background */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

/* Flexbox wrapper: logo left, text right */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

/* Logo block - left side */
.hero-logo-block {
    flex-shrink: 0;
}

.hero-big-logo {
    width: auto;
    height: 200px;
    filter: drop-shadow(0 8px 20px rgba(144, 207, 77, 0.5));
}

/* White background behind logo - SERVICES PAGE ONLY */
body.services-page .hero-logo-block {
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Text content - right side */
.hero-content {
    flex: 1;
    text-align: left;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.95;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 8s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 1s; }
.particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 3s; }
.particle:nth-child(5) { left: 90%; top: 40%; animation-delay: 4s; }

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-arrow svg {
    width: 112%;
    height: 1000%;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .hero-banner {
        min-height: 75vh;
        background-size: cover;
        background-position: center;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-big-logo {
        height: 160px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

/* ===================================
   PROJECT GALLERY
   =================================== */

.project-gallery {
    padding: 100px 20px;
    background: var(--white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-green);
    background: var(--white);
    color: var(--primary-green);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 124, 58, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.project-card.hide {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 124, 58, 0.2);
}

.project-image {
    height: 400px;              /* your container height */
    display: flex;
    justify-content: center;    /* horizontal center */
    align-items: center;        /* vertical center */
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

.project-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: fill;        /* keeps full image visible */
}


.project-info {
    padding: 25px;
}

.category-tag {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.project-info p {
    color: #666;
    line-height: 1.6;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 124, 58, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-btn {
    padding: 15px 35px;
    background: var(--white);
    color: var(--primary-green);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5);
}
/* ===================================
   BENEFITS SECTION
   =================================== */

.benefits-section {
    padding: 100px 20px;
    background: #90cf4d;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 60px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(15, 124, 58, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 45px;
    height: 45px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}


/* ===================================
   SERVICES & CAPABILITIES SECTION
   =================================== */

.capabilities-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f4f5f3, #f9fdfb);
}

.capabilities-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    
}

.capabilities-section h2 {
    font-size: 2.8rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 15px;
     color: #90cf4d;
}

.capabilities-section .section-subtitle {
    font-size: 1.2rem;
    color: #90cf4d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.capability-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.capability-card h3 {
    font-size: 1.5rem;
    color: #90cf4d;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #90cf4d;
    text-align: center;
}

.capability-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.capability-card ul li {
    padding: 10px 0 10px 35px;
    position: relative;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.capability-card ul li::before {
    content: "✓";
    position: absolute;
    left: 5px;
    color: #90cf4d;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Civil Works Card with Flexbox Layout */
.civil-works-card .card-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.civil-works-card .card-media {
    flex: 0 0 40%;
    max-width: 300px;
}

.civil-works-card .service-gif {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.civil-works-card .card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.civil-works-card .card-text h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
}

.civil-works-card .card-text ul {
    margin: 0;
}

.civil-works-card .card-text ul li {
    text-align: left;
    line-height: 1.8;
    padding: 8px 0 8px 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .civil-works-card .card-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .civil-works-card .card-media {
        flex: none;
        max-width: 100%;
    }
    
    .civil-works-card .card-text {
        text-align: center;
    }
    
    .civil-works-card .card-text h3 {
        text-align: center;
    }
    
    .civil-works-card .card-text ul li {
        text-align: left;
    }
}

/* ===================================
   STATS SECTION
   =================================== */

.stats-section {
    padding: 100px 20px;
    background: #90cf4d;
}

.stats-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var( #f9fdfb);
    margin-bottom: 60px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(15, 202, 78, 0.15);
}

.stat-card.active {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-white));
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(10, 228, 97, 0.3);
}

.stat-card.active .stat-number,
.stat-card.active .stat-label {
    color: var(--white);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
    font-weight: 600;
}

/* ===================================
   COMPLETED PROJECTS SECTION
   =================================== */

.completed-projects-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #90cf4d;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Gallery Grid */
.projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Gallery Card */
.project-gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-gallery-card.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

.project-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(144, 207, 77, 0.2);
}

/* Main Image */
.project-gallery-images {
    position: relative;
}

.main-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #90cf4d #f0f0f0;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: #90cf4d;
    border-radius: 3px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: #90cf4d;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #90cf4d;
    box-shadow: 0 0 8px rgba(144, 207, 77, 0.4);
}

/* Project Info */
.project-gallery-info {
    padding: 20px;
    border-top: 3px solid #90cf4d;
}

.project-gallery-info h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-gallery-info p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.project-gallery-info i {
    color: #90cf4d;
    margin-right: 8px;
}

/* Old project-item styles (keep for backward compatibility) */
.project-item {
    background: #fff;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-left: 4px solid #90cf4d;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-item.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

.project-item h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.project-item p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.project-item i {
    color: #90cf4d;
    margin-right: 8px;
}

/* ===================================
   DETAILED PROJECTS SECTION
   =================================== */

.detailed-projects-section {
    padding: 80px 20px;
    background: var(--white);
}

.detailed-projects-section .category-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.detailed-projects-section .projects-list {
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    position: relative;
    padding: 100px 20px;
    background: #edf0ea;
    color: var #90cf4d;
    text-align: center;
    overflow: hidden;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-btn {
    display: v;
    padding: 18px 50px;
    background: var(--primary-green);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.4s ease;
    animation: pulse-btn 2s infinite;
}

.cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
}

.gradient-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    animation: rotate-gradient 20s linear infinite;
}

/* ===================================
   Footer SECTION
   =================================== */

footer {
    background: #000000;
    color: #e2e8f0;
    padding: 60px 40px 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

/* Top Row */
.footer-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid rgba(255,255,255,0.1);
    padding-bottom:20px;
}

/* Circular logo */
.footer-logo img{
    height:70px;
    width:70px;
    object-fit:contain;
    background:#fff;
    padding:8px;
    border-radius:50%;
}

/* Contact right side */
.footer-contact{
    display:flex;
    flex-direction:column;   /* stack vertically */
    align-items:flex-end;    /* keep aligned to right side */
    gap:6px;
    font-size:16px;
}


.footer-contact a{
    color:#cbd5e1;
    text-decoration:none;
    transition:0.3s;
    text-align:right;
}

.footer-contact a:hover{
    color:#90cf4d;
}



/* Columns */
.footer-columns{
    display:flex;
    justify-content:space-between;
    gap:40px;
    margin-top:40px;
}

/* Links stay left */
.footer-links{
    text-align:left;
}

/* Address pushed to right */
.footer-address{
    text-align:right;
    margin-left:auto;   /* pushes it to the right */
}


.footer-title {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.footer-link {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #90cf4d;
    padding-left: 5px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-col a:hover {
    color: #90cf4d;
}

/* ===== FIXED ADDRESS + VIDEO ALIGNMENT ===== */

.address-video-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.address-text {
    flex: 1;
}

.map-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.map-placeholder video {
    width: 150px;
    height: 150px;
    object-fit: contain;
}
/* Divider */
.footer-divider {
    height: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}



/* Footer Bottom Layout */
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:20px;
    font-size:13px;
    color:#94a3b8;
}

/* Social icons container */
.footer-social{
    display:flex;
    gap:15px;
}

/* Icon style */
.footer-social a{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    color:#cbd5e1;
    font-size:16px;
    transition:0.3s;
}

/* Hover effect */
.footer-social a:hover{
    background:#0f7c3a;
    color:#fff;
    transform:translateY(-3px);
}
.footer-social img{
    width: 70px;
    height:40px;
    object-fit:cover;
}

.footer-social a{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    transition:0.3s;
}

.footer-social a:hover{
    background:#0f7c3a;
    transform:translateY(-3px);
}


/* ===================================
   ANIMATIONS
   =================================== */

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-40px) translateX(-10px);
    }
    75% {
        transform: translateY(-20px) translateX(10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-btn {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

@keyframes rotate-gradient {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards;
}

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

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* ===== TABLET ===== */
@media (max-width: 968px) {

    /* ---------- NAVBAR FIX ---------- */
    .custom-navbar{
        width:92%;
        margin:10px auto;
        border-radius:40px;
        padding:10px 16px;
    }

    .navbar > .container{
        padding-left:0;
        padding-right:0;
    }

    .navbar-collapse{
        width:100%;
        margin-top:12px;
    }


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

    .hero p { font-size: 1.1rem; }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .services-heading h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto;
    }
}


/* ===== MOBILE ===== */
@media (max-width: 768px){

    /* Center navbar container */
    .custom-navbar {
        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .custom-navbar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .completed-projects-section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .epc-name {
        font-size: 1rem;
    }

    .project-category {
        padding: 25px 20px;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .project-row {
        padding: 15px 18px;
    }

    .project-row:hover {
        transform: translateX(5px);
    }

    .project-content h4 {
        font-size: 1.05rem;
    }

    .location {
        font-size: 0.9rem;
    }

    .footer-top{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

    .footer-contact{
        flex-direction:column;
        gap:8px;
        align-items:center;
    }

    .footer-columns{
        flex-direction:column;
        text-align:center;
    }

    .footer-address{
        text-align:center;
        margin-left:0;
    }
}


/* ===== SMALL MOBILE ===== */
@media (max-width: 640px) {

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

    .hero p { font-size: 1rem; }

    .hero-logo { max-width: 150px; }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn { width: 100%; }

    .about-text h2,
    .consultation h2,
    .location h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .location-details {
        flex-direction: column;
    }
}

/* services page navbar brand force */
#services-page .navbar .navbar-brand{
  font-weight: 800 !important;
  color: #209b28 !important;
  font-size: 22px !important;
  display: flex !important;
  align-items: center !important;
}

/* sevices navbar vertical align */
#services-page .navbar{
  display: flex !important;
  align-items: center !important;
}

.navbar-brand {
    font-weight: 900;
    color: #000 !important;
}


/* ===== BIG NAVBAR + BIG TEXT ===== */

/* Navbar container bigger vertical space */
.custom-navbar {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
    min-height: 100px !important;    /* sets bigger navbar height */
}

/* Brand text BIG */
.custom-navbar .navbar-brand-text,
.custom-navbar .navbar-brand,
.custom-navbar .navbar-brand-text a {
    font-size: 32px !important;       /* large brand text */
    font-weight: 900 !important;      /* bold text */
    color: #000000 !important;
}

/* Nav links bigger */
.custom-navbar .nav-link {
    font-size: 20px !important;      /* larger menu text */
    font-weight: 700 !important;
    padding: 12px 20px !important;   /* bigger clickable padding */
}

/* Nav link spacing */
.custom-navbar .nav-item + .nav-item {
    margin-left: 3px;               /* more gap between links */
}

/* Contact button bigger */
.btn-nav {
    font-size: 20px !important;
    padding: 12px 10px !important;
    font-weight: 900 !important;
}

/* Toggler icon bigger (mobile) */
.navbar-toggler::after {
    font-size: 20px !important;
}
.hero-title{
    font-weight: 800;   /* or 900 for extra bold */
}

/* ===================================
   SERVICES HERO - MATCH ABOUT PAGE
   =================================== */

.services-hero {
    position: relative;
    text-align: center;
    padding-top: 140px;
}

.hero-logo-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    width: 220px;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.hero-logo-card img {
    width: 100%;
    height: auto;
}

.services-hero .hero-title {
    color: #90cf4d;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.services-hero .hero-subtitle {
    color: #ffffff;
    font-size: 16px;
    max-width: 300px;
    margin: auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-hero {
        padding-top: 120px;
    }

    .hero-logo-card {
        width: 200px;
    }

    .services-hero .hero-title {
        font-size: 26px;
    }

    .services-hero .hero-subtitle {
        font-size: 14px;
    }
}

/* ===================================
   MOBILE HERO FIX - MATCH ABOUT PAGE
   =================================== */

@media (max-width: 768px) {
  
  /* prevent navbar overlap */
  .hero-banner {
    padding-top: 120px !important;
    min-height: 520px;
    background-size: cover;
    background-position: center;
  }

  /* make wrapper vertical like About page */
  .hero-content-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 18px !important;
  }

  /* logo card style */
  .hero-logo-block {
    background: #fff !important;
    padding: 16px !important;
    border-radius: 18px !important;
    width: 220px !important;
    max-width: 80% !important;
    margin: 0 auto !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
  }

  .hero-logo-block img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* title & subtitle */
  .hero-content h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .hero-content p {
    font-size: 14px !important;
    max-width: 320px !important;
    margin: 8px auto 0 auto !important;
  }
}

/* Brand logo styling */
.brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .brand-logo {
        height: 35px;
    }
}

/* Brand text styling */
.brand-text {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.brand-text:hover {
    color: #0f7c3a;
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 27px;
    }
}
