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

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

* {
    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
================================ */

/* Contact page logo - white background */
body.contact-page .bk-navbar-brand {
    background: #ffffff !important;
    color: #0f7c3a !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

body.contact-page .bk-navbar-brand:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* 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 INTRO SECTION
   =================================== */

.hero-intro {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../assets/images/contact.jpg") center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(15,124,58,0.35)
    );
    z-index: 1;
}

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

.hero-intro .container {
    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;
    padding: 15px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    filter: drop-shadow(0 4px 12px rgba(144, 207, 77, 0.3));
}


/* Text content - right side */
.hero-content {
    flex: 1;
    text-align: left;
}

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

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

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

.scroll-indicator svg {
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--white);
    top: -100px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--white);
    bottom: -50px;
    left: 10%;
    animation: float 8s ease-in-out infinite 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--white);
    top: 50%;
    left: -75px;
    animation: float 7s ease-in-out infinite 2s;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .hero-intro {
        min-height: 75vh;
    }

    .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.1rem;
    }
}

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

    .hero-content-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 20px;
        padding-top: 30px;
    }

    .hero-logo-block {
        text-align: center;
        margin-bottom: 20px;
        margin-top: 20px;
    }

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

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





/* ===================================
   CONTACT FORM SECTION
   =================================== */

.contact-form-section {
    padding: 100px 20px;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(15, 124, 58, 0.1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    color: var(--primary-green);
    background: var(--white);
    padding: 0 5px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(15, 124, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(15, 124, 58, 0.5);
}

.success-message {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    animation: slideDown 0.5s ease;
}

.success-message svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.form-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(15, 124, 58, 0.2));
}

.sun-animate {
    animation: pulse 3s ease-in-out infinite;
}

.float-shape {
    animation: float 5s ease-in-out infinite;
}

.float-shape-2 {
    animation: float 6s ease-in-out infinite 1s;
}

/* ===================================
   OFFICE SECTION
   =================================== */

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

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

.office-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.office-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.3s ease;
    flex: 1;
    max-width: 350px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

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

.icon-wrapper {
    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;
}

.icon-wrapper svg {
    width: 40px;
    height: 40px;
}

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

.office-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* ===================================
   WHY SECTION
   =================================== */

.why-section {
    padding: 100px 20px;
    background: var(--white);
}

.why-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 50px;
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.why-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(15, 124, 58, 0.15);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon svg {
    width: 35px;
    height: 35px;
}

.why-icon svg path {
    fill: var(--white) !important;
}

.why-card h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

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

/* ===================================
   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: #38bdf8;
}

/* ===== 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 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

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

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

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

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

.fade-right.visible {
    opacity: 1;
    transform: translateX(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){

    /* Why grid - single column */
    body.contact-page .why-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 0 auto !important;
    }

    /* Office grid - single column */
    body.contact-page .office-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 0 auto !important;
    }

    /* Individual cards */
    body.contact-page .why-card,
    body.contact-page .office-card,
    body.contact-page .contact-card {
        max-width: 100% !important;
        margin: 0 auto !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 */
}

/* ✅ Contact Hero Paragraph Bold */
.hero-content p {
    font-weight: 1000 !important;
}


/* FORCE MOBILE: ONE BY ONE (CONTACT PAGE) */
@media (max-width: 768px) {

  /* 1) Our Office cards (Location / Email / Phone) */
  body.contact-page .office-grid,
  body.contact-page .office-cards,
  body.contact-page .contact-grid,
  body.contact-page .contact-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    justify-items: center !important;
  }

  body.contact-page .office-card,
  body.contact-page .contact-card {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }

  /* 2) Why Reach Out section cards */
  body.contact-page .why-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    justify-items: center !important;
  }

  body.contact-page .why-card {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }

  /* 3) Stop horizontal overflow */
  body.contact-page,
  body.contact-page .container,
  body.contact-page section {
    overflow-x: hidden !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;
    }
}
