:root {
  --roller: #0b3a66;
  --blinds: #5ec5e6;
  --bg: #f9f9f9;
  --text: #333;
  --white: #fff;
  --muted: #6b7280;
  --transition: all 0.3s ease;
}

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

/* ======= NAVBAR (COMMON) ========= */
.navbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 80px;
  gap: 18px;
  display: flex;
  align-items: center;
  z-index: 1000;
  padding: 12px 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.7)
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 130px;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: var(--roller);
  font-weight: 600;
  transition: var(--transition);
}

.navbar a:hover {
  color: var(--blinds);
}

/* Desktop CTA button */
.cta .btn {
  border: 2px solid var(--roller);
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--roller);
  font-weight: 600;
  background: transparent;
  transition: 0.3s;
}

.cta .btn:hover {
  background: var(--blinds);
  border: 2px solid var(--blinds);
  color: var(--white);
}
.btn {
  border: 2px solid var(--roller);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--roller);
  background: transparent;
  transition: var(--transition);
}

/* Mobile CTA (inside menu, by default hidden) */
.mobile-cta {
  display: none;
}

/* HAMBURGER ICON */
.hamburger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--roller);
  transition: 0.3s;
}

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

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== NAVBAR RESPONSIVE (COMMON) ===== */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    display: none;
    flex-direction: column;
    padding: 15px 20px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .navbar ul li a {
    width: 100%;
  }

  .mobile-cta {
    display: block;
    width: 100%;
    margin-top: 8px;
  }

  .mobile-cta .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* =======HERO SECTION=========== */
.hero {
  height: 100vh;
  margin-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: slideBg 25s infinite ease-in-out;
  display: flex;
  align-items: center;
  color: white;
  padding: 0 8%;
  position: relative;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 58, 102, 0.55),
    rgba(11, 58, 102, 0.22)
  );
  z-index: -1;
}

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

.hero-content h1 {
  font-size: 49px;
  font-weight: 800;
  opacity: 0;
  line-height: 1.02;
  letter-spacing: -0.5px;
  transform: translateY(50px);
  animation: popUp 1s ease-out forwards;
}

.hero-content h1 span {
  color: var(--blinds);
}

.hero-content p {
  font-size: 20px;
  margin: 0 0 30px;
  opacity: 0;
  transform: translateY(50px);
  animation: popUp 1s ease-out forwards;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transform: translateY(50px);
  animation: popUp 1s ease-out forwards;
}

.outline-btn {
  border: 2px solid var(--white);
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  transition: 0.3s;
}

.outline-btn:hover {
  background: var(--blinds);
  border: 2px solid var(--blinds);
  color: var(--roller);
}

/* Hero text + elements animation */
@keyframes popUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Hero background slideshow */
@keyframes slideBg {
  0% {
    background-image: url("assets/images/products/bg-slide1.png");
  }

  16.6% {
    background-image: url("assets/images/products/bg-slide2.png");
  }

  33.2% {
    background-image: url("assets/images/products/bg-slide3.png");
  }

  49.8% {
    background-image: url("assets/images/products/bg-slide4.png");
  }

  66.4% {
    background-image: url("assets/images/products/bg-slide5.png");
  }

  83% {
    background-image: url("assets/images/products/bg-slide6.png");
  }

  100% {
    background-image: url("assets/images/products/bg-slide1.png");
  }
}

/* ========== FEATURES SECTION ================ */
.features-section {
  padding: 60px 30px;
  text-align: center;
  background: linear-gradient(to right, #0b3a66, #5ec5e6);
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--roller);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.feature-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease-in-out;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.icon-box {
  width: 100px;
  height: 100px;
  background: #e0ecff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 19px;
}

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

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--roller);
}

.feature-card p {
  color: var(--text);
  font-size: 14px;
}

/* ========GALLERY SECTION GRID BOX========== */
.gallery {
  padding: 60px 60px;
  background: white;
}

.gallery h2 {
  text-align: center;
  font-size: 40px;
  color: var(--roller);
  margin-bottom: 40px;
}

.gallery h3 {
  text-align: center;
  font-size: 18px;
  color: var(--blinds);
  margin-bottom: 15px;
}

/* Desktop / Large screens (default) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: 280px;
}

/* 3rd image big on right side */
.gallery-grid .big {
  grid-column: 3;
  grid-row: span 2;
}

/* image wrapper */
.img-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

/* image itself */
.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* overlay text */
.img-text {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.45);
  user-select: text;
  pointer-events: auto;
  cursor: text;
}

/* hover zoom */
.img-box:hover img {
  transform: scale(1.1);
}

/* =========RESPONSIVE (GLOBAL) TILL GALLERY GRID=========== */
@media (max-width: 900px) {
  .hero {
    padding: 90px 10px 16px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .navbar img {
    height: 110px;
  }

  .navbar ul {
    gap: 16px;
  }

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

  .gallery-grid .big {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .features-section {
    padding: 40px 18px;
  }

  .gallery {
    padding: 40px 18px;
  }

  .gallery h2 {
    font-size: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
}

@media (max-width: 430px) {
  .navbar {
    padding: 10px 16px;
    gap: 10px;
  }

  .navbar img {
    height: 90px;
  }

  .hero {
    padding: 100px 16px 24px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .btn-group {
    flex-direction: column;
  }
}

/* ======== WHATSAPP FLOAT BUTTON============= */
.whatsapp_float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #38cb3f;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.whatsapp_icon {
  width: 100%;
  height: 100%;
  padding: 12px;
}

/* ============ FOOTER ============ */

.footer {
  background: white;
  padding: 40px 20px;
  color: #030303;
  font-family: "Poppins", sans-serif;
  height: 32vh;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 70px;
}

/* Logo */
.footer-logo {
  width: 220px;
  display: block;
  margin-top: -35px;
  margin-left: -60px;
}

/* Columns */
.footer-column h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
}

.footer-column a {
  display: block;
  color: #0b3a66;
  font-size: 16px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

.footer-column a:hover {
  color: var(--blinds);
  padding-left: 4px;
}

/* Social Icons */
.footer-column .social-links {
  display: flex;
  gap: 12px;
}

.social-icon img {
  width: 30px;
  transition: 0.3s;
  cursor: pointer;
}

.social-icon img:hover {
  transform: scale(1.15);
}

/* FOOTER RESPONSIVENESS */
/* Tablet and small laptop */
@media (max-width: 1024px) {
  .footer {
    padding: 40px 16px;
    height: auto;
  }

  .footer-container {
    gap: 40px;
  }

  .footer-logo {
    margin-top: -20px;
    margin-left: -20px;
    width: 200px;
  }
}

/* Mobile & narrow screens */
@media (max-width: 768px) {
  .footer {
    padding: 30px 16px;
    height: auto;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-logo {
    margin: 10px 0 10px 0;
    width: 180px;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .footer-logo {
    width: 160px;
  }

  .footer-column h4 {
    font-size: 16px;
  }

  .footer-column a {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .social-icon img {
    width: 26px;
  }
}
