/* Reset */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;   /* block horizontal scroll both ways */
  position: relative;   /* prevent left-side sticking */
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global */
body {
  font-family: 'Proxima Nova', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #000;
}


h1, h2, h3 {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
}


header .logo span {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
}

p, a, li {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
}



/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; /* allow flexible height */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #001f3f;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}





/* Transparent header only for homepage */
body.home header {
  background: rgba(0, 31, 63, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  color: #fff;
  z-index: 1000;
}



/* Transparent header only for homepage */
body.home header {
  background: rgba(0, 31, 63, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

body.home header nav a {
  color: #fff;
  white-space: nowrap; /* keep one line */
}

body.home header nav a:hover {
  color: #FFD700; /* gold hover for consistency */
}


/* Transparent but visible header */
body.home header {
  background: rgba(0, 31, 63, 0.7); /* semi-transparent navy */
  backdrop-filter: blur(6px);       /* frosted glass effect */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Nav links default color */
body.home header nav a {
  color: #fff;
}

/* Active link highlight */
header nav a.active {
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
}

/* Logo */
header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

header .logo img {
  height: 150px; /* your chosen size */
  width: auto;
}


header .logo span {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Navigation */
header nav {
  margin-left: auto;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 15px;
  justify-content: center;
}


header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  transition: all 0.3s ease;
}

header nav a:hover {
  color: #FFD700;
  border-bottom: 2px solid #FFD700; /* subtle underline hover */
}

/* Call-to-action button */
header nav a.cta {
  background: #FFD700;
  color: #001f3f;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

header nav a.cta:hover {
  background: #fff;
  color: #001f3f;
}
body {
  padding-top: 160px; /* matches new header height */
}


body.home {
  padding-top: 0; /* remove padding on homepage */
}

body.home .hero {
  padding-top: 120px; /* push hero text down so it’s not hidden */
}





/* Portfolio Grid */
.portfolio {
  padding: 40px 20px;
  text-align: center; /* centers heading + description */
}


.portfolio h2 {
  font-size: 2.5rem;   /* bigger heading */
  font-weight: 700;    /* bolder */
  color: #0056b3;      /* navy for emphasis */
  text-transform: uppercase;
  letter-spacing: 1.5px;
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center; /* centers the grid itself */
}


.card {
  display: block;              /* force cards to behave like blocks */
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}


.card:hover {
  transform: translateY(-5px);
}

.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #0056b3; /* Blue footer */
  color: #fff;
  border-top: 3px solid #f9c80e; /* Yellow accent line */
}
footer a {
  color: #f9c80e; /* Yellow links */
}


/* Story Section */
.story {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.story h2 {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.story p {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.8;
}


/* Services Section */
.services {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.services h2 {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.services p {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #333;
}


.service-grid,
.why-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}




.service-box, .why-box {
  background: #fff;
  border: none;   /* Blue border */
  border-radius: 6px;
  transition: all 0.3s ease;
}
.service-box:hover, .why-box:hover {
  border-color: #f9c80e;       /* Yellow hover accent */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.service-box h3, .why-box h3 {
  color: #0056b3;              /* Blue headings */
}




.service-box:hover {
  transform: translateY(-5px);
}

.service-box h3 {
  font-family: 'Proxima Nova', sans-serif;

  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-box p {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 0.95rem;
  color: #555;
}


/* Services Section END */

/* Why Choose Us Section */
.why {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.why h2 {
  font-family: 'Proxima Nova', sans-serif;

  font-size: 2rem;
  margin-bottom: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* flexible */
  gap: 12px;
  width: 100%; /* force fit inside viewport */
}


.why-box {
  background: #fff;             /* White background */
  border: none;    /* Navy border */
  padding: 25px;
  border-radius: 6px;
  min-height: 220px;
  transition: transform 0.3s ease;
  color: #333;                  /* Dark text */
}

.why-box h3 {
  color: #0056b3;               /* Navy headings */
}

.why-box p {
  color: #555;                  /* Subtle gray body text */
}


.why-box:hover {
  transform: translateY(-5px);
}

.why-box h3 {
  font-family: 'Proxima Nova', sans-serif;

  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-box p {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 0.95rem;
  color: #555;
}

/* Why Choose Us Section ennd */



/* END OF WHY CHOOSE US Section */

/* Packages Section */
.packages {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}
.packages h2 {
  font-family: 'Proxima Nova', sans-serif;

  font-size: 2rem;
  margin-bottom: 30px;
  color: #0056b3;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* flexible */
  gap: 12px;
}

.package-box {
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 25px;
  min-height: 220px;
  transition: transform 0.3s ease;
}
.package-box:hover {
  border-color: #f9c80e;
  transform: translateY(-5px);
}
.package-box h3 {
  color: #0056b3;
  margin-bottom: 10px;
}
.package-box .price {
  font-weight: 600;
  color: #f9c80e;
  margin-top: 10px;
}
/* END OF PACKAGES Section */

/* FAQ Section */
.faq {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.faq h2 {
  font-family: 'Proxima Nova', sans-serif;

  font-size: 2rem;
  margin-bottom: 30px;
  color: #0056b3;
}
.faq-item {
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: left;
  border: none;
  padding-bottom: 15px;
}
.faq-item h3 {
  font-family: 'Proxima Nova', sans-serif;

  font-size: 1.1rem;
  color: #0056b3;
  margin-bottom: 8px;
}
.faq-item p {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 0.95rem;
  color: #555;
}

/* FAQ Section  END */

/* BOOK ICON   */
.book-now-icon {
  text-align: center;
  margin: 40px 0;
}

.book-now-icon a {
  display: inline-block;
  background: #0056b3; /* Blue */
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-family: 'Proxima Nova', sans-serif;

  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.book-now-icon a:hover {
  background: #f9c80e; /* Yellow hover */
  color: #000;
}
/* BOOK ICON  END */

/* PORTFOLIO   */
.portfolio .card {
  border: none;
  border-radius: 6px;
  background: #fff;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none; /* remove underline */
  color: inherit;        /* keep text color consistent */
}

.portfolio .card h3,
.portfolio .card p {
  text-decoration: none; /* ensure no underline on text */
}


.portfolio .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border-color: #f9c80e;       /* Yellow hover accent */
}


/* Portfolio filter buttons in neat grid */
.portfolio-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin: 30px auto;
  max-width: 100%; /* prevent overflow */
}


@media (max-width: 480px) {
  .portfolio-buttons {
    grid-template-columns: 1fr; /* full width buttons */
  }
  .portfolio-buttons .btn {
    width: 100%;
    font-size: 0.9rem;
  }
}


.portfolio-buttons .btn {
  display: inline-block;
  text-align: center;
  padding: 6px 10px;          /* lighter spacing */
  background: transparent;    /* no fill */
  color: #0056b3;             /* plain blue text */
  text-decoration: none;      /* no underline */
  border: none;               /* no border */
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  margin: 5px;
}

.portfolio-buttons .btn:hover,
.portfolio-buttons .btn.active {
  color: #f9c80e;             /* yellow text on hover/active */
}





/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.portfolio-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
}
.portfolio-card h3 {
  margin: 15px 0;
  color: #0056b3;
  font-size: 1.2rem;
  font-weight: 600;
}



/* PORTFOLIO  END */




@media (max-width: 480px) {
  h1, h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
  }

  .hero {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
/* Remove fixed header on mobile for inner pages */
body:not(.home) header {
  position: relative;
  width: 100%;
  height: auto;
  padding: 10px 15px;
  background: #fff; /* solid background for clarity */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}



/* Logo stays large */
body:not(.home) header .logo img {
  height: 150px;
  width: auto;
}

/* Nav links stack neatly below logo */
body:not(.home) header nav {
  margin-left: 0;      /* sits directly under logo */
  margin-top: 10px;    /* small gap below logo */
  text-align: left;    /* align links left under logo */
}


body:not(.home) header nav a {
  color: #000; /* black links for visibility */
}

body:not(.home) header nav a:hover {
  color: #FFD700; /* gold hover for consistency */
}


header {
  flex-direction: column;    /* stack logo + nav vertically */
  align-items: flex-start;   /* logo stays left */
  justify-content: flex-start;
}



body:not(.home) header .logo img {
  height: 150px; /* keep full logo size */
  width: auto;
}


  /* Stack boxes on mobile */
  .service-grid,
  .why-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .service-box,
  .why-box,
  .package-box {
    width: 100%;
  }
}

@media (max-width: 768px) {
header nav ul {
  flex-direction: row;   /* keep links side by side */
  flex-wrap: nowrap;     /* prevent FAQ from dropping */
  gap: 8px;              /* tighter spacing so all fit */
  justify-content: center;
  background: transparent;
  padding: 5px 0;
}



header nav ul li a {
  font-size: 0.85rem;
  padding: 4px 6px;
  color: #000;          /* black for visibility */
  white-space: nowrap;  /* keep FAQ on same line */
}



/* Logo stays large */
body:not(.home) header .logo img {
  height: 150px;
  width: auto;
}

/* Nav links stack neatly below logo */
body:not(.home) header nav {
  margin-left: 0;
  margin-top: 10px;
  text-align: center;
}


header nav ul li a {
  font-size: 0.85rem; /* smaller text for phones */
  padding: 4px 6px;
}



  /* Add a hamburger icon */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #FFD700;
  }

  /* Form spacing */
  .consultation-form input,
  .consultation-form textarea {
    font-size: 1rem;
    padding: 14px;
  }

  .consultation-form button {
    width: 100%;
    font-size: 1.2rem;
    padding: 14px;
  }
}


/* Contact Section */
.contact {
  min-height: 100vh; /* full page height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}


/* Heading */
.contact h2 {
  font-size: 2.8rem;
  color: #FFD700; /* Gold heading */
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Info Box */
.contact-info {
  width: 100%;
  max-width: 600px;
  background: rgba(0, 31, 63, 0.85); /* Semi-transparent navy overlay */
  border: none; /* Gold border */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Links */
.contact-info a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: rgba(0, 31, 63, 0.9);
  color: #fff;
  text-align: center;
  padding: 20px;
  border-top: 3px solid #FFD700;
}

/* Book a Consultation Section */
.consultation {
  min-height: 100vh;
  background: url('solarposter.jpeg') no-repeat center center/cover; /* your solar background */
  text-align: center;
  padding: 100px 20px;
  color: #000; /* Black text for readability */
}

.consultation h2 {
  font-size: 2.5rem;
  color: #001f3f; /* Navy heading */
  margin-bottom: 20px;
}

.consultation p {
  font-size: 1.2rem;
  color: #000; /* Black text */
  margin-bottom: 40px;
}

.consultation-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff; /* White background for clarity */
  padding: 40px;
  border-radius: 10px;
  border: none; /* Gold border */
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.consultation-form input,
.consultation-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 1rem;
  color: #000; /* Black text inside fields */
}


.consultation-form button {
  background: #001f3f; /* Navy button */
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-family: 'Proxima Nova', sans-serif;

  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.consultation-form button:hover {
  background: #FFD700; /* Gold hover */
  color: #000;
}

.hero {
  position: relative;
  min-height: 100vh; /* full screen height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;     /* horizontal centering */
  text-align: center;
  color: #fff;
  background: url('IMG_1529.jpeg') no-repeat center center;
  background-size: cover;       /* ensures full coverage without distortion */
  background-attachment: scroll; /* mobile-friendly */
  image-rendering: -webkit-optimize-contrast; /* improves clarity on some browsers */
}



/* Transparent overlay only for homepage hero */
body.home .hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* semi-transparent dark overlay */
  z-index: 1;
}

body.home .hero h1,
body.home .hero p {
  position: relative;
  z-index: 2; /* text above overlay */
}


.hero h1, .hero p {
  position: relative;
  z-index: 2; /* text above overlay */
}

.hero h1 {
  color: #FFD700;
  font-size: 3rem; /* smaller default */
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem; /* phone size */
  }
  .hero p {
    font-size: 1rem;
  }
}



.hero p {
  font-size: 1.4rem;
  max-width: 800px;
}

/* Logo */
header .logo img {
  height: 150px;   /* increased size for strong visibility */
  width: auto;
}

header .logo span {
  font-size: 1.6rem; /* slightly larger text alongside logo */
  font-weight: 700;
  letter-spacing: 1.2px;
}

.recent-works {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.recent-works h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.work-card {
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border-color: #f9c80e;
}

.work-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}

.work-card h3 {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 1.2rem;
  color: #0056b3;
  margin-bottom: 10px;
}

.work-card p {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 0.95rem;
  color: #555;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;   /* smaller for mobile */
    line-height: 1.2;  /* tighter spacing */
  }

  .hero p {
    font-size: 1rem;   /* adjust tagline size */
  }
}


.card-style {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.gallery-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.cta-btn {
  display: inline-block;
  background: #0056b3;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-btn:hover {
  background: #f9c80e;
  color: #000;
}


.card-style {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  margin: 50px auto;
  max-width: 900px;
  text-align: left;
}

.card-style h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-style p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.overview-layout {
  display: flex;
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 20px;
  max-width: 100%; /* prevent overflow */
  margin: 30px auto;
  align-items: flex-start;
}


.overview-text {
  flex: 1; /* left side */
}

.overview-gallery {
  flex: 1; /* right side */
  display: flex;
  flex-direction: column; /* stack images vertically */
  gap: 20px;
}

.overview-gallery img {
  width: 100%;        /* always fit screen */
  max-width: 100%;
  height: auto;
  margin: 0 auto 15px auto;
  display: block;
  object-fit: contain;
}




.overview-text {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.overview-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.overview-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.overview-gallery img {
  width: 100%;
  height: auto;    /* limit image height */
  margin-bottom: 12px;
  border-radius: 6px;
  display: block;
  object-fit: cover;    /* crop neatly if needed */
}


/* Mobile-friendly stacking */
@media (max-width: 768px) {
  .overview-layout {
    grid-template-columns: 1fr; /* stack vertically */
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Modal Card */
.modal-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.modal-card h3 {
  margin-bottom: 15px;
  color: #0056b3;
}

.modal-card input {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.modal-card .btn {
  margin-top: 10px;
}

.confirmation-card {
  position: relative; /* make the card the positioning container */
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;   /* now it hugs the card corner */
  font-size: 20px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}
.close-btn:hover {
  color: #ff0000;
}

/* Mobile-friendly stacking */
@media (max-width: 768px) {
  .overview-layout {
    display: flex;              /* keep flex */
    flex-direction: column;     /* stack vertically */
    gap: 20px;                  /* spacing between text and images */
    margin: 20px auto;          /* tighter margin for phone */
  }

  .overview-text,
  .overview-gallery {
    width: 100%;                /* full width each */
  }

    .overview-gallery img {
    height: auto;          /* tighter limit for phones */
  }

}



/* Portfolio buttons spacing fix */
.portfolio-buttons {
  gap: 20px; /* mas maluwag spacing desktop */
}

@media (max-width: 768px) {
  .portfolio-buttons {
    grid-template-columns: repeat(2, 1fr); /* 2 per row tablet */
    gap: 15px; /* mas maluwag spacing tablet */
  }
}

@media (max-width: 480px) {
  .portfolio-buttons {
    grid-template-columns: 1fr; /* 1 per row phone (full width) */
    gap: 12px; /* spacing sa phone */
  }

  .portfolio-buttons .btn {
    width: 100%; /* full width button sa phone */
  }
}

/* Desktop-only filter styling */
@media (min-width: 1025px) {
  .filters {
    display: flex;
    justify-content: center;
    gap: 20px; /* spacing between filters */
    margin-bottom: 30px;
  }

  .filters .btn {
    all: unset; /* reset global button styles */
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0056b3;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
  }

  .filters .btn:hover,
  .filters .btn.active {
    color: #f9c80e;
    border-bottom: 2px solid #f9c80e; /* subtle underline highlight */
  }
}

/*start icons 
/* Social Icons */
.contact-info a img {
  width: 64px;      /* bigger, consistent size */
  height: 64px;     /* square ratio */
  margin: 0 10px;
  vertical-align: middle;
  object-fit: contain;   /* ensures logos scale evenly */
  background: none;      /* removes any unwanted fill */
  transition: transform 0.2s;
}

.contact-info a img:hover {
  transform: scale(1.1);
}


/*end icons 


/* Energy Calculator Section */
/* Calculator Container */
.calculator {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-top: 40px;
  font-family: Arial, sans-serif;
}

/* Main Heading */
.calculator h2 {
  text-align: center;
  font-size: 26px;
  color: #003366;
  margin-bottom: 25px;
}

/* Step Headings */
.calculator h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #333;
}

/* Category Headings */
.category h4 {
  color: #007bff;
  font-size: 16px;
  margin: 15px 0 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

/* Search Bar */
#searchAppliance {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Appliance Row */
.appliance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 10px 15px;
  margin: 6px 0;
  border-radius: 6px;
}

.appliance span {
  flex: 1;
  font-size: 15px;
  color: #444;
}

.appliance input[type=number] {
  width: 60px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 5px;
}

.appliance button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.appliance button:hover {
  background: #0056b3;
}

/* Usage Type */
.usage-type {
  margin-top: 10px;
}

.usage-type label {
  display: inline-block;
  margin-right: 15px;
  font-size: 15px;
  color: #444;
}

/* Inputs */
.calculator input[type="number"],
.calculator select {
  padding: 8px;
  margin: 10px 0;
  width: 100%;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Results Box */
#results {
  background: #f1f5f9;
  padding: 15px;
  margin-top: 20px;
  border-radius: 6px;
}

#results p {
  margin: 8px 0;
  font-size: 16px;
}

/* Action Buttons */
.calculator button {
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  margin-top: 20px;
  cursor: pointer;
  font-size: 16px;
}

.calculator button:hover {
  background: #0056b3;
}


/* Center the whole calculator section */
.calculator {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin: 40px auto;       /* auto margin para gitna */
  max-width: 800px;        /* limit width para hindi sobrang lapad */
  text-align: center;      /* center headings and buttons */
  font-family: Arial, sans-serif;
}

/* Keep appliance rows aligned left inside the centered container */
.appliance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 10px 15px;
  margin: 6px 0;
  border-radius: 6px;
  text-align: left;        /* override center for row content */
}

/* Search bar centered */
#searchAppliance {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin: 10px auto 20px;  /* auto margin para gitna */
  display: block;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Results box centered */
#results {
  background: #f1f5f9;
  padding: 15px;
  margin: 20px auto;
  border-radius: 6px;
  max-width: 500px;
  text-align: left;        /* keep text readable */
}

.category {
  margin: 20px 0;
}

.category h4 {
  color: #007bff;
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
  text-align: left;
}

.appliance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 12px 15px;
  margin: 8px 0;
  border-radius: 6px;
}

.appliance span {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.appliance small {
  font-size: 13px;
  color: #666;
  margin-left: 10px;
  flex: 1;
}

.controls {
  display: flex;
  align-items: center;
}

.controls input[type=number] {
  width: 60px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 5px;
}

.controls button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.controls button:hover {
  background: #0056b3;
}

/* Appliance Controls */
.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;          /* round buttons */
  background: #007bff;         /* blue theme */
  color: #fff;
  border: none;
  font-size: 18px;             /* bigger + / - */
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.controls button:hover {
  background: #0056b3;         /* darker blue on hover */
  transform: scale(1.05);      /* slight zoom effect */
}

.controls input[type=number] {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}
/* Results Section */
#results {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#results h4 {
  font-size: 18px;
  color: #003366;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

#results p {
  font-size: 16px;
  margin: 12px 0;
  display: flex;
  justify-content: space-between;
}

#results strong {
  color: #333;
}

#results span {
  font-weight: 600;
  color: #007bff; /* highlight values in blue */
}

/* Recommended Package Badge */
#recommended {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  color: #fff;
}

#recommended:empty::before {
  content: "---";
  color: #666;
}

/* Color coding for packages */
#recommended.Starter {
  background: #28a745; /* green */
}
#recommended.Standard {
  background: #fd7e14; /* orange */
}
#recommended.Premium {
  background: #dc3545; /* red */
}

.calculator {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 800px;
  font-family: Arial, sans-serif;
  text-align: center;
}

.calculator h2 {
  font-size: 26px;
  color: #003366;
  margin-bottom: 25px;
}

.calculator h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #333;
  text-align: left;
}

.category h4 {
  color: #007bff;
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
  text-align: left;
}

.appliance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  padding: 12px 15px;
  margin: 8px 0;
  border-radius: 6px;
}

.appliance span {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.appliance small {
  font-size: 13px;
  color: #666;
  margin-left: 10px;
  flex: 1;
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #007bff;
  color: white
}

/* Calculator Container */
.calculator {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 900px;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Headings */
.calculator h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}
.calculator h3 {
  font-size: 20px;
  margin: 25px 0 15px;
  color: #333;
  font-weight: 600;
  text-align: left;
}

/* Category Headings */
.category h4 {
  color: #007bff;
  font-size: 18px;
  margin-bottom: 12px;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
  text-align: left;
  font-weight: 600;
}

/* Appliance Row */
.appliance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.appliance {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  margin: 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease;
}

/* Appliance Grid Responsive Layout */

@media (max-width: 1100px) {
  .appliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .appliance-grid {
    grid-template-columns: 1fr;
  }

  .appliance {
    padding: 15px;
  }
}

.appliance:hover {
  transform: translateY(-3px);
  border-color: #007bff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.appliance.selected {
  border-color: #007bff;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
}
.appliance:hover {
  background: #eef6ff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.appliance span {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.appliance small {
  font-size: 13px;
  color: #777;
  margin-left: 10px;
  flex: 1;
}

/* Controls */
.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.controls button:hover {
  background: #0056b3;
  transform: scale(1.05);
}
.controls input[type=number] {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

/* Hours Selector */
.hours {
  margin-top: 10px;
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hours label {
  font-size: 14px;
  color: #444;
  font-weight: 500;
}
.hours select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  cursor: pointer;
}

/* Usage Type */
.usage-type {
  margin-top: 15px;
}
.usage-type label {
  display: inline-block;
  margin-right: 20px;
  font-size: 15px;
  color: #444;
  cursor: pointer;
}
.usage-type input[type=radio] {
  margin-right: 6px;
}

/* Inputs */
.calculator input[type="number"],
.calculator select {
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

/* Results Box */
#results {
  background: #f1f5f9;
  padding: 20px;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.05);
}
#results h4 {
  font-size: 16px;
  color: #003366;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 700;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}
#results p {
  font-size: 16px;
  margin: 5px 0 15px;
  color: #444;
}
#results span {
  font-weight: 600;
  color: #007bff;
}

/* Recommended Package Badge */
#recommended {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  color: #fff;
}
#recommended.Starter { background: #28a745; }
#recommended.Standard { background: #fd7e14; }
#recommended.Premium { background: #dc3545; }

/* Action Buttons */
.actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.actions button {
  background: #007bff;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}
.actions button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}
.actions .secondary {
  background: #fd7e14;
}
.actions .secondary:hover {
  background: #c85d0c;
}

/* Calculator Container */
.calculator {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 900px;
  text-align: center;
  font-family: 'Proxima Nova', sans-serif;
}

/* Headings */
.calculator h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 30px;
}

.calculator h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 20px 0 15px;
}

/* Category Headings */
.category {
  margin: 25px 0;
}

.category h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 12px;
  border-left: 4px solid #007bff;
  padding-left: 8px;
  text-align: left;
}

/* Appliance Card */
.appliance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fbfd;
  border: 1px solid #e0e6ed;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.appliance:hover {
  background: #eef6fc;
  border-color: #3498db;
  transform: translateY(-2px);
}

/* Appliance Info */
.appliance span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
}

.appliance small {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-left: 8px;
}

/* Controls */
.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.controls input[type=number] {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

.controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.controls button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* Search Bar */
#searchAppliance {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin: 20px auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Results Box */
#results {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#results p {
  font-size: 1rem;
  margin: 8px 0;
  color: #333;
}

/* Action Buttons */
.calculator button.submit {
  background: #007bff;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.calculator button.submit:hover {
  background: #0056b3;
}


/* ENND Energy Calculator Section */


/* How it works */
/* How it works */
/* How It Works Section */
.process {
  padding: 60px 20px;
  background: #f9f9f9; /* match Services/Packages background */
  text-align: center;
}

.process h2 {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0056b3; /* navy heading for consistency */
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700; /* bold main heading */
}

.process .intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #333;
  font-weight: 600; /* bold intro text */
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}

.process-box {
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 25px;
  min-height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  color: #333;
}

.process-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border-color: #f9c80e; /* yellow hover accent */
}

.step-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700; /* bold number */
  color: #f9c80e; /* gold accent */
  margin-bottom: 10px;
}

.process-box h3 {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 1.2rem;
  color: #0056b3; /* navy headings */
  margin-bottom: 10px;
  font-weight: 700; /* bold title */
  text-transform: uppercase;
}

.process-box p {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 1rem;
  color: #333;
  font-weight: 600; /* bold description */
  line-height: 1.6;
}

.process-action {
  margin-top: 40px;
}

.btn-yellow {
  display: inline-block;
  background: #f9c80e;
  color: #001f3f;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700; /* bold button text */
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background: #0056b3;
  color: #fff;
}

/* How it works END */

/* How it works ENND */

/* STEP 1 Appliance Selection */

/* Appliance Grid Layout */
/* Appliance Grid Layout */
.appliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row desktop */
  gap: 24px;
  margin: 20px 0;
}

/* Appliance Card */
.appliance {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appliance:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  border-color: #f9c80e;
}

.appliance span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #0056b3;
}

.appliance small {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

/* Quantity controls always visible */
.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.controls input[type=number] {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.controls button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* Extra details hidden until selected */
.details {
  display: block; /* always visible */
  flex-basis: 100%;
  width: 100%;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}


.details .hours,
.details .type {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.details label {
  min-width: 100px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.details select {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1e293b;
  font-size: 14px;
}

/* Category headers */
.category h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #001f3f;
  margin: 25px 0 15px;
  border-left: 5px solid #f9c80e;
  padding-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive fallback */
@media (max-width: 768px) {
  .appliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .appliance-grid {
    grid-template-columns: 1fr;
  }
}
/* STEP 2 Appliance Usage */

/* Step 2 container */
.usage-step {
  margin: 40px 0;
  text-align: left;
}

.usage-step h3 {
  font-size: 20px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
}

.usage-intro {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

/* Usage cards grid */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row desktop */
  gap: 24px;
  margin: 20px 0;
}

.usage-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column; /* stack radio + content neatly */
  align-items: flex-start;
}

.usage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  border-color: #f9c80e;
}

.usage-card input[type="radio"] {
  margin-bottom: 10px; /* space below radio */
  accent-color: #007bff; /* modern browsers: blue radio */
}

.card-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0056b3;
  margin-bottom: 6px;
}

.card-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.badge {
  background: #f9c80e;
  color: #001f3f;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* Responsive fallback */
@media (max-width: 768px) {
  .usage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .usage-grid {
    grid-template-columns: 1fr;
  }
}
.usage-step h3 {
  font-size: 20px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
  text-align: center; /* center the heading */
}

.usage-intro {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  text-align: center; /* center the intro text */
}


/* home page */
/* Stats inside hero */
.hero .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
  max-width: 900px;
  width: 100%;
}

.hero .stat-box h3 {
  font-size: 2rem;
  font-weight: 700;
  color: goldenrod; /* gold highlight */
  margin-bottom: 8px;
}

.hero .stat-box p {
  font-size: 1rem;
  color: #fff;
}

.hero .stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}
/* Glowing Stats Numbers - Light Glow */
.hero .stat-box h3 {
  font-size: 2rem;
  font-weight: 700;
  color: yellow; /* gold highlight */
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(255, 255, 200, 0.9),
               0 0 20px rgba(255, 255, 150, 0.7),
               0 0 30px rgba(255, 255, 100, 0.5);
  animation: glowPulseLight 2s infinite alternate;
}

/* Light Glow Animation */
@keyframes glowPulseLight {
  from {
    text-shadow: 0 0 8px rgba(255, 255, 200, 0.7),
                 0 0 16px rgba(255, 255, 150, 0.5),
                 0 0 24px rgba(255, 255, 100, 0.3);
  }
  to {
    text-shadow: 0 0 12px rgba(255, 255, 255, 1),
                 0 0 24px rgba(255, 255, 200, 0.9),
                 0 0 36px rgba(255, 255, 150, 0.7);
  }
}


/* home page end  */

.hero-buttons .cta-btn {
  cursor: pointer; /* shows hand icon */
}
.hero-buttons {
  position: relative;
  z-index: 3; /* para nasa ibabaw ng overlay */
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-buttons .cta-btn {
  display: inline-block;
  background: #FFD700; /* gold button */
  color: #001f3f;      /* navy text */
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;     /* hand icon */
  transition: all 0.3s ease;
}

.hero-buttons .cta-btn:hover {
  background: #fff;
  color: #001f3f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* packages start  */

/* Packages Compact Style */
.packages {
  padding: 70px 20px;
  background: #f9f9f9;
  text-align: center;
}

.packages h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.packages .intro {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Grid by 3 columns */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-content: center;
}

.package-box {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.package-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.package-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 10px;
}

.package-box p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 6px;
}

.package-box .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9c80e;
  margin: 10px 0;
}

/* Request Quote Button */
.quote-btn {
  display: inline-block;
  background: #FFD700;
  color: #001f3f;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quote-btn:hover {
  background: #fff;
  color: #001f3f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Popular Tag */
.package-box.popular {
  border: 2px solid #f9c80e;
}

.package-box .tag {
  background: #f9c80e;
  color: #001f3f;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.quote-btn {
  display: inline-block;
  background: #FFD700; /* gold */
  color: #001f3f;      /* navy text */
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quote-btn:hover {
  background: #fff;
  color: #001f3f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* packages end   */

/* buwanang bayad */
.monthly-bill-section {
  display: flex;
  flex-direction: column;   /* stack label, input, select vertically */
  align-items: center;      /* center horizontally */
  justify-content: center;  /* center vertically if needed */
  margin: 20px auto;        /* auto margin para gitna */
  text-align: center;       /* center text */
}

.monthly-bill-section h3 {
  margin-bottom: 10px;
  color: #003366;           /* optional styling for heading */
}

.monthly-bill-section input,
.monthly-bill-section select {
  max-width: 250px;         /* limit width para hindi sobrang lapad */
  text-align: center;       /* center text sa input */
  margin: 8px 0;            /* spacing between elements */
}

/* buwanang bayad end */

/* Stylish Search Bar */
#searchAppliance {
  width: 100%;
  max-width: 400px;
  padding: 12px 40px 12px 16px;   /* extra space for icon */
  margin: 20px auto;
  display: block;
  border: 2px solid #007bff;      /* bold blue border */
  border-radius: 30px;            /* pill shape */
  font-size: 1rem;
  color: #333;
  background: #f9f9f9 url('search-icon.png') no-repeat right 12px center;
  background-size: 20px;          /* icon size */
  transition: all 0.3s ease;
}

/* Focus effect */
#searchAppliance:focus {
  outline: none;
  border-color: #f9c80e;          /* gold highlight */
  background-color: #fff;
  box-shadow: 0 0 8px rgba(249, 200, 14, 0.4);
}

/* Placeholder styling */
#searchAppliance::placeholder {
  color: #888;
  font-style: italic;
}
/* end search bar styling */

/* Our Story Section */
.story {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;           /* center alignment */
}

.story h2 {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #0056b3;               /* navy heading */
  font-weight: 700;             /* bold heading */
  text-transform: uppercase;    /* uppercase for emphasis */
  letter-spacing: 1px;
  text-align: center;           /* ensure centered */
}

.story p {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.8;
  font-weight: 600;             /* semi-bold body text */
  text-align: center;           /* center align paragraphs */
}

/* navs home page  */


/* Header Layout */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between; /* logo left, nav center, cta right */
  align-items: center;
  padding: 0 40px;
  background: #001f3f;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

/* Logo */
header .logo {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Navigation centered */
header nav {
  flex: 2;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center; /* center nav items */
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #FFD700;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #FFD700;
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

/* CTA button aligned right */
header .cta {
  flex: 1;
  text-align: right;
}

header .cta a {
  background: #FFD700;
  color: #001f3f;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

header .cta a:hover {
  background: #fff;
  color: #001f3f;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}


/* navs home page end   */
/* Contact Section */
#contact-info {
  min-height: 100vh;
  display: flex;
  flex-direction: column;   /* keep heading above box */
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}

/* Heading */
#contact-info h2 {
  font-size: 2.8rem;
  color: #001f3f;           /* gold heading for visibility */
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Info Box */
.contact-info {
  margin: 0 auto;           /* center horizontally */
  max-width: 600px;
  background: rgba(0, 31, 63, 0.85); /* semi-transparent navy */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Links inside contact box */
.contact-info a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* Smooth scroll for all anchors */
html {
  scroll-behavior: smooth;
}

header nav a.active {
  color: #FFD700; /* gold highlight */
  border-bottom: 2px solid #FFD700;
}

/* Active nav link when section is in view */
header nav a.active {
  color: #FFD700; /* gold highlight */
  border-bottom: 2px solid #FFD700;
}



/* payment section start */


/* Financing Section */
.financing {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.financing h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.financing .subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.finance-box {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.finance-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.finance-box h3 {
  color: #0056b3;
  margin-bottom: 12px;
}

.finance-box p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.finance-box .highlight {
  display: block;
  font-weight: 700;
  color: #f9c80e;
  margin-bottom: 15px;
}

.finance-box .btn {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.finance-box .btn:hover {
  background: #e65c00;
}

.pro-tip {
  font-size: 1rem;
  color: #555;
  margin-top: 20px;
}

/* payment section end */

/* FAQS start */

/* FAQ Section */
.faq {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.faq h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: left;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}

.faq-item h3 {
  font-size: 1.1rem;
  color: #0056b3;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-item h3:hover {
  color: #f9c80e; /* yellow hover */
}

.faq-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
.faq-item p {
  display: none;
}


/* FAQS end */

/* navs end */
/* mobile floating navbar start */

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
}

/* Allows the mobile wrapper without changing desktop layout */
.mobile-navbar {
  display: contents;
}

@media (max-width: 768px) {

  body.home header,
  header {
    position: fixed;
    top: 18px;
    left: 4%;
    width: 92%;
    height: auto;
    min-height: 74px;
    padding: 0;
    display: block;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
  }

  /* Rounded floating bar */
  .mobile-navbar {
    position: relative;
    width: 100%;
    min-height: 74px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(
      180deg,
      rgba(244, 247, 251, 0.96) 0%,
      rgba(200, 209, 220, 0.94) 100%
    );

    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 42px;

    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.22),
      inset 0 1px 2px rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* Mobile logo */
  header .logo,
  body.home header .logo {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  header .logo img,
  body.home header .logo img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 150px;
    object-fit: contain;
  }

  /* Hamburger button */
  .menu-toggle {
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 8px;
    border: none;
    border-radius: 50%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .menu-toggle span {
    display: block;
    width: 27px;
    height: 3px;
    border-radius: 20px;
    background: #263746;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /* Hidden mobile menu */
  body.home header nav,
  header nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 12px;

    display: block;
    background: rgba(0, 31, 63, 0.98);
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  /* Show menu after hamburger click */
  body.home header nav.open,
  header nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.home header nav ul,
  header nav ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 3px;
    list-style: none;
  }

  body.home header nav ul li,
  header nav ul li {
    width: 100%;
  }

  body.home header nav a,
  header nav a {
    display: block;
    width: 100%;
    padding: 11px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    text-align: left;
    text-decoration: none;
    border-radius: 12px;
    border-bottom: none;
  }

  body.home header nav a:hover,
  body.home header nav a.active,
  header nav a:hover,
  header nav a.active {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.09);
    border-bottom: none;
  }

  /* Turn hamburger into X */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Keep hero content below floating navbar */
  body.home .hero {
    padding-top: 120px;
  }
}

/* mobile floating navbar end */
/* navs end */

/* NAVS 2nd */
/* ==================================================
   FINAL MOBILE HEADER OVERRIDE
   KEEP THIS AT THE ABSOLUTE BOTTOM OF STYLE.CSS
================================================== */

@media screen and (max-width: 768px) {

  html body.home header,
  html body header {
    position: fixed !important;
    top: 18px !important;
    left: 4% !important;

    width: 92% !important;
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;

    margin: 0 !important;
    padding: 8px 20px !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;

    background: linear-gradient(
      180deg,
      rgba(245, 248, 252, 0.97),
      rgba(203, 212, 223, 0.95)
    ) !important;

    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 40px !important;

    box-shadow:
      0 12px 25px rgba(0, 0, 0, 0.22),
      inset 0 1px 2px rgba(255, 255, 255, 0.95) !important;

    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;

    color: #263746 !important;
    z-index: 99999 !important;
  }

  /* Force logo to stay on the left */
  html body.home header .logo,
  html body header .logo {
    position: relative !important;

    width: auto !important;
    height: 54px !important;
    max-width: 160px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;

    transform: none !important;
  }

  /* Force logo image to become small */
  html body.home header .logo img,
  html body header .logo img {
    display: block !important;

    width: auto !important;
    height: 50px !important;
    max-width: 155px !important;
    max-height: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: left center !important;

    transform: none !important;
  }

  /* Force hamburger to stay on the right */
  html body.home header .menu-toggle,
  html body header .menu-toggle {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;

    width: 46px !important;
    height: 46px !important;

    margin: 0 0 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    flex: 0 0 46px !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    border: none !important;

    color: #263746 !important;
    font-size: 32px !important;
    font-family: Arial, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    transform: none !important;
    z-index: 100001 !important;
  }

  /* Mobile dropdown */
  html body.home header nav,
  html body header nav {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 12px !important;

    display: none !important;

    background: rgba(0, 31, 63, 0.98) !important;
    border-radius: 22px !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28) !important;

    z-index: 100000 !important;
  }

  html body.home header nav.open,
  html body header nav.open {
    display: block !important;
  }

  html body.home header nav ul,
  html body header nav ul {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    gap: 3px !important;
    list-style: none !important;
  }

  html body.home header nav ul li,
  html body header nav ul li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.home header nav ul li a,
  html body header nav ul li a {
    display: block !important;
    width: 100% !important;

    padding: 11px 16px !important;

    color: #ffffff !important;
    background: transparent !important;

    font-size: 15px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    text-decoration: none !important;

    border: none !important;
    border-radius: 12px !important;
  }

  html body.home header nav ul li a:hover,
  html body.home header nav ul li a.active,
  html body header nav ul li a:hover,
  html body header nav ul li a.active {
    color: #ffd700 !important;
    background: rgba(255, 255, 255, 0.09) !important;
    border: none !important;
  }

  /* Prevent content from hiding behind navbar */
  html body.home .hero {
    padding-top: 115px !important;
  }
}

/* END FINAL MOBILE HEADER OVERRIDE */
/* NAVS END */


/* card for packages recent start */

/* ==================================================
   FINAL MOBILE PACKAGE CARDS REDESIGN
   PASTE AT THE ABSOLUTE BOTTOM OF STYLE.CSS
================================================== */

@media screen and (max-width: 768px) {

  /* Whole package section */
  body.home .packages,
  .packages {
    width: 100% !important;
    padding: 70px 16px 55px !important;
    overflow: hidden !important;
    background: #f4f7fb !important;
  }

  /* Package title */
  body.home .packages h2,
  .packages h2 {
    margin: 0 auto 16px !important;
    padding: 0 !important;

    color: #0056b3 !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
  }

  /* Introduction */
  body.home .packages .intro,
  .packages .intro {
    width: 100% !important;
    max-width: 520px !important;

    margin: 0 auto 28px !important;
    padding: 0 6px !important;

    color: #4b5563 !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    text-align: center !important;
  }

  /* Force one card per row */
  body.home .package-grid,
  .package-grid {
    width: 100% !important;
    max-width: 520px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;

    overflow: visible !important;
    transform: none !important;
  }

  /* Individual package card */
  body.home .package-box,
  .package-box {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 24px 20px 22px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;

    box-shadow:
      0 8px 24px rgba(0, 31, 63, 0.08),
      0 2px 6px rgba(0, 0, 0, 0.04) !important;

    text-align: left !important;
    overflow: hidden !important;
    transform: none !important;
  }

  /* Blue accent at top */
  body.home .package-box::before,
  .package-box::before {
    content: "" !important;

    position: absolute !important;
    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 5px !important;

    background: linear-gradient(
      90deg,
      #0056b3 0%,
      #0089d8 65%,
      #ffd700 100%
    ) !important;
  }

  /* Popular card */
  body.home .package-box.popular,
  .package-box.popular {
    border: 2px solid #f9c80e !important;

    box-shadow:
      0 12px 28px rgba(249, 200, 14, 0.18),
      0 5px 14px rgba(0, 31, 63, 0.08) !important;
  }

  body.home .package-box.popular::before,
  .package-box.popular::before {
    height: 6px !important;
    background: #f9c80e !important;
  }

  /* Package title */
  body.home .package-box h3,
  .package-box h3 {
    width: 100% !important;

    margin: 4px 0 14px !important;
    padding: 0 !important;

    color: #0056b3 !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  /* Package description */
  body.home .package-box p:not(.price),
  .package-box p:not(.price) {
    width: 100% !important;

    margin: 0 0 17px !important;
    padding: 0 !important;

    color: #475569 !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }

  /* Price */
  body.home .package-box .price,
  .package-box .price {
    width: 100% !important;

    margin: auto 0 16px !important;
    padding: 15px 0 0 !important;

    color: #d9a900 !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;

    border-top: 1px solid #edf0f4 !important;
  }

  /* Request Quote button */
  body.home .package-box .quote-btn,
  .package-box .quote-btn {
    width: 100% !important;
    min-height: 50px !important;

    margin: 0 !important;
    padding: 13px 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ffd700 !important;
    color: #001f3f !important;

    border: none !important;
    border-radius: 14px !important;

    box-shadow: 0 5px 12px rgba(255, 215, 0, 0.24) !important;

    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body.home .package-box .quote-btn:active,
  .package-box .quote-btn:active {
    transform: scale(0.98) !important;
  }

  /* Popular badge */
  body.home .package-box .tag,
  .package-box .tag {
    display: inline-flex !important;
    align-items: center !important;

    width: fit-content !important;

    margin: 7px 0 0 !important;
    padding: 5px 10px !important;

    background: #fff3b0 !important;
    color: #806000 !important;

    border: 1px solid #f9c80e !important;
    border-radius: 999px !important;

    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }
}

/* Smaller phones */
@media screen and (max-width: 380px) {

  body.home .packages,
  .packages {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.home .packages h2,
  .packages h2 {
    font-size: 1.75rem !important;
  }

  body.home .package-box,
  .package-box {
    padding: 22px 17px 19px !important;
  }

  body.home .package-box h3,
  .package-box h3 {
    font-size: 1.2rem !important;
  }

  body.home .package-box .price,
  .package-box .price {
    font-size: 1.45rem !important;
  }
}

/* END FINAL MOBILE PACKAGE CARDS REDESIGN */


/* calculator re design start /


/* ==================================================
   FINAL MOBILE APPLIANCE CALCULATOR REDESIGN
   PASTE AT THE ABSOLUTE BOTTOM OF STYLE.CSS
================================================== */

@media screen and (max-width: 768px) {

  /* Main calculator section */
  body.home .calculator,
  .calculator {
    width: calc(100% - 28px) !important;
    max-width: 620px !important;

    margin: 35px auto !important;
    padding: 28px 18px !important;

    background: #ffffff !important;
    border: 1px solid #edf1f5 !important;
    border-radius: 24px !important;

    box-shadow:
      0 12px 35px rgba(15, 23, 42, 0.08),
      0 3px 10px rgba(15, 23, 42, 0.04) !important;

    overflow: hidden !important;
  }

  /* Step heading */
  body.home .calculator > h3,
  .calculator > h3 {
    position: relative !important;

    margin: 0 0 22px !important;
    padding: 0 0 0 34px !important;

    color: #101828 !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  body.home .calculator > h3::before,
  .calculator > h3::before {
    content: "⚡" !important;

    position: absolute !important;
    top: 3px !important;
    left: 0 !important;

    color: #f9c80e !important;
    font-size: 19px !important;
  }

  /* Search bar */
  body.home #searchAppliance,
  #searchAppliance {
    width: 100% !important;
    max-width: none !important;
    height: 56px !important;

    margin: 0 0 26px !important;
    padding: 0 18px 0 48px !important;

    display: block !important;

    background-color: #ffffff !important;
    background-position: 17px center !important;
    background-size: 21px 21px !important;
    background-repeat: no-repeat !important;

    border: 1px solid #dce3ea !important;
    border-radius: 15px !important;

    box-shadow:
      0 4px 12px rgba(15, 23, 42, 0.04),
      inset 0 1px 2px rgba(15, 23, 42, 0.03) !important;

    color: #253041 !important;
    font-size: 1rem !important;
    line-height: 1 !important;

    outline: none !important;
  }

  body.home #searchAppliance:focus,
  #searchAppliance:focus {
    border-color: #8db5df !important;
    box-shadow:
      0 0 0 4px rgba(0, 86, 179, 0.08),
      0 4px 12px rgba(15, 23, 42, 0.04) !important;
  }

  body.home #searchAppliance::placeholder,
  #searchAppliance::placeholder {
    color: #8b97a7 !important;
    opacity: 1 !important;
  }

  /* Category container */
  body.home .category,
  .category {
    width: 100% !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
  }

  /* Category title */
  body.home .category h4,
  .category h4 {
    margin: 0 0 13px !important;
    padding: 0 !important;

    color: #64748b !important;
    font-size: 0.93rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.7px !important;
    text-align: left !important;

    border: none !important;
  }

  /* One appliance per row */
  body.home .appliance-grid,
  .appliance-grid {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  /* Compact appliance row */
  body.home .appliance,
  .appliance {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 92px !important;

    margin: 0 !important;
    padding: 14px 14px 14px 82px !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 2px !important;

    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 15px !important;

    box-shadow:
      0 4px 12px rgba(15, 23, 42, 0.045),
      0 1px 3px rgba(15, 23, 42, 0.03) !important;

    text-align: left !important;
    cursor: pointer !important;

    overflow: hidden !important;
    transform: none !important;

    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease !important;
  }

  body.home .appliance:hover,
  .appliance:hover {
    background: #ffffff !important;
    border-color: #c6d4e2 !important;
    transform: none !important;

    box-shadow:
      0 7px 18px rgba(15, 23, 42, 0.07),
      0 2px 5px rgba(15, 23, 42, 0.03) !important;
  }

  body.home .appliance.active,
  .appliance.active {
    border-color: #9bbfe4 !important;
    background: #fbfdff !important;

    box-shadow:
      0 0 0 3px rgba(0, 86, 179, 0.06),
      0 8px 20px rgba(15, 23, 42, 0.07) !important;
  }

  /* Generic appliance icon box */
  body.home .appliance::before,
  .appliance::before {
    content: "≋" !important;

    position: absolute !important;
    top: 50% !important;
    left: 18px !important;

    width: 50px !important;
    height: 50px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #f4f7fa !important;
    color: #475569 !important;

    border-radius: 14px !important;

    font-size: 29px !important;
    font-family: Arial, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    transform: translateY(-50%) !important;
  }

  /* Appliance name */
  body.home .appliance > span,
  .appliance > span {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    color: #111827 !important;
    font-size: 1.03rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;

    overflow-wrap: anywhere !important;
  }

  /* Wattage */
  body.home .appliance > small,
  .appliance > small {
    grid-column: 1 !important;
    grid-row: 2 !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    color: #718096 !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }

  /* Quantity controls */
  body.home .appliance > .controls,
  .appliance > .controls {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;

    width: auto !important;
    min-width: 135px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: 40px 38px 44px !important;
    align-items: center !important;
    justify-content: end !important;
    gap: 5px !important;
  }

  /* Minus and plus buttons */
  body.home .controls button,
  .controls button {
    width: 40px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ffffff !important;
    color: #111827 !important;

    border: 1px solid #d7e0e9 !important;
    border-radius: 50% !important;

    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04) !important;

    font-size: 1.45rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    transform: none !important;
  }

  body.home .controls button:last-child,
  .controls button:last-child {
    width: 44px !important;
    height: 44px !important;

    border-color: #a9bfd5 !important;
  }

  body.home .controls button:active,
  .controls button:active {
    background: #f1f5f9 !important;
    transform: scale(0.94) !important;
  }

  /* Quantity input displayed as plain number */
  body.home .controls input[type="number"],
  .controls input[type="number"] {
    width: 38px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    color: #111827 !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-size: 1.15rem !important;
    font-weight: 600 !important;
    line-height: 40px !important;
    text-align: center !important;

    appearance: textfield !important;
    -moz-appearance: textfield !important;
    outline: none !important;
  }

  body.home .controls input[type="number"]::-webkit-inner-spin-button,
  body.home .controls input[type="number"]::-webkit-outer-spin-button,
  .controls input[type="number"]::-webkit-inner-spin-button,
  .controls input[type="number"]::-webkit-outer-spin-button {
    margin: 0 !important;
    -webkit-appearance: none !important;
  }

  /* Hide details initially */
  body.home .appliance .details,
  .appliance .details {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;

    width: calc(100% + 68px) !important;

    margin: 14px 0 0 -68px !important;
    padding: 16px 4px 2px !important;

    display: none !important;

    border-top: 1px solid #e8edf2 !important;
  }

  /* Show details when card is active */
  body.home .appliance.active .details,
  .appliance.active .details {
    display: block !important;
  }

  /* Hours/type rows */
  body.home .details .hours,
  body.home .details .type,
  .details .hours,
  .details .type {
    width: 100% !important;

    margin: 0 0 12px !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: 105px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body.home .details label,
  .details label {
    min-width: 0 !important;

    color: #475569 !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }

  body.home .details select,
  .details select {
    width: 100% !important;
    min-width: 0 !important;
    height: 43px !important;

    padding: 0 12px !important;

    background: #ffffff !important;
    color: #1e293b !important;

    border: 1px solid #d9e2eb !important;
    border-radius: 10px !important;

    font-size: 0.92rem !important;
    outline: none !important;
  }
}

/* Very small phones */
@media screen and (max-width: 390px) {

  body.home .calculator,
  .calculator {
    width: calc(100% - 20px) !important;
    padding: 24px 12px !important;
  }

  body.home .calculator > h3,
  .calculator > h3 {
    font-size: 1.4rem !important;
  }

  body.home .appliance,
  .appliance {
    min-height: 84px !important;
    padding:
      12px 8px
      12px 68px !important;
  }

  body.home .appliance::before,
  .appliance::before {
    left: 12px !important;
    width: 44px !important;
    height: 44px !important;
  }

  body.home .appliance > .controls,
  .appliance > .controls {
    min-width: 116px !important;
    grid-template-columns: 35px 34px 38px !important;
    gap: 3px !important;
  }

  body.home .controls button,
  .controls button {
    width: 35px !important;
    height: 35px !important;
  }

  body.home .controls button:last-child,
  .controls button:last-child {
    width: 38px !important;
    height: 38px !important;
  }

  body.home .controls input[type="number"],
  .controls input[type="number"] {
    width: 34px !important;
    font-size: 1rem !important;
  }

  body.home .appliance > span,
  .appliance > span {
    font-size: 0.94rem !important;
  }

  body.home .appliance > small,
  .appliance > small {
    font-size: 0.8rem !important;
  }

  body.home .appliance .details,
  .appliance .details {
    width: calc(100% + 56px) !important;
    margin-left: -56px !important;
  }
}

/* END FINAL MOBILE APPLIANCE CALCULATOR REDESIGN */
/* calculator re design end  /

/* ==================================================
   MODERN SOLAR CALCULATOR RESULTS
   PASTE AT THE ABSOLUTE BOTTOM OF STYLE.CSS
================================================== */

.load-summary-panel,
.solar-result-card {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Proxima Nova', Arial, sans-serif;
}

/* Dark summary panel */
.load-summary-panel {
  margin-top: 35px;
  padding: 22px;
  background: #071629;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(7, 22, 41, 0.18);
}

.load-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.result-label {
  display: block;
  margin-bottom: 3px;
  color: #9ca9b9;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.load-value {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  line-height: 1;
}

.load-value > span {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
}

.load-value small {
  padding-bottom: 4px;
  color: #b8c2cf;
  font-size: 0.72rem;
  font-weight: 600;
}

.load-summary-top p {
  margin: 4px 0 0;
  color: #b9c4d1;
  font-size: 0.75rem;
}

.calculate-now-btn {
  min-width: 138px;
  padding: 13px 18px;
  background: #ff9f0a;
  color: #ffffff;
  border: 0;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(255, 159, 10, 0.28);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.calculate-now-btn:hover {
  background: #ed8e00;
}

.summary-divider {
  width: 100%;
  height: 1px;
  margin: 20px 0 15px;
  background: rgba(255, 255, 255, 0.13);
}

.summary-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.summary-field {
  text-align: left;
}

.summary-field label {
  display: block;
  margin-bottom: 7px;
  color: #aeb9c7;
  font-size: 0.67rem;
  font-weight: 700;
}

.summary-field input,
.summary-field select {
  width: 100%;
  height: 39px;
  padding: 0 12px;
  background: #273448;
  color: #ffffff;
  border: 1px solid #5a6677;
  border-radius: 8px;
  font-size: 0.85rem;
  outline: none;
}

.summary-field input::placeholder {
  color: #8894a5;
}

/* Main result */
.solar-result-card {
  display: none;
  margin-top: 22px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #dfe5eb;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  color: #172033;
  text-align: left;
}

.solar-result-card.show {
  display: block;
  animation: resultFadeIn 0.4s ease;
}

@keyframes resultFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-heading > span {
  display: block;
  margin-bottom: 8px;
  color: #f59e0b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.result-heading h3 {
  margin: 0;
  color: #122037;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
}

.result-heading h3 strong {
  font-weight: 800;
}

.result-heading p {
  margin: 6px 0 22px;
  color: #98a2b3;
  font-size: 0.76rem;
}

.result-explanation-list {
  display: grid;
  gap: 10px;
}

.result-explanation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8f8f6;
  border: 1px solid transparent;
  border-radius: 9px;
}

.result-explanation.highlighted {
  background: #fff9f0;
  border-color: #ffbd66;
}

.result-number {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c192b;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.result-explanation.highlighted .result-number {
  background: #ff9f0a;
}

.result-explanation p {
  margin: 0;
  color: #667085;
  font-size: 0.84rem;
  line-height: 1.55;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 22px;
}

.metric-card {
  min-height: 105px;
  padding: 15px;
  border-radius: 11px;
  text-align: left;
}

.metric-card span {
  display: block;
  margin-bottom: 5px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.metric-card strong {
  display: block;
  color: #152238;
  font-size: 1.55rem;
  line-height: 1.1;
}

.metric-card small {
  display: block;
  margin-top: 7px;
  color: #8b96a5;
  font-size: 0.67rem;
  line-height: 1.4;
}

.metric-card.battery {
  background: #fff9f0;
  border: 1px solid #ffc66d;
}

.metric-card.battery span {
  color: #e98b00;
}

.metric-card.output {
  background: #effcf8;
  border: 1px solid #92e3cd;
}

.metric-card.output span {
  color: #12a97a;
}

.metric-card.savings {
  background: #eff8ff;
  border: 1px solid #91d0fa;
}

.metric-card.savings span {
  color: #1698e5;
}

.roi-card {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
  padding: 19px;
  background: #eafbf4;
  border-left: 4px solid #00a875;
  border-radius: 9px;
}

.roi-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05a878;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
}

.roi-card span {
  display: block;
  color: #0c9a70;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.roi-card strong {
  display: block;
  margin-top: 2px;
  color: #143224;
  font-size: 1.2rem;
}

.roi-card p {
  margin: 5px 0 0;
  color: #65766f;
  font-size: 0.72rem;
}

.payment-section {
  margin-top: 24px;
}

.payment-section h4 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px;
  border: 1px solid #dce3ea;
  border-radius: 7px;
}

.payment-row + .payment-row {
  margin-top: 9px;
}

.payment-row strong {
  display: block;
  color: #1f2b3c;
  font-size: 0.78rem;
}

.payment-row small {
  display: block;
  margin-top: 3px;
  color: #8b96a5;
  font-size: 0.65rem;
}

.payment-row > b {
  flex: 0 0 auto;
  color: #1a2638;
  font-size: 0.82rem;
}

.payment-row:first-of-type > b {
  color: #f59e0b;
}

.sol-recommendation {
  margin-top: 23px;
  padding: 15px;
  background: #fffaf2;
  border-left: 4px solid #ff9f0a;
  border-radius: 5px;
}

.sol-recommendation > span {
  display: block;
  margin-bottom: 7px;
  color: #f59e0b;
  font-size: 0.68rem;
  font-weight: 800;
}

.sol-recommendation p {
  margin: 0;
  color: #647084;
  font-size: 0.76rem;
  line-height: 1.6;
}

.result-disclaimer {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  padding: 13px;
  background: #f8f8f6;
  border-radius: 7px;
}

.result-disclaimer span {
  color: #8d99a8;
  font-size: 0.75rem;
}

.result-disclaimer p {
  margin: 0;
  color: #929baa;
  font-size: 0.63rem;
  line-height: 1.5;
}

.result-prepared {
  margin-top: 19px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #dfe5eb;
  text-align: center;
}

.result-prepared strong {
  color: #283548;
  font-size: 0.72rem;
}

.result-prepared span {
  margin-top: 2px;
  color: #98a2b3;
  font-size: 0.6rem;
}

.result-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 20px;
}

.result-primary-btn,
.result-secondary-btn {
  min-height: 46px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.result-primary-btn {
  background: #ff9f0a;
  color: #ffffff;
  box-shadow: 0 5px 13px rgba(255, 159, 10, 0.24);
}

.result-secondary-btn {
  background: #ffffff;
  color: #ef8c00;
  border: 2px solid #ff9f0a;
}

/* Mobile result */
@media screen and (max-width: 768px) {
  .load-summary-panel {
    padding: 18px;
    border-radius: 14px;
  }

  .load-summary-top {
    align-items: flex-start;
  }

  .calculate-now-btn {
    min-width: 118px;
    padding: 12px;
    font-size: 0.78rem;
  }

  .summary-inputs {
    grid-template-columns: 1fr;
  }

  .solar-result-card {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .result-heading h3 {
    font-size: 1.15rem;
  }

  .result-metrics {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 0;
  }

  .payment-row {
    align-items: flex-start;
  }

  .result-buttons {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 420px) {
  .load-summary-top {
    flex-direction: column;
  }

  .calculate-now-btn {
    width: 100%;
  }

  .load-value > span {
    font-size: 1.7rem;
  }

  .result-explanation {
    padding: 10px;
  }

  .payment-row {
    flex-direction: column;
  }

  .payment-row > b {
    align-self: flex-end;
  }
}

/* END MODERN SOLAR CALCULATOR RESULTS */


/* ==================================================
   CONTACT PAGE REDESIGN
   PASTE AT THE ABSOLUTE BOTTOM OF STYLE.CSS
================================================== */

.contact-page {
  width: 100%;
  min-height: 100vh;
  padding: 190px 24px 80px;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 215, 0, 0.12),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #eef3f8 100%
    );
  color: #142238;
}

.contact-hero {
  width: 100%;
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}

.contact-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #e69b00;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.contact-hero h1 {
  margin: 0 0 14px;
  color: #0056b3;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
}

.contact-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: #637083;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-layout {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.contact-main-card,
.contact-side-card {
  background: #ffffff;
  border: 1px solid #e0e7ef;
  border-radius: 24px;
  box-shadow:
    0 16px 45px rgba(15, 23, 42, 0.08),
    0 3px 10px rgba(15, 23, 42, 0.04);
}

.contact-main-card {
  padding: 32px;
}

.contact-card-heading > span,
.side-card-label {
  display: block;
  margin-bottom: 8px;
  color: #f0a000;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.contact-card-heading h2,
.contact-side-card h2 {
  margin: 0;
  color: #142238;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
}

.contact-card-heading p,
.contact-side-card p {
  margin: 9px 0 0;
  color: #748094;
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-details-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-detail-card {
  min-height: 115px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f9fbfd;
  color: inherit;
  border: 1px solid #e2e8ef;
  border-radius: 16px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-detail-card:hover {
  transform: translateY(-3px);
  border-color: #a9c8e9;
  box-shadow: 0 9px 22px rgba(0, 86, 179, 0.09);
}

.contact-detail-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: #0056b3;
  border-radius: 14px;
  font-size: 1.4rem;
  font-weight: 800;
}

.contact-detail-card span {
  display: block;
  margin-bottom: 3px;
  color: #8a95a5;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail-card strong {
  display: block;
  color: #18263a;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-detail-card small {
  display: block;
  margin-top: 4px;
  color: #8a95a5;
  font-size: 0.72rem;
}

.social-contact-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5ebf1;
}

.social-contact-section > span {
  display: block;
  margin-bottom: 12px;
  color: #647084;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.social-contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.social-contact-links a {
  min-height: 72px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #ffffff;
  color: #263448;
  border: 1px solid #dfe6ee;
  border-radius: 13px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-contact-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 17px rgba(15, 23, 42, 0.07);
}

.social-contact-links img {
  width: 30px;
  height: 30px;
  margin: 0;
  object-fit: contain;
  background: transparent;
}

.contact-side-card {
  position: sticky;
  top: 115px;
  padding: 28px;
  background:
    linear-gradient(
      145deg,
      #06172b 0%,
      #0b294a 100%
    );
  color: #ffffff;
  border: none;
}

.contact-side-card h2 {
  color: #ffffff;
}

.contact-side-card p {
  color: #bdc8d6;
}

.contact-side-card ul {
  margin: 21px 0 25px;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.contact-side-card li {
  position: relative;
  padding-left: 25px;
  color: #dbe4ee;
  font-size: 0.86rem;
}

.contact-side-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffb000;
  font-weight: 800;
}

.contact-primary-button,
.contact-secondary-button {
  width: 100%;
  min-height: 49px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.contact-primary-button {
  background: #ffae00;
  color: #071629;
  box-shadow: 0 7px 17px rgba(255, 174, 0, 0.2);
}

.contact-secondary-button {
  margin-top: 11px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

/* Mobile */
@media screen and (max-width: 768px) {
  .contact-page {
    padding: 125px 14px 55px;
  }

  .contact-hero {
    margin-bottom: 25px;
  }

  .contact-hero h1 {
    font-size: 2.35rem;
  }

  .contact-hero p {
    font-size: 0.93rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-main-card,
  .contact-side-card {
    border-radius: 19px;
  }

  .contact-main-card {
    padding: 22px 15px;
  }

  .contact-card-heading h2,
  .contact-side-card h2 {
    font-size: 1.4rem;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .contact-detail-card {
    min-height: 100px;
    padding: 15px;
  }

  .social-contact-links {
    grid-template-columns: 1fr;
  }

  .social-contact-links a {
    justify-content: flex-start;
  }

  .contact-side-card {
    position: static;
    padding: 23px 18px;
  }
}

/* END CONTACT PAGE REDESIGN */


/* ==================================================
   MODERN BOOKING PAGE
   PASTE AT THE ABSOLUTE BOTTOM OF STYLE.CSS
================================================== */

.booking-page {
  width: 100%;
  min-height: 100vh;
  padding: 190px 24px 80px;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(0, 86, 179, 0.09),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 15%,
      rgba(255, 183, 0, 0.13),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #edf3f8 100%
    );

  color: #142238;
}

.booking-hero {
  width: 100%;
  max-width: 830px;
  margin: 0 auto 38px;
  text-align: center;
}

.booking-eyebrow {
  display: inline-block;
  margin-bottom: 10px;

  color: #e89b00;

  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.booking-hero h1 {
  margin: 0 0 15px;

  color: #0056b3;

  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
}

.booking-hero p {
  max-width: 700px;
  margin: 0 auto;

  color: #667387;

  font-size: 1.02rem;
  line-height: 1.7;
}

.booking-layout {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(310px, 0.75fr);
  gap: 25px;
  align-items: start;
}

.booking-form-card,
.booking-info-card {
  border-radius: 24px;
  box-shadow:
    0 17px 45px rgba(15, 23, 42, 0.08),
    0 3px 10px rgba(15, 23, 42, 0.04);
}

.booking-form-card {
  padding: 34px;

  background: #ffffff;
  border: 1px solid #dee6ee;
}

.booking-form-heading > span,
.booking-side-label {
  display: block;
  margin-bottom: 8px;

  color: #efa300;

  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.booking-form-heading h2,
.booking-info-card h2 {
  margin: 0;

  color: #142238;

  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
}

.booking-form-heading p,
.booking-info-card > p {
  margin: 9px 0 0;

  color: #748094;

  font-size: 0.94rem;
  line-height: 1.65;
}

.modern-booking-form {
  margin-top: 27px;
}

.form-row {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.form-group {
  margin-bottom: 17px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 7px;

  color: #344054;

  font-size: 0.78rem;
  font-weight: 700;
}

.optional-label {
  color: #98a2b3;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #758397;

  font-size: 1rem;

  transform: translateY(-50%);
  pointer-events: none;
}

.input-wrapper input,
.input-wrapper select,
.modern-booking-form textarea {
  width: 100%;

  background: #fbfcfd;
  color: #1d2939;

  border: 1px solid #d7e0e9;
  border-radius: 12px;

  font-family: 'Proxima Nova', Arial, sans-serif;
  font-size: 0.93rem;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.input-wrapper input,
.input-wrapper select {
  height: 51px;
  padding: 0 14px 0 45px;
}

.modern-booking-form textarea {
  min-height: 125px;
  padding: 14px 15px;
  resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.modern-booking-form textarea:focus {
  background: #ffffff;
  border-color: #86b5e4;

  box-shadow:
    0 0 0 4px rgba(0, 86, 179, 0.08);
}

.input-wrapper input::placeholder,
.modern-booking-form textarea::placeholder {
  color: #98a2b3;
}

.booking-consent {
  margin: 2px 0 19px;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  color: #667085;

  font-size: 0.76rem;
  line-height: 1.5;

  cursor: pointer;
}

.booking-consent input {
  flex: 0 0 auto;

  width: 17px;
  height: 17px;
  margin-top: 2px;

  accent-color: #0056b3;
}

.booking-submit-btn {
  width: 100%;
  min-height: 53px;
  padding: 13px 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background:
    linear-gradient(
      135deg,
      #ffb400,
      #ff9200
    );

  color: #071629;

  border: none;
  border-radius: 13px;

  box-shadow:
    0 8px 20px rgba(255, 157, 0, 0.24);

  font-size: 0.94rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.booking-submit-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 11px 24px rgba(255, 157, 0, 0.3);
}

.booking-submit-btn:active {
  transform: scale(0.99);
}

.booking-form-note {
  margin: 11px 0 0;

  color: #98a2b3;

  font-size: 0.69rem;
  text-align: center;
}

.booking-info-card {
  position: sticky;
  top: 115px;

  padding: 29px;

  background:
    linear-gradient(
      150deg,
      #06172b 0%,
      #0c2d50 100%
    );

  color: #ffffff;
}

.booking-info-card h2 {
  color: #ffffff;
}

.booking-info-card > p {
  color: #bdc9d7;
}

.booking-benefits {
  margin-top: 24px;

  display: grid;
  gap: 18px;
}

.booking-benefit {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.benefit-icon {
  flex: 0 0 34px;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffae00;
  color: #06172b;

  border-radius: 50%;

  font-size: 0.78rem;
  font-weight: 800;
}

.booking-benefit strong {
  display: block;

  color: #ffffff;

  font-size: 0.87rem;
  font-weight: 800;
}

.booking-benefit span {
  display: block;
  margin-top: 3px;

  color: #aebdcd;

  font-size: 0.75rem;
  line-height: 1.5;
}

.booking-contact-box {
  margin-top: 27px;
  padding: 17px;

  display: grid;
  gap: 8px;

  background:
    rgba(255, 255, 255, 0.07);

  border:
    1px solid rgba(255, 255, 255, 0.12);

  border-radius: 13px;
}

.booking-contact-box > span {
  margin-bottom: 2px;

  color: #ffb000;

  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.booking-contact-box a {
  color: #ffffff;

  font-size: 0.77rem;
  font-weight: 600;

  text-decoration: none;
  overflow-wrap: anywhere;
}

.booking-calculator-link {
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  padding: 12px 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  border:
    1px solid rgba(255, 255, 255, 0.38);

  border-radius: 12px;

  font-size: 0.8rem;
  font-weight: 800;

  text-align: center;
  text-decoration: none;
}

/* Modal redesign */
.modal-overlay {
  position: fixed;
  inset: 0;

  padding: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(2, 12, 27, 0.72);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  z-index: 200000;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  padding: 28px;

  background: #ffffff;
  color: #172033;

  border-radius: 20px;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.27);

  text-align: center;
}

/* Mobile */
@media screen and (max-width: 768px) {

  .booking-page {
    padding: 125px 14px 55px;
  }

  .booking-hero {
    margin-bottom: 25px;
  }

  .booking-hero h1 {
    font-size: 2.3rem;
  }

  .booking-hero p {
    font-size: 0.92rem;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-form-card,
  .booking-info-card {
    border-radius: 19px;
  }

  .booking-form-card {
    padding: 23px 15px;
  }

  .booking-form-heading h2,
  .booking-info-card h2 {
    font-size: 1.4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .booking-info-card {
    position: static;
    padding: 24px 18px;
  }
}

/* END MODERN BOOKING PAGE */


/* ==================================================
   PREMIUM OTP + BOOKING SUCCESS MODAL
   KEEP AT THE ABSOLUTE BOTTOM OF STYLE.CSS
================================================== */

/* Dark blurred background */
#modalOverlay.modal-overlay {
  position: fixed !important;
  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;
  padding: 20px !important;

  display: flex;
  align-items: center !important;
  justify-content: center !important;

  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(255, 174, 0, 0.16),
      transparent 28%
    ),
    rgba(3, 14, 29, 0.78) !important;

  backdrop-filter: blur(12px) saturate(115%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(115%) !important;

  overflow-y: auto !important;
  z-index: 200000 !important;

  animation: modalOverlayFade 0.25s ease both;
}

/* Outer white modal */
#modalOverlay .modal-card {
  position: relative !important;

  width: 100% !important;
  max-width: 475px !important;

  margin: auto !important;
  padding: 28px !important;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.99),
      rgba(247, 250, 253, 0.99)
    ) !important;

  color: #172033 !important;

  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-radius: 25px !important;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.30),
    0 8px 25px rgba(0, 31, 63, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;

  text-align: center !important;

  animation: modalCardEnter 0.34s
    cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Inner card generated by JavaScript */
#modalOverlay .confirmation-card {
  position: relative !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 34px 28px 27px !important;

  background: #ffffff !important;

  border: 1px solid #e7edf3 !important;
  border-radius: 18px !important;

  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.09),
    0 3px 9px rgba(15, 23, 42, 0.04) !important;

  overflow: hidden !important;
}

/* Gold accent line */
#modalOverlay .confirmation-card::before {
  content: "" !important;

  position: absolute !important;
  top: 0 !important;
  left: 0 !important;

  width: 100% !important;
  height: 5px !important;

  background:
    linear-gradient(
      90deg,
      #0056b3 0%,
      #0a79d5 52%,
      #ffae00 100%
    ) !important;
}

/* Modal heading */
#modalOverlay .confirmation-card h3 {
  margin: 0 38px 18px !important;

  color: #0056b3 !important;

  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.2px !important;
}

/* Modal paragraphs */
#modalOverlay .confirmation-card p {
  margin: 8px 0 !important;

  color: #526174 !important;

  font-size: 0.96rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

#modalOverlay .confirmation-card p strong {
  color: #172033 !important;
  font-weight: 800 !important;
}

/* Small note at bottom */
#modalOverlay .confirmation-card .booking-form-note {
  max-width: 330px !important;
  margin: 19px auto 0 !important;

  color: #8995a6 !important;

  font-size: 0.72rem !important;
  line-height: 1.55 !important;
}

/* Premium close button */
#modalOverlay .close-btn {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;

  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #f3f6f9 !important;
  color: #697789 !important;

  border: 1px solid #dbe3eb !important;
  border-radius: 50% !important;

  box-shadow: none !important;

  font-family: Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;

  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease !important;

  z-index: 5 !important;
}

#modalOverlay .close-btn:hover {
  background: #fff2f2 !important;
  color: #c93434 !important;
  border-color: #f1bcbc !important;
  transform: rotate(5deg) scale(1.05) !important;
}

#modalOverlay .close-btn:active {
  transform: scale(0.92) !important;
}

/* OTP input */
#modalOverlay #otpInput {
  width: 100% !important;
  max-width: 310px !important;
  height: 58px !important;

  margin: 10px auto 6px !important;
  padding: 0 17px !important;

  display: block !important;

  background: #f9fbfd !important;
  color: #071a31 !important;

  border: 2px solid #cbd7e3 !important;
  border-radius: 13px !important;

  box-shadow:
    inset 0 1px 3px rgba(15, 23, 42, 0.04) !important;

  font-family:
    'Proxima Nova',
    Arial,
    sans-serif !important;

  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 7px !important;
  text-align: center !important;

  outline: none !important;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease !important;
}

#modalOverlay #otpInput::placeholder {
  color: #98a4b3 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

#modalOverlay #otpInput:focus {
  background: #ffffff !important;
  border-color: #176fc1 !important;

  box-shadow:
    0 0 0 5px rgba(0, 86, 179, 0.10),
    inset 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

/* Verify OTP button */
#modalOverlay #verifyOtp {
  width: 100% !important;
  max-width: 310px !important;
  min-height: 52px !important;

  margin: 15px auto 0 !important;
  padding: 13px 20px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;

  background:
    linear-gradient(
      135deg,
      #ffb400 0%,
      #ff9400 100%
    ) !important;

  color: #071a31 !important;

  border: none !important;
  border-radius: 13px !important;

  box-shadow:
    0 9px 20px rgba(255, 157, 0, 0.24) !important;

  font-family:
    'Proxima Nova',
    Arial,
    sans-serif !important;

  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  cursor: pointer !important;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease !important;
}

#modalOverlay #verifyOtp::before {
  content: "✓" !important;

  width: 21px !important;
  height: 21px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: rgba(7, 26, 49, 0.12) !important;
  border-radius: 50% !important;

  font-size: 0.72rem !important;
}

#modalOverlay #verifyOtp:hover {
  transform: translateY(-2px) !important;

  box-shadow:
    0 12px 25px rgba(255, 157, 0, 0.31) !important;

  filter: brightness(1.02) !important;
}

#modalOverlay #verifyOtp:active {
  transform: scale(0.98) !important;
}

#modalOverlay #verifyOtp:disabled {
  cursor: wait !important;
  opacity: 0.72 !important;
  transform: none !important;
}

/* OTP error */
#modalOverlay #otpError {
  max-width: 310px !important;

  margin: 12px auto 0 !important;
  padding: 10px 13px !important;

  background: #fff2f2 !important;
  color: #b42318 !important;

  border: 1px solid #f6c5c1 !important;
  border-radius: 9px !important;

  font-size: 0.76rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

/* Join Meeting becomes a proper button */
#modalOverlay .meeting-link {
  width: 100% !important;
  max-width: 310px !important;
  min-height: 52px !important;

  margin: 18px auto 3px !important;
  padding: 13px 20px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  background:
    linear-gradient(
      135deg,
      #ffb400 0%,
      #ff9400 100%
    ) !important;

  color: #071a31 !important;

  border: none !important;
  border-radius: 13px !important;

  box-shadow:
    0 9px 20px rgba(255, 157, 0, 0.24) !important;

  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease !important;
}

#modalOverlay .meeting-link::before {
  content: "↗" !important;

  width: 22px !important;
  height: 22px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: rgba(7, 26, 49, 0.12) !important;
  border-radius: 50% !important;

  font-size: 0.8rem !important;
}

#modalOverlay .meeting-link:hover {
  transform: translateY(-2px) !important;

  box-shadow:
    0 12px 25px rgba(255, 157, 0, 0.31) !important;

  filter: brightness(1.02) !important;
}

#modalOverlay .meeting-link:active {
  transform: scale(0.98) !important;
}

/* Confirmation date emphasis */
#modalOverlay .confirmation-card p:nth-of-type(3) {
  margin: 13px 0 !important;
  padding: 11px 15px !important;

  background: #eff7ff !important;
  color: #172033 !important;

  border: 1px solid #cce2f6 !important;
  border-radius: 10px !important;
}

/* Modal animations */
@keyframes modalOverlayFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalCardEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile modal */
@media screen and (max-width: 520px) {

  #modalOverlay.modal-overlay {
    padding: 13px !important;
    align-items: center !important;
  }

  #modalOverlay .modal-card {
    max-width: 430px !important;
    padding: 16px !important;
    border-radius: 21px !important;
  }

  #modalOverlay .confirmation-card {
    padding: 31px 17px 24px !important;
    border-radius: 16px !important;
  }

  #modalOverlay .confirmation-card h3 {
    margin-right: 35px !important;
    margin-left: 35px !important;
    font-size: 1.18rem !important;
  }

  #modalOverlay .confirmation-card p {
    font-size: 0.9rem !important;
  }

  #modalOverlay #otpInput,
  #modalOverlay #verifyOtp,
  #modalOverlay .meeting-link {
    max-width: none !important;
  }

  #modalOverlay #otpInput {
    height: 56px !important;
    font-size: 1.22rem !important;
    letter-spacing: 6px !important;
  }

  #modalOverlay .close-btn {
    top: 12px !important;
    right: 12px !important;

    width: 32px !important;
    height: 32px !important;
  }
}

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {

  #modalOverlay.modal-overlay,
  #modalOverlay .modal-card {
    animation: none !important;
  }

  #modalOverlay *,
  #modalOverlay *::before,
  #modalOverlay *::after {
    transition-duration: 0.01ms !important;
  }
}

/* END PREMIUM OTP + BOOKING SUCCESS MODAL */

/* ==================================================
   FINAL DESKTOP APPLIANCE CARD FIX
   MATCH MOBILE DESIGN WITHOUT OVERFLOW
   KEEP AT THE ABSOLUTE BOTTOM OF STYLE.CSS
================================================== */

@media screen and (min-width: 769px) {

  /* Desktop grid */
  .calculator .appliance-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: start !important;
  }

  /* Main appliance card */
  .calculator .appliance {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 140px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 26px 16px 26px 78px !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 92px !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 5px !important;
    align-items: center !important;

    background: #ffffff !important;

    border: 1px solid #d9e5ef !important;
    border-radius: 17px !important;

    box-shadow:
      0 8px 22px rgba(15, 23, 42, 0.06) !important;

    overflow: hidden !important;
    cursor: default !important;

    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease !important;
  }

  .calculator .appliance:hover {
    border-color: #b9d4e9 !important;

    box-shadow:
      0 11px 27px rgba(15, 23, 42, 0.09) !important;

    transform: translateY(-2px) !important;
  }

  /* Left icon */
  .calculator .appliance::before {
    content: "≋" !important;

    position: absolute !important;
    top: 50% !important;
    left: 16px !important;

    width: 48px !important;
    height: 64px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #f3f7fa !important;
    color: #40546a !important;

    border-radius: 14px !important;

    font-family: Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    transform: translateY(-50%) !important;
  }

  /* Appliance name */
  .calculator .appliance > span {
    grid-column: 1 !important;
    grid-row: 1 !important;

    min-width: 0 !important;
    margin: 0 !important;

    color: #111827 !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  /* Wattage */
  .calculator .appliance > small {
    grid-column: 1 !important;
    grid-row: 2 !important;

    min-width: 0 !important;
    margin: 0 !important;

    color: #687789 !important;

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;

    white-space: normal !important;
  }

  /* Quantity controls */
  .calculator .appliance .controls {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;

    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;

    overflow: visible !important;
  }

  /* Plus and minus buttons */
  .calculator .appliance .controls button {
    flex: 0 0 30px !important;

    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ffffff !important;
    color: #111827 !important;

    border: 1px solid #bfd5e7 !important;
    border-radius: 50% !important;

    box-shadow:
      0 3px 8px rgba(15, 23, 42, 0.05) !important;

    font-family: Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    transition:
      background 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease !important;
  }

  .calculator .appliance .controls button:hover {
    background: #eef7ff !important;
    color: #0056b3 !important;
    border-color: #5798d0 !important;

    transform: translateY(-1px) !important;
  }

  .calculator .appliance .controls button:active {
    transform: scale(0.94) !important;
  }

  /* Quantity number */
  .calculator .appliance .controls input[type="number"] {
    flex: 0 0 24px !important;

    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    color: #111827 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 30px !important;
    text-align: center !important;

    outline: none !important;

    appearance: textfield !important;
    -moz-appearance: textfield !important;
  }

  .calculator .appliance .controls input[type="number"]::-webkit-inner-spin-button,
  .calculator .appliance .controls input[type="number"]::-webkit-outer-spin-button {
    margin: 0 !important;

    appearance: none !important;
    -webkit-appearance: none !important;
  }

  /* Hide details when quantity is zero */
  .calculator .appliance .details {
    display: none !important;
  }

  /* Expanded card after adding quantity */
  .calculator .appliance.active,
  .calculator .appliance.selected {
    grid-template-rows: auto auto auto !important;
    min-height: 250px !important;
  }

  /* Move icon upward when expanded */
  .calculator .appliance.active::before,
  .calculator .appliance.selected::before {
    top: 25px !important;
    transform: none !important;
  }

  /* Show Hours/day and Type after adding quantity */
  .calculator .appliance.active .details,
  .calculator .appliance.selected .details {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 22px 0 0 !important;
    padding: 20px 0 0 !important;

    display: block !important;

    border-top: 1px solid #e1eaf1 !important;
  }

  /* Detail rows */
  .calculator .appliance .details .hours,
  .calculator .appliance .details .type {
    width: 100% !important;

    margin: 0 0 13px !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .calculator .appliance .details .hours:last-child,
  .calculator .appliance .details .type:last-child {
    margin-bottom: 0 !important;
  }

  /* Detail labels */
  .calculator .appliance .details label {
    flex: 0 0 auto !important;

    margin: 0 !important;

    color: #25354a !important;

    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* Dropdowns */
  .calculator .appliance .details select {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 10px !important;

    background: #ffffff !important;
    color: #172033 !important;

    border: 1px solid #c7d8e7 !important;
    border-radius: 9px !important;

    box-shadow: none !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    outline: none !important;
    cursor: pointer !important;
  }

  .calculator .appliance .details select:focus {
    border-color: #0873cc !important;

    box-shadow:
      0 0 0 4px rgba(0, 86, 179, 0.08) !important;
  }
}

/* Two cards on medium desktop */
@media screen and (min-width: 769px) and (max-width: 1100px) {
  .calculator .appliance-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }
}

/* One card on narrow tablet */
@media screen and (min-width: 769px) and (max-width: 850px) {
  .calculator .appliance-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================
   FIX EXPANDED HOURS / TYPE AREA
   KEEP AT THE VERY BOTTOM OF STYLE.CSS
========================================== */

@media screen and (min-width: 769px) {

  /* Give the selected card enough vertical room */
  .calculator .appliance.active,
  .calculator .appliance.selected {
    min-height: 275px !important;
  }

  /* Make details span the full card width */
  .calculator .appliance.active .details,
  .calculator .appliance.selected .details {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;

    width: calc(100% + 62px) !important;
    max-width: none !important;

    margin:
      24px
      0
      0
      -62px !important;

    padding:
      20px
      0
      0 !important;

    display: block !important;

    border-top: 1px solid #e1eaf1 !important;
    overflow: visible !important;
  }

  /* Hours/day and Type rows */
  .calculator .appliance .details .hours,
  .calculator .appliance .details .type {
    width: 100% !important;

    margin: 0 0 14px !important;
    padding: 0 4px !important;

    display: grid !important;
    grid-template-columns:
      minmax(80px, 1fr)
      128px !important;

    align-items: center !important;
    gap: 14px !important;
  }

  .calculator .appliance .details .hours:last-child,
  .calculator .appliance .details .type:last-child {
    margin-bottom: 0 !important;
  }

  /* Labels stay on the left */
  .calculator .appliance .details label {
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;

    color: #25354a !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    white-space: nowrap !important;
  }

  /* Dropdown stays inside the card */
  .calculator .appliance .details select {
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 10px !important;

    justify-self: end !important;

    background: #ffffff !important;
    color: #172033 !important;

    border: 1px solid #c7d8e7 !important;
    border-radius: 9px !important;

    box-shadow: none !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    outline: none !important;
    cursor: pointer !important;
  }
}

/* END FIX EXPANDED HOURS / TYPE AREA */
/* END FINAL DESKTOP APPLIANCE CARD FIX */

/* Small Website Developer Advertisement */
.developer-credit {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 9px;

  max-width: 230px;
  padding: 9px 13px;

  background: rgba(10, 25, 47, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;

  font-family: inherit;
  font-size: 11px;
  line-height: 1.25;
  text-decoration: none;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  opacity: 0.82;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.developer-credit:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.developer-credit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 29px;
  height: 29px;

  background: #f5b800;
  color: #10233c;
  border-radius: 50%;

  font-size: 11px;
  font-weight: 800;
}

.developer-credit-text {
  color: rgba(255, 255, 255, 0.75);
}

.developer-credit-text strong {
  display: block;
  color: #ffffff;
  font-size: 12px;
}

/* Smaller version for mobile */
@media (max-width: 600px) {
  .developer-credit {
    left: 10px;
    bottom: 10px;
    max-width: none;
    padding: 7px;
  }

  .developer-credit-text {
    display: none;
  }

  .developer-credit-icon {
    width: 32px;
    height: 32px;
  }
}


/* PMLA end */

/* =========================================================
   SAFE SOLAR PH — MODERN PORTFOLIO PAGE
========================================================= */

/* ---------- Variables ---------- */

:root {
  --solar-navy: #062542;
  --solar-navy-dark: #031b31;
  --solar-blue: #005bbb;
  --solar-blue-light: #eaf4ff;
  --solar-yellow: #f4b400;
  --solar-yellow-hover: #d99f00;

  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #edf1f5;
  --gray-200: #dbe2ea;
  --gray-500: #667085;
  --gray-700: #344054;
  --gray-900: #101828;

  --container-width: 1220px;
  --border-radius: 18px;

  --shadow-small:
    0 5px 18px rgba(6, 37, 66, 0.08);

  --shadow-medium:
    0 18px 45px rgba(6, 37, 66, 0.13);

  --transition:
    0.25s ease;
}


/* ---------- General portfolio reset ---------- */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--gray-900);
  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

.section-container {
  width: min(
    calc(100% - 40px),
    var(--container-width)
  );

  margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  background: rgba(3, 27, 49, 0.97);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 6px 25px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-container {
  width: min(
    calc(100% - 40px),
    var(--container-width)
  );

  min-height: 84px;
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;

  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  width: 180px;
  height: 64px;
  object-fit: contain;
}

.brand-name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.main-navigation ul {
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 35px;

  list-style: none;
}

.main-navigation a {
  position: relative;

  display: inline-block;
  padding-block: 30px;

  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-decoration: none;

  transition:
    color var(--transition);
}

.main-navigation a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 20px;

  width: 0;
  height: 3px;

  background: var(--solar-yellow);
  border-radius: 999px;

  transition:
    width var(--transition);
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--solar-yellow);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  width: 100%;
}


/* ---------- Mobile menu button ---------- */

.mobile-menu-button {
  display: none;

  width: 46px;
  height: 46px;

  padding: 10px;

  background: transparent;
  border:
    1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;

  cursor: pointer;
}

.mobile-menu-button span {
  display: block;

  width: 100%;
  height: 2px;
  margin: 5px 0;

  background: var(--white);
  border-radius: 999px;

  transition:
    transform var(--transition),
    opacity var(--transition);
}

.mobile-menu-button.menu-open span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.mobile-menu-button.menu-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.menu-open span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* =========================================================
   PORTFOLIO HERO
========================================================= */

.portfolio-hero {
  position: relative;
  isolation: isolate;

  min-height: 620px;
  padding: 100px 20px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    url("IMG_1064.jpeg")
    center 48% / cover no-repeat;
}

.portfolio-hero::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(3, 27, 49, 0.96) 0%,
      rgba(3, 27, 49, 0.82) 42%,
      rgba(3, 27, 49, 0.35) 75%,
      rgba(3, 27, 49, 0.16) 100%
    );
}

.portfolio-hero-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;

  height: 180px;

  background:
    linear-gradient(
      to top,
      rgba(3, 27, 49, 0.42),
      transparent
    );
}

.portfolio-hero-content {
  width: min(
    calc(100% - 20px),
    var(--container-width)
  );

  margin-inline: auto;
  color: var(--white);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--solar-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.4;
}

.portfolio-hero .section-eyebrow {
  color: var(--solar-yellow);
}

.portfolio-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;

  color: var(--white);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.portfolio-hero p {
  max-width: 660px;
  margin: 0;

  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.75;
}

.portfolio-hero-actions {
  margin-top: 38px;

  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  padding: 15px 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  font-size: 15px;
  font-weight: 800;
  text-decoration: none;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.primary-button {
  background: var(--solar-yellow);
  color: var(--solar-navy-dark);

  box-shadow:
    0 12px 28px rgba(244, 180, 0, 0.24);
}

.primary-button:hover {
  background: var(--solar-yellow-hover);

  transform:
    translateY(-3px);

  box-shadow:
    0 18px 35px rgba(244, 180, 0, 0.3);
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);

  border:
    1px solid rgba(255, 255, 255, 0.55);

  backdrop-filter: blur(8px);
}

.secondary-button:hover {
  background: var(--white);
  color: var(--solar-navy-dark);

  transform:
    translateY(-3px);
}


/* =========================================================
   PORTFOLIO INTRO
========================================================= */

.portfolio-intro {
  padding: 95px 20px 46px;

  background: var(--white);
  text-align: center;
}

.portfolio-intro .section-container {
  max-width: 850px;
}

.portfolio-intro h2 {
  margin: 0 0 18px;

  color: var(--solar-navy-dark);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

.portfolio-intro p {
  max-width: 760px;
  margin: 0 auto;

  color: var(--gray-500);
  font-size: 17px;
  line-height: 1.8;
}


/* =========================================================
   PROJECTS SECTION
========================================================= */

.projects-section {
  padding: 35px 20px 110px;

  background:
    linear-gradient(
      180deg,
      var(--white) 0%,
      var(--gray-50) 18%,
      var(--gray-50) 100%
    );
}


/* ---------- Filters ---------- */

.project-filters {
  margin-bottom: 45px;
  padding: 9px;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-button {
  min-height: 44px;
  padding: 10px 19px;

  color: var(--gray-700);
  background: var(--white);

  border:
    1px solid var(--gray-200);
  border-radius: 999px;

  font: inherit;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 3px 10px rgba(6, 37, 66, 0.04);

  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.filter-button:hover {
  color: var(--solar-blue);
  border-color: var(--solar-blue);

  transform:
    translateY(-2px);
}

.filter-button.active {
  color: var(--white);
  background: var(--solar-blue);
  border-color: var(--solar-blue);

  box-shadow:
    0 8px 20px rgba(0, 91, 187, 0.22);
}


/* ---------- Grid ---------- */

.projects-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 28px;
}


/* ---------- Project card ---------- */

.project-card {
  min-width: 0;

  background: var(--white);
  border:
    1px solid var(--gray-100);
  border-radius: var(--border-radius);

  overflow: hidden;

  box-shadow: var(--shadow-small);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);

  animation:
    portfolioCardReveal
    0.48s ease both;
}

.project-card:hover {
  border-color:
    rgba(0, 91, 187, 0.16);

  transform:
    translateY(-8px);

  box-shadow: var(--shadow-medium);
}

.project-hidden {
  display: none;
}

@keyframes portfolioCardReveal {
  from {
    opacity: 0;
    transform:
      translateY(16px);
  }

  to {
    opacity: 1;
    transform:
      translateY(0);
  }
}


/* ---------- Project image ---------- */

.project-image-wrapper {
  position: relative;

  display: block;
  height: 285px;

  overflow: hidden;

  background: var(--gray-100);
}

.project-image-wrapper::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(3, 27, 49, 0.55) 0%,
      transparent 48%
    );

  pointer-events: none;
}

.project-image {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;

  transition:
    transform 0.55s ease;
}

.project-card:hover .project-image {
  transform:
    scale(1.07);
}

.project-status,
.project-capacity {
  position: absolute;
  z-index: 2;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35px;
}

.project-status {
  top: 17px;
  left: 17px;

  padding: 8px 13px;

  color: #11623a;
  background: rgba(236, 253, 243, 0.95);

  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.08);
}

.project-capacity {
  right: 17px;
  bottom: 17px;

  padding: 9px 14px;

  color: var(--solar-navy-dark);
  background: var(--solar-yellow);

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.16);
}


/* ---------- Project card content ---------- */

.project-card-content {
  padding: 25px;
}

.project-category {
  margin-bottom: 10px;

  color: var(--solar-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.project-card h3 {
  min-height: 58px;
  margin: 0 0 13px;

  color: var(--solar-navy-dark);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.project-card-content > p {
  min-height: 74px;
  margin: 0;

  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.75;
}

.project-card-footer {
  margin-top: 23px;
  padding-top: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  border-top:
    1px solid var(--gray-100);
}

.project-type {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 600;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--solar-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  transition:
    gap var(--transition),
    color var(--transition);
}

.project-link:hover {
  color: var(--solar-navy-dark);
  gap: 11px;
}


/* ---------- Empty state ---------- */

.projects-empty-state {
  display: none;

  max-width: 600px;
  margin: 60px auto 0;
  padding: 45px 30px;

  background: var(--white);
  border:
    1px solid var(--gray-100);
  border-radius: var(--border-radius);

  text-align: center;

  box-shadow: var(--shadow-small);
}

.projects-empty-state.show {
  display: block;
}

.projects-empty-state h3 {
  margin: 0 0 10px;

  color: var(--solar-navy-dark);
  font-size: 25px;
}

.projects-empty-state p {
  margin: 0;

  color: var(--gray-500);
}


/* =========================================================
   PORTFOLIO CTA
========================================================= */

.portfolio-cta {
  padding: 85px 20px;

  background:
    linear-gradient(
      125deg,
      var(--solar-navy-dark),
      var(--solar-blue)
    );

  color: var(--white);
}

.portfolio-cta-content {
  width: min(
    calc(100% - 20px),
    var(--container-width)
  );

  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.section-eyebrow-light {
  color: var(--solar-yellow);
}

.portfolio-cta h2 {
  max-width: 680px;
  margin: 0 0 16px;

  color: var(--white);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.portfolio-cta p {
  max-width: 690px;
  margin: 0;

  color: rgba(255, 255, 255, 0.77);
  font-size: 16px;
  line-height: 1.8;
}

.solar-cta-button {
  flex-shrink: 0;

  min-height: 58px;
  padding: 17px 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: var(--solar-navy-dark);
  background: var(--solar-yellow);

  border-radius: 11px;

  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2);

  transition:
    transform var(--transition),
    background var(--transition),
    gap var(--transition);
}

.solar-cta-button:hover {
  gap: 14px;

  background: var(--white);

  transform:
    translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #02182c;
  color: rgba(255, 255, 255, 0.78);
}

.footer-container {
  width: min(
    calc(100% - 40px),
    var(--container-width)
  );

  margin-inline: auto;
  padding: 75px 0 55px;

  display: grid;

  grid-template-columns:
    1.7fr
    1fr
    1fr
    1fr;

  gap: 45px;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 22px;

  color: var(--white);
  text-decoration: none;
}

.footer-logo img {
  width: 105px;
  height: 55px;
  object-fit: contain;
}

.footer-logo span {
  font-size: 20px;
  font-weight: 800;
}

.footer-brand p {
  margin: 0;

  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.8;
}

.footer-column h3 {
  margin: 0 0 22px;

  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.footer-column ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-column li + li {
  margin-top: 13px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  text-decoration: none;

  transition:
    color var(--transition),
    padding-left var(--transition);
}

.footer-column a:hover {
  padding-left: 4px;
  color: var(--solar-yellow);
}

.footer-bottom {
  width: min(
    calc(100% - 40px),
    var(--container-width)
  );

  margin-inline: auto;
  padding: 24px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  border-top:
    1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.6;
}

.developer-signature {
  text-align: right;
}

.developer-signature a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  text-decoration: none;

  transition:
    color var(--transition);
}

.developer-signature a:hover {
  color: var(--solar-yellow);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .brand-logo {
    width: 145px;
  }

  .brand-name {
    font-size: 20px;
  }

  .main-navigation ul {
    gap: 22px;
  }

  .projects-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .footer-container {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 820px) {

  .header-container {
    min-height: 75px;
  }

  .brand-logo {
    width: 115px;
    height: 52px;
  }

  .brand-name {
    font-size: 18px;
  }

  .mobile-menu-button {
    display: block;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    max-height: 0;

    overflow: hidden;

    background: var(--solar-navy-dark);

    opacity: 0;
    visibility: hidden;

    box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.2);

    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .main-navigation.menu-open {
    max-height: 430px;

    opacity: 1;
    visibility: visible;
  }

  .main-navigation ul {
    width: min(
      calc(100% - 40px),
      var(--container-width)
    );

    margin-inline: auto;
    padding: 15px 0 22px;

    display: block;
  }

  .main-navigation li {
    border-bottom:
      1px solid rgba(255, 255, 255, 0.08);
  }

  .main-navigation a {
    width: 100%;
    padding: 16px 4px;
  }

  .main-navigation a::after {
    display: none;
  }

  .portfolio-hero {
    min-height: 560px;
    padding: 85px 20px;

    background-position: 60% center;
  }

  .portfolio-hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(3, 27, 49, 0.96),
        rgba(3, 27, 49, 0.7)
      );
  }

  .portfolio-hero-content {
    width: 100%;
  }

  .portfolio-hero h1 {
    max-width: 650px;
    font-size: clamp(38px, 8vw, 56px);
  }

  .portfolio-hero p {
    font-size: 17px;
  }

  .portfolio-cta-content {
    width: 100%;

    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 650px) {

  .section-container {
    width: min(
      calc(100% - 28px),
      var(--container-width)
    );
  }

  .header-container {
    width: calc(100% - 28px);
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 92px;
    height: 45px;
  }

  .brand-name {
    font-size: 16px;
  }

  .portfolio-hero {
    min-height: 545px;
    padding: 70px 14px;
  }

  .portfolio-hero h1 {
    margin-bottom: 18px;

    font-size: 38px;
    letter-spacing: -0.8px;
  }

  .portfolio-hero p {
    font-size: 15px;
    line-height: 1.65;
  }

  .portfolio-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .portfolio-intro {
    padding: 70px 14px 35px;
  }

  .portfolio-intro h2 {
    font-size: 32px;
  }

  .portfolio-intro p {
    font-size: 15px;
  }

  .projects-section {
    padding: 25px 14px 80px;
  }

  .project-filters {
    justify-content: flex-start;

    flex-wrap: nowrap;
    overflow-x: auto;

    margin-right: -14px;
    margin-left: -14px;
    padding: 8px 14px 16px;

    scrollbar-width: none;
  }

  .project-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex-shrink: 0;
  }

  .projects-grid {
    grid-template-columns:
      minmax(0, 1fr);

    gap: 22px;
  }

  .project-image-wrapper {
    height: 250px;
  }

  .project-card h3 {
    min-height: auto;
    font-size: 20px;
  }

  .project-card-content > p {
    min-height: auto;
  }

  .project-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-cta {
    padding: 68px 14px;
  }

  .portfolio-cta h2 {
    font-size: 32px;
  }

  .solar-cta-button {
    width: 100%;
  }

  .footer-container {
    width: calc(100% - 28px);
    padding: 60px 0 40px;

    grid-template-columns:
      minmax(0, 1fr);

    gap: 35px;
  }

  .footer-bottom {
    width: calc(100% - 28px);

    align-items: flex-start;
    flex-direction: column;
  }

  .developer-signature {
    text-align: left;
  }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.primary-button:focus-visible,
.secondary-button:focus-visible,
.solar-cta-button:focus-visible,
.project-link:focus-visible,
.filter-button:focus-visible,
.mobile-menu-button:focus-visible,
.main-navigation a:focus-visible {
  outline:
    3px solid var(--solar-yellow);

  outline-offset: 4px;
}

/* =========================================================
   SAFE SOLAR PH — PREMIUM PROJECT DETAIL PAGES
========================================================= */

.project-page {
  background: #ffffff;
}


/* =========================================================
   PROJECT HERO
========================================================= */

.project-hero {
  position: relative;
  isolation: isolate;

  min-height: 650px;
  padding: 80px 20px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  background:
    var(--project-hero-image)
    center / cover no-repeat;
}

.project-hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    var(--project-hero-image)
    center / cover no-repeat;

  transform: scale(1.02);
}

.project-hero::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(2, 24, 44, 0.98) 0%,
      rgba(2, 24, 44, 0.88) 38%,
      rgba(2, 24, 44, 0.52) 70%,
      rgba(2, 24, 44, 0.3) 100%
    );
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      to top,
      rgba(2, 24, 44, 0.8) 0%,
      transparent 52%
    );
}

.project-hero-container {
  width: min(
    calc(100% - 20px),
    var(--container-width)
  );

  margin-inline: auto;
}

.project-back-link {
  width: fit-content;
  margin-bottom: 45px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition:
    color var(--transition),
    gap var(--transition);
}

.project-back-link:hover {
  gap: 14px;
  color: var(--solar-yellow);
}

.project-hero-content {
  max-width: 830px;
}

.project-hero-eyebrow {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 9px 15px;

  color: var(--solar-navy-dark);
  background: var(--solar-yellow);

  border-radius: 999px;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.25px;
}

.project-hero h1 {
  margin: 0 0 24px;

  color: #ffffff;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -2px;
}

.project-hero-content > p {
  max-width: 720px;
  margin: 0;

  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.project-hero-tags {
  margin-top: 32px;

  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.project-hero-tags span {
  padding: 10px 15px;

  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);

  border:
    1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  backdrop-filter: blur(9px);
}


/* =========================================================
   SHARED PROJECT CONTAINER
========================================================= */

.project-container {
  width: min(
    calc(100% - 40px),
    var(--container-width)
  );

  margin-inline: auto;
}


/* =========================================================
   PROJECT OVERVIEW
========================================================= */

.project-overview-section {
  padding: 105px 20px;

  background: #ffffff;
}

.project-overview-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(320px, 0.75fr);

  align-items: start;
  gap: 75px;
}

.project-overview-content h2 {
  max-width: 720px;
  margin: 0 0 25px;

  color: var(--solar-navy-dark);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -1.3px;
}

.project-overview-content > p {
  max-width: 760px;
  margin: 0 0 20px;

  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.9;
}

.project-overview-content .project-intro-text {
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.85;
}

.project-benefits {
  margin-top: 42px;

  display: grid;
  gap: 16px;
}

.project-benefit-item {
  padding: 20px;

  display: flex;
  align-items: flex-start;
  gap: 16px;

  background: var(--gray-50);

  border:
    1px solid var(--gray-100);
  border-radius: 14px;

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.project-benefit-item:hover {
  transform: translateX(5px);

  border-color:
    rgba(0, 91, 187, 0.2);

  box-shadow: var(--shadow-small);
}

.benefit-icon {
  width: 37px;
  height: 37px;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  color: var(--solar-navy-dark);
  background: var(--solar-yellow);

  border-radius: 50%;

  font-size: 16px;
  font-weight: 900;
}

.project-benefit-item h3 {
  margin: 0 0 5px;

  color: var(--solar-navy-dark);
  font-size: 16px;
  font-weight: 800;
}

.project-benefit-item p {
  margin: 0;

  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   PROJECT DETAILS CARD
========================================================= */

.project-details-card {
  position: sticky;
  top: 115px;

  padding: 33px;

  background:
    linear-gradient(
      145deg,
      var(--solar-navy-dark),
      var(--solar-navy)
    );

  border:
    1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;

  color: #ffffff;

  box-shadow:
    0 25px 55px rgba(3, 27, 49, 0.24);
}

.project-details-label {
  display: block;
  margin-bottom: 10px;

  color: var(--solar-yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
}

.project-details-card h2 {
  margin: 0 0 25px;

  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
}

.project-detail-list {
  border-top:
    1px solid rgba(255, 255, 255, 0.12);
}

.project-detail-item {
  padding: 18px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.12);
}

.detail-name {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.project-detail-item strong {
  color: #ffffff;
  font-size: 14px;
  text-align: right;
}

.project-detail-item .detail-status {
  padding: 7px 11px;

  color: #b7f7d2;
  background: rgba(18, 183, 106, 0.17);

  border-radius: 999px;

  font-size: 11px;
}

.project-quote-button {
  width: 100%;
  min-height: 54px;
  margin-top: 27px;
  padding: 15px 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: var(--solar-navy-dark);
  background: var(--solar-yellow);

  border-radius: 10px;

  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;

  transition:
    transform var(--transition),
    background var(--transition),
    gap var(--transition);
}

.project-quote-button:hover {
  gap: 13px;

  background: #ffffff;

  transform: translateY(-3px);
}


/* =========================================================
   FEATURED PROJECT IMAGE
========================================================= */

.project-feature-section {
  padding: 0 20px 110px;

  background: #ffffff;
}

.project-feature-image {
  position: relative;

  height: min(70vw, 720px);

  overflow: hidden;

  border-radius: 24px;

  box-shadow:
    0 25px 65px rgba(3, 27, 49, 0.16);
}

.project-feature-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(2, 24, 44, 0.76) 0%,
      transparent 46%
    );

  pointer-events: none;
}

.project-feature-image img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

.project-feature-caption {
  position: absolute;
  left: 35px;
  right: 35px;
  bottom: 30px;
  z-index: 2;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}

.project-feature-caption div {
  display: grid;
  gap: 7px;
}

.project-feature-caption div > span {
  color: var(--solar-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.project-feature-caption strong {
  color: #ffffff;
  font-size: clamp(20px, 3vw, 32px);
}

.completed-badge {
  flex-shrink: 0;

  padding: 10px 15px;

  color: #12633b;
  background: rgba(236, 253, 243, 0.95);

  border-radius: 999px;

  font-size: 12px;
  font-weight: 900;
}


/* =========================================================
   PROJECT GALLERY
========================================================= */

.project-gallery-section {
  padding: 105px 20px;

  background: var(--gray-50);
}

.project-section-heading {
  margin-bottom: 45px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.project-section-heading h2 {
  max-width: 650px;
  margin: 0;

  color: var(--solar-navy-dark);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -1.1px;
}

.project-section-heading > p {
  max-width: 440px;
  margin: 0;

  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.8;
}

.project-gallery-grid {
  display: grid;

  grid-template-columns:
    1.35fr
    1fr;

  grid-template-rows:
    repeat(2, 280px);

  gap: 20px;
}

.project-gallery-item {
  position: relative;

  width: 100%;
  height: 100%;
  padding: 0;

  overflow: hidden;

  background: var(--gray-100);

  border: 0;
  border-radius: 18px;

  cursor: zoom-in;
}

.project-gallery-large {
  grid-row: 1 / 3;
}

.project-gallery-item::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(2, 24, 44, 0.48),
      transparent 45%
    );

  opacity: 0;

  transition: opacity var(--transition);
}

.project-gallery-item img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;

  transition: transform 0.55s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.06);
}

.project-gallery-item:hover::after {
  opacity: 1;
}

.gallery-view-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  color: var(--solar-navy-dark);
  background: var(--solar-yellow);

  border-radius: 50%;

  font-size: 25px;

  opacity: 0;

  transform:
    scale(0.75)
    translateY(8px);

  transition:
    opacity var(--transition),
    transform var(--transition);
}

.project-gallery-item:hover .gallery-view-icon {
  opacity: 1;

  transform:
    scale(1)
    translateY(0);
}


/* =========================================================
   INSTALLATION PROCESS
========================================================= */

.project-process-section {
  padding: 105px 20px;

  background: #ffffff;
}

.project-heading-centered {
  justify-content: center;
  text-align: center;
}

.project-heading-centered h2 {
  max-width: 780px;
}

.project-process-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 20px;
}

.project-process-card {
  position: relative;

  min-height: 260px;
  padding: 30px 25px;

  overflow: hidden;

  background: #ffffff;

  border:
    1px solid var(--gray-100);
  border-radius: 17px;

  box-shadow: var(--shadow-small);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.project-process-card:hover {
  transform: translateY(-7px);

  border-color:
    rgba(0, 91, 187, 0.2);

  box-shadow: var(--shadow-medium);
}

.process-number {
  display: block;
  margin-bottom: 38px;

  color: var(--solar-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.project-process-card h3 {
  margin: 0 0 13px;

  color: var(--solar-navy-dark);
  font-size: 20px;
  font-weight: 850;
}

.project-process-card p {
  margin: 0;

  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.75;
}

.project-process-card::after {
  content: "";

  position: absolute;
  right: -25px;
  bottom: -25px;

  width: 90px;
  height: 90px;

  background:
    rgba(244, 180, 0, 0.1);

  border-radius: 50%;
}


/* =========================================================
   PROJECT CTA
========================================================= */

.project-cta-section {
  padding: 30px 20px 110px;

  background: #ffffff;
}

.project-cta-card {
  padding: 65px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;

  overflow: hidden;

  background:
    linear-gradient(
      130deg,
      var(--solar-navy-dark),
      var(--solar-blue)
    );

  border-radius: 24px;

  box-shadow:
    0 25px 60px rgba(3, 27, 49, 0.2);
}

.project-cta-content {
  max-width: 700px;
}

.project-cta-content h2 {
  margin: 0 0 17px;

  color: #ffffff;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 850;
  line-height: 1.13;
  letter-spacing: -1px;
}

.project-cta-content p {
  max-width: 620px;
  margin: 0;

  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

.project-cta-actions {
  flex-shrink: 0;

  display: grid;
  gap: 12px;
}

.project-primary-button,
.project-secondary-button {
  min-width: 230px;
  min-height: 54px;
  padding: 15px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border-radius: 10px;

  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    gap var(--transition);
}

.project-primary-button {
  color: var(--solar-navy-dark);
  background: var(--solar-yellow);
}

.project-primary-button:hover {
  gap: 13px;
  background: #ffffff;

  transform: translateY(-3px);
}

.project-secondary-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);

  border:
    1px solid rgba(255, 255, 255, 0.32);
}

.project-secondary-button:hover {
  color: var(--solar-navy-dark);
  background: #ffffff;

  transform: translateY(-3px);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;

  padding: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(1, 13, 25, 0.94);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity var(--transition),
    visibility var(--transition);

  backdrop-filter: blur(12px);
}

.project-lightbox.show {
  opacity: 1;
  visibility: visible;
}

.project-lightbox img {
  max-width: min(1100px, 95vw);
  max-height: 85vh;

  object-fit: contain;

  border-radius: 14px;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.55);

  transform: scale(0.92);

  transition: transform 0.3s ease;
}

.project-lightbox.show img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;

  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);

  border:
    1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.lightbox-close:hover {
  color: var(--solar-navy-dark);
  background: var(--solar-yellow);

  transform: rotate(90deg);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .project-overview-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .project-details-card {
    position: static;
  }

  .project-process-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .project-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-cta-actions {
    width: 100%;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .project-container {
    width: calc(100% - 28px);
  }

  .project-hero {
    min-height: 590px;
    padding: 65px 14px;
  }

  .project-hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(2, 24, 44, 0.97),
        rgba(2, 24, 44, 0.65)
      );
  }

  .project-hero-container {
    width: 100%;
  }

  .project-back-link {
    margin-bottom: 38px;
  }

  .project-hero h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .project-hero-content > p {
    font-size: 15px;
    line-height: 1.7;
  }

  .project-overview-section {
    padding: 75px 14px;
  }

  .project-overview-content h2 {
    font-size: 34px;
  }

  .project-overview-content .project-intro-text {
    font-size: 16px;
  }

  .project-details-card {
    padding: 27px 22px;
  }

  .project-feature-section {
    padding: 0 14px 75px;
  }

  .project-feature-image {
    height: 480px;
    border-radius: 17px;
  }

  .project-feature-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;

    align-items: flex-start;
    flex-direction: column;
  }

  .project-gallery-section {
    padding: 75px 14px;
  }

  .project-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .project-section-heading h2 {
    font-size: 34px;
  }

  .project-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .project-gallery-large {
    grid-row: auto;
  }

  .project-gallery-item {
    height: 310px;
  }

  .gallery-view-icon {
    opacity: 1;

    transform:
      scale(1)
      translateY(0);
  }

  .project-process-section {
    padding: 75px 14px;
  }

  .project-process-grid {
    grid-template-columns: 1fr;
  }

  .project-process-card {
    min-height: auto;
  }

  .project-cta-section {
    padding: 10px 14px 75px;
  }

  .project-cta-card {
    padding: 42px 24px;
    border-radius: 18px;
  }

  .project-cta-content h2 {
    font-size: 34px;
  }

  .project-cta-actions {
    grid-template-columns: 1fr;
  }

  .project-primary-button,
  .project-secondary-button {
    width: 100%;
    min-width: 0;
  }

  .project-lightbox {
    padding: 20px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
  }

}


/* =========================================================
   HOME PAGE — RECENT PROJECTS
========================================================= */

.home-projects {
  padding: 105px 20px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f6f8fb 100%
    );
}

.home-projects-container {
  width: min(
    calc(100% - 20px),
    1220px
  );

  margin-inline: auto;
}


/* ---------- Heading ---------- */

.home-projects-heading {
  margin-bottom: 48px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.home-projects-heading h2 {
  max-width: 650px;
  margin: 0;

  color: #031b31;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.3px;
}

.home-projects-heading-right {
  max-width: 480px;
}

.home-projects-heading-right p {
  margin: 0 0 18px;

  color: #667085;
  font-size: 15px;
  line-height: 1.8;
}

.view-all-projects {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: #005bbb;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.view-all-projects:hover {
  gap: 14px;
  color: #031b31;
}


/* ---------- Project grid ---------- */

.home-projects-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 28px;
}


/* ---------- Project card ---------- */

.home-project-card {
  min-width: 0;

  overflow: hidden;

  background: #ffffff;

  border:
    1px solid #edf1f5;
  border-radius: 19px;

  box-shadow:
    0 8px 25px rgba(3, 27, 49, 0.08);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.home-project-card:hover {
  transform: translateY(-9px);

  border-color:
    rgba(0, 91, 187, 0.18);

  box-shadow:
    0 24px 55px rgba(3, 27, 49, 0.15);
}


/* ---------- Project image ---------- */

.home-project-image {
  position: relative;

  display: block;
  height: 330px;

  overflow: hidden;

  background: #edf1f5;
}

.home-project-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(3, 27, 49, 0.63) 0%,
      transparent 52%
    );

  pointer-events: none;
}

.home-project-image img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;

  transition:
    transform 0.6s ease;
}

.home-project-card:hover .home-project-image img {
  transform: scale(1.07);
}


/* ---------- Badges ---------- */

.home-project-status,
.home-project-capacity {
  position: absolute;
  z-index: 3;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.home-project-status {
  top: 17px;
  left: 17px;

  padding: 8px 13px;

  color: #12633b;
  background: rgba(236, 253, 243, 0.96);

  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.1);
}

.home-project-capacity {
  right: 17px;
  bottom: 17px;

  padding: 9px 14px;

  color: #031b31;
  background: #f4b400;

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.15);
}


/* ---------- Hover overlay ---------- */

.home-project-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(3, 27, 49, 0.58);

  opacity: 0;

  transition:
    opacity 0.28s ease;
}

.home-project-overlay span {
  padding: 13px 18px;

  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: #031b31;
  background: #f4b400;

  border-radius: 10px;

  font-size: 13px;
  font-weight: 900;

  transform: translateY(12px);

  transition:
    transform 0.28s ease;
}

.home-project-card:hover .home-project-overlay {
  opacity: 1;
}

.home-project-card:hover .home-project-overlay span {
  transform: translateY(0);
}


/* ---------- Content ---------- */

.home-project-content {
  padding: 25px;
}

.home-project-category {
  display: block;
  margin-bottom: 10px;

  color: #005bbb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.home-project-content h3 {
  min-height: 58px;
  margin: 0 0 13px;

  color: #031b31;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.home-project-content > p {
  min-height: 77px;
  margin: 0;

  color: #667085;
  font-size: 14px;
  line-height: 1.75;
}


/* ---------- Footer ---------- */

.home-project-footer {
  margin-top: 22px;
  padding-top: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  border-top:
    1px solid #edf1f5;
}

.home-project-footer > span {
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.home-project-footer a {
  color: #005bbb;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  transition:
    color 0.25s ease;
}

.home-project-footer a:hover {
  color: #031b31;
}


/* ---------- Mobile view button ---------- */

.home-projects-mobile-button {
  display: none;
  margin-top: 35px;
}

.home-projects-main-button {
  min-height: 54px;
  padding: 15px 22px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: #031b31;
  background: #f4b400;

  border-radius: 10px;

  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .home-projects-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .home-projects-heading-right {
    max-width: 700px;
  }

  .home-projects-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

  .home-projects {
    padding: 75px 14px;
  }

  .home-projects-container {
    width: 100%;
  }

  .home-projects-heading {
    margin-bottom: 35px;
  }

  .home-projects-heading h2 {
    font-size: 34px;
  }

  .home-projects-heading-right p {
    font-size: 14px;
  }

  .view-all-projects {
    display: none;
  }

  .home-projects-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-project-image {
    height: 300px;
  }

  .home-project-content h3,
  .home-project-content > p {
    min-height: auto;
  }

  .home-project-overlay {
    display: none;
  }

  .home-projects-mobile-button {
    display: block;
  }

}

/* =========================================
   REFINED CONTACT SECTION
========================================= */

.contact-section {
  padding: 100px 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 196, 0, 0.12),
      transparent 35%
    ),
    #f7f9fc;
}

.contact-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.contact-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #e5a900;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact-heading h2 {
  margin: 0 0 16px;
  color: #031b31;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}

.contact-heading p {
  max-width: 650px;
  margin: 0;
  color: #5d6b7a;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

/* LEFT CONTACT DETAILS */

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-detail-card {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 125px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(3, 27, 49, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(3, 27, 49, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.contact-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 190, 0, 0.4);
  box-shadow: 0 18px 40px rgba(3, 27, 49, 0.12);
}

.contact-icon {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  place-items: center;
  background: #fff3c7;
  border-radius: 16px;
  color: #031b31;
  font-size: 1.35rem;
  font-weight: 700;
}

.contact-detail-card div:last-child {
  min-width: 0;
}

.contact-detail-card span {
  display: block;
  margin-bottom: 7px;
  color: #7b8794;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-detail-card a,
.contact-detail-card p {
  margin: 0;
  color: #031b31;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-detail-card a:hover {
  color: #d89e00;
}

/* RIGHT SOCIAL CARD */

.contact-connect-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.05),
      transparent
    ),
    #173754;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(3, 27, 49, 0.18);
}

.contact-connect-label {
  display: block;
  margin-bottom: 13px;
  color: #ffc400;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-connect-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-connect-card > p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.contact-social-links {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.contact-social-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.contact-social-btn:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 196, 0, 0.55);
}

.contact-social-btn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.contact-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background: #ffc400;
  border-radius: 12px;
  color: #031b31;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-main-btn:hover {
  transform: translateY(-2px);
  background: #ffd23f;
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.25);
}

/* TABLET */

@media (max-width: 900px) {
  .contact-section {
    padding: 80px 20px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-connect-card {
    padding: 36px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .contact-section {
    padding: 65px 16px;
  }

  .contact-heading {
    margin-bottom: 32px;
  }

  .contact-heading h2 {
    font-size: 2.45rem;
  }

  .contact-heading p {
    font-size: 0.94rem;
  }

  .contact-detail-card {
    align-items: flex-start;
    min-height: auto;
    padding: 22px 18px;
    border-radius: 15px;
  }

  .contact-icon {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
    border-radius: 13px;
    font-size: 1.1rem;
  }

  .contact-detail-card a,
  .contact-detail-card p {
    font-size: 0.92rem;
  }

  .contact-connect-card {
    padding: 28px 20px;
    border-radius: 17px;
  }

  .contact-connect-card h3 {
    font-size: 1.65rem;
  }

  .contact-social-btn {
    padding: 13px 14px;
  }

  .contact-main-btn {
    padding: 15px;
  }
}