/* ====================================================================================
   Shree Enterprise — Updated style.css (Bootstrap Compatible)
==================================================================================== */

/* THEME COLORS */
:root {
  --primary-dark: #ffffff;
  --primary-light: #0B7162;
  --muted: #C7C7C7;
  --text: #2A2A2A;
  --white: #ffffff;
}

/* GLOBAL RESET */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

/* ====================================================================================
   NAVBAR (MATCHING INDEX PAGE)
==================================================================================== */
/* --- NAVBAR FIXES --- */

.navbar {
  background: var(--primary-dark) !important;
  padding: 6px 0 !important;
  /* reduced padding */
}

/* Bigger Logo */
.nav-logo {
  height: 62px;
  /* increased */
  width: auto;
}

/* Smaller menu buttons */
.nav-link-btn {
  background: var(--primary-light);
  color: #fff !important;
  padding: 6px 14px;
  /* reduced */
  border-radius: 6px;
  font-size: 15px;
  /* reduced font size */
  font-weight: 600;
  border: none;
  transition: all 0.25s ease;
}

/* Hover effect */
.nav-link-btn:hover {
  background: #128a7b;
  /* slightly darker shade */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Toggler icon fix */
.navbar-toggler-icon {
  filter: invert(1);
}

/* Avoid content overlapping */
body:not(.home) main {
  padding-top: 130px !important;
}

nav a {
  text-decoration: none;
}


/* Navbar CTA buttons */
/* .navbar .btn-primary {
  background: var(--primary-light);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
} */

.navbar .btn-primary:hover {
  opacity: 0.9;
}

/* ====================================================================================
   HERO SECTION
==================================================================================== */

.hero {
  padding: 140px 0 80px;
  background:
    linear-gradient(180deg, rgba(9, 12, 12, 0.88), rgba(159, 172, 170, 0.7)),
    url("../assets/images/hero-bg.jpg");

  background-size: cover;
  background-position: center;
  color: white;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
}

.hero p {
  max-width: 920px;
  opacity: 0.95;
}


/* ====================================================================================
   CARD THEME
==================================================================================== */

.card {
  background: #ffffff;
  border: 1px solid #eef6f4;
  border-radius: 12px !important;
  box-shadow: 2px 6px 18px rgba(6, 46, 43, 0.03);
}

.card-title {
  color: #0B7162 !important;
  font-weight: 700;
}

.card-text {
  font-size: 15px;
  opacity: 0.95;
}

/* Equal image sizes for all cards */
.card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

/* ====================================================================================
   GALLERY
==================================================================================== */

.gallery-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

/* ====================================================================================
   BUTTONS
==================================================================================== */

.btn-primary {
  background: var(--primary-light) !important;
  border-color: var(--primary-light) !important;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ===============================
   ABOUT PAGE BACKGROUND SECTION
=============================== */
.green-section {
  background-color: #0B7162;
}

.green-section ul li {
  margin-bottom: 12px;
  line-height: 1.6;
}


/* =====================================
   ABOUT PAGE – HERO WITH GRADIENT
===================================== */
.about-hero {
  position: relative;
  height: auto;
  /* SAME AS CAROUSEL IMAGE HEIGHT */
  overflow: hidden;
}

/* Gradient overlay */
/* .about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 12, 12, 0.88),
    rgba(159, 172, 170, 0.7)
  );
  pointer-events: none;
} */

/* Make all carousel images equal height */
.about-hero .carousel-item img {
  width: 100%;
  height: 580px;
  object-fit: cover;
}

/* Make hero responsive on tablet/mobile */
@media (max-width: 768px) {
  .about-hero .carousel-item img {
    height: 300px;
    /* perfect for mobile/tablet */
  }
}

/* About Page – About Us Text Section */
.about-text-section {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
}

.about-text-section .section-heading {
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 20px;
}


/* ===============================
   CARD HEADING COLOR SAME AS INDEX
=============================== */
.teal-title {
  color: #0B7162;
  font-weight: 700;
}
.team-card {
  border-radius: 12px;
  overflow: hidden;
  padding: 10px !important;
}

.team-img {
  width: 100%;
  height: 230px;       /* FIXED HEIGHT → smaller & consistent */
  object-fit: cover;
  border-radius: 10px;
}

/* Headings spacing fix */
.team-card .card-body h6 {
  font-size: 15px;
  margin-bottom: 3px;
}
.team-card .card-body p {
  font-size: 13px;
}

/* Tablet adjust */
@media (max-width: 992px) {
  .team-img {
    height: 200px;
  }
}

/* Mobile — even smaller */
@media (max-width: 576px) {
  .team-img {
    height: 170px;
  }
  .team-card {
    padding: 8px !important;
  }
}


.client-card {
  background: #ffffff;
  border-radius: 12px;
  height: 120px;
  /* Increase height slightly for better fit */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.client-card img {
  max-width: 100%;
  /* Prevent width overflow */
  max-height: 80px;
  /* Keep height under control */
  object-fit: contain;
  /* Maintain aspect ratio */
}

/* HERO GRADIENT */
/* HERO SECTION */
/* .about-hero {
  padding: 140px 0;
  background: linear-gradient(135deg, #0B7162, #0d8b76);
  color: white;
  text-align: left;
}

/* ====================================================================================
   FULL-WIDTH CAROUSEL
==================================================================================== */
/* .fullwidth-section {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
} */

/* .company-carousel-full {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 0;
}

/* OLD (inside container) — no longer used */
.company-carousel-img {
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
}


/* Hero intro band is already green via .green-section */
.products-hero {
  max-width: 1200px;
  font-size: 15px;
}

/* Product grid layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.product-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eef6f4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
  min-height: 380px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(10, 70, 65, 0.07);
}

/* Media (image) */
.product-media {
  height: 200px;
  overflow: hidden;
  background: #f8faf9;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-title {
  color: #0B7162;
  /* same teal as site */
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.product-desc {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1 1 auto;
}

/* Actions */
.product-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-outline-teal {
  color: #0B7162;
  border-color: #0B7162;
  background: transparent;
}

.btn-outline-teal:hover {
  background: #0B7162;
  color: white;
  border-color: #0B7162;
}

/* ------------------------------------------------
   PROJECTS PAGE DESIGN — Shree Enterprise
-------------------------------------------------- */

/* Hero Section */
.projects-hero {
  background: #0B7162;
  color: white;
}

.projects-hero p {
  font-size: 15px;
  line-height: 1.6;
}

/* 
.projects-section .card {
  border-radius: 12px;
  border: 1px solid #e8efec;
  overflow: hidden;
  transition: all .25s ease;
  background: #ffffff;
}


.projects-section .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(8, 70, 60, 0.15);
}


.projects-section .card-img-top {
  height: 220px;
  object-fit: cover;
  background: #f5f9f7;
} */

/* Card Title Styling */
.teal-title {
  color: #0B7162;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* Card Text */
/* .projects-section .card-text {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #333;
} */

/* Grid Adjustments on Mobile */
/* @media (max-width: 767px) {
  .projects-section .card-img-top {
    height: 180px;
  }
}
*/

.project-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}

.project-box img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 90, 70, 0.9);
  color: #fff;
  opacity: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: 0.3s ease;
}

.project-box:hover .project-overlay {
  opacity: 1;
}

.project-overlay h4 {
  font-size: 18px;
  font-weight: bold;
}

.project-overlay p {
  font-size: 14px;
  margin-top: 10px;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .product-media {
    height: 160px;
  }

  .product-card {
    min-height: 320px;
  }
} */

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Contact Card */
.contact-card {
  background: #ffffff;
  border: 1px solid #e7eee9;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(8, 70, 60, 0.07);
}

/* Form Inputs */
.input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #dce8e4;
  background: #f9fbfa;
  font-size: 0.95rem;
}

/* Google Map Box */
.map-holder {
  border: 1px solid #dfeae7;
  border-radius: 10px;
  overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ====================================================================================
   FOOTER
==================================================================================== */
/* ----------- FOOTER STYLING ----------- */

/* =========================
   FOOTER – Clean Professional Theme
   ========================= */
.footer {
  background: #ffffff;
  /* White background */
  color: #0B7162;
  /* Primary text */
  padding: 50px 0 30px;
  /* Balanced spacing */
  border-top: 1px solid #e3e3e3;
  /* Light divider */
  font-family: 'Poppins', sans-serif;
}

.footer h5,
.footer h6 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 18px;
  color: #0B7162;
}

.footer p,
.footer ul li a {
  font-size: 14px;
  line-height: 1.6;
  color: #0B7162;
}

.footer ul {
  padding: 0;
  list-style: none;
  margin: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  text-decoration: none;
  transition: 0.3s ease;
}

.footer ul li a:hover {
  color: #1BAA96;
  padding-left: 3px;
}

/* CONTACT ICONS */
.footer-contact p {
  margin-bottom: 6px;
}

/* Divider line */
.footer hr {
  border-color: #dcdcdc;
  margin-top: 40px;
}

/* Copyright */
.footer-bottom {
  font-size: 13px;
  color: #7a7a7a;
}

/* Social Icons (optional) */
.footer .social-icons a svg {
  transition: 0.3s ease;
}

.footer .social-icons a:hover svg {
  transform: scale(1.15);
  fill: #1BAA96;
}

/* =========================
   Responsive Footer
   ========================= */
@media (max-width: 991px) {
  .footer {
    text-align: center;
  }

  .footer h5,
  .footer h6 {
    margin-top: 20px;
  }
}



/* ====================================================================================
   RESPONSIVE
==================================================================================== */

@media (max-width: 992px) {
  .hero {
    padding: 120px 0 60px;
  }
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 58px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .gallery-img,
  .card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 50px;
  }

  .gallery-img,
  .card img {
    height: 150px;
  }
}