/* =============================
    NEW: style.css (responsive rebuild)
    - Rebuilt from original without design changes
    - Keep backup before replacing
    ============================= */

/* =============================
    SMARTWORLD BRAND COLOR THEME
    Based on Smartworld Logo Colors:
    - Primary Blue: #0066B3 (Corporate Blue)
    - Secondary Blue: #004d8c (Darker shade)
============================= */

:root {
  /* Smartworld Primary Colors from Logo */
  --smartworld-blue: #0066B3;
  --smartworld-blue-dark: #004d8c;
  --smartworld-blue-light: #1a8cd8;
  --smartworld-navy: #002855;

  /* Secondary/Accent Colors */
  --smartworld-accent: #0066B3;
  --smartworld-gold: #0066B3;

  /* Gradient combinations */
  --gradient-smartworld-blue: linear-gradient(135deg, #1a8cd8 0%, #0066B3 50%, #004d8c 100%);
  --gradient-smartworld-dark: linear-gradient(135deg, #0066B3 0%, #002855 100%);

  /* Text Colors */
  --smartworld-text-dark: #1a1a1a;
  --smartworld-text-light: #ffffff;

  /* Background Colors */
  --smartworld-bg-light: #f5f8fa;
  --smartworld-bg-cream: #f0f5f9;

  /* Legacy compatibility - mapping old M3M variables to Smartworld */
  --m3m-green: #0066B3;
  --m3m-green-dark: #004d8c;
  --m3m-green-light: #1a8cd8;
  --m3m-blue: #002855;
  --m3m-blue-dark: #001a3d;
  --m3m-blue-light: #0066B3;
  --gradient-m3m-green: linear-gradient(135deg, #1a8cd8 0%, #0066B3 100%);
  --gradient-m3m-blue: linear-gradient(135deg, #0066B3 0%, #002855 100%);
  --gradient-m3m-mix: linear-gradient(135deg, #1a8cd8 0%, #002855 100%);
  --m3m-accent: #0066B3;
  --m3m-text-dark: #1a1a1a;
  --m3m-text-light: #ffffff;
  --m3m-bg-light: #f5f8fa;
  --m3m-bg-cream: #f0f5f9;
  --m3m-primary: #0066B3;
  --m3m-gold: #0066B3;
  --m3m-cream: #f0f5f9;
  --m3m-dark: #002855;
  --gradient-gold: linear-gradient(135deg, #1a8cd8 0%, #0066B3 100%);
}

/* =============================
    GLOBAL RESETS & BASE STYLES
============================= */

* {
  margin: 0;
  padding: 0;
  text-decoration: none !important;
  outline: none !important;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html,
body {
  overflow-x: hidden;
  /* background-color: black; */
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: gray;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0.55vw 0;
  line-height: 140%;
  font-weight: 500;
}

p {
  margin: 0;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  font-family: Montserrat, sans-serif;
  color: #fff;
}

.text-center {
  text-align: center;
  padding: 10px 15px;
  color: grey;
}

/* Utility */
.container {
  width: 100%;
  margin: 0 auto;
}

/* Responsive Visibility Classes */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Mobile slider for sustainability section */
  .mobile-only.simple-slider .slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

/* =============================
    HEADER & NAVBAR
============================= */

header {
  display: flex;
  flex-direction: row;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: fixed;
  width: 100%;
  background: white !important;
  transition: background 0.35s ease-in-out;
}

header.scrolled {
  background: white !important;
}

.navbar {
  width: 100%;
  position: sticky;
  flex: 1;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
}

.logo {
  display: flex;
  justify-content: flex-start;
}

#mainNav {
  display: flex;
  justify-content: flex-end;
}

.hamburger {
  justify-self: end;
}

header .navbar ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  padding: 10px 20px;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.nav-links li a {
  /* color: #9c6d41; */
  color: #000;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--m3m-green);
}

.logo img {
  filter: none;
  width: auto;
  height: 60px;
}

/* Hamburger button (hidden on desktop) */
.hamburger {
  font-size: 26px;
  cursor: pointer;
  display: none;
  background: transparent;
  border: none;
  padding: 8px 12px;
}

.hamburger-icon {
  display: inline-block;
  line-height: 1;
  color: #9c6d41;
}

/* =============================
    BANNER / SLIDER
============================= */

.banner {
  margin-top: 70px;
  position: relative;
}

.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-slide {
  display: none;
  width: 100%;
}

.banner-slide.active {
  display: block;
}

/* Banner images - use specific classes .desktop-banner and .mobile-banner */
/* Do NOT add generic .banner-slide img rules here */

/* Navigation Arrows */
.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff24;
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.banner-prev {
  left: 10px;
  border-radius: 0 5px 5px 0;
}

.banner-next {
  right: 10px;
  border-radius: 5px 0 0 5px;
}

.banner-prev:hover,
.banner-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Fade Animation */
.banner-slide.fade-in {
  animation: bannerFade 0.5s ease-in-out;
}

@keyframes bannerFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    margin-top: 60px;
  }

  .banner-prev,
  .banner-next {
    padding: 10px 15px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .banner {
    margin-top: 55px;
  }

  .banner-prev,
  .banner-next {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* =============================
    DESKTOP BANNER STYLES
============================= */
.desktop-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: cover;
  object-position: center;
}

/* Desktop banner section styling */
.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-slide {
  display: none;
  width: 100%;
  position: relative;
}

.banner-slide.active {
  display: block;
}

/* =============================
    MOBILE BANNER STYLES
============================= */
/* Mobile Banner Image - hidden by default on desktop */
.mobile-banner {
  display: none !important;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Tablet View (768px and below) */
@media (max-width: 768px) {
  /* Hide desktop banner */
  .desktop-banner {
    display: none !important;
  }

  /* Show and style mobile banner */
  .mobile-banner {
    display: block !important;
    width: 100%;
    height: 80vh;
    object-fit: cover;
    object-position: center;
  }

  /* Mobile banner section styling */
  .banner {
    margin-top: 60px;
  }

  .banner-slider {
    background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
  }

  .banner-slide {
    background: transparent;
  }

  /* Smaller navigation arrows on mobile */
  .banner-prev,
  .banner-next {
    padding: 10px 15px;
    font-size: 16px;
    background: rgba(0, 102, 179, 0.7);
  }

  .banner-prev:hover,
  .banner-next:hover {
    background: rgba(0, 102, 179, 1);
  }
}

/* Mobile Phone View (480px and below) */
@media (max-width: 480px) {
  /* Enhanced mobile banner */
  .mobile-banner {
    display: block !important;
    width: 100%;
    height: 80vh;
    object-fit: cover;
    object-position: center top;
  }

  /* Mobile specific section styling */
  .banner {
    margin-top: 55px;
  }

  .banner-slider {
    background: #000;
  }

  .banner-slide {
    background: #000;
  }

  /* Smaller navigation arrows */
  .banner-prev,
  .banner-next {
    padding: 8px 12px;
    font-size: 14px;
    background: rgba(0, 102, 179, 0.8);
    border-radius: 50%;
  }
}

/* =============================
    BANNER VIDEO RESPONSIVE
============================= */

/* Desktop Video - visible by default */
.desktop-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Mobile Video - hidden by default */
.mobile-video {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Mobile: Show mobile video, hide desktop video */
@media (max-width: 768px) {
  .desktop-video {
    display: none !important;
  }

  .mobile-video {
    display: block;
    height: 100vh;
    object-fit: cover;
    object-position: center;
  }

  .banner {
    margin-top: 60px;
  }
}

@media (max-width: 480px) {
  .mobile-video {
    height: 85vh;
  }

  .banner {
    margin-top: 55px;
  }
}

/* =============================
    PROJECTS GRID
============================= */

/* Simple Slider Styles */
.simple-slider {
  position: relative;
  width: 100%;
  padding: 10px 0 30px;
  /* Space at bottom for dots */
  overflow: visible !important;
  /* Extremely important: let dots be seen */
}

.slider-track-container {
  width: 100%;
  overflow: hidden;
  /* Only clip the track horizontally */
  padding: 10px 5px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 15px;
  margin-left: 0;
}

.slide {
  flex: 0 0 calc((100% - 30px) / 3);
  min-width: calc((100% - 30px) / 3);
  max-width: calc((100% - 30px) / 3);
}

@media (max-width: 992px) {
  .slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

.slide .project {
  display: block;
  background: var(--smartworld-blue);
  border: 2px solid var(--smartworld-blue);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide .project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Slider Dots */
.simple-slider .dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  padding: 10px 0;
  width: 100%;
  min-height: 20px;
  position: relative;
  z-index: 100;
}

.simple-slider .dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #999;
  /* Darker gray for better visibility */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.simple-slider .dots span:hover {
  background: #666;
  transform: scale(1.2);
}

.simple-slider .dots span.active {
  background: var(--smartworld-blue);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0, 102, 179, 0.3);
}

/* Slider Navigation Arrows */
.simple-slider {
  position: relative;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 102, 179, 0.8);
  color: #fff;
  border: none;
  padding: 15px 18px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  border-radius: 5px;
}

.slider-prev {
  left: -15px;
}

.slider-next {
  right: -15px;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0, 102, 179, 1);
}

/* Tablet/Medium view - 2 cards (600px - 1024px) */
@media (max-width: 1024px) {
  .slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

/* Mobile view - 1 card full width (below 600px) */
@media (max-width: 600px) {
  .container-box {
    padding: 40px 15px;
  }

  .slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .slider-track {
    gap: 15px;
  }

  .img-section {
    height: 300px;
  }

  .inner-content-head {
    padding: 8px 10px;
  }

  .inner-content-head h3 {
    font-size: 15px;
  }

  .slide .project p {
    font-size: 12px;
    padding: 0 10px;
  }

  .slider-prev,
  .slider-next {
    padding: 10px 12px;
    font-size: 16px;
  }

  .slider-prev {
    left: 5px;
  }

  .slider-next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .container-box {
    padding: 30px 10px;
  }

  .img-section {
    height: 250px;
  }

  .inner-content-head h3 {
    font-size: 14px;
  }
}

.container-box {
  padding: 60px 50px;
  background-color: var(--m3m-bg-cream);
}

/* =============================
    PROJECTS GRID LAYOUT
============================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.project-card {
  box-sizing: border-box;
}

.project-card .project {
  display: block;
  background: var(--m3m-blue);
  border: 2px solid var(--m3m-green);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.project-card .project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Tablet view - 2 cards (768px - 1024px) */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Mobile view - 1 card full width (below 768px) */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .container-box {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .container-box {
    padding: 30px 15px;
  }

  .projects-grid {
    gap: 12px;
  }
}

.container-box h2 {
  margin-bottom: 20px;
  font-family: Montserrat;
  text-align: center;
  color: var(--m3m-blue);
}

.title-border {
  text-transform: uppercase;
  color: var(--m3m-blue);
  font-family: "Montserrat", sans-serif;
  padding: 0;
  line-height: normal;
  margin: 0;
  padding-bottom: 15px;
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
}

.title-border::after {
  content: "";
  width: 30%;
  height: 3px;
  background: var(--m3m-green);
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  left: 50%;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.project-container p {
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--m3m-blue);
  text-align: left;
  padding: 0 10px;
}

.inner-content {
  border: 2px solid var(--m3m-green);
  text-align: center;
  background-color: var(--m3m-blue);
}

.inner-content a {
  text-decoration: none !important;
  color: #f0ece7 !important;
  padding: 10px 0px;
}

.inner-content-head {
  color: #f0ece7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  font: bold 1.1em Montserrat !important;
  padding: 10px ;
  margin-right: 10px;
}

.inner-content-head h3 {
  border-bottom: 2px solid white;
  font-size: 17px;
  text-transform: uppercase;
  color: #f0ece7;
}

.img-section {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.img-section img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.img-section:hover img {
  transform: scale(1.1);
}

/* About Section Icons */
.item1 {
  filter: brightness(0.5);
}

.item1 img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.item1 p {
  color: var(--m3m-blue);
  font-weight: 500;
  margin-top: 10px;
}

/* =============================
    (OPTIONAL) STATS SECTION
============================= */

.stats {
  padding: 50px 0;
  margin: 0 auto;
  background: #0066B3;
  max-width: 100%;
}

.stats-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.stats-container-list {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(76, 175, 80, 0.3);
  padding: 20px 15px;
  min-width: 150px;
}

.stats-container-list:last-child {
  border-right: none;
}

.stats-container-list h4 {
  color: var(--m3m-green);
  font-size: 48px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  line-height: 1.2;
}

.stats-container-list p {
  margin-top: 10px;
  color: #f0ece7;
  font-size: 14px;
  font-weight: 400;
}

/* =============================
    OUR JOURNEY SECTION
============================= */

.ourjourney {
  background: #a37a3d;
  padding: 60px 20px;
}

.paddingTopBottom {
  padding-top: 60px;
  padding-bottom: 60px;
}

.ourjourney-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.ourjourney-title {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.ourjourney-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #fff;
}

/* Slider Container */
.ojitemslist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
}

/* Arrow Navigation Buttons */
.oj-nav-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.oj-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.oj-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* Slider Wrapper */
.oj-slider-wrapper {
  overflow: hidden;
  flex: 1;
  max-width: 1100px;
}

/* Slider Track */
.oj-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 15px;
}

/* Individual Stat Item */
.ojitem {
  flex: 0 0 calc(25% - 12px);
  min-width: calc(25% - 12px);
  text-align: center;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ojitem:last-child {
  border-right: none;
}

.ojitem img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.ojitem svg {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ojitem .ojinfo {
  color: #fff;
}

.ojitem .ojinfo h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  line-height: 1.1;
  display: inline;
}

.ojitem .ojinfo p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 5px 0;
}

.ojitem .ojinfo .rupee-symbol {
  font-size: 25px;
  display: inline;
  font-weight: 600;
}

.ojitem .ojinfo .stat-unit {
  display: inline;
  font-size: 16px;
  text-transform: uppercase;
}

.ojitem .ojinfo .stat-small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

/* GPTW Badge Item */
.ojitem.gptw-item {
  flex-direction: column-reverse;
  border-right: none;
}

.ojitem.gptw-item img {
  width: 100px;
  height: auto;
  filter: none;
  margin-bottom: 0;
  margin-top: 15px;
}

.ojitem.gptw-item .gptw-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* Responsive Our Journey Section */

@media (max-width: 1200px) {
  .ojitem {
    flex: 0 0 calc(33.333% - 10px);
    min-width: calc(33.333% - 10px);
  }
}

@media (max-width: 992px) {
  .ojitem {
    flex: 0 0 calc(50% - 8px);
    min-width: calc(50% - 8px);
  }

  .ojitem .ojinfo h2 {
    font-size: 30px;
  }

  .oj-nav-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .ourjourney {
    padding: 40px 15px;
  }

  .ourjourney-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .ojitemslist {
    gap: 10px;
  }

  .ojitem {
    flex: 0 0 100%;
    min-width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 15px;
  }

  .ojitem:last-child {
    border-bottom: none;
  }

  .ojitem .ojinfo h2 {
    font-size: 36px;
  }

  .oj-nav-btn {
    width: 35px;
    height: 35px;
  }

  .oj-nav-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* =============================
    ABOUT US SECTION
============================= */

.about-us {
  padding-top: 20px;
  background-color: var(--m3m-bg-cream);
  color: #1b1b1b;
}

.about-container {
  display: flex;
  margin: 0 auto;
  padding: 20px;
  max-width: 1400px;
  align-items: flex-start;
  gap: 30px;
}

.about-container-headings {
  flex: 1;
  margin-top: 10px;
}

.about-container-headings h2 {
  font-size: 30px;
  font-family: "Libre Caslon Display", serif;
  color: var(--m3m-blue);
  margin-bottom: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.section-subtitle {
  padding: 0;
  color: #f0ece7;
  font-size: 13px;
  font-family: "Montserrat-Medium", sans-serif;
  text-align: center;
}

.about-container-headings p {
  color: #444;
  text-align: justify;
  font-weight: 500;
}

.about-container-headings a {
  color: #fff;
  background-color: var(--m3m-green);
  display: inline-block;
  margin-top: 25px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  font-family: "Montserrat-Bold", sans-serif;
  font-size: 15px;
  padding: 15px 20px;
  width: 230px;
  border-radius: 5px;
}

.about-container-headings a:hover {
  background-color: var(--m3m-blue);
  color: #fff;
  transition: 0.3s;
}

.about-container-image {
  flex: 1;
}

.about-container-image img {
  margin-bottom: 30px;
  width: 100%;
  height: 600px;
  object-fit: contain;
  border-radius: 6px;
}

.about-service-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  gap: 10px;
  justify-content: space-around;
}

/* Service icons styling - Smartworld Blue */
.about-service-item .item1 img {
  filter: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(1000%) hue-rotate(190deg) brightness(95%) contrast(101%);
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}

.about-service-item .item1:hover img {
  transform: scale(1.1);
}

.border-item {
  border-right: 1px solid #8080806e;
  border-left: 1px solid #8080806e;
  padding: 0 33px;
}

@keyframes btnAnimate {
  0% {
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotateY(-10deg);
  }

  70% {
    transform: perspective(400px) rotateY(10deg);
  }

  100% {
    transform: perspective(400px) rotateY(0);
    opacity: 1;
  }
}

/* =============================
    TESTIMONIALS
============================= */

.testimonial {
  padding: 60px;
  background: var(--gradient-m3m-mix);
}

/* Sustainability Section Headings - 50% border */
.sustainability-heading {
  color: white;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.sustainability-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 100px;
}

.testimonial-item {
  height: 100%;
  width: 100%;
  text-align: center;
  padding: 5px;
  background-color: #e8f5e9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-item img {
  width: inherit;
  height: inherit;
  object-fit: cover;
}

.testimonial-item a {
  text-decoration: none !important;
  color: #000 !important;
  font-weight: bold;
  font-size: 1.2rem;
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-item .video-wrapper {
  position: relative;
  padding-top: 65.5%;
}

.testimonial-item .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.testimonial-item .play-overlay {
  cursor: pointer;
  display: block;
  width: 100%;
  height: auto;
  margin: 0px;
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.yt-play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 22px solid white;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 4px;
}

.thumb-link:hover .yt-play-btn {
  background: red;
  transform: translate(-50%, -50%) scale(1.1);
  transition: 0.2s ease;
}

/* =============================
    AWARDS
============================= */

.awards {
  background-color: var(--m3m-bg-cream);
  padding: 60px 20px;
}

.awards-container {
  max-width: 1400px;
  margin: 0 auto;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 100px;
  text-align: center;
}

.awards-item {
  border: 2px solid var(--m3m-green);
  background: var(--m3m-blue);
  border-radius: 8px;
  overflow: hidden;
}

.awards-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.awards-item p {
  text-align: center;
  font-weight: 400;
  color: var(--m3m-green);
  padding: 5px 40px;
}

.awards-item p span {
  display: block;
  margin-top: 10px;
  font-weight: 400;
  font-size: 0.8em;
  color: #f0ece7;
}

/* =============================
    FOOTER
============================= */

footer {
  background: #0066B3;
}

footer hr {
  border: none;
  border-top: 1px solid rgba(0, 102, 179, 0.3);
  margin: 0;
}

.footer-content {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-left: 10px;
}

.footer-content span {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: left;
}

.footer-content span img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  filter: invert(29%) sepia(98%) saturate(1500%) hue-rotate(190deg) brightness(95%) contrast(101%);
}

.footer-section {
  border-bottom: 1px solid rgba(0, 102, 179, 0.2);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.footer-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--m3m-green);
  padding: 10px 0;
  cursor: pointer;
  position: relative;
}

.footer-title::after {
  content: "+";
  position: absolute;
  right: 10px;
  font-size: 20px;
  color: #0066B3;
}

.footer-section.active .footer-title::after {
  content: "-";
}

.footer-section.active .footer-content {
  display: flex;
}

@media (min-width: 767px) {
  .footer-content {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  .footer-title::after {
    display: none;
  }

  .footer-links {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
    margin: 0 auto;
    background-color: #f0ece7;
  }

  .footer-title {
    color: #0066B3;
    margin-bottom: 10px;
    border-bottom: 2px solid #0066B3;
    padding-bottom: 10px;
  }

  .footer-content a {
    font-size: 13px;
    color: grey;
    transition: color 0.3s ease;
  }

  .footer-content a:hover {
    color: #0066B3;
  }

  .footer-section {
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    padding-bottom: 10px;
    margin-bottom: 10px;
    max-width: 260px;
    width: 200px;
  }
}

/* =============================
    SIMPLE SLIDER STYLES
============================= */

.simple-slider {
  width: 100%;
  overflow: hidden;
  padding: 20px;
}

.slider-track {
  display: flex;
  transition: 0.4s ease;
  will-change: transform;
}

.slide {
  min-width: calc(100% / 3);
  padding: 10px;
}

.slide a {
  display: block;
  background: var(--m3m-blue);
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--m3m-green);
  height: auto;
  /* border-radius: 8px; */
  overflow: hidden;
}

.slide p {
  color: #f0ece7;
  padding: 0 10px;
  margin-top: 8px;
  font-size: 14px;
  /* margin-bottom: 20px; */
}

.slide img {
  margin-top: 20px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.slide video {
  margin-top: 20px;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.dots {
  text-align: center;
  margin-top: 12px;
}

.dots span {
  height: 10px;
  width: 10px;
  background: var(--m3m-green);
  display: inline-block;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.dots .active {
  background: var(--m3m-blue);
  opacity: 1;
}

/* =============================
    RESPONSIVE STYLES
============================= */

/* Base mobile-first adjustments */
@media (max-width: 480px) {
  .hamburger {
    display: block;
  }

  header .navbar ul {
    display: none;
  }

  .logo img {
    height: 48px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 280px;
    background: #fff;
    flex-direction: column;
    padding: 60px 20px 20px;
    gap: 20px;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.12);
    transition: right 0.28s ease;
    z-index: 1200;
  }

  .nav-links.show {
    right: 0;
    display: flex;
    flex-direction: column;
  }

  body.menu-open {
    overflow: hidden;
  }

  .container-box {
    padding: 0px 14px;
  }

  .title-border {
    font-size: 15px;
    padding-bottom: 12px;
  }

  .project-container {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 18px;
  }

  .img-section {
    height: 400px;
    margin-top: 12px;
  }

  .about-container {
    flex-direction: column;
    margin: 0;
    padding: 16px;
    gap: 20px;
    max-width: 100%;
  }

  .about-container-headings,
  .about-container-image {
    max-width: 100%;
    margin: auto;
  }

  .about-container-headings h2 {
    font-size: 18px;
    padding: 0;
    text-align: center;
  }

  .about-container-image img {
    height: auto;
    max-height: 420px;
    object-fit: cover;
  }

  .about-container-headings p {
    text-align: center;
    font-size: 13px;
  }

  .testimonial {
    padding: 30px 12px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    margin: 20px 0;
    gap: 16px;
  }

  .testimonial-item {
    padding: 8px;
  }

  .awards-grid {
    grid-template-columns: 1fr;
    margin: 20px 0;
    gap: 18px;
    padding: 12px;
  }

  .awards-item img {
    height: 260px;
    object-fit: cover;
  }

  .footer-inner-container {
    margin: 0 12px;
  }

  .footer-inner-box {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
    padding: 0 12px;
  }

  .disclaimer {
    padding: 18px;
    font-size: 12px;
  }

  .slide {
    min-width: 100%;
  }
}

/* Small phones & larger phones */
@media (min-width: 481px) and (max-width: 767px) {
  .hamburger {
    display: block;
  }

  header .navbar ul {
    display: none;
  }

  .logo img {
    height: 54px;
  }

  .container-box {
    padding: 35px 18px;
  }

  .project-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .img-section {
    height: 400px;
  }

  .about-container {
    flex-direction: column;
    align-items: stretch;
    max-width: 560px;
  }

  .about-container-image img {
    height: 480px;
    max-height: 480px;
    object-fit: cover;
  }

  .about-container-headings h2 {
    text-align: center;
    font-size: 25px;
  }

  .about-container-headings p {
    text-align: center;
    font-size: 14px;
    line-height: 2;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    margin: 18px 0;
  }

  .awards-grid {
    grid-template-columns: 1fr;
    margin: 18px 0;
  }

  .slide {
    min-width: 50%;
  }
}

/* Tablet */
@media (min-width: 767px) and (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    align-items: stretch;
    max-width: 760px;
  }

  .about-container-image img {
    height: 600px;
    max-height: 600px;
    object-fit: cover;
  }

  .about-container-headings h2 {
    text-align: center;
  }

  .about-container-headings p {
    text-align: center;
  }

  .about-service-item {
    margin: 0 110px;
  }
}

/* Tablet + Mobile Luxury Glass Menu Fix */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 270px;
    padding: 90px 30px;
    flex-direction: column;
    gap: 25px;
    background: white;
    backdrop-filter: blur(12px);
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.25);
    transition: right 0.35s ease;
    z-index: 9999;
  }

  .hamburger {
    display: block;
  }

  .nav-links.show {
    right: 0;
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* Small desktop / laptop */
@media (min-width: 1025px) and (max-width: 1199px) {
  .hamburger {
    display: none;
  }

  header .navbar ul {
    display: flex;
  }

  .logo img {
    height: 60px;
  }

  .container-box {
    padding: 0px 120px;
  }

  .project-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .img-section {
    height: 400px;
  }

  .about-container {
    display: flex;
    gap: 40px;
    padding: 40px;
    align-items: flex-start;
    margin: 0;
  }

  .about-container-image img {
    height: 600px;
    object-fit: contain;
  }

  .testimonial {
    padding: 80px 100px;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    margin: 30px 50px;
  }

  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
    margin: 40px 80px;
  }

  .footer-links {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
    margin: 0 auto;
    background-color: #f0ece7;
  }

  .footer-inner-container {
    margin: 0 100px;
  }

  .slide {
    min-width: calc(100% / 3);
  }
}

/* Desktop and up */
@media (min-width: 1200px) {
  .container-box {
    padding: 0px 150px;
  }

  .project-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .testimonial-grid,
  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
    margin: 30px 100px;
  }

  .footer-inner-container {
    margin: 0px;
  }

  .footer-links {
    padding: 60px;
    background-color: #f0ece7;
    display: flex;
    justify-content: space-evenly;
    gap: 60px;
  }

  .footer-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 10px;
    max-width: 260px;
  }

  .about-container {
    max-width: 1400px;
    padding: 40px 150px;
  }

  .logo img {
    height: 60px;
    /* filter:  invert(1) sepia(1) brightness(1.4); */
  }

  .slide {
    min-width: calc(100% / 3);
  }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
  .container-box {
    padding-left: 220px;
    padding-right: 220px;
  }

  .about-container {
    padding-left: 150px;
    padding-right: 150px;
  }

  .testimonial-grid,
  .awards-grid {
    margin-left: 160px;
    margin-right: 160px;
  }
}

/* Accessibility and small refinements */
a:focus,
button:focus {
  outline: 2px dashed #aaa;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============================
    POPUP MODAL DESIGN - M3M Style
============================= */

/* CSS Variables for M3M Theme */
:root {
  --m3m-primary: #9c6d41;
  --m3m-gold: #0066B3;
  --m3m-cream: #f0ece7;
  --m3m-dark: #1a1a1a;
  --gradient-m3m: linear-gradient(135deg, #9c6d41 0%, #7a5533 100%);
  --gradient-gold: linear-gradient(135deg, #d4a853 0%, #c9a85c 100%);
}

/* Modal Overlay - Centers the popup */
#popupFormgolfhills.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.modal-box-new {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  margin: auto;
  animation: popupSlideIn 0.3s ease-out;
}

/* Popup animation */
@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Close Button */
.close-btn-new {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  z-index: 100;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn-new:hover {
  color: #fff;
  transform: scale(1.1);
}

/* Popup Header Section - M3M Theme */
.popup-header-orange {
  background: var(--gradient-m3m-green);
  padding: 15px 15px;
  text-align: center;
  color: #fff;
}

.popup-header-subtitle {
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 5px;
  color: #fff;
  opacity: 0.95;
}

.popup-header-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

.popup-header-builder {
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  opacity: 0.9;
}

/* Form Section */
.modal-form-section {
  padding: 15px 18px;
  background: #fff;
}

.popup-input-group {
  margin-bottom: 10px;
}

.popup-form-input {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  color: #333;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.popup-form-input:focus {
  border-bottom-color: var(--m3m-gold);
}

.popup-form-input::placeholder {
  color: #999;
  font-weight: 400;
}

/* Phone Input Group */
.popup-phone-group {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 12px;
  padding: 0;
  position: relative;
}

.popup-country-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  cursor: pointer;
  border-right: 1px solid #e0e0e0;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  min-width: 75px;
}

.popup-country-code {
  font-weight: 500;
}

.popup-dropdown-arrow {
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.popup-country-select:hover .popup-dropdown-arrow {
  opacity: 1;
}

.popup-phone-input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  color: #333;
  background: transparent;
  outline: none;
}

.popup-phone-input::placeholder {
  color: #999;
}

/* Country Flag in selector */
.popup-country-flag {
  border-radius: 2px;
}

/* Country Dropdown */
.popup-country-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  max-height: 250px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  list-style: none;
  margin: 5px 0 0 0;
  padding: 5px 0;
}

.popup-country-dropdown.show {
  display: block;
}

.popup-country-dropdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s ease;
}

.popup-country-dropdown li:hover {
  background: #f5f5f5;
}

.popup-country-dropdown li img {
  border-radius: 2px;
}

.popup-consent-group {
  margin-bottom: 12px;
  padding: 0 5px;
}

.popup-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  position: relative;
  padding-left: 26px;
}

.popup-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.popup-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 2px solid #0066B3;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.popup-checkbox-container:hover .popup-checkmark {
  border-color: #45a049;
}

.popup-checkbox-container input:checked~.popup-checkmark {
  background-color: #0066B3;
}

.popup-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.popup-checkbox-container input:checked~.popup-checkmark:after {
  display: block;
}

.popup-checkbox-container .popup-checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.popup-consent-text {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
}

/* Submit Button */
.popup-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 15px;
  background: var(--gradient-m3m-green);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popup-submit-btn:hover {
  background: #0066B3;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.popup-submit-btn svg {
  stroke: #fff;
  transition: stroke 0.3s ease;
}

.popup-submit-btn:hover svg {
  stroke: #fff;
}

/* Feature Badges Section */
.popup-features-section {
  background: var(--m3m-cream);
  padding: 12px 15px;
  border-top: 1px solid #ccc;
}

.popup-feature-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

.popup-feature-badge:first-child {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 0;
}

.popup-feature-icon-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-feature-icon-badge svg {
  width: 32px;
  height: 32px;
}

.popup-feature-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

.popup-feature-text p {
  font-size: 11px;
  color: #777;
  line-height: 1.3;
  margin: 0;
}

/* OTP Section */
.popup-otp-section {
  padding: 30px 20px;
  text-align: center;
  background: #fff;
}

.popup-otp-heading {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
}

.popup-otp-input-container {
  margin-bottom: 20px;
}

.popup-otp-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 5px;
  font-family: "Montserrat", sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.popup-otp-input:focus {
  border-color: var(--m3m-gold);
}

.popup-error-msg {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 10px;
}

.popup-timer-display {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

/* Thank You Section */
.popup-thankyou-section {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
}

.popup-thankyou-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.popup-thankyou-heading {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  font-family: "Montserrat", sans-serif;
}

.popup-thankyou-text {
  font-size: 15px;
  color: #666;
  margin: 0;
}

/* Toast Notification */
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 10000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 14px;
}

.toast.show {
  visibility: visible;
  animation:
    fadein 0.5s,
    fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

/* Modal Backdrop */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.modal-backdrop.show {
  display: block;
}

/* Fix Footer for Mobile */
@media only screen and (max-width: 600px) {
  .fix-footer {
    display: flex !important;
  }
}

.fix-footer {
  display: none;
  position: fixed;
  bottom: 0px;
  left: 0;
  right: 0;
  background: var(--m3m-blue-dark);
  padding: 16px 0px;
  z-index: 9;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-top: 2px solid var(--m3m-green);
}

.fix-footer p {
  flex: 1;
  text-align: center;
  margin: 0px;
  padding: 0px;
}

.fix-footer p a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff !important;
  text-decoration: none;
}

.fix-footer p a span {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.fix-footer img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Mobile Responsive for Popup */
@media (max-width: 768px) {
  #popupFormgolfhills.modal {
    padding: 12px;
  }

  .modal-box-new {
    width: 100%;
    max-width: 380px;
    border-radius: 10px;
  }

  .popup-header-orange {
    padding: 12px;
  }

  .popup-header-title {
    font-size: 18px;
  }

  .modal-form-section {
    padding: 12px 15px;
  }

  .popup-submit-btn {
    font-size: 13px;
    padding: 10px 12px;
  }

  .popup-features-section {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  #popupFormgolfhills.modal {
    padding: 8px;
  }

  .modal-box-new {
    width: 100%;
    border-radius: 8px;
  }

  .popup-header-orange {
    padding: 10px;
  }

  .popup-header-subtitle {
    font-size: 11px;
  }

  .popup-header-title {
    font-size: 16px;
  }

  .popup-header-builder {
    font-size: 10px;
  }

  .modal-form-section {
    padding: 18px 12px;
  }

  .popup-form-input {
    padding: 12px;
    font-size: 15px;
  }

  .popup-phone-group {
    margin-bottom: 15px;
  }

  .popup-country-select {
    padding: 12px 10px;
    min-width: 70px;
    font-size: 14px;
  }

  .popup-phone-input {
    padding: 12px;
    font-size: 15px;
  }

  .popup-consent-text {
    font-size: 12px;
  }

  .popup-submit-btn {
    padding: 12px 15px;
    font-size: 14px;
  }

  .popup-features-section {
    padding: 12px;
  }

  .close-btn-new {
    top: 8px;
    right: 12px;
    font-size: 24px;
  }
}

/* Footer Copyright Bar Centering */
.footer-copyright-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
  background: #0066B3;
  width: 100%;
}

.footer-copyright-text {
  color: white;
  font-size: 13px;
  text-align: left;
}

.footer-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links-right {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links-right a {
  color: white;
  text-decoration: none;
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-copyright-bar {
    display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
  background: #0066B3;
  width: 100%;
    /* Space for mobile fix-footer */
  }

  .footer-copyright-text,
  .footer-links-right {
    justify-content: center;
    text-align: center;
  }

  .footer-links-right {
    order: 3;
  }
}


/* =============================
    LENIS SMOOTH SCROLL STYLES
============================= */

/* Lenis smooth scroll base styles */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}
/* End of stylesheet */