/* ===================================== HOME HERO SECTION START===================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
    background-color: #111;
  }

  /* Background: Continuous slow-motion zoom */
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: continuousZoom 25s infinite alternate ease-in-out;
  }

  /* Content: Continuous vertical floating + initial fade-in */
  .hero-content {
    position: relative;
    padding: 0 20px;
    z-index: 2;
  }

  .hero-subtitle {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 300;
  }

  .hero-title {
    font-family: "Italiana", serif;
    font-size: clamp(50px, 12vw, 60px);
    line-height: 0.95;
    margin: 5px 0 15px 0;
    font-weight: 400;
  }

  .hero-brand {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 400;
    opacity: 0.8;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
  }

  .scroll-indicator span {
    display: block;
    width: 16px;
    height: 16px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    animation: arrowBounce 2s infinite;
  }

  /* --- KEYFRAMES --- */

  /* Continuous floating loop */
  @keyframes continuousFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-25px); } /* Moves up */
    100% { transform: translateY(0px); }  /* Moves back down */
  }

  /* One-time entry animation */
  @keyframes textReveal {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
  }

  /* Continuous Background Scale */
  @keyframes continuousZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
  }

  /* Arrow Bouncing */
  @keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
  }

  /* Mobile Responsive */
  @media (max-width: 768px) {
    .hero-slider { height: 100vh; }
    .hero-title { font-size: 65px; }
    .hero-subtitle { font-size: 10px; letter-spacing: 2px; }
    .hero-brand { font-size: 14px; }
  }

/* ===================================== HOME FEATURED PROJECTS SECTION START===================================== */
/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Raleway:wght@300;400&display=swap');

.solutions-section {
  padding: 30px 20px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

/* Headings */
.header-container {
  margin-bottom: 20px;
}

.sub-heading {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 0px;
}

.main-heading {
  font-family: "Italiana", serif;
  font-size: clamp(32px, 5vw, 32px);
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
}

/* Accordion Gallery */
.accordion-wrapper {
  display: flex;
  gap: 10px;
  height: 500px;
  width: 100%;
  overflow: hidden;
}

.accordion-item {
  position: relative;
  flex: 1;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  overflow: hidden;
}

/* Image Styling */
.accordion-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

/* Dark overlay for text readability */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  transition: opacity 0.4s ease;
}

.label {
  position: relative;
  z-index: 2;
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  color: #ffffff;
  transition: opacity 0.3s ease, transform 0.4s ease;
  white-space: nowrap;
}

/* Hover Interaction Logic */
.accordion-wrapper:hover .accordion-item {
  flex: 0.5;
}

.accordion-wrapper:hover .accordion-item .label {
  opacity: 0;
}

.accordion-wrapper .accordion-item:hover {
  flex: 2;
}

.accordion-wrapper .accordion-item:hover .label {
  opacity: 1;
  transform: translateY(-10px);
}

.accordion-wrapper .accordion-item:hover .overlay {
  background: rgba(0,0,0,0.1);
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {

  .accordion-wrapper {
    flex-direction: column;
    height: 800px;
  }

  .accordion-wrapper:hover .accordion-item {
    flex: 1;
  }

  .accordion-wrapper .accordion-item:hover {
    flex: 3;
  }

  .label {
    opacity: 1 !important;
    font-size: 18px;
  }

}

/* ===================================== HOME ABOUT SECTION START===================================== */
/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Raleway:wght@300;400;500&display=swap');

.about-section {
  padding: 30px 20px;
  background: transparent; /* Revealing global dot pattern */
  display: flex;
  justify-content: center;
}

.about-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px; /* Space between text and image */
}

/* Left Content Styles */
.about-content {
  flex: 1;
}

.section-tag {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: #666;
  margin-bottom: 10px;
}

.about-title {
  font-family: "Italiana", serif;
  font-size: clamp(40px, 5vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.title-logo {
  height: 1.1em; /* Scales with font size */
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.about-text {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 0px; /* Pulling everything together tightly */
}

.about-text p {
  margin-bottom: 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Button Style */
.btn-learn {
  display: inline-block;
  padding: 15px 35px;
  margin-top: -10px; /* Pulling the button upwards into the section more */
  background-color: #CD9933; /* Blueish-grey from your image */
  color: #ffffff;
  text-decoration: none;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-learn:hover {
  background-color: #0A3616;
  transform: translateY(-2px);
}

/* Right Image Styles */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); Soft shadow */
}

/* Responsive Tablet/Mobile Design */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column; /* Stack vertically */
    gap: 40px;
    text-align: center;
  }

  .about-content {
    order: 2; /* Text goes below image on mobile */
  }

  .about-image {
    order: 1;
    width: 100%;
  }

  .about-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ===================================== HOME WHY CHOOSE US SECTION START===================================== */
/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Raleway:wght@300;400;600&family=Inter:wght@300;400&display=swap');

/* =====================================
   SERVICE HEADER
===================================== */

.service-header {
  text-align: center;
  margin: 0 auto 10px auto; /* center the block */
  max-width: 900px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-subheading {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.service-main-heading {
  font-family: "Italiana", serif;
  font-size: clamp(32px, 5vw, 32px);
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.1;
  text-align: center;
}

/* =====================================
   STATS SECTION
===================================== */

.stats-section {
  position: relative;
  padding: 30px 20px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  background-image: url('../images/bg.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */

  color: #ffffff;
  overflow: hidden;
  background-color: #444; /* Fallback color if image fails */
}

/* Dark Overlay */
.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 54, 22, 0.8); 
  z-index: 1;
}

/* Container */
.stats-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* Header */
.stats-header {
  margin-bottom: 20px;
}

.stats-sub-tag {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-align: center;
}

.stats-main-title {
  font-family: "Italiana", serif;
  font-size: clamp(32px, 6vw, 32px);
  font-weight: 400;
  margin: 0;
  text-align: center;
}

/* =====================================
   STATS GRID
===================================== */

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 200px;
}

.stat-number, .stat-plus {
  font-family: "Italiana", serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  display: inline-block;
  margin-bottom: 10px;
}




.stat-label {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {

  .stats-section {
    padding: 40px 20px;
    background-attachment: scroll;
  }

  .stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .stat-item {
    width: 100%;
  }

}


/* ===================================== HOME SERVICE SECTION START===================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');

.segmented-service-section {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.service-grid {
  display: flex;
  width: 100%;
  height: 600px;
}

.service-card {
  flex: 1;
  height: 100%;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

/* DESKTOP VIEW: Flip logic active */
@media (min-width: 1025px) {
  .service-card:hover .card-inner {
    transform: rotateY(180deg);
  }
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Desktop Front Styles */
.card-front {
  background-image: url('../images/bg.jpg'); 
  background-size: 600% 100%; 
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.f1 { background-position: 0% 0%; }
.f2 { background-position: 20% 0%; }
.f3 { background-position: 40% 0%; }
.f4 { background-position: 60% 0%; }
.f5 { background-position: 80% 0%; }
.f6 { background-position: 100% 0%; }

.card-front::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
}

.front-label {
  color: #fff;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.front-label h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin: 0; font-weight: 700; }

/* Desktop Back Styles */
.card-back {
  background-color: #CD9933; 
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.info-icon { font-size: 40px; margin-bottom: 20px; color: #fff; }
.card-info { text-align: center; }
.card-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 15px; }
.card-info p { font-size: 14px; line-height: 1.6; opacity: 0.9; }

/* --- TABLET VIEW: 2 cards per row, no flip --- */
@media (min-width: 601px) and (max-width: 1024px) {
  .service-grid {
    flex-wrap: wrap;
    height: auto;
    padding: 30px;
    gap: 20px;
  }

  .service-card {
    flex: 0 0 calc(50% - 10px); /* Exactly 2 cards per row */
    height: auto;
  }

  .card-inner {
    transform: none !important;
    height: auto;
  }

  .card-front { display: none; }

  .card-back {
    position: relative;
    transform: none;
    background-color: #f9f9f9;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 40px 25px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  }

  .info-icon { color: #0C63CE; }
  .card-info h3 { color: #000; font-size: 20px; }
  .card-info p { color: #555; }
}

/* --- MOBILE VIEW: 1 card per row, no flip --- */
@media (max-width: 600px) {
  .service-grid {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 15px;
  }

  .service-card { height: auto; width: 100%; }
  .card-inner { transform: none !important; height: auto; }
  .card-front { display: none; }

  .card-back {
    position: relative;
    transform: none;
    background-color: #f9f9f9;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 35px 20px;
    border: 1px solid #eaeaea;
  }

  .info-icon { color: #0C63CE; margin-bottom: 10px; }
  .card-info h3 { font-size: 19px; }
  .card-info p { font-size: 14px; }
}

/* ===================================== HOME TESTIMONIALS SECTION START===================================== */
/* Updated Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Raleway:ital,wght@0,400;0,600;0,700;1,400&family=Syne:wght@700&family=Inter:wght@400;700&display=swap');

.testimonial-section {
  background: transparent; /* Revealing global dot pattern */
  padding: 30px 0 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden; 
}

.testimonial-header {
  text-align: center;
  margin-bottom: 10px;
  max-width: 900px;
  padding: 0 20px;
}

.testimonial-subheading {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.testimonial-main-heading {
  font-family: "Italiana", serif;
  font-size: clamp(32px, 5vw, 32px);
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.1;
}

/* --- Slider Core --- */
.testimonial-slider {
  width: 100%;
  padding: 45px 0 75px 0 !important; 
  cursor: grab;
  position: relative;
}

.testimonial-slider:active { cursor: grabbing; }

.testimonial-card {
  background: #fdfdfd;
  border-radius: 30px;
  padding: 20px 10px 10px 85px;
  position: relative;
  border: 1px solid #eaeaea;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  min-height: 200px;
  display: flex;
  align-items: center;
  margin-left: 10px;
  opacity: 0.3;
  transform: scale(0.85);
  filter: grayscale(100%);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .testimonial-card {
  opacity: 1;
  transform: scale(1.03); 
  filter: grayscale(0%);
  border-color: #0A3616;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

/* Overlaps */
.profile-offset {
  position: absolute;
  left: -45px; 
  top: 50%;
  transform: translateY(-50%);
  width: 120px; 
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.profile-offset img { width: 100%; height: 100%; object-fit: cover; }

.stars-offset {
  position: absolute;
  top: -24px; 
  right: 25px;
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 15px;
  border: 1px solid #b9d9ff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  z-index: 5;
}

.star-icon { color: #ffb400; font-size: 0.9rem; letter-spacing: 3px; }

/* Updated Typography for User Details */
.user-name { 
  color: #000; 
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem; 
  margin: 0 0 2px 0; /* Reduced margin to bring location closer */
  font-weight: 700; 
}

.user-location {
  font-family: "Raleway", sans-serif;
  color: #0A3616; /* Corporate blue */
  font-size: 0.6rem;
  margin: 0 0 12px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user-text { 
  color: #555; 
  font-family: "Raleway", sans-serif;
  font-size: 1rem; 
  line-height: 1.6; 
  margin: 0; 
  font-style: italic; 
}

/* --- Pagination Fix --- */
.swiper-pagination {
  bottom: 40px !important;
  z-index: 20 !important;
  pointer-events: all !important;
}

.swiper-pagination-bullet {
  width: 12px; height: 12px;
  background: #0A3616 !important;
  opacity: 0.2;
  transition: all 0.3s ease;
  cursor: pointer !important;
}

.swiper-pagination-bullet-active { opacity: 1; width: 35px; border-radius: 10px; }

@media (max-width: 768px) {
  .testimonial-card { padding-left: 85px; margin-left: 45px; margin-right: 15px; }
  .profile-offset { width: 100px; height: 100px; left: -40px; }
}


/* ===================================== BANNER SECTION START===================================== */
/* HERO SECTION */
.inner-hero {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 320px;
  max-height: 500px;

  display: flex;
  justify-content: center;

  /* ✅ UPDATED (move content down) */
  align-items: flex-end;
  padding-bottom: 80px;

  overflow: hidden;
}

/* IMAGE */
.inner-hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.inner-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 54, 22, 0.5);
}

/* CONTENT */
.inner-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 10px 20px;
  max-width: 900px;
}

/* SUBTITLE */
.inner-hero .hero-subtitle {
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  opacity: 0.85;
}

/* TITLE */
.inner-hero .hero-title {
  font-family: "Italiana", serif;
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* ========================= */
/* PREMIUM BREADCRUMB DESIGN */
/* ========================= */

.inner-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 30px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);

  font-family: "Raleway", sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* HOME LINK */
.inner-hero .breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
}

/* Hover underline effect */
.inner-hero .breadcrumb a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #fff;
  transition: 0.3s;
}

.inner-hero .breadcrumb a:hover::after {
  width: 100%;
}

/* SEPARATOR */
.inner-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

/* ACTIVE PAGE */
.inner-hero .breadcrumb span:last-child {
  color: #fff;
  font-weight: 500;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 992px) {
  .inner-hero .hero-title {
    font-size: 48px;
  }

  /* adjust spacing for tablet */
  .inner-hero {
    padding-bottom: 60px;
  }
}

@media (max-width: 600px) {
  .inner-hero {
    height: 38vh;
    min-height: 260px;

    /* adjust spacing for mobile */
    padding-bottom: 40px;
  }

  .inner-hero .hero-title {
    font-size: 34px;
  }

  .inner-hero .hero-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .inner-hero .breadcrumb {
    font-size: 11px;
    padding: 8px 14px;
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .inner-hero .hero-title {
    font-size: 28px;
  }
}


/* ===================================== ABOUT PAGE ABOUT SECTION START===================================== */
.kgsaboutp-section {
    padding: 30px 0;
    background-color: #F9F9F9;
    overflow: hidden;
}

/* CONTAINER */
.kgsaboutp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* balanced spacing */
}

/* CONTENT */
.kgsaboutp-content-col {
    flex: 1;
    padding-left: 40px; /* pushes content slightly right */
}

/* SUBTITLE */
.kgsaboutp-subtitle {
    font-size: 12px;
    color: #CD9933;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.kgsaboutp-subtitle::before {
    content: '';
    width: 40px;
    height: 2px;
    background-color: #CD9933;
    margin-right: 15px;
    transition: 0.3s;
}

.kgsaboutp-content-col:hover .kgsaboutp-subtitle::before {
    width: 60px;
}

/* TITLE */
.kgsaboutp-main-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.kgsaboutp-script-highlight {
    color: #CD9933;
}

/* TEXT */
.kgsaboutp-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 14px;
    max-width: 100%; /* remove restriction */
}

/* BUTTON */
.kgsaboutp-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 36px;
    border: 2px solid #CD9933;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    transition: all 0.3s ease;
}

.kgsaboutp-btn:hover {
    background: #0A3616;
    color: #fff;
}

.kgsaboutp-arrow-icon {
    margin-left: 10px;
}

/* IMAGES */
.kgsaboutp-images-col {
    flex: 1;
    position: relative;
}

/* IMPORTANT HEIGHT FIX */
.kgsaboutp-composition-wrapper {
    position: relative;
    width: 100%;
    min-height: 460px; /* reduced height */
}

/* IMAGE BOX */
.kgsaboutp-img-box {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.kgsaboutp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TOP IMAGE */
.kgsaboutp-top-img {
    top: 0;
    left: 0;
    width: 55%;
    height: 280px;
}

/* BOTTOM IMAGE */
.kgsaboutp-bottom-img {
    bottom: 0;
    right: 5%;
    width: 50%;
    height: 260px;
    border: 8px solid #CD9933;
}

/* BADGE */
.rotating-badge {
    position: absolute;
    top: 20px;
    right: 0;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    z-index: 3;
    transition: transform 0.3s ease;
}

.rotating-badge:hover {
    transform: scale(1.1);
}

.spinner-text {
    width: 100%;
    height: 100%;
    animation: rotateText 10s linear infinite;
}

.rotating-badge:hover .spinner-text {
    animation-duration: 4s;
}

.spinner-text svg {
    fill: #000000;
    font-size: 10px; /* Slightly smaller to fit all text */
    font-weight: 600;
    /* letter-spacing: 1px; */
}

.center-icon {
    position: absolute;
    color: #EAAB1C;
    font-size: 24px;
}

/* DOODLE ARROW */
.doodle-arrow {
    position: absolute;
    bottom: 20px;
    left: 45%;
    width: 80px;
    height: 80px;
    color: #000000;
    z-index: 3;
    opacity: 0.6;
    transform: rotate(-10deg);
    animation: bounceArrow 3s ease-in-out infinite;
}

/* ==================== ANIMATIONS ==================== */

@keyframes floatVertical {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-10px) rotate(-10deg); }
}

/* ================= MOBILE ================= */
@media (max-width: 1024px) {
    .kgsaboutp-container {
        gap: 30px;
    }

    .kgsaboutp-content-col {
        padding-left: 20px;
    }

    .kgsaboutp-main-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .kgsaboutp-container {
        flex-direction: column;
        gap: 40px;
    }

    .kgsaboutp-content-col {
        padding-left: 0;
        text-align: center;
    }

    .kgsaboutp-subtitle {
        justify-content: center;
    }

    .kgsaboutp-main-title {
        font-size: 30px;
    }

    .kgsaboutp-desc {
        max-width: 100%;
    }

    /* MAINTAIN OVERLAP ON MOBILE */
    .kgsaboutp-images-col {
        width: 100%;
        margin-bottom: 30px;
    }

    .kgsaboutp-composition-wrapper {
        position: relative;
        width: 100%;
        min-height: 380px; /* Explicit height to contain absolute images */
        margin: 0 auto;
    }

    .kgsaboutp-top-img {
        width: 75%; 
        height: 240px;
        position: absolute;
        top: 0;
        left: 5%;
    }

    .kgsaboutp-bottom-img {
        width: 70%;
        height: 220px;
        position: absolute;
        bottom: 0;
        right: 5%;
        border: 4px solid #CD9933;
        z-index: 2;
    }

    .rotating-badge {
        top: 25%;
        right: 0%;
        width: 90px;
        height: 90px;
        z-index: 3;
    }

    .kgsaboutp-center-icon {
        font-size: 16px;
    }
}

/* ===================================== ABOUT PAGE VALUES SECTION START===================================== */
/* MAIN SECTION */
.kgsvalues-section{
    position:relative;
}

/* TOP DARK AREA */
.kgsvalues-top{
    background:#0A3616;
    padding:80px 20px 180px;
    position:relative;
    overflow:hidden;
    z-index:1;
}

/* 🔥 PATTERN ONLY INSIDE TOP */
.kgsvalues-top::before{
    content:"";
    position:absolute;
    inset:0;

    background-image:url('../images/bg.png');
    background-repeat:repeat;
    background-size:250px;

    opacity:0.5;

    pointer-events:none;
    z-index:0; /* stays behind content */
}

/* CONTENT */
.kgsvalues-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:40px;
    color:#fff;
    position:relative;
    z-index:2;
}

.kgsvalues-col{
    flex:1;
}

.kgsvalues-heading{
    font-size:20px;
    margin-bottom:10px;
    color:#CD9933;
}

.kgsvalues-text{
    color:#ffffff;
    font-size:14px;
    line-height:1.7;
}

/* 🔥 IMAGE WRAP (BRING ABOVE TOP SECTION) */
.kgsvalues-image-wrap{
    position:relative;
    margin-top:-120px;
    z-index:3; /* ✅ ABOVE pattern */
}

/* CARD */
.kgsvalues-card{
    width:90%;
    max-width:1100px;
    min-height:320px;
    height: auto;
    margin:auto;

    background:url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6') center/cover no-repeat;
    border-radius:8px;
    overflow:hidden;
    position:relative;

    box-shadow:0 20px 60px rgba(0,0,0,0.5);
    z-index:4; /* extra safety */
}

/* GOLD BAR */
.kgsvalues-card::after{
    content:"";
    position:absolute;
    top:-15px;
    left:40px;
    width:120px;
    height:20px;
    background:#CD9933;
}

/* OVERLAY */
.kgsvalues-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
}

/* CARD CONTENT */
.kgsvalues-card-content{
    position:relative;
    z-index:2;
    padding:50px;
    max-width:100%;
    color:#fff;
}

.kgsvalues-card-content h2{
    font-size:26px;
    line-height:1.4;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.kgsvalues-card-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.kgsvalues-card-item {
    flex: 1;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.kgsvalues-card-item h5 {
    color: #CD9933;
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
}

.kgsvalues-card-item p {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.kgsvalues-card-content p{
    margin-top:15px;
    font-size:14px;
    color:#ddd;
}

/* RESPONSIVE */
@media(max-width:992px){

    .kgsvalues-container{
        flex-direction:column;
    }

    .kgsvalues-image-wrap{
        margin-top:-80px;
    }

    .kgsvalues-card{
        height:auto;
    }
}

@media(max-width:576px){

    .kgsvalues-top{
        padding:60px 15px 140px;
    }

    .kgsvalues-card-content{
        padding:25px;
    }

    .kgsvalues-card-content h2{
        font-size:20px;
    }
}


/* ===================================== ABOUT PAGE FOUNDER VISION SECTION ===================================== */
.kgs-founder-vision {
    padding: 40px 20px;
    background: transparent; /* Revealing the architectural grid pattern */
    position: relative;
    overflow: hidden;
    color: #1a1a1a;
}

/* Subtle background glow effect - keeping for depth */
.kgs-founder-vision::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(205, 153, 51, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.kgs-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px; /* Reduced gap further */
    position: relative;
    z-index: 2;
}

/* Image Frame Styling */
.kgs-founder-frame-col {
    flex: 0.8; /* Reduced column width */
    position: relative;
}

.kgs-founder-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px; /* Scaled down image wrapper */
    margin-left: auto;
}

.kgs-frame-border {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid #CD9933; /* Gold Border */
    z-index: 1;
}

.kgs-founder-portrait {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.1); /* Lighter shadow for white bg */
}

.kgs-experience-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: #CD9933;
    padding: 20px 30px;
    color: #fff;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.exp-num {
    display: block;
    font-size: 36px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Content Column Styling */
.kgs-vision-content-col {
    flex: 1.2;
    position: relative;
}

.kgs-quote-icon {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 100px;
    color: rgba(205, 153, 51, 0.1);
    z-index: -1;
}

.kgs-vision-tag {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    color: #CD9933;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.kgs-founder-h {
    font-family: 'Italiana', serif;
    font-size: clamp(32px, 4vw, 42px); /* Tighter font sizing */
    margin: 0;
    line-height: 1.1;
}

.kgs-founder-pos {
    font-family: 'Raleway', sans-serif;
    font-size: 14px; /* Reduced size */
    color: #0A3616; /* Deep green */
    margin: 5px 0 20px 0; /* Tighter margins */
    letter-spacing: 1px;
    opacity: 0.8;
}

.kgs-vision-message {
    font-size: 16px; /* Slightly more compact reading size */
    line-height: 1.6;
    color: #444; /* Darker grey for message */
    font-style: italic;
    margin-bottom: 25px; /* Significantly reduced margin */
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #CD9933;
}

.kgs-signature-area {
    margin-top: 30px; /* Pulled signature area closer */
}

.sig-line {
    width: 60px;
    height: 2px;
    background: #CD9933;
    margin-bottom: 10px;
}

.sig-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666; /* Darker grey for white bg */
    margin: 0;
}

.kgs-handwritten-name {
    font-family: 'Italiana', serif;
    font-size: 32px;
    color: #CD9933;
    margin: 5px 0 0 0;
}

/* Responsive Styling for Founder Vision */
@media (max-width: 992px) {
    .kgs-vision-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .kgs-founder-image-wrapper {
        margin: 0 auto;
    }

    .kgs-vision-message {
        padding-left: 0;
        border-left: none;
    }

    .sig-line {
        margin: 0 auto 10px auto;
    }
}

@media (max-width: 576px) {
    .kgs-founder-vision {
        padding: 60px 15px;
    }

    .kgs-experience-box {
        left: 0;
        bottom: -20px;
        padding: 15px 20px;
    }
}

/* ===================================== CONTACT US PAGE SECTION START===================================== */

@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Raleway:wght@300;400;600&display=swap');

.kgscontactp-area {
    padding: 30px 20px;
    background-color: #f8f8f8;
    font-family: 'Raleway', sans-serif;
}

.kgscontactp-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.kgscontactp-sidebar {
    padding: 50px;
    background-color: #0A3616;
    color: #fff;
}

.kgscontactp-accent-title {
    color: #CD9933;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 25px;
}

.kgscontactp-sidebar-desc {
    font-weight: 300;
    color: #aaa;
    margin-bottom: 45px;
    line-height: 1.8;
}

.kgscontactp-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.kgscontactp-link {
    display: flex;
    align-items: flex-start; /* Changed from center to align with top of multi-line text */
    gap: 18px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.kgscontactp-link:hover {
    opacity: 0.8;
}

.kgscontactp-icon-circle {
    width: 44px; /* Slightly increased size */
    height: 44px;
    flex-shrink: 0; /* Prevents the circle from being squeezed into an oval */
    border: 1px solid rgba(197, 160, 89, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #CD9933;
    margin-top: 2px; /* Small offset to align with first line of text */
}

.kgscontactp-text strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.kgscontactp-text span {
    color: #888;
    font-size: 14px;
}

.kgscontactp-social-box {
    margin-top: 60px;
    border-top: 1px solid #222;
    padding-top: 30px;
}

.kgscontactp-social-box h6 {
    font-size: 11px;
    margin-bottom: 15px;
    color: #555;
    text-transform: uppercase;
}

.kgscontactp-social-row {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.kgscontactp-soc-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #0A3616;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CD9933;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: floatEffect 4s ease-in-out infinite;
}

.kgscontactp-soc-icon:hover {
    background-color: #CD9933;
    color: #fff;
    border-color: #CD9933;
    transform: scale(1.1);
}

@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.kgscontactp-main {
    padding: 60px;
}

.kgscontactp-form-heading {
    font-family: 'Italiana', serif;
    font-size: 44px;
    color: #111;
    margin-bottom: 8px;
}

.kgscontactp-form-subtext {
    color: #888;
    margin-bottom: 35px;
}

.kgscontactp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.kgscontactp-full {
    grid-column: span 2;
}

.kgscontactp-field input,
.kgscontactp-field select,
.kgscontactp-field textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e2e2;
    background: #fdfdfd;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.kgscontactp-field input:focus,
.kgscontactp-field select:focus,
.kgscontactp-field textarea:focus {
    border-color: #111;
    outline: none;
}

.kgscontactp-field textarea {
    height: 120px;
    resize: none;
}

.kgscontactp-send-btn {
    margin-top: 25px;
    background: #0A3616;
    color: #fff;
    padding: 16px 40px;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.kgscontactp-send-btn:hover {
    background: #CD9933;
}

.kgscontactp-status-box {
    margin-top: 20px;
    padding: 12px 15px;
    font-size: 13px;
    display: none;
    border-left: 4px solid;
}

.kgscontactp-status-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #22c55e;
}

.kgscontactp-status-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}

@media (max-width: 992px) {
    .kgscontactp-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .kgscontactp-form-grid {
        grid-template-columns: 1fr;
    }

    .kgscontactp-full {
        grid-column: span 1;
    }
}

/* ===================================== BLOGS PAGE SECTION START===================================== */

/* --- GOOGLE FONT IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

/* --- SECTION & CONTAINER STYLES --- */
.cards-section {
    width: 100%;
    padding: 30px 5%;
    background-color: #f9f9f9;

    /* UPDATED FONT */
    font-family: "Raleway", "Raleway Placeholder", sans-serif;

    box-sizing: border-box;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

/* --- INDIVIDUAL CARD STYLES --- */
.card-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);

    display: flex;
    flex-direction: column;
    height: 100%;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- IMAGE STYLES --- */
.card-image {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #fff;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.card-item:hover .card-image img {
    transform: scale(1.05);
}

/* --- CONTENT AREA --- */
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

/* TITLE */
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    margin-bottom: 20px;
    line-height: 1.4;

    margin-bottom: auto;
}

/* BUTTON */
.read-more-btn {
    display: inline-block;
    background-color: #CD9933;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
    align-self: center;
    margin-top: 15px;
}

.read-more-btn:hover {
    background-color: #0A3616;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cards-section {
        padding: 30px 20px;
    }
}


/* ===================================== BLOG CONTENT PAGE SECTION START===================================== */
/* --- GOOGLE FONT IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

/* --- BLOG DETAIL SECTION WRAPPER --- */
.blog-detail-section {
    width: 100%;
    font-family: "Raleway", "Raleway Placeholder", sans-serif; /* UPDATED FONT */
    color: #333;
    line-height: 1.6;
    background-color: #ffffff; 
    padding-bottom: 50px;
    position: relative;
}

/* --- HERO IMAGE CONTAINER --- */
.blog-hero-container {
    position: relative;
    margin: 30px auto; 
    width: 90%; 
    max-width: 1100px; 
    height: auto; 
    background-color: #ffffff; 
    box-shadow: none; 
    border: none;
    border-radius: 10px; 
    overflow: hidden;
}

/* --- HERO IMAGE --- */
.blog-hero-img {
    width: 100%; 
    height: auto; 
    display: block; 
}

/* --- CONTENT WRAPPER --- */
.blog-content-wrapper {
    max-width: 900px; 
    margin: 0 auto; 
    padding: 30px 20px;
    background-color: #ffffff; 
}

/* --- TYPOGRAPHY --- */
.blog-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    margin-bottom: 30px;
    line-height: 1.3;
    text-align: center;
}

.blog-subtitle {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0A3616;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #444;
    text-align: justify; 
}

/* Lists */
.blog-list {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #444;
    list-style-type: disc; 
}

/* Highlight Box */
.blog-highlight-box {
    background-color: #f4f2fd; 
    border-left: 5px solid #0A3616;
    padding: 30px;
    margin: 5px 0;
    border-radius: 5px;
}

/* --- FIXED FLOATING BUTTON STYLES --- */
.fixed-back-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    
    background-color: #CD9933;
    color: #ffffff;
    
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.fixed-back-btn:hover {
    background-color: #0A3616;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* --- RESPONSIVENESS --- */

/* Tablet View */
@media (max-width: 1024px) {
    .blog-hero-container {
        width: 92%; 
        margin-top: 25px;
    }
    .blog-main-title {
        font-size: 1.8rem;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .blog-hero-container {
        width: 90%; 
        margin-top: 20px;
        border-radius: 10px; 
    }
    
    .blog-content-wrapper {
        padding: 20px;
    }
    
    .blog-main-title {
        font-size: 1.5rem;
        text-align: left; 
    }
    
    .blog-subtitle {
        font-size: 1.3rem;
    }

    .blog-text {
        font-size: 1rem;
        text-align: left; 
    }
    
    .fixed-back-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* =====================================
   MOBILE HEADINGS (Max 2 Lines)
===================================== */
@media (max-width: 480px) {
  .main-heading, 
  .stats-main-title, 
  .service-main-heading, 
  .testimonial-main-heading {
    font-size: 26px !important;
    line-height: 1.2;
    max-width: 95%;
    margin: 0 auto;
    text-align: center;
  }

  .header-container, 
  .stats-header, 
  .service-header, 
  .testimonial-header {
    margin-bottom: 25px;
  }

  .kgscontactp-accent-title {
    font-size: 10px;
    white-space: normal; /* Allow wrap on very small screens to avoid overflow */
  }
}

/* =====================================
    VIDEO GALLERY SECTION
===================================== */
.video-gallery-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px;
    text-align: center;
}

.video-info h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #0A3616;
    margin-bottom: 0;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
    }
}
