/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background-color: #ffffff;
}

/* HEADER */
.page-header {
    background-color: #7b8a8f;
    padding: 30px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 36px;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* SECTION */
.intro-section {
    padding: 80px 0;
}

/* MAIN GRID (3 COLUMNS) */
.intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* LEFT COLUMN */
.intro-left h2 {
    font-size: 34px;
    line-height: 1.3;
    margin: 15px 0 20px;
}

.intro-left h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.intro-left p {
    color: #6b7280;
    line-height: 1.7;
    margin-top: 35px;
}

/* TAG */
.tag {
    color: #6cbf43;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
}

/* MIDDLE COLUMN */
.intro-middle p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 18px;
    margin-top: 40px;
}

/* CHECKLIST */
.checklist {
    list-style: none;
    margin: 20px 0;
}

.checklist li {
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    padding-left: 28px;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0f172a;
    font-weight: bold;
}

/* BUTTON */
.btn {
    margin-top: 20px;
    padding: 14px 26px;
    background-color: #0f172a;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

/* RIGHT COLUMN IMAGES */
.intro-images {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.intro-images img {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
}


/* SERVICES SECTION */
.services-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* CARD */
.service-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.service-image {
    height: 240px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENT */
.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #111827;
}

.service-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
}

.hero-section {
    height: 320px;
    background-image: url("Images/solartop2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    /* Remove top radius, keep bottom rounded */
    border-radius: 0 0 50px 50px;

    overflow: hidden;
}




/* Dark overlay for readability */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(2, 20, 40, 0.85),
        rgba(2, 20, 40, 0.4)
    );
}

/* Title text */
.hero-section h1 {
    position: relative;
    color: #ffffff;
    font-size: 48px;
    font-weight: 600;
    z-index: 1;
}

/* SPLIT SECTION */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

/* LEFT IMAGE */
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* RIGHT CONTENT */
.split-content {
    background: #000;
    color: #fff;
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 15px;
}

.split-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.split-content p {
    line-height: 1.8;
    color: #d1d5db;
    margin-bottom: 30px;
}

/* CHECK LIST */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-weight: 600;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #22c55e;
}

/* FIXED BACKGROUND SECTION */
.fixed-bg-section {
    position: relative;
    min-height: 120vh;
    background-image: url("Images/windmill.jpeg"); /* 👈 your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 🔥 image does NOT scroll */
    
    

    display: flex;
    align-items: center;
}

/* WINDMILL SECTION BORDER RADIUS */
.fixed-bg-section {
    border-radius: 32px;
    overflow: hidden; /* required so image respects radius */
}


/* DARK OVERLAY */
.bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 24, 45, 0.85);
}

/* CONTENT WRAPPER */
.fixed-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    color: #ffffff;
}

/* LEFT */
.fixed-left h2 {
    font-size: 42px;
    margin: 12px 0 18px;
    margin-top: 50px;
}

.fixed-left p {
    line-height: 1.7;
    color: #e5e7eb;
    margin-top: 60px;
}

/* TAG */
.why-tag {
    color: #7CFC00;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 50px;
}

/* RIGHT FEATURES */
/* RIGHT FEATURES WRAPPER */
.fixed-right {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.feature {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}


/* ICON — DEFAULT STATE */
.feature-icon {
    width: 56px;
    height: 56px;
    background-color: #ffffff;   /* white default */
    color: #0f172a;              /* dark icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}
/* ICON — HOVER STATE */
.feature:hover .feature-icon {
    background-color: #22c55e;   /* green on hover */
    color: #ffffff;              /* icon turns white */
    transform: scale(1.05);
}





/* =========================
   MOBILE VIEW
   ========================= */
@media (max-width: 768px) {


    .intro-left h3 {
        margin-bottom: 10px;
        line-height: 1.4;
    }

    /* Paragraph spacing (both columns) */
    .intro-left p,
    .intro-middle p {
        margin-top: 16px;
        margin-bottom: 16px;
        line-height: 1.6;
    }

    /* Reduce checklist gap */
    .checklist {
        margin: 14px 0;
    }

    .checklist li {
        margin-bottom: 8px;
    }

    /* Button spacing */
    .intro-middle .btn {
        margin-top: 14px;
    }

    /* HERO – MOBILE */
.hero-section {
    height: 260px;
    border-radius: 0 0 28px 28px;
}

.hero-section {
        margin-bottom: 10px;   /* reduce space below hero */
    }

    .intro-section {
        padding-top: 20px;     /* reduce top padding */
    }

    .hero-section h1 {
        font-size: 30px;
        text-align: center;
        padding: 0 20px;
    }

    /* INTRO GRID */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .intro-left h2 {
        font-size: 20px;
    }

    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* SPLIT SECTION */
    .split-section {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 20px;
    }

    .split-image img,
    .split-content {
        border-radius: 20px;
    }

    .split-content {
        padding: 40px 25px;
    }

    /* FIXED BG CONTENT */
    .fixed-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .fixed-left h2 {
        font-size: 28px;
    }

    .fixed-left p {
        margin-top: 30px;
        font-size: 15px;
    }

    .fixed-right {
        gap: 28px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .why-tag{
        display: none;
    }

    

    /* Intro section images */
    .intro-images {
        display: none;
    }

    /* Split section left image */
    .split-image {
        display: none;
}

.fixed-right {
        display: flex;
        flex-direction: row;
        gap: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .feature {
        min-width: 85%;
        flex-shrink: 0;
        scroll-snap-align: center;
        padding: 22px 20px;
    }

    /* Hide scrollbar for clean look */
    .fixed-right::-webkit-scrollbar {
        display: none;
    }

    .fixed-right {
        scrollbar-width: none;
    }

    /* Mobile typography */
    .feature-text h2 {
        font-size: 18px;
    }

    .feature-text p {
        font-size: 14px;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    
/* =========================
   MOBILE – HORIZONTAL SCROLL (TEXT SAFE)
   ========================= */


    .fixed-right {
        display: flex;
        flex-direction: row;
        gap: 16px;

        overflow-x: auto;
        overflow-y: visible;          /* IMPORTANT */
        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;
        padding: 10px 0 16px;
    }

 .fixed-left {
        position: static;      /* removes fixed positioning */
        margin: 0;              /* removes external gap */
        padding: 0;             /* adjust if needed */
        width: 100%;            /* full width on mobile */
    }

    .fixed-left h2,
    .fixed-left p {
        margin-top: 0;
    }
    
    .feature {
        flex-shrink: 0;
        width: 70vw; 
        height: 60px;                 /* viewport-based width */
        max-width: none;
        height: auto;                 /* ALLOW FULL TEXT */
        min-height: unset;

        background: #ffffff;
        border-radius: 20px;
        padding: 22px 20px;

        display: flex;
        gap: 16px;
        align-items: flex-start;

        scroll-snap-align: start;

        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);

        overflow: visible;            /* CRITICAL */
    }

    .feature-text {
        overflow: visible;
        word-break: break-word;
    }

    .feature-text h2 {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .feature-text p {
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
        flex-shrink: 0;
    }

    /* Hide scrollbar (optional) */
    .fixed-right::-webkit-scrollbar {
        display: none;
    }

    .fixed-right {
        scrollbar-width: none;
    }


    .feature-text h2 {
    color: #111827;   /* dark heading */
}

.feature-text p {
    color: #4b5563;   /* readable paragraph text */
}
    
    .container {
        width: 94%;
    }

    /* Reduce grid gap */
    .services-grid {
        gap: 20px;
    }

    /* Tighten card padding */
    .service-content {
        padding: 20px;
    }

    /* Reduce image height slightly for mobile */
    .service-image {
        height: 200px;
    }

    .feature-icon{
        display: none;
    }
}

    .footer {
  background: #0e1d3b;
  padding: 60px 0;
  font-size: 15px;
  border-top: 1px solid rgb(245, 131, 10);
  border-bottom: 1px solid rgb(245, 131, 10);
}

.footer-logo {
  height: 120px;
  margin-bottom: 15px;
  margin-left: 60px;
}

.footer-text {
  color: #fdfcfc;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 18px;
  color: #fff;
}

.footer-list {
  list-style: none;
  padding: 0;
  color: #fdfcfc;
}
.footer-lists {
  list-style: none;
  padding: 0;
  color: #fdfcfc;
}

.footer-list li {
  margin-bottom: 12px;
  font-weight: 500;
  cursor: pointer;
}
.footer-lists li {
  margin-bottom: 12px;
  font-weight: 500;
  cursor: pointer;
}

.footer-list i {
  margin-right: 8px;
}
.footer-lists i {
  margin-right: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #000000;
  color: #fff;
  border-radius: 50px;
  margin-right: 8px;
  font-size: 16px;
  text-decoration: none;
}

.footer-social a:hover {
  background: rgb(245, 131, 10);
}

.footer-list li:hover {
  transform: scale(1.05);
  color: rgb(245, 131, 10);
}
.footer-list a:hover {
  transform: scale(1.05);
  color: rgb(245, 131, 10);
}
.footer-lists li:hover {
  transform: scale(1.05);
  color: rgb(245, 131, 10);
}
.footer-lists a:hover {
  transform: scale(1.05);
  color: rgb(245, 131, 10);
}

.footer-bottom {
  padding: 15px 0;
  font-size: 14px;
  color: #ffffff;
  background-color: #0e1d3b;
  display: flex;
}

.footer-bottom strong {
  color: #d69a34; 
}
.footer-bottom a{
    text-decoration: none;
    color: #d69a34;
}
.footer-list a{
    text-decoration: none;
    color: #fff;
}
.footer-lists a{
    text-decoration: none;
    color: #fff;
}
@media (max-width:576px) {
    .footer-logo{
        margin-left: 0;
        height: 60px;
        margin-top: 2px;
    }
    .footer{
        padding: 3px;
    }
    .footer-lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    column-gap: 16px;
    row-gap: 10px;
  }
  .footer-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
  }

  .footer-list i {
    margin-right: 6px;
    font-size: 12px;
  }
  .footer-bottom {
    font-size: 10px;        
    line-height: 1.4;
    display: inline-block;
    width: 100%;
  }

  .footer-bottom .container {
    padding: 0 10px;
    margin-bottom: 4px;
  }

  .footer-bottom strong {
    font-weight: 600;
  }
}
    .navbar {
  background: #ffffff;
  padding: 12px 0;
  box-shadow: 0 4px 0 rgba(0,0,0,0.05);
}

.navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  margin-left: 40px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #222;
}

.navbar-nav .nav-link:hover {
  color: rgb(245, 131, 10);
}
.navbar-nav .nav-link.active {
  background: #0e1d3b;
  color: #ffffff !important;
  border-radius: 20px;
}
.navbar .dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;

}
.navbar-toggler:focus{
    box-shadow: none;
}
.dropdown-menu {
  border: none;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateX(10px);
  transition: all 0.2s ease;
  background-color: rgb(255, 255, 255);
}

.dropdown:hover .dropdown-menu {
  transform: translateX(-15px);
  pointer-events: auto;
}
.dropdown-menu .dropdown-item:hover{
    color: rgb(245, 131, 10);
    background-color:rgb(255, 255, 255);
    transform: scale(1.05);
}
.request-btn {
  background: #0b2a3a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
}

.request-btn:hover {
  background: #093043;
  color: #fff;
}
.top-bar {
  background: #0b2a3a; /* dark blue */
  color: #ffffff;
  font-size: 14px;
  margin-top: 90px;
}

.top-bar-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 0;
  flex-wrap: wrap;
}


@media (max-width: 576px) {
  .logo {
    height: 40px;
  }
  .navbar-toggler{
    margin-right: 20px;
  }
   .mobile-nav {
    top: 0;
    left: 0;

    height: 100vh;
    width: 260px;
    max-width: 100%;
    background: #ffffff;
    padding: 70px 20px 20px;

    transform: translateX(-100%);
    transition: transform 0.10s ease;

    z-index: 1050;
    overflow-y: auto;
  }
  .mobile-nav.show {
    transform: translateX(0);
  }

  .mobile-nav .navbar-nav {
    align-items: flex-start;
  }

  .mobile-nav .nav-link {
    padding: 12px 0;
    width: 100%;
  }

  .mobile-nav .dropdown-menu {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    padding-left: 15px;
  }

  .mobile-nav .dropdown.show .dropdown-menu {
    display: block;
  }
}