/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

/* Container */
.container {
  width: 90%;
  margin: auto;
}

/* ================= PREMIUM NAVBAR ================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 55px;
  transition: 0.3s ease;
}

.navbar.scrolled .logo img {
  height: 45px;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 35px;
}

.nav-item {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  color: #222;
  transition: 0.3s;
}

/* ✅ Animated Underline */
.nav-item::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: #0b4a6f;
  transition: 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-item:hover {
  color: #0b4a6f;
}

/* Call Button */
.call-btn a {
  background: #0b4a6f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.call-btn a:hover {
  background: #083652;
  transform: translateY(-2px);
}

/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #222;
  transition: 0.4s;
}

/* Animate Hamburger */
.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(-8px);
}

/* ================= MOBILE ================= */

@media (max-width: 992px) {

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 25px;
    transform: translateY(-150%);
    transition: 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .call-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}
body {
  font-family: 'Poppins', sans-serif;
  padding-top: 90px; /* equal to navbar height */
}

/* Call Button */
.call-btn a {
  background: #1e73be;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
  display: inline-block;
}

.call-btn a:hover {
  background: #155d9c;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ✅ Mobile Responsive */
@media (max-width: 992px) {

  .nav-links {
    position: absolute;
    top: 90px;
    right: 0;
    background: #e9e9e9;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    display: none;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .call-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
  }
}


/* ================= HERO SECTION ================= */

/* ================= HERO SECTION UPDATED ================= */
/* Global Font */
body {
  font-family: 'Poppins', sans-serif;
}

/* Remove gap below navbar */
.navbar {
  margin-bottom: 0;
}

/* ================= HERO SECTION FINAL ================= */

.hero {
  position: relative;
  background: url("images/hero.jpg") no-repeat center center/cover;
  height: calc(100vh - 90px);
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 7%;
  overflow: hidden;
}

/* Softer overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

/* Enquiry Box */
.enquiry-box {
  position: relative;
  width: 640px;
  padding: 40px;
  border-radius: 14px;
  z-index: 2;
  color: #fff;

  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.35);

  /* Subtle Glow */
  box-shadow: 0 0 25px rgba(30, 115, 190, 0.25);

  /* Animation */
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.enquiry-box h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.form-row {
  display: flex;
  gap: 25px;
  margin-bottom: 18px;
}

.enquiry-box input,
.enquiry-box textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: none;
  outline: none;
  background: #e6e6e6;
  border-radius: 4px;
}

.enquiry-box textarea {
  height: 110px;
  resize: none;
  margin-bottom: 20px;
}

.enquiry-box button {
  background: #0d5c91;
  color: #fff;
  border: none;
  padding: 10px 28px;
  font-size: 15px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.enquiry-box button:hover {
  background: #083d63;
  transform: translateY(-2px);
}

/* Quick Enquiry Tab */
.quick-enquiry {
  position: fixed;
  right: -45px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  background: #1e73be;
  color: #fff;
  padding: 12px 22px;
  font-weight: 500;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transition: 0.3s ease;
}

.quick-enquiry:hover {
  background: #155d9c;
}

/* Responsive */
@media (max-width: 992px) {

  .hero {
    height: auto;
    padding: 70px 20px;
    justify-content: center;
  }

  .enquiry-box {
    width: 100%;
    padding: 25px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .quick-enquiry {
    display: none;
  }
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 999;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

.popup-form {
  background: #fff;
  padding: 30px;
  width: 350px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.popup-form h2 {
  margin-bottom: 20px;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

.popup-form button {
  background: #1e73be;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* ================= WHO WE ARE SECTION ================= */

.who-we-are {
  background: #c7d7e2;
  padding: 100px 0;
}

.who-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* Left Content */
.who-content {
  flex: 1;
}

.section-title {
  display: inline-block;
  background: #0b4a6f;
  color: #fff;
  padding: 15px 25px;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 25px;
}

.who-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #1d1d1d;
  margin-bottom: 20px;
  max-width: 600px;
}

.who-btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #0b4a6f;
  color: #0b4a6f;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.who-btn:hover {
  background: #0b4a6f;
  color: #fff;
}

/* Right Image */
.who-image {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.who-image img {
  width: 100%;
  max-width: 650px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

/* Blue border frame behind image */
.image-frame {
  position: absolute;
  width: 100%;
  max-width: 650px;
  height: 100%;
  border: 2px solid #0b4a6f;
  border-radius: 20px;
  top: 20px;
  left: -20px;
  z-index: 1;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

  .who-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .who-content p {
    max-width: 100%;
  }

  .who-image img,
  .image-frame {
    max-width: 100%;
  }

  .image-frame {
    top: 15px;
    left: -15px;
  }
}

/* ================= WHY CHOOSE SECTION ================= */

/* ================= WHY VGS SECTION FIXED ================= */

.why-vgs {
  padding: 100px 0;
  background: #f5f6f7;
}

/* Top two-column layout */
.why-vgs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 70px;
}

/* Left content */
.why-vgs-content h2 {
  font-size: 32px;
  color: #0b4a6f;
  margin-bottom: 20px;
}

.why-vgs-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

/* Right image */
.why-vgs-image {
  border: 2px solid #0b4a6f;
  border-radius: 15px;
  padding: 15px;
}

.why-vgs-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* ✅ FIXED FEATURE ROW */
.why-vgs-features {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: nowrap; /* prevents vertical stacking */
}

/* Each feature */
.feature {
  flex: 1;
  text-align: center;
}

.feature img {
  width: 55px;
  margin-bottom: 12px;
}

.feature p {
  font-size: 15px;
  font-weight: 500;
  color: #0b4a6f;
  line-height: 1.4;
}

/* ✅ Responsive Fix */
@media (max-width: 1100px) {
  .why-vgs-features {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature {
    flex: 0 0 30%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {

  .why-vgs-wrapper {
    grid-template-columns: 1fr;
  }

  .why-vgs-features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 100%;
  }
}
/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-title {
    font-size: 26px;
  }
}

/* ================= MANUFACTURING SECTION ================= */

.manufacturing {
  background: #f4f4f4;
  padding: 110px 0;
}

/* Main Title */
.manufacturing-title {
  text-align: center;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 50px;
  color: #1a1a1a;
}

.manufacturing-title span {
  color: #0b4a6f;
}

/* Subtitle */
.manufacturing-subtitle {
  font-size: 26px;
  font-weight: 500;
  color: #0b4a6f;
  margin-bottom: 25px;
}

/* Image Wrapper */
.manufacturing-image {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
  height: 780px;
}

.manufacturing-image img {
  width: 100%;
  display: block;
  border-radius: 18px;
  transition: 0.4s ease;
}

/* Subtle zoom on hover */
.manufacturing-image:hover img {
  transform: scale(1.03);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .manufacturing-title {
    font-size: 26px;
  }

  .manufacturing-subtitle {
    font-size: 20px;
  }
}


/* ================= PRODUCTS SECTION ================= */

.products {
  padding: 110px 0;
  background: #f9f9f9;
}

.products-title {
  text-align: center;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 70px;
}

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Flip Card */
.flip-card {
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 350px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  overflow: hidden;
}

/* Front */
.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #0b4a6f;
  color: #fff;
  text-align: center;
  padding: 18px;
  font-size: 18px;
  font-weight: 500;
}

/* Back */
.flip-back {
  background: #0b4a6f;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
}

.flip-back h3 {
  margin-bottom: 15px;
}

.flip-back p {
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .flip-inner {
    height: 300px;
  }
}

/* ================= STATS SECTION ================= */

.stats {
  background: #0b4a6f;
  padding: 100px 0;
  color: #fff;
}

.stats-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.stat-item {
  flex: 1;
}

.stat-item img {
  width: 60px;
  margin-bottom: 20px;
}

.stat-item h2 {
  font-size: 60px;
  font-weight: 500;
  margin-bottom: 15px;
}

.stat-item p {
  font-size: 18px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .stats-wrapper {
    flex-direction: column;
    gap: 60px;
  }

  .stat-item h2 {
    font-size: 45px;
  }
}

/* ================= WHY Gayatri Enterprises SECTION ================= */

/* ================= WHY GAYATRI ENTERPRISES ================= */

.why-ge {
  padding: 110px 0;
  background: #f5f6f7;
}

/* ✅ Two Column Layout */
.why-ge-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.why-ge-content h2 {
  font-size: 32px;
  color: #0b4a6f;
  margin-bottom: 20px;
}

.why-ge-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

/* Image Styling */
.why-ge-image {
  border: 2px solid #0b4a6f;
  border-radius: 16px;
  padding: 15px;
}

.why-ge-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* ✅ Horizontal Feature Row */
.why-ge-features {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.ge-feature {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.ge-feature img {
  width: 55px;
  margin-bottom: 12px;
}

.ge-feature p {
  font-size: 15px;
  font-weight: 500;
  color: #0b4a6f;
  line-height: 1.4;
}

/* ✅ Responsive */
@media (max-width: 992px) {

  .why-ge-top {
    grid-template-columns: 1fr;
  }

  .why-ge-features {
    justify-content: center;
  }

  .ge-feature {
    flex: 0 0 30%;
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {

  .ge-feature {
    flex: 0 0 100%;
  }
}
/* ================= FOOTER ================= */

.footer {
  background: url("images/footer-bg.jpg") no-repeat center center/cover;
  padding-top: 80px;
}

/* Top Section */
.footer-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding-bottom: 60px;
}

.footer-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.footer-icon {
  font-size: 28px;
  color: #0b4a6f;
}

.footer-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #0b4a6f;
}

.footer-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Bottom Bar */
.footer-bottom {
  background: #0b4a6f;
  text-align: center;
  padding: 18px 10px;
}

.footer-bottom p {
  color: #fff;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-item {
    flex-direction: column;
  }
}

/* ================= WHY CHOOSE GAYATRI ================= */

.why-choose-ge {
  padding: 120px 0;
  background: url("images/why-bg.jpg") no-repeat center center/cover;
  position: relative;
}

.why-choose-ge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
}

.why-choose-ge .container {
  position: relative;
  z-index: 2;
}

.why-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 70px;
  color: #1a1a1a;
}

/* ✅ 3x2 GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ✅ CARD STYLE */
.why-card {
  background: rgba(13, 72, 109, 0.45);
  padding: 45px 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  cursor: pointer;
}

.why-card img {
  width: 60px;
  margin-bottom: 20px;
}

.why-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

/* ✅ HOVER EFFECT (IMG 3 STYLE) */
.why-card:hover {
  background: #0b4a6f;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ✅ RESPONSIVE */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= GALLERY SECTION ================= */

.gallery-section {
  padding: 120px 0;
  background: #f4f6f8;
}

.gallery-title {
  text-align: center;
  font-size: 34px;
  color: #0b4a6f;
  margin-bottom: 70px;
}

/* Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Image Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.6s ease;
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 74, 111, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s ease;
}

.gallery-overlay h4 {
  color: #fff;
  font-size: 20px;
}

/* Hover Effects */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ================= LIGHTBOX ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s ease;
  z-index: 2000;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
}

.close-lightbox {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 220px;
  }
}

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #3498db;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}


/* From Uiverse.io by reesaldles */ 
.spinner {
  width: 44px;
  height: 44px;
  animation: spinner-y0fdc1 2s infinite ease;
  transform-style: preserve-3d;
}

.spinner > div {
  height: 100%;
  position: absolute;
  width: 100%;
  border: 2px solid #282c35;
}

.spinner div:nth-of-type(1) {
  transform: translateZ(-22px) rotateY(180deg);
}

.spinner div:nth-of-type(2) {
  transform: rotateY(-270deg) translateX(50%);
  transform-origin: top right;
}

.spinner div:nth-of-type(3) {
  transform: rotateY(270deg) translateX(-50%);
  transform-origin: center left;
}

.spinner div:nth-of-type(4) {
  transform: rotateX(90deg) translateY(-50%);
  transform-origin: top center;
}

.spinner div:nth-of-type(5) {
  transform: rotateX(-90deg) translateY(50%);
  transform-origin: bottom center;
}

.spinner div:nth-of-type(6) {
  transform: translateZ(22px);
}

@keyframes spinner-y0fdc1 {
  0% {
    transform: rotate(45deg) rotateX(-25deg) rotateY(25deg);
  }

  50% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(25deg);
  }

  100% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(385deg);
  }
}
