* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --header-height: 130px;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: var(--header-height);
  line-height: 1.6;
}

/* NAVBAR */
header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 8% .2rem;
}

nav div .logo {
  width: 130px;
  height: auto
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #0F172A;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #28a745;
  text-decoration-line: underline;
  text-decoration-color: #28a745;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #28a745;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

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

  .nav-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    transform: translateY(-200%);
    transition: 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-13px) translateX(4px)
}


/* SECTION DIVIDER */
.section-divider {
  height: 60px;
  background: #cbe0f5;
  /* light background */
  width: 100%;
}

/* HERO SECTION */
.hero {
  /* padding-top: 5%; */
  min-height: 100vh;
}

/* Top row layout */
.hero-top {
  padding: 80px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  /* margin-bottom: 50px; */
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* LEFT CONTENT */
.hero-content {
  padding: 2% 8%;
  display: flex;
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0.1)), url(./assets/hero-bg.png);
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  min-height: calc(100vh - 130px);
}

.hero-content .text-rotator {
  text-align: left;
}

.hero-top-text {
  color: #00506b;
  line-height: 1;
  font-weight: 500;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 5%;
}

h2.hero-top-text-size-2 {
  font-size: 35px;
  font-weight: 700;
}

.hero h1 {
  color: #333;
  margin-bottom: 30px;
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 50px;
}

.hero p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* STATS */
.stats {
  display: flex;
  flex-direction: column;
}

.stat h2 {
  font-size: 40px;
  color: #3aa6b9;
  font-weight: 700;
}

.stat p {
  font-size: 18px;
  font-weight: 600;
  color: #444;
}

/* Initial hidden state */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.slide-left {
  transform: translateX(-60px);
}

.slide-left.show {
  transform: translateX(0);
}

/* BUTTON */
.cta-btn {
  padding: 15px 35px;
  background: #3aa6b9;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #2d8e9e;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* RIGHT SIDE IMAGE AREA */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Animation Modern Startup */
/* Smooth base animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger delays */
.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.8s;
}

/* Responsive */
@media(max-width: 992px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    text-align: center;
  }

  .hero-top {
    flex-direction: column;
    text-align: center;
  }

  .hero-top-text,
  .hero-content .text-rotator {
    text-align: center;
  }

  .stats {
    justify-content: center;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-image {
    margin-top: 50px;
    display: none;
  }

  .email-box {
    justify-content: center;
  }
} @media(max-width: 768px) {
  .hero-content{
    min-height: auto;
    height: auto;
  }
  .stats {
    justify-content: center;
  }
}

@media(max-width: 480px) {
  .hero {
    margin-top: 8px;
    flex-direction: column;
    text-align: center;
  }
  .stats {
    justify-content: center;
  }
}

.text-rotator {
  position: relative;
  height: 1.8em;
  overflow: hidden;
  font-size: 40px;
  font-weight: 700;
  color: #2ecc71;
  text-align: center;

  display: flex;
  align-items: flex-start;
  /* IMPORTANT */
  margin-top: -36px;
}

/* words */
.text-rotator span {
  position: absolute;
  /* top: 0; */
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(40px) rotateX(90deg);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* active word */
.text-rotator span.active {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* Active Text */
.text-rotator span.present {
  opacity: 1;
  transform: rotateX(0deg) scale(1);
}

/* Exit animation (optional smoother removal) */
.text-rotator span.exit {
  opacity: 0;
  transform: rotateX(-90deg) scale(0.95);
}

/* CONTAINER */
.feature-background {
  width: 100%;
  background-color: #cbe0f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.features-wrapper {
  max-width: 1200px;
  margin-top: 80px;
  margin-bottom: 80px;
  /* margin:auto; */
  background: #fff;
  padding: 50px 60px;
  border-radius: 20px;
  display: flex;
  gap: 40px;
}

/* CARD */
.feature-card {
  text-align: left;
  height: auto;
  display: block;
}

.normal-text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  /* cursor: pointer; */
}

.normal-text:hover {
  color: #28a745;
}

.feature-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.highlighted-text {
  /* cursor: pointer; */
  color: #fff;
}

.highlighted-text:hover {
  color: #000;
}

/* ICON STYLE */
.icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

/* Different icon colors */
.r-icon {
  fill: #6c4cff;
}

.hand-icon {
  fill: #2979ff;
}

.pen-icon {
  width: 36px;
  height: 36px;
  fill: rgb(249, 101, 126);
}

.tick-icon {
  fill: #28a745;
}

.icon-purple {
  /* background: #e8e0ff; */
  color: #6c4cff;
}

.icon-blue {
  /* background: #e0efff; */
  color: #2979ff;
}

.icon-green {
  /* background: #e6f9e8; */
  color: #28a745;
}

.elementor-icon {
  fill: #FFFFFF;
  color: #000;
  border-color: #FFFFFF;
}

/* Highlighted Card */
.feature-highlight {
  background: #41a8b6;
  padding: 30px;
  border-radius: 15px;
  color: white;
}

.feature-highlight h3,
.feature-highlight p {
  color: white;
}

.feature-highlight .icon {
  background: white;
  color: #ff4fa3;
}

/* RESPONSIVE */
@media(max-width:1000px) {
  .features-wrapper {
    flex-direction: column;
    margin-top: 50px;
  }
}

@media(max-width:600px) {
  .features-wrapper {
    flex-direction: column;
    padding: 30px;
  }
}

/* Hero cards container styles ends */

/* About Section starts */
.about {
  padding: 100px 8% 0;
  background: #f4f6f8;
}

.about .text-rotator {
  color: #01516c;
}

.about-container {
  text-align: left;
  /* margin-bottom: 80px; */
}

/* LEFT IMAGE */
.about-image {
  flex: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  object-fit: cover;
}

/* RIGHT CONTENT */
.about-content {
  flex: 2;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

/* ACTIVE CLASS WHEN SCROLLED */
.about-image.show {
  opacity: 1;
  transform: translateY(0);
}

.about-content.show {
  opacity: 1;
  transform: translateX(0);
}

.about-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #2b2b2b;
  text-align: center;
}

.about-title span {
  color: #2C5C97;
}

.about-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: center;
}

.about-content strong {
  font-weight: 700;
  color: #2b2b2b;
}

/* BUTTON */
.about-btn {
  padding: 14px 30px;
  background: #28a745;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.about-btn:hover {
  background: #157e8b;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
 .about {
    padding: 70px 6% 0;
  }

  .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-title {
    font-size: 42px;
  }

  .about-image img {
    max-width: 300px;
  }
} @media (max-width: 600px) {
    .about {
    padding: 40px 5% 0;
  }
} @media (max-width: 480px) {
    .about {
    padding: 25px 3% 0;
  }
}

.team-container {
  max-width: 1200px;
  min-height: 100vh;
  margin-bottom: 80px;
}

.team-header h2 {
  font-size: 48px;
  font-weight: 800;
  color: #28a745;
  /* orange title */
  margin-bottom: 20px;
  text-align: center;
}

.team-header p {
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD */
.team-card {
  text-align: center;
}

.team-img {
  border: 2px solid #c9d9e8;
  border-radius: 16px;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.team-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: fill;
}

.team-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #222;
}

.role {
  display: block;
  color: #1e90ff;
  font-size: 15px;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Hover Effect */
.team-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-header h2 {
    font-size: 36px;
  }
}

/* Social Icons Container */
.social-icons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Social Button */
.social-icons a {
  width: 40px;
  height: 40px;
  background: #008ea1;
  /* yellow */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 16px;
  transition: 0.3s ease;
  text-decoration: none;
}

/* Hover Effect */
.social-icons a:hover {
  background: #027685;
  transform: translateY(-4px);
}

/* About seciton ends */


/* Services Section Starts */

.services {
  padding: 0;
  width: 100%;
}

/* LEFT SIDE */
.services-left {
  flex: 1.2;
}

.services-left h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #2a2a2a;
}

.services-description {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 50px;
}

/* CARDS */
.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: #e9edf1;
  padding: 30px;
  border-radius: 16px;
  transition: 0.3s ease;
}

.service-card h3 {
  margin-bottom: 15px;
  color: #1e7d8f;
  font-size: 20px;
}

.service-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.service-card .icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #2f3e46;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 14px;
}

.service-card.highlight {
  background: #2C5C97;
  color: white;
}

.service-card.highlight h3,
.service-card.highlight p {
  color: white;
}

.service-card.highlight .icon {
  background: white;
  color: #2C5C97;
}

/* RIGHT SIDE */
.services-right {
  flex: 1;
}

.solar-collage {
  width: 100%;
  height: 80%;
  /* background: url('assets/solar-collage.jpg') center/cover no-repeat; */
  border-radius: 16px;
}

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

.image-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  transition: 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-container {
    flex-direction: column;
  }

  .image-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .services-cards {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-left h2 {
    font-size: 36px;
  }
}

.cta-section {
  position: relative;
  width: 100%;
  background: url("assets/solarjoin.jpeg") center/cover no-repeat;
  /* padding: 120px 8%; */
  color: white;
  text-align: center;
  overflow: hidden;
}

/* Dark overlay */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Content on top */
.cta-content {
  position: relative;
  z-index: 2;
  /* max-width: 1100px; */
  margin: auto;
}

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

.cta-content p {
  font-size: 18px;
  max-width: 850px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
  opacity: 0.95;
}

/* Stats */
.cta-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat span {
  font-size: 18px;
  font-weight: 500;
}

/* Vertical divider */
.divider {
  width: 2px;
  height: 80px;
  background: #27c0d8;
}

/* Responsive */
@media (max-width: 992px) {
  .cta-content h2 {
    font-size: 36px;
  }

  .cta-stats {
    flex-direction: column;
    gap: 40px;
  }

  .divider {
    display: none;
  }
}


/* Services Section Ends */

#about,
#contact {
  background: #f9f9f9;
}

.section-content {
  max-width: 900px;
}

.services-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.sub-heading {
  font-size: 40px;
  color: #fff;

}


.contact-section {
  padding: 80px 8%;
  background: #fff !important;
}

/* TOP CARDS */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.office-info-card {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("assets/project.jpg") center/cover;
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.office-svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  color: #fff;
  margin-bottom: 15px;
}

.office-info-card h4 {
  color: #2C5C97;
  margin-bottom: 10px;
}

.phone-info-card {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("assets/solarjoin.jpeg") center/cover;
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.phone-svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  color: #fff;
  margin-bottom: 15px;
}

.phone-info-card h4 {
  color: #2C5C97;
  margin-bottom: 10px;
}

.email-info-card {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("assets/project-5.jpg") center/cover;
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.email-svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  color: #fff;
  margin-bottom: 15px;
}

.email-info-card h4 {
  color: #2C5C97;
  margin-bottom: 10px;
}

.working-hour-card {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("assets/solarpanel.jpg") center/cover;
  color: #fff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.clock-svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  color: #fff;
  margin-bottom: 15px;
}

.working-hour-card h4 {
  color: #2C5C97;
  margin-bottom: 10px;
}

/* MAIN LAYOUT */
.contact-container {
  display: flex;
  gap: 60px;
}

.contact-left {
  flex: 2;
}

.contact-left h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.contact-left p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.office-info strong {
  display: block;
  margin-top: 15px;
  color: #00506b;
}

.rating-box {
  margin-top: 25px;
  background: white;
  border-radius: 10px;
  font-size: 14px;
}

.rating-box span {
  display: block;
  font-size: 12px;
  color: #777;
}



/* RESPONSIVE */
@media (max-width: 1100px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  max-width: 500px;
}

input,
textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

footer {
  border-top: 1px solid #ddd;
}

.footer-container {
  height: 35vh;
  padding: 50px 8%;
  display: grid;
  background: #fff;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  align-items: start;
}

/* Logo */
.footer-logo img {
  max-width: 250px;
}

/* Links */
.footer-links h3,
.footer-newsletter h3 {
  color: #008ea1;
  margin-bottom: 15px;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: #555;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #008ea1;
}

/* Newsletter */
.footer-newsletter p {
  color: #666;
  margin-bottom: 15px;
}

.newsletter-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.newsletter-box input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.newsletter-box button {
  background: #008ea1;
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.newsletter-box button:hover {
  background: #007080;
}

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

.social-icons a {
  background: #008ea1;
  color: white;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  text-decoration: none;
}

.footer-bottom {
  background: #008ea1;
  color: #fff;
  font-size: 16px;
  display: flex;
  height: 35px;
  ;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width:900px) {

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

}

@media (max-width:600px) {

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

  .footer-logo {
    text-align: center;
  }

}

@media (max-width: 768px) {
  nav ul {
    gap: 15px;
  }

  #home h1 {
    font-size: 2rem;
  }
}

/* LEFT SIDE */
.process-left {
  flex: 2;
}

.process-intro {
  margin-bottom: 40px;
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

.process-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.process-item .icon {
  font-size: 28px;
  min-width: 40px;
}

.process-item h3 {
  margin-bottom: 8px;
  color: #28a745;
  font-size: 20px;
}

.process-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.process-btn {
  margin-top: 20px;
  padding: 12px 28px;
  background: #00506b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.process-btn:hover {
  background: #244a6e;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-top {
    flex-direction: column;
  }

  .hero-image {
    margin-top: 40px;
  }
}

.projects-section {
  padding: 80px 8%;
  position: relative;
  /* background-image: url('assets/project.jpg') center/cover no-repeat; */
  overflow: hidden;
  background: #f4f5f4;

}

/* Dark overlay */
.projects-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.projects-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-header h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.projects-header p {
  max-width: 850px;
  margin: auto;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Collage Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 25px;
}

.grid-item {
  overflow: hidden;
  border-radius: 20px;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.grid-item img:hover {
  transform: scale(1.08);
}

/* Custom sizes */
.large {
  grid-column: span 2;
}

.tall {
  grid-row: span 2;
}

/* Responsive */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .large {
    grid-column: span 2;
  }

  .tall {
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-header h2 {
    font-size: 32px;
  }
}


/* // top bar css */

.topbar {
  background: linear-gradient(135deg, #1da5b3, #2ecc71);
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
}

.container {
  padding: .2rem 8%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left {
  display: flex;
  gap: 30px;
  align-items: center;
  white-space: nowrap;
}

/* .left span {
  display: flex;
  align-items: center;
  gap: 8px;
} */

.right {
  display: flex;
  gap: 18px;
}

.right a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.right a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {

  .container {
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    gap: 10px;
  }

  .left {
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    gap: 10px;
    white-space: wrap;
  }

}

/* HERO */

.hero-card {
  height: 600px;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background:
    linear-gradient(to right, #ffffff 45%, rgba(255, 255, 255, 0.1)),
    url('./assets/hero-bg.png');
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
}

.hero-card-content {
  max-width: 520px;
  animation: fadeUp 1s ease;
}

.hero-card h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

.hero-card h1 span {
  color: #18b84a;
}

.hero-card p {
  color: #666;
  margin-bottom: 30px;
  font-size: 15px;
}

/* EMAIL INPUT */

.email-box {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.email-box input {
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 30px;
  width: 250px;
  outline: none;
}

.btn {
  background: linear-gradient(135deg, #01536c, #1996b6, #1da5b3, #2ecc71);
  border: none;
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.btn:hover {
  background: #0fa13c;
}

.help {
  font-size: 13px;
  color: #666;
}

.help span {
  color: #18b84a;
  cursor: pointer;
}

/* ANIMATION */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media(max-width:900px) {

  .hero-card {
    padding: 60px 6%;
    height: auto;
  }

  .hero-card h1 {
    font-size: 34px;
  }

  nav ul {
    display: none;
  }

}

.home-sections {
  padding: 60px 20px;
  text-align: center;
}

/* choose us */
.advantages {
  text-align: center;
  margin-top: 80px;
}

.small-wrapper {
  text-align: center;
  margin-top: -36px;
}

.advantages small,
.steps-section small,
.small-green {
  color: #2ecc71;
  font-weight: 600;
  letter-spacing: 1px;
}

.why-choose-heading {
  text-align: center;
  /* margin-top: 40px; */
}

.small-green {
  color: #2ecc71;
  font-size: 22px;
  display: block;
  margin-bottom: 5px;
}

.text-rotator-center {
  position: relative;
  /* display: inline-block; */
  font-size: 40px;
  font-weight: 700;
  color: #0f4c5c;
  height: 1.2em;
  overflow: hidden;
  text-align: center;
}

.text-rotator-center span {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px) rotateX(90deg);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.text-rotator-center span.active {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* Active Text */
.text-rotator span.present {
  opacity: 1;
  transform: rotateX(0deg) scale(1);
}

/* Exit animation (optional smoother removal) */
.text-rotator span.exit {
  opacity: 0;
  transform: rotateX(-90deg) scale(0.95);
}

.advantages h2 {
  font-size: 40px;
  margin: 10px 0 50px;
}

.advantages h2 span {
  color: #00506b;
}

.cards {

  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  width: calc(25% - 30px);
  background: #f1f1f1;
  width: 250px;
  padding: 40px 25px 10px;
  border-radius: 10px;
  position: relative;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon {
  width: 70px;
  height: 70px;
  background: #26ba90;
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -70px auto 20px;
  color: white;
  font-size: 28px;
}

.icon img {
  height: 45px;
}

.card h4 {
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}


/* steps to install */


.steps {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.steps-description {
  /* padding: 16px 10% 32px; */
  text-align: left;
}

.steps-description p {
  text-align: justify;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.step {
  width: 300px;
  position: relative;
}

.circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: auto;
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-number {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(135deg, #01536c, #1996b6, #1da5b3, #2ecc71);
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
}

.step h4 {
  margin: 14px 0 8px;
  font-size: 16px;
}

.step p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.line {
  position: absolute;
  top: 45px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #eee;
  z-index: -1;
}

.step:first-child .line {
  display: none;
}

.step-images {

  width: 120px;
  height: 120px;
  border-radius: 100%;
  object-fit: cover;
}


/* our services */
.popular-services {

  background: #1a2b3c;
  color: #fff;
  padding: 40px 10%;
}

.popular-services h1,

.popular-services p {
  color: #fff;
  text-align: center;
}

.service-card {
  background-color: #1a2b3c;
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  padding: 0;
  border: 1px solid #929090;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.service-content {
  padding: 25px;
}

.service-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
  text-align: center;
}

.service-content p {
  font-size: 15px;
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 25px;
}

.service-content .read-more {
  display: inline-block;
  color: #28a745;
  /* Green accent for 'Read More' */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  text-align: center;
  display: block;
}

.service-content .read-more:hover {
  color: #28a745;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #444;
  /* Grey for inactive dots */
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #28a745;
  /* Green for active dot */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header h1 {
    font-size: 36px;
  }

  .header p {
    font-size: 16px;
  }

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


/* Projects */

.projects {
  display: flex;
  gap: 20px;
}

.projects-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
}

.projects-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}


.project-slider {
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.swiper-slide img {
  width: 100%;
  border-radius: 10px;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #1dc50e;
}

.project-img-size {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

/* Slider dots */

.dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  height: 6px;
  width: 6px;
  margin: 0 4px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
}

.dot.active {
  background: #16a34a;
}

.sub-title {
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.portfolio-title {
  font-size: 32px;
  font-weight: 700;
  margin-top: 5px;
  color: #000;
}

.view-all-btn {
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.projects-header-sub-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: left;
}

.contact-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* LEFT SIDE */

.contact-info {
  flex: 1;
}

.small-title {
  color: #1db954;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.main-title {
  font-size: 32px;
  margin: 10px 0 30px;
}

.main-title span {
  color: #1db954;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.info-box {
  display: flex;
  gap: 10px;
}

.info-box-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #1da5b3, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}


.info-box a {
  background-image: linear-gradient(135deg, #1da5b3, #2ecc71);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;

}

.info-box-icon img {
  width: 22px;

}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
    /* 1 box per row */
  }
}

/* FORM */

.contact-form {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form button {
  width: 100%;
  border: none;
  color: white;
  padding: 12px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}

/* MAP */

.map {
  margin-top: 50px;
  border-radius: 15px;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* FOOTER */

.footer {
  background: #16a34a;
  color: #fff;
  padding: 50px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  margin-bottom: 15px;
}

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

.footer ul {
  list-style: none;
  padding: 0;
}

.newsletter input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 20px;
  margin-bottom: 10px;
}

.newsletter button {
  background: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.9;
}

#about,
#services,
#projects,
#contact {
  min-height: 100vh;
  scroll-margin-top: 100px;
}

@media(max-width: 1200px) {

  .address-container,
  .email-container,
  .topbar .contact-container,
  #social-top-bar {
    display: none;
  }
}

@media(max-width: 768px) {
  section {
    scroll-margin-top: 200px;
  }

}

@media(max-width: 480px) {
  section {
    scroll-margin-top: 400px;
  }

}


@media(max-width: 578px) {
.contact-section,
.projects-section {
  padding: 24px 8%;
  min-height: auto!important;
}
  .text-rotator {
    font-size: 22px;
    height: 1.5em;
  }

  .icon {
    width: 45px;
    height: 45px;
  }

  .icon img {
    height: 22px;
  }


  .cards h4,
  .steps-description p,
  .hero-content p{
    font-size: 14px;
  }

  .hero-content h4,
  .portfolio-title,
  .contact-section h2{
    font-size: 16px;
  }

      .hero h1 {
        font-size: 18px;
    }

    #hero{
      padding-top: 0;
    }

    .hero-content{
      background-image: none;
    }

    #about, #contact,
    .hero-content{
      padding-left: 16px;
      padding-right: 16px;;
    }

    .view-all-btn.btn{
      display: none;
    }
}


.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1f2937;
  color: #fff;
  padding: 16px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
  font-family: Arial, sans-serif;
  z-index: 9999;
  max-width: 300px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  font-size: 20px;
}

.toast-content strong {
  display: block;
  font-size: 15px;
}

.toast-content p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #d1d5db;
}