/* =========================================
HERO SECTION
========================================= */

.hero {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.hero-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-overlay-container {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1050px;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  pointer-events: auto;
}

/* REMOVE TAGLINE LINE COMPLETELY WITH CSS */
.hero-badge {
  display: none;
}

/* ============================================
   PREMIUM LUXURY HERO TYPOGRAPHY
   Font: Abhaya Libre (Uniform Upright)
   Palette: Deep Charcoal + Antique Gold
============================================ */

.hero-title {
  font-family: 'Abhaya Libre', Georgia, serif !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 4px 0 !important;
  white-space: nowrap !important;
  font-style: normal !important;
}

/* Line 1 – Large, bold display headline */
.hero-line-1 {
  font-size: 34px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

/* Line 2 – Subtitle */
.hero-line-2 {
  font-size: 22px !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

/* Line 3 – Small-caps tagline */
.hero-line-3 {
  font-size: 18px !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  font-style: normal !important;
}

/* Word colours */

/* "Crafting Legacies" – Deep charcoal */
.title-crafting {
  font-family: 'Abhaya Libre', Georgia, serif !important;
  color: #000000;
  font-style: normal !important;
}

/* "in" connector – Antique gold */
.title-in {
  font-family: 'Abhaya Libre', Georgia, serif !important;
  color: #ffaa00;
  padding: 0 6px;
  font-style: normal !important;
}

/* "Real Estate" & headline accent words – Antique gold */
.patch-highlight {
  font-family: 'Abhaya Libre', Georgia, serif !important;
  color: #ffaa00;
  display: inline-block;
  font-weight: 700;
  font-style: normal !important;
}

/* Line 2 body words – Warm taupe/slate */
.line-slate-word {
  font-family: 'Abhaya Libre', Georgia, serif !important;
  color: #000000;
  font-weight: 400;
  font-style: normal !important;
}

/* ANIMATIONS (BOTTOM-TO-TOP REVEAL) */
.hero-content .animate-item {
  opacity: 0;
  transform: translateY(60px) scale(0.94);
  animation: heroSlideUpReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* INFINITE LOOPING WORD-BY-WORD REVEAL — Reveal → Hold → Fade → Repeat */
@keyframes heroWordLoop {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }
  12% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  72% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  84% {
    opacity: 0;
    transform: translateY(-14px);
    filter: blur(5px);
  }
  100% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }
}

.hero-word {
  display: inline-block;
  opacity: 0;
  animation: heroWordLoop 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: calc(0.18s * var(--i));
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
  .hero-overlay-container {
    top: 3%;
  }
  .hero-line-1 { font-size: 22px !important; }
  .hero-line-2 { font-size: 17px !important; }
  .hero-line-3 { font-size: 19px !important; }
}

@media (max-width: 992px) {
  .hero-overlay-container {
    top: 2.5%;
    width: 94%;
  }
  .hero-line-1 { font-size: 19px !important; }
  .hero-line-2 { font-size: 15px !important; }
  .hero-line-3 { font-size: 16px !important; }
}

@media (max-width: 768px) {
  .hero-container {
    display: flex;
    flex-direction: column-reverse;
  }
  .hero-overlay-container {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 30px 20px 20px 20px;
    background: #ffffff;
  }
  .hero-img {
    width: 100%;
    height: auto;
    display: block;
  }
  .hero-title {
    white-space: normal !important;
  }
  .hero-line-1 { font-size: 20px !important; }
  .hero-line-2 { font-size: 15px !important; }
  .hero-line-3 { font-size: 16px !important; }
}

/* HIGHLIGHT TEXT */

.highlight{
color:#cc252e;
font-weight:600;
letter-spacing:1px;
}


/* =========================================
ABOUT CONTENT
========================================= */

.about-content{
max-width:600px;
}

.about-title{
font-size:32px;
font-weight:600;
color:#cc252e;
margin-bottom:10px;
line-height:1.3;
}

.about-underline{
width:120px;
height:4px;
background:#cc252e;
margin:15px 0 30px 0;
border-radius:2px;
}

.about-content p{
font-size:16px;
line-height:1.8;
color:#5b6775;
margin-bottom:22px;
}


/* =========================================
SCROLL / SEQUENCE ANIMATION
========================================= */

.scroll-animate .animate-item{
opacity:0;
transform:translateY(60px);
transition:all 0.8s ease;
}

.scroll-animate.active .animate-item{
opacity:1;
transform:translateY(0);
}

.scroll-animate.active .animate-item:nth-child(1){
transition-delay:0.2s;
}

.scroll-animate.active .animate-item:nth-child(2){
transition-delay:0.4s;
}

.scroll-animate.active .animate-item:nth-child(3){
transition-delay:0.6s;
}

.scroll-animate.active .animate-item:nth-child(4){
transition-delay:0.8s;
}

.scroll-animate.active .animate-item:nth-child(5){
transition-delay:1s;
}


/* =========================================
TABLET
========================================= */

@media(max-width:992px){

.about-content{
margin:0 auto;
}

.about-underline{
margin-left:auto;
margin-right:auto;
}

}


/* =========================================
MOBILE
========================================= */

@media(max-width:600px){

.about-title{
font-size:26px;
}

.about-content p{
font-size:15px;
}

}




/* ========================== Home Page Project Logos Section ================================== */
/* SECTION */

.partners-section{
padding:30px 0;
background:#ffffff;
text-align:center;
overflow:hidden;
font-family:"Inter",sans-serif;
}



/* CONTENT */

.partners-content{
max-width:850px;
margin:30px auto;
padding:0 20px;
}

.partners-content h2{
font-size:35px;
color:#cc252e;
line-height:1.2;
margin-bottom:18px;
font-weight:500;
}

.partners-content p{
font-size:18px;
color:#666;
}



/* MARQUEE */

.logo-marquee{
width:100%;
overflow:hidden;
position:relative;
}

.logo-slide{
display:flex;
width:max-content;
animation:scroll 60s linear infinite;
}

.logo-marquee.reverse .logo-slide{
animation-direction:reverse;
}



/* LOGO ROW */

.logo-track{
display:flex;
align-items:center;
gap:70px;
padding:20px 40px;
}



/* LOGOS */

.logo-track img{
height:50px;
opacity:50;
filter:grayscale(100%);
transition:.1.5s;
}

.logo-track img:hover{
opacity:1;
filter:none;
}



/* ANIMATION */

@keyframes scroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}



/* TABLET */

@media(max-width:1024px){

.partners-content h2{
font-size:30px;
}

.logo-track{
gap:55px;
}

.logo-track img{
height:50px;
}

}



/* MOBILE */

@media(max-width:768px){

.partners-section{
padding:30px 0;
}

.partners-content{
margin:40px auto;
}

.partners-content h2{
font-size:25px;
}

.partners-content p{
font-size:16px;
}

.logo-track{
gap:40px;
}

.logo-track img{
height: 50px;
}

}



/* SMALL MOBILE */

@media(max-width:480px){

.partners-content h2{
font-size:20px;
}

.logo-track{
gap:30px;
}

.logo-track img{
height:50;
}

}



/* ========================== Home Page Why Choose Us Section ================================== */
/* =====================================================
   ADM Locations — style.css  (section code only)
   ===================================================== */

/* =========================================
   WHY CHOOSE US - V2 PREMIUM BENTO
   ========================================= */

/* =========================================
   WHY CHOOSE US - V2 PREMIUM BENTO (PIXEL PERFECT)
   ========================================= */

.grupwcu-v2-section {
  padding: 40px 24px;
  background-color: #ffffff;
  overflow: hidden;
}

.grupwcu-v2-container {
  max-width: 1400px;
  margin: 0 auto;
}

.grupwcu-v2-header {
  text-align: center;
  margin-bottom: 28px;
}

.grupwcu-v2-subtitle,
.grupwcu-v2-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #cc252e;
  letter-spacing: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
}

.grupwcu-v2-main-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  color: #1e293b;
  font-weight: 700;
  line-height: 1.2;
}

.grupwcu-v2-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 270px);
  gap: 16px;
}

/* Base Bento Card */
.grupwcu-v2-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 28px;
}

/* Bento Sizing */
.card-tall { grid-row: span 2; }
.card-wide { grid-column: span 2; }

/* Dot Matrix Halftone Corner Pattern (Bottom-Right of Every Card) */
.grupwcu-v2-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(rgba(0, 0, 0, 0.35) 20%, transparent 20%);
  background-size: 8px 8px;
  mask-image: radial-gradient(circle at 100% 100%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 100% 100%, black 20%, transparent 75%);
  z-index: 3;
  pointer-events: none;
}

/* RED THEME CARDS (01, 03, 05) */
.grupwcu-v2-card:nth-child(1),
.grupwcu-v2-card:nth-child(3),
.grupwcu-v2-card:nth-child(5),
.grupwcu-v2-card.card-theme-red {
  background: linear-gradient(135deg, #d31826 0%, #991b1b 50%, #450a0a 100%);
  box-shadow: 0 12px 28px rgba(153, 27, 27, 0.28);
}

.grupwcu-v2-card:nth-child(1) .grupwcu-v2-card-overlay,
.grupwcu-v2-card:nth-child(3) .grupwcu-v2-card-overlay,
.grupwcu-v2-card:nth-child(5) .grupwcu-v2-card-overlay,
.grupwcu-v2-card.card-theme-red .grupwcu-v2-card-overlay {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.72) 0%, rgba(153, 27, 27, 0.88) 55%, rgba(69, 10, 10, 0.96) 100%);
}

/* GOLD / YELLOW THEME CARDS (02, 04, 06) */
.grupwcu-v2-card:nth-child(2),
.grupwcu-v2-card:nth-child(4),
.grupwcu-v2-card:nth-child(6),
.grupwcu-v2-card.card-theme-gold {
  background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
  box-shadow: 0 12px 28px rgba(202, 138, 4, 0.28);
}

.grupwcu-v2-card:nth-child(2) .grupwcu-v2-card-overlay,
.grupwcu-v2-card:nth-child(4) .grupwcu-v2-card-overlay,
.grupwcu-v2-card:nth-child(6) .grupwcu-v2-card-overlay,
.grupwcu-v2-card.card-theme-gold .grupwcu-v2-card-overlay {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.82) 0%, rgba(234, 179, 8, 0.88) 55%, rgba(202, 138, 4, 0.94) 100%);
}

.grupwcu-v2-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: all 0.6s ease;
}

.grupwcu-v2-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.grupwcu-v2-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: contrast(1.15) brightness(0.95);
  transition: all 0.8s ease;
}

.grupwcu-v2-card-content {
  position: relative;
  z-index: 4;
  transition: transform 0.6s ease;
}

/* Number Badges (01, 02, 03, 04, 05, 06) */
.grupwcu-v2-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  display: inline-block;
  line-height: 1;
  position: relative;
  transition: all 0.5s ease;
}

/* Underline under Number */
.grupwcu-v2-number::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  margin-top: 4px;
  margin-bottom: 16px;
}

/* Red Card Number & Underline: Warm Gold */
.grupwcu-v2-card:nth-child(1) .grupwcu-v2-number,
.grupwcu-v2-card:nth-child(3) .grupwcu-v2-number,
.grupwcu-v2-card:nth-child(5) .grupwcu-v2-number,
.grupwcu-v2-card.card-theme-red .grupwcu-v2-number {
  color: #fde047;
}

.grupwcu-v2-card:nth-child(1) .grupwcu-v2-number::after,
.grupwcu-v2-card:nth-child(3) .grupwcu-v2-number::after,
.grupwcu-v2-card:nth-child(5) .grupwcu-v2-number::after,
.grupwcu-v2-card.card-theme-red .grupwcu-v2-number::after {
  background-color: #fde047;
}

/* Yellow Card Number & Underline: Dark Burgundy */
.grupwcu-v2-card:nth-child(2) .grupwcu-v2-number,
.grupwcu-v2-card:nth-child(4) .grupwcu-v2-number,
.grupwcu-v2-card:nth-child(6) .grupwcu-v2-number,
.grupwcu-v2-card.card-theme-gold .grupwcu-v2-number {
  color: #7f1d1d;
}

.grupwcu-v2-card:nth-child(2) .grupwcu-v2-number::after,
.grupwcu-v2-card:nth-child(4) .grupwcu-v2-number::after,
.grupwcu-v2-card:nth-child(6) .grupwcu-v2-number::after,
.grupwcu-v2-card.card-theme-gold .grupwcu-v2-number::after {
  background-color: #7f1d1d;
}

/* Titles */
.grupwcu-v2-card-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

.grupwcu-v2-card:nth-child(1) .grupwcu-v2-card-title,
.grupwcu-v2-card:nth-child(3) .grupwcu-v2-card-title,
.grupwcu-v2-card:nth-child(5) .grupwcu-v2-card-title,
.grupwcu-v2-card.card-theme-red .grupwcu-v2-card-title {
  color: #ffffff;
}

.grupwcu-v2-card:nth-child(2) .grupwcu-v2-card-title,
.grupwcu-v2-card:nth-child(4) .grupwcu-v2-card-title,
.grupwcu-v2-card:nth-child(6) .grupwcu-v2-card-title,
.grupwcu-v2-card.card-theme-gold .grupwcu-v2-card-title {
  color: #0f172a;
}

/* Card 01 Divider line between Title and Description */
.card-tall .grupwcu-v2-card-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
  margin-bottom: 4px;
}

/* Card Description (Only 1 card open at a time during auto-rotation / hover) */
.grupwcu-v2-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.grupwcu-v2-card:hover .grupwcu-v2-card-desc,
.grupwcu-v2-card.active-auto .grupwcu-v2-card-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}

/* Hover & Active Effects */
.grupwcu-v2-card:hover,
.grupwcu-v2-card.active-auto {
  transform: translateY(-4px);
}

.grupwcu-v2-card:hover .grupwcu-v2-card-bg img,
.grupwcu-v2-card.active-auto .grupwcu-v2-card-bg img {
  opacity: 0.55;
  transform: scale(1.06);
}

/** All cards now follow this theme **/

/* Responsive */
@media (max-width: 1200px) {
  .grupwcu-v2-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .card-tall, .card-wide { grid-column: span 1; grid-row: span 1; }
  .card-featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .grupwcu-v2-section { padding: 60px 20px; }
  .grupwcu-v2-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .card-featured { grid-column: span 1; }
  .grupwcu-v2-card { padding: 24px; height: auto; min-height: 250px; }
  .grupwcu-v2-card-desc { 
    opacity: 1 !important; 
    max-height: 500px !important; 
    color: rgba(255,255,255,0.8) !important; 
    margin-top: 10px;
  }
  .grupwcu-v2-card-title { color: #fff !important; }
  .grupwcu-v2-card-bg img { opacity: 0.4 !important; filter: none !important; }
  .grupwcu-v2-card-overlay { opacity: 1 !important; }
}




/* ========================== Home Page Project Section ================================== */
.gruprojecth-main-container {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  grid-template-rows: auto 1fr;
  align-items: center;
  height: auto; /* DYNAMIC TO PREVENT CUTTING */
  min-height: 85vh; 
  padding: 60px 80px 80px; /* INCREASED BOTTOM PADDING */
  gap: 20px;
  background: #000;
  overflow: visible; /* ALLOWS 3D SHADOWS TO FLOW FREELY */
  position: relative;
  z-index: 1;
}

/* SECTION HEADER */
.gruprojecth-header-text {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 15px; /* SMALLER MARGIN */
  position: relative;
  z-index: 10;
}

.gruprojecth-label {
  display: block;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 5px;
  margin-bottom: 12px;
}

.gruprojecth-main-title {
  font-family: 'Inter', sans-serif;
  color: #fff;
  font-size: 35px;
  font-weight: 700;
  margin: 0;
}

/* ATMOSPHERIC DYNAMIC BG */
.gruprojecth-bg-blur-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1; /* MOVED BEHIND */
  pointer-events: none;
  overflow: hidden;
}

.gruprojecth-bg-blur {
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  object-fit: cover;
  filter: blur(10px); /* SLIGHTLY REDUCED BLUR FOR VIBRANCY */
  opacity: 0;
  transition: opacity 1.5s ease;
}

.gruprojecth-bg-blur.active {
  opacity: 0.5; /* INCREASED OPACITY */
}

/* Z-INDEX MANAGEMENT */
.gruprojecth-content-area,
.gruprojecth-slider,
.gruprojecth-thumbs {
  position: relative;
  z-index: 10;
}

/* LEFT */
.gruprojecth-content-area {
  position: relative;
  height: 250px; /* COMPACT HEIGHT */
  display: flex;
  align-items: center;
}

.gruprojecth-info-set {
  position: absolute;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.gruprojecth-info-set.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gruprojecth-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.gruprojecth-logo-wrap img {
  height: 95px; /* REFINED SLIGHTLY SMALLER */
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* PURE WHITE BRANDS */
}

/* TEXT BLOCKS (REPLACED BY LARGE LOGOS) */
.gruprojecth-desc {
  color: #fff;
  opacity: 0.8;
  line-height: 1.6;
  font-size: 15px;
  max-width: 320px;
  margin-bottom: 30px;
}

.gruprojecth-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-bottom: 2px solid #fff;
  padding-bottom: 4px;
  display: inline-block;
}

/* CENTER */
.gruprojecth-slider {
  position: relative;
  width: 100%;
  height: 520px; /* INCREASED HEIGHT */
  max-width: 950px; 
  margin: 0 auto;
  /* UPDATED ANGLE TO MATCH REFERENCE IMAGE */
  transform: perspective(1400px) rotateY(-12deg) rotateX(5deg) rotateZ(-2deg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 50px 130px rgba(0,0,0,0.9);
}

.gruprojecth-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.gruprojecth-slide.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

/* RIGHT */
.gruprojecth-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end; /* ALIGNED TO RIGHT EDGE */
  width: 100%;
  justify-content: center;
}

.gruprojecth-thumb {
  width: 85px; /* SMALLER SIZE */
  height: 60px;
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gruprojecth-thumb.active {
  opacity: 1;
  outline: 2px solid #fff;
  outline-offset: 4px;
  transform: scale(1.05);
}

.gruprojecth-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =====================================================
   RESPONSIVE DESIGN - ALL DEVICES
   ===================================================== */

/* Tablet & Smaller Desktop (max-width: 1100px) */
@media (max-width: 1100px) {
  .gruprojecth-main-container {
    padding: 0 40px;
    gap: 30px;
  }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .gruprojecth-main-container {
    grid-template-columns: 1fr;
    height: auto;
    padding: 80px 40px;
    gap: 50px;
    overflow-x: hidden;
  }

  .gruprojecth-content-area {
    height: auto;
    text-align: center;
    order: 1;
  }

  .gruprojecth-logo-wrap {
    justify-content: center;
  }

  .gruprojecth-desc {
    margin: 0 auto 30px;
    max-width: 450px;
  }

  .gruprojecth-info-set {
    position: relative;
    top: auto; 
    left: auto;
    width: 100%;
    transform: none;
    display: none;
  }

  .gruprojecth-info-set.active {
    display: block;
    transform: none;
  }

  .gruprojecth-slider {
    width: 95%;
    margin: 0 auto;
    height: 480px;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    order: 2;
  }

  .gruprojecth-thumbs {
    flex-direction: row;
    justify-content: center;
    gap: 8px; /* SMALLER GAP TO FIT */
    flex-wrap: nowrap; 
    overflow: hidden; /* NO SCROLLING */
    width: 100%;
    order: 3;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .gruprojecth-main-container {
    padding: 60px 10px; /* TIGHTER PADDING TO FIT 6 ITEMS */
    gap: 30px;
  }

  .gruprojecth-slider {
    height: 320px;
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  }

  .gruprojecth-thumb {
    flex: 1; /* EQUAL WIDTH */
    max-width: 55px; /* SMALLER TO FIT ALL 6 IN ONE LINE */
    height: 40px;
    border-radius: 2px;
  }
  
  .gruprojecth-main-title {
    font-size: 26px; /* MATCHED TO SITEWIDE H2 SIZE */
    white-space: nowrap;
  }

  .gruprojecth-label {
    font-size: 11px;
    letter-spacing: 3px;
  }
  
  .gruprojecth-desc {
    font-size: 13px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .gruprojecth-main-title {
    font-size: 22px; /* MATCHED TO SITEWIDE SMALL H2 SIZE */
  }

  .gruprojecth-slider {
    height: 260px;
  }
  
  .gruprojecth-thumb {
    max-width: 45px;
    height: 32px;
  }
}

/* ========================== Home Page What We Do Section ================================== */
.qwer-container {
  background-color: #ffffff;
  height: 125vh; /* Balanced scroll duration */
  position: relative;
  font-family: sans-serif;
}

/* Background Image with Opacity */
.qwer-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Replace with your preferred background image URL */
  background-image: url('../images/bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Gives it a premium parallax scroll effect */
  
  /* ADJUST OPACITY HERE (0.0 to 1.0) */
  opacity: 0.08; 
  
  z-index: 0;
  pointer-events: none;
}

.qwer-sticky-wrapper {
  position: sticky;
  top: 90px;
  height: calc(100vh - 90px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 35px 20px 20px;
  box-sizing: border-box;
  z-index: 2; /* Ensures content stays above background */
}

/* --- Added QWER HEADER --- */
.qwer-header {
  position: relative;
  text-align: center;
  z-index: 10;
  width: 100%;
  padding: 0 20px;
  margin-bottom: 25px;
  opacity: 1;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}

/* Header remains visible now */

.qwer-label {
  color: var(--primary-color, #cc252e);
  font-weight: 700;
  display: block;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 5px;
  margin-bottom: 12px;
}

.qwer-main-title {
  font-size: clamp(28px, 4vw, 35px);
  color: #000000;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* Cards Stage Container */
.qwer-cards-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
}

.qwer-card {
  position: absolute;
  top: 0;
  width: 280px; /* Reduced from 300px */
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* The Images */
.qwer-img-box {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.qwer-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hidden Content Initially */
.qwer-content {
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.3s;
}

.qwer-content h2 {
  color: var(--primary-color, #cc252e); /* BRAND PRIMARY */
  font-size: 19px; /* REDUCED TO FIT ON ONE LINE */
  white-space: nowrap;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* STACKED STATE (Initial) */
#qwer-card-1 { transform: translate(-40%, 15px) rotate(-5deg); z-index: 3; }
#qwer-card-2 { transform: translate(0, 0); z-index: 1; }
#qwer-card-3 { transform: translate(40%, 15px) rotate(5deg); z-index: 2; }

/* SEPARATED STATE (On Scroll) */
.active #qwer-card-1 { transform: translate(-120%, 0) rotate(0); }
.active #qwer-card-2 { transform: translate(0, 0); }
.active #qwer-card-3 { transform: translate(120%, 0) rotate(0); }

.active .qwer-content {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive: Laptop / Tablet Landscape */
@media (max-width: 1100px) {
  .qwer-card { width: 250px; }
  .active #qwer-card-1 { transform: translate(-105%, 0) rotate(0); }
  .active #qwer-card-2 { transform: translate(0, 0); }
  .active #qwer-card-3 { transform: translate(105%, 0) rotate(0); }
}

/* Responsive: Tablet Portrait / Mobile */
@media (max-width: 800px) {
  .qwer-container { height: 220vh; }
  .qwer-sticky-wrapper {
    padding-top: 15px;
    justify-content: flex-start;
  }
  .qwer-header {
    margin-bottom: 25px;
  }
  .qwer-cards-stage {
    height: 360px;
  }
  .qwer-card { width: 280px; }

  /* Override basic desktop active state which shouldn't run on mobile natively */
  .active #qwer-card-1 { transform: none; }
  .active #qwer-card-2 { transform: none; }
  .active #qwer-card-3 { transform: none; }

  /* -------------------------------------------
     MOBILE STEP 0 : Initial Stacked State 
  ------------------------------------------- */
  .mobile-state-0 #qwer-card-1 { transform: translate(-20px, 10px) rotate(-5deg); z-index: 3; }
  .mobile-state-0 #qwer-card-2 { transform: translate(0, 0) rotate(0); z-index: 2; }
  .mobile-state-0 #qwer-card-3 { transform: translate(20px, 10px) rotate(5deg); z-index: 1; }
  
  .mobile-state-0 .qwer-content { opacity: 0; transform: translateY(20px); }

  /* -------------------------------------------
     MOBILE STEP 1 : 1st Card Centered
  ------------------------------------------- */
  .mobile-state-1 #qwer-card-1 { transform: translate(0, 0) rotate(0); z-index: 3; }
  .mobile-state-1 #qwer-card-1 .qwer-content { opacity: 1; transform: translateY(0); }
  
  .mobile-state-1 #qwer-card-2 { transform: translate(130%, 0) rotate(5deg); z-index: 2; opacity: 0; pointer-events: none; }
  .mobile-state-1 #qwer-card-3 { transform: translate(160%, 0) rotate(10deg); z-index: 1; opacity: 0; pointer-events: none; }

  /* -------------------------------------------
     MOBILE STEP 2 : 2nd Card Centered
  ------------------------------------------- */
  .mobile-state-2 #qwer-card-1 { transform: translate(-130%, 0) rotate(-5deg); z-index: 1; opacity: 0; pointer-events: none; }
  
  .mobile-state-2 #qwer-card-2 { transform: translate(0, 0) rotate(0); z-index: 3; opacity: 1; }
  .mobile-state-2 #qwer-card-2 .qwer-content { opacity: 1; transform: translateY(0); }
  
  .mobile-state-2 #qwer-card-3 { transform: translate(130%, 0) rotate(5deg); z-index: 2; opacity: 0; pointer-events: none; }

  /* -------------------------------------------
     MOBILE STEP 3 : 3rd Card Centered
  ------------------------------------------- */
  .mobile-state-3 #qwer-card-1 { transform: translate(-160%, 0) rotate(-10deg); z-index: 1; opacity: 0; pointer-events: none; }
  .mobile-state-3 #qwer-card-2 { transform: translate(-130%, 0) rotate(-5deg); z-index: 2; opacity: 0; pointer-events: none; }
  
  .mobile-state-3 #qwer-card-3 { transform: translate(0, 0) rotate(0); z-index: 3; opacity: 1; }
  .mobile-state-3 #qwer-card-3 .qwer-content { opacity: 1; transform: translateY(0); }
}



/* ========================== Home Page Count Section ================================== */
.hcountn-section {
    position: relative;
    background-color: #c81d28;
    background-image: radial-gradient(circle at center, rgba(255, 120, 0, 0.4) 0%, rgba(255, 60, 0, 0.15) 30%, rgba(200, 29, 40, 0) 70%);
    padding: 30px 0 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Halftone Dot Matrix Pattern on Corners */
.hcountn-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    height: 350px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 2px, transparent 2px);
    background-size: 16px 16px;
    mask-image: radial-gradient(circle at bottom left, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at bottom left, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.hcountn-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 350px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 2px, transparent 2px);
    background-size: 16px 16px;
    mask-image: radial-gradient(circle at top right, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at top right, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* Header Styling */
.hcountn-header {
    text-align: center;
    z-index: 20;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hcountn-flourish-line {
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 0 8px #ffcc00;
}
.hcountn-flourish-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff, 0 0 12px #ffcc00;
}

.hcountn-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hcountn-title {
    font-size: clamp(30px, 4vw, 35px);
    color: #ffffff;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

/* Main Graphic Wrapper */
.hcountn-wrapper {
    position: relative;
    width: 960px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

/* SVG Connecting Lines */
.hcountn-lines-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.hcountn-draw-line {
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
}

.hcountn-line-dot {
    fill: #ffffff;
    filter: drop-shadow(0 0 6px #ffcc00);
}

/* Center Orbit System */
.hcountn-center-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* Outer Orbit Ring */
.hcountn-orbit-outer {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    animation: hcountnRotate 20s linear infinite;
    box-shadow: 0 0 15px rgba(255, 120, 0, 0.2);
}

/* Inner Orbit Ring */
.hcountn-orbit-inner {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: hcountnRotateReverse 15s linear infinite;
}

@keyframes hcountnRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hcountnRotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Orbit Dots moving on ring */
.hcountn-orbit-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff, 0 0 15px #ffaa00;
    transform: translate(-50%, -50%);
}

.hcountn-orbit-outer .dot-1 { top: 15%; left: 85%; }
.hcountn-orbit-outer .dot-2 { top: 85%; left: 15%; }

.hcountn-orbit-inner .dot-a { top: 0%; left: 50%; }
.hcountn-orbit-inner .dot-b { top: 100%; left: 50%; }

.hcountn-orbit-dots-grid {
    display: none !important;
}

/* Center Glowing Logo Disc */
.hcountn-logo-disc {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #ffffff;
    border: 3.5px solid #ffa500;
    box-shadow: 0 0 30px #ff3b00, 0 0 60px rgba(255, 100, 0, 0.85), inset 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12;
    perspective: 1000px;
    animation: hcountnPulseGlow 3s infinite ease-in-out;
}

.hcountn-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    animation: hcountnFlipAnimation 6s ease-in-out infinite;
}

@keyframes hcountnFlipAnimation {
    0%, 20% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    80%, 100% { transform: rotateY(360deg); }
}

.hcountn-flip-front,
.hcountn-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hcountn-flip-back {
    transform: rotateY(180deg);
}

.hcountn-flip-front img,
.hcountn-flip-back img {
    width: 75%;
    height: auto;
    object-fit: contain;
}

@keyframes hcountnPulseGlow {
    0%, 100% { box-shadow: 0 0 25px #ff3b00, 0 0 50px rgba(255, 100, 0, 0.8); }
    50% { box-shadow: 0 0 35px #ff6600, 0 0 70px rgba(255, 150, 0, 1); }
}

/* Stat Cards (TL, TR, BL, BR) */
.hcountn-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 15;
    transition: transform 0.3s ease;
}
.hcountn-card:hover {
    transform: translateY(-3px);
}

.hcountn-card-tl { top: 70px; left: 40px; }
.hcountn-card-tr { top: 70px; right: 40px; }
.hcountn-card-bl { bottom: 70px; left: 40px; }
.hcountn-card-br { bottom: 70px; right: 40px; }

/* Icon Badge */
.hcountn-icon-badge {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* Outer Orbit Ring with 2 Rotating Star Flares */
.hcountn-badge-orbit {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    animation: hcountnBadgeOrbitSpin 12s linear infinite;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes hcountnBadgeOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Star Flare 1: EXACTLY centered on the top point of the circle border */
.hcountn-badge-orbit .flare-star-1 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff, 0 0 15px #ffffff, 0 0 25px #ffaa00;
}

/* Star Flare 2: EXACTLY centered on the bottom point of the circle border */
.hcountn-badge-orbit .flare-star-2 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff, 0 0 15px #ffffff, 0 0 25px #ffaa00;
}

.hcountn-icon-badge svg {
    width: 52px;
    height: 52px;
}

.hcountn-glowing-underline {
    position: relative;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.15) 100%);
    margin-top: 8px;
    overflow: hidden;
}

.hcountn-glowing-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -30%;
    transform: translateY(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ffffff 50%, transparent 100%);
    box-shadow: 0 0 10px #ffffff, 0 0 16px #ffcc00;
    animation: hcountnLineLightTravel 2.5s ease-in-out infinite;
}

@keyframes hcountnLineLightTravel {
    0% {
        left: -30%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        left: 110%;
        opacity: 0;
    }
}

/* Text Group inside Card */
.hcountn-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hcountn-main-number {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hcountn-text-group p {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Inter', sans-serif;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* 1:1 Viewport Scaling - Renders Exact 100% Desktop Design on Mobile & Tablet */
.hcountn-scale-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    position: relative;
}

.hcountn-wrapper {
    position: relative;
    width: 960px;
    height: 380px;
    flex-shrink: 0;
    -webkit-transform-origin: top center;
    transform-origin: top center;
}

/* Desktop default for mobile wrappers */
.hcountn-mobile-top,
.hcountn-mobile-bottom {
    display: contents;
}

/* Responsive Mobile & Tablet Layout (Top 2 Side-by-Side, Middle Orbit System, Bottom 2 Side-by-Side) */
@media (max-width: 992px) {
    .hcountn-section {
        padding: 30px 10px 35px 10px;
    }

    /* Remove background dots on mobile view */
    .hcountn-section::before,
    .hcountn-section::after {
        display: none !important;
    }

    .hcountn-scale-box {
        height: auto;
        width: 100%;
    }

    .hcountn-wrapper {
        width: 100%;
        max-width: 540px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        transform: none !important;
        padding: 0 5px;
    }

    .hcountn-mobile-top,
    .hcountn-mobile-bottom {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .hcountn-center-system {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 250px;
        height: 250px;
        margin: 5px 0;
        flex-shrink: 0;
    }

    .hcountn-orbit-outer {
        width: 240px;
        height: 240px;
    }

    .hcountn-orbit-inner {
        width: 175px;
        height: 175px;
    }

    .hcountn-logo-disc {
        width: 115px;
        height: 115px;
    }

    .hcountn-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        flex: 1;
        min-width: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0;
        padding: 4px 2px;
        transform: none !important;
    }

    .hcountn-icon-badge {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }

    .hcountn-badge-orbit {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
    }

    .hcountn-icon-badge svg {
        width: 32px;
        height: 32px;
    }

    .hcountn-text-group {
        flex: 1;
        min-width: 0;
    }

    .hcountn-main-number {
        font-size: 22px;
        margin-bottom: 2px;
    }

    .hcountn-text-group p {
        font-size: 9.5px;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }
}

/* ========================== Home Page Testimonial Section ================================== */
/* ============================= */
/* TESTIMONIAL SECTION */
/* ============================= */

.gtest-testimonial-section{
padding:30px 20px;
display:flex;
justify-content:center;
align-items:center;
font-family:'Segoe UI',Roboto,Arial,sans-serif;
text-align:center;
position:relative;
overflow:hidden;
background-color: #fcfcfc;
background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.015) 0px, rgba(0, 0, 0, 0.015) 2px, transparent 2px, transparent 12px);
background-size: 100% 100%;
}


/* ============================= */
/* TESTIMONIAL BOX */
/* ============================= */

.gtest-testimonial-box{
max-width:950px;
width:100%;
margin:auto;
position:relative;
}


/* ============================= */
/* HEADER */
/* ============================= */

.gtest-testimonial-header h2{
font-size:35px;
font-weight:700;
margin-bottom:12px;
color:#1a1a1a;
}

.gtest-testimonial-header p{
color:#777;
margin-bottom:30px;
font-size:16px;
max-width:450px;
margin-left:auto;
margin-right:auto;
}


/* ============================= */
/* AVATAR PREVIEW */
/* ============================= */

.gtest-avatar-area{
position:absolute;
top:55%;
left:0;
right:0;
transform:translateY(-50%);
display:flex;
justify-content:space-between;
padding:0 40px;
pointer-events:none;
}

.gtest-avatar{
width:60px;
height:60px;
border-radius:50%;
object-fit:cover;
opacity:0.25;
filter:grayscale(100%);
}


/* ============================= */
/* SLIDER */
/* ============================= */

.gtest-testimonial-slider{
display:flex;
align-items:center;
justify-content:center;
position:relative;
}

.gtest-testimonial-container{
max-width:950px;
width:100%;
}

.gtest-testimonial{
display:none;
animation:gtestFade .5s ease;
}

.gtest-testimonial.active{
display:block;
}

@keyframes gtestFade{
from{opacity:0;transform:scale(.95)}
to{opacity:1;transform:scale(1)}
}


/* ============================= */
/* CLIENT IMAGE */
/* ============================= */

.gtest-client-img{
width:150px;
height:150px;
border-radius:50%;
object-fit:cover;
margin-bottom:20px;
border:4px solid #fff;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
}


/* ============================= */
/* TEXT */
/* ============================= */

.gtest-testimonial h3{
font-size:26px;
margin-bottom:8px;
color:#333;
}

.gtest-testimonial span{
display:block;
color: var(--primary-color, #cc252e);
font-weight:600;
margin-bottom:15px;
text-transform:uppercase;
font-size:13px;
letter-spacing:1px;
}

.gtest-stars{
color:#eea81f;
margin-bottom:20px;
font-size:18px;
}

.gtest-testimonial p{
line-height:1.8;
color:#555;
font-size:17px;
}


/* ============================= */
/* NAV BUTTONS */
/* ============================= */

.gtest-nav-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
width:55px;
height:55px;
border-radius:50%;
border:none;
background:#cc252e;
color:#fff;
font-size:22px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
transition:.3s;
box-shadow:0 10px 25px rgba(204,37,46,.25);
}

.gtest-btn-left{
left:-20px;
}

.gtest-btn-right{
right:-20px;
}

.gtest-nav-btn:hover{
background:#eea81f;
transform:translateY(-50%) scale(1.08);
}


/* ============================= */
/* TABLET */
/* ============================= */

@media(max-width:768px){

.gtest-avatar-area{
display:none;
}

.gtest-btn-left{
left:-10px;
}

.gtest-btn-right{
right:-10px;
}

.gtest-client-img{
width:90px;
height:90px;
}

.gtest-testimonial-header h2{
font-size:26px;
}

}


/* ============================= */
/* MOBILE */
/* ============================= */

@media(max-width:480px){

.gtest-testimonial-header h2{
font-size:22px;
}

.gtest-testimonial p{
font-size:15px;
}

}

/* ========================== GRUPE BANNER SECTION ================================== */
#grupebanner {
    position: relative;
    background: #ffffff; /* Warm architectural off-white */
    overflow: hidden;
    margin-top: -120px;
    padding-top: 150px;
    padding-bottom: 80px;
    border-bottom: 1px solid #ffffff;
}

.bg-large-text {
    position: absolute;
    bottom: -40px;
    left: 20px;
    font-size: 200px;
    font-weight: 900;
    color: rgba(14, 42, 71, 0.03);
    line-height: 1;
    z-index: 0;
    font-family: var(--font-primary);
    pointer-events: none;
    white-space: nowrap;
}

.grupebanner-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.grupebanner-content {
    flex: 1;
    max-width: 600px;
}

.subtitle-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.subtitle-line .line {
    width: 60px;
    height: 1px;
    background: #eea81f;
}

.subtitle-line .text {
    color: #eea81f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.grupebanner-title {
    font-size: 55px;
    font-weight: 400;
    line-height: 1.1;
    color: #21313b;
    margin-bottom: 40px;
    font-family: "Playfair Display", serif;
}

.grupebanner-title i {
    font-style: italic;
    color: #eea81f;
    font-weight: 300;
}

.grupebanner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 15px;
}

.grupebanner-breadcrumb a {
    color: #5b6775;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s;
}

.grupebanner-breadcrumb a:hover {
    color: #cc252e;
}

.grupebanner-breadcrumb .separator {
    color: #eea81f;
    font-size: 14px;
}

.grupebanner-breadcrumb .current {
    color: #cc252e;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Visual Side - Archway */
.grupebanner-visual {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%; /* Spans the full height of the banner from the top */
    width: 40%; 
    z-index: 1;
    /* Beautiful radial fade that naturally becomes transparent before reaching the header */
    -webkit-mask-image: radial-gradient(100% 100% at 100% 100%, black 40%, transparent 100%);
    mask-image: radial-gradient(100% 100% at 100% 100%, black 40%, transparent 100%);
}

.grupebanner-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Tablet & Mobile */
@media(max-width: 991px) {
    .grupebanner-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    .subtitle-line {
        justify-content: center;
    }
    .grupebanner-breadcrumb {
        justify-content: center;
    }
    .grupebanner-visual {
        width: 80%;
        height: 100%;
        margin-right: 0;
        -webkit-mask-image: radial-gradient(100% 100% at 100% 100%, black 50%, transparent 100%);
        mask-image: radial-gradient(100% 100% at 100% 100%, black 50%, transparent 100%);
        opacity: 0.6;
    }
}
@media(max-width: 767px) {
    .grupebanner-title {
        font-size: 52px;
    }
    .grupebanner-visual {
        width: 100%;
        max-width: none;
        height: 100%;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 100%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 100%);
        opacity: 0.3;
    }
    .bg-large-text {
        font-size: 100px;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:767px){

    #grupebanner {
        min-height: 320px;
        padding-bottom: 0px;
    }

    .grupebanner-container{
        padding:0 20px;
        min-height:200px;
    }

    .grupebanner-title{
        font-size:32px;
        margin-bottom:10px;
    }

}

/* ========================== GRUPE ABOUT US PAGE SECTION ================================== */
#grpaboutp {
    width: 100%;
    padding: 60px 20px; /* Reduced padding to make height smaller */
    background: #ffffff;
    overflow: hidden;
    font-family: 'Inter', sans-serif; /* Clean modern font like the image */
}

.grpaboutp-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/*=========================
    IMAGE AREA
=========================*/

.grpaboutp-image-wrap {
    position: relative;
    width: 360px; /* Scaled down */
    min-width: 360px;
    height: 400px; /* Scaled down */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Dots Patterns (2 columns, 6 rows) */
.grpaboutp-dots {
    position: absolute;
    width: 28px; /* 2 columns of 14px */
    height: 84px; /* 6 rows of 14px */
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 14px 14px;
    z-index: 0;
}

.grpaboutp-dots-left {
    top: 100px;
    left: -30px;
}

.grpaboutp-dots-right {
    bottom: 100px;
    right: -30px;
}

/* Solid Shapes with Gradients using BOTH Logo Colors */
.grpaboutp-shape-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 220px;
    /* Fades from RED at top to fully transparent at bottom */
    background: linear-gradient(to bottom, #cc252e 0%, #cc252e 40%, rgba(204, 37, 46, 0) 100%);
    border-radius: 20px;
    z-index: 1;
}

.grpaboutp-shape-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 160px;
    height: 220px;
    /* Fades from fully transparent at top to GOLD at bottom */
    background: linear-gradient(to bottom, rgba(238, 168, 31, 0) 0%, #eea81f 60%, #eea81f 100%);
    border-radius: 20px;
    z-index: 1;
}

/* Decorative L-Shape Lines exactly aligned from the shapes */
.grpaboutp-line-top-right {
    position: absolute;
    top: 20px; 
    right: 20px; 
    width: 200px; 
    height: 180px; 
    border-top: 2px solid #cc252e; /* Primary Red */
    border-right: 2px solid #cc252e;
    border-top-right-radius: 20px;
    z-index: 0;
}

.grpaboutp-line-bottom-left {
    position: absolute;
    bottom: 20px; 
    left: 20px; 
    width: 200px; 
    height: 180px; 
    border-bottom: 2px solid #eea81f; /* Secondary Gold */
    border-left: 2px solid #eea81f;
    border-bottom-left-radius: 20px;
    z-index: 0;
}

.grpaboutp-line-dot {
    position: absolute;
    /* Dot is a child of the line, so coordinates are relative to the line itself */
    bottom: 30px; 
    left: -7px; 
    width: 14px;
    height: 14px;
    background: #eea81f;
    border-radius: 50%;
}

/* Circle Image (Static White Circle Frame + 3D Flipping Image) */
.grpaboutp-circle-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 10px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: #ffffff;
    perspective: 1000px;
    position: relative;
    z-index: 3;
}

.grpaboutp-circle-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    animation: hcountnRotateLogo 6s infinite ease-in-out;
}

.grpaboutp-circle-front,
.grpaboutp-circle-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

.grpaboutp-circle-front img,
.grpaboutp-circle-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grpaboutp-circle-back {
    transform: rotateY(180deg);
}

/* =========================================
   CONTINUOUS RUNNING ANIMATIONS
========================================= */

@keyframes grpFloatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes grpFloatDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

@keyframes grpPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes grpBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.scroll-animate.active .float-1 { animation: grpFloatUp 5s ease-in-out infinite 0.8s; }
.scroll-animate.active .float-2 { animation: grpFloatDown 6s ease-in-out infinite 0.9s; }
.scroll-animate.active .float-3 { animation: grpFloatUp 7s ease-in-out infinite 1s; }
.scroll-animate.active .float-4 { animation: grpFloatDown 8s ease-in-out infinite 1.1s; }
.scroll-animate.active .pulse-1 { animation: grpPulse 4s ease-in-out infinite 1s; }
.scroll-animate.active .pulse-2 { animation: grpPulse 5s ease-in-out infinite 1.2s; }

.scroll-animate.active .grpaboutp-circle-image img {
    animation: grpBreathe 8s ease-in-out infinite 0.8s;
}

/*=========================
    CONTENT AREA
=========================*/

.grpaboutp-content {
    padding-left: 20px;
    flex: 1; /* allow it to grow and fit the screen */
    max-width: none; /* override about-content's max-width */
}

/* Force paragraph text to be mostly black and justified as requested */
.grpaboutp-content p {
    color: #1a202c !important; 
    text-align: justify;
}

.grpaboutp-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #eea81f;
    letter-spacing: 5px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
}

.grpaboutp-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #21313b;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.2;
}

.grpaboutp-content p {
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Lead paragraph styling using Gold Secondary Color */
.grpaboutp-content p:first-of-type {
    font-size: 18px;
    color: #21313b; 
    font-weight: 500;
    border-left: 3px solid #eea81f; 
    padding-left: 20px;
    margin-bottom: 25px;
}

.grpaboutp-content p:last-child {
    margin-bottom: 0;
}

/*=========================
    TABLET & MOBILE
=========================*/

@media(max-width: 1024px) {
    .grpaboutp-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    
    .grpaboutp-content {
        max-width: 100%;
        padding-left: 0; /* Remove desktop padding */
    }
    
    .grpaboutp-content .about-underline {
        margin-left: auto;
        margin-right: auto; /* Center the underline */
    }
    
    .grpaboutp-content p {
        text-align: center !important; /* Center the text instead of justify */
    }
    
    .grpaboutp-content p:first-of-type {
        border-left: none; /* Remove the orange left border */
        padding-left: 0;
        text-align: center !important;
    }
    
    .grpaboutp-features {
        text-align: center; /* Center features */
        max-width: 100%;
        margin: 0 auto 40px auto;
    }
}

@media(max-width: 767px) {
    #grpaboutp {
        padding: 70px 15px;
    }

    .grpaboutp-image-wrap {
        width: 100%;
        min-width: auto;
        height: 400px;
        transform: scale(0.85); /* Scale down complex image composition cleanly */
    }

    .grpaboutp-content h2 {
        font-size: 32px;
    }

    .grpaboutp-features {
        grid-template-columns: 1fr;
    }

    .grpaboutp-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================== GRUPE ABOUT US VISSION & MISSION SECTION ================================== */
#grupeabputvmv {
    position: relative;
    width: 100%;
    padding: 35px 0 45px 0; 
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600') center/cover no-repeat fixed;
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

#grupeabputvmv::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Vibrant attractive gradient using logo colors (Bright Blue to Dark Navy) */
    background: linear-gradient(135deg, rgba(12, 99, 206, 0.85) 0%, rgba(14, 42, 71, 0.95) 100%);
    z-index: 1;
}

.vm-container {
    position: relative;
    z-index: 2;
    width: 1350px; 
    max-width: 95%;
    padding: 0 20px;
    margin: 0 auto;
}

.grupeabputvmv-heading {
    text-align: center;
    margin-bottom: 22px; 
}

.grupeabputvmv-heading span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #ffffff; /* White text instead of orange */
    margin-bottom: 8px;
    text-transform: uppercase;
}

.grupeabputvmv-heading h2 {
    font-size: 30px;
    color: #ffffff; 
    margin-bottom: 8px;
    font-weight: 700;
}

.grupeabputvmv-heading p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
}

/*=============================
    Cards Wrapper (Side-by-Side Compact Landscape Layout)
==============================*/

.vm-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px; 
    width: 100%;
}

/*=============================
    Premium Side-by-Side Landscape Cards
==============================*/

.vm-card {
    background: #ffffff;
    border-radius: 12px; 
    padding: 22px 28px; 
    text-align: left; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #cc252e; /* Primary Red accent line on top */
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); 
}

.vm-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.vm-card-header h3 {
    font-size: 20px; 
    color: #0e2a47;
    margin: 0;
    font-weight: 700;
}

.vm-card-icon {
    width: 42px; 
    height: 42px;
    flex-shrink: 0;
    background: rgba(204, 37, 46, 0.1); 
    color: #cc252e; 
    border-radius: 8px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0; 
}

.vm-card-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px; 
}

.vm-card-content {
    flex: 1;
}

.vm-card-content p {
    font-size: 14px; 
    color: #5b6775;
    line-height: 1.6;
    margin: 0;
}

/*=============================
    Responsive Adjustments
==============================*/

@media (max-width: 991px) {
    .vm-cards-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    #grupeabputvmv {
        padding: 40px 0;
    }

    .grupeabputvmv-heading h2 {
        font-size: 28px;
    }

    .vm-card {
        padding: 25px 20px;
    }
}


/* ========================== PREMIUM FOUNDER SECTION ================================== */
.grupefounder-section {
    padding: 40px 20px; /* Reduced section padding for compactness */
    background-color: #fcfcfc;
    background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.015) 0px, rgba(0, 0, 0, 0.015) 2px, transparent 2px, transparent 12px);
    background-size: 100% 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter", sans-serif;
    z-index: 1;
}

.grupefounder-card {
    display: flex;
    max-width: 1200px; /* Aligned exactly with the About Us container */
    width: 100%;
    background: #cc252e; /* Primary Red Card */
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(14, 42, 71, 0.15);
    overflow: hidden; 
}

.grupefounder-card-image {
    width: 30%; /* Narrowed the image to make it smaller */
    position: relative;
}

.grupefounder-card-image img {
    position: absolute; /* absolute positioning stops it from forcing the card height */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.grupefounder-card-content {
    width: 70%; /* Gave text more room so the card stays short */
    padding: 30px 40px 25px 40px; /* Highly reduced top/bottom padding to remove extra space */
    color: #ffffff;
    position: relative;
    z-index: 1;
}

/* Lines pattern on the right side */
.grupefounder-card-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg.webp');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.15; /* Increased opacity to make it visible */
    filter: invert(1); /* Inverts the black pattern to white so it shows up on the dark navy background */
    z-index: -1;
    pointer-events: none;
}

.grupefounder-quote-icon {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 120px;
    line-height: 1;
    font-family: serif;
    color: rgba(255, 255, 255, 0.3); /* Faint brand blue */
    font-weight: bold;
}

.grupefounder-name {
    font-size: 28px; /* Reduced */
    font-weight: 800;
    margin-bottom: 5px;
    color: #ffffff;
}

.grupefounder-title {
    font-size: 14px; /* Reduced */
    font-weight: 500;
    color: #ffffff; /* Bright blue accent */
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.grupefounder-divider {
    width: 50px;
    height: 3px;
    background: #eea81f;
    margin-bottom: 15px; /* Tighter spacing */
    border-radius: 2px;
}

.grupefounder-card-content p {
    font-size: 13px; /* Smaller text */
    line-height: 1.5; /* Tighter lines */
    color: #ffffff; /* Light gray text */
    margin-bottom: 12px;
}

.grupefounder-card-content p:last-child {
    margin-bottom: 0;
}

.grupefounder-card-content strong {
    color: #ffffff;
    font-weight: 600;
}

.grupefounder-card-content em {
    color: #eea81f; /* Secondary gold to contrast the red background */
    font-style: italic;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .grupefounder-card {
        flex-direction: column;
    }
    .grupefounder-card-image {
        width: 100%;
        height: 400px;
    }
    .grupefounder-card-content {
        width: 100%;
        padding: 40px 30px;
    }
    .grupefounder-quote-icon {
        display: none;
    }
}

/* ========================== BLOGS PAGE SECTION ================================== */
#grpblogsp{
    width:100%;
    padding:30px 20px;
    background:#f7f7f9;
}



/*=====================================
            Heading
=====================================*/

#grpblogsp .about-content {
    text-align: center;
    margin: 0 auto 50px auto;
    width: 100%;
}

#grpblogsp .section-subtitle {
    display: block;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

#grpblogsp .about-title {
    display: inline-block;
    margin-bottom: 0;
}

#grpblogsp .about-underline {
    margin: 15px auto 0 auto;
}

.grpblogsp-grid{
    max-width:1350px; /* Increased to give cards more width */
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

/*=====================================
            Card
=====================================*/

.grpblogsp-card{
    background:#ffffff;
    border-radius:12px; /* Matches contact box */
    overflow:hidden;

    display:flex;
    flex-direction:column;

    min-height:100%;
    transition:0.3s ease;

    box-shadow:0 8px 25px rgba(0,0,0,0.04);
}

.grpblogsp-card:hover{
    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

/*=====================================
            Image
=====================================*/

.grpblogsp-image{
    width:100%;
    height:230px; /* Increased to maintain proportions with wider cards */
    overflow:hidden;
}

.grpblogsp-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.4s ease;
}

.grpblogsp-card:hover .grpblogsp-image img{
    transform:scale(1.08);
}

/*=====================================
            Content
=====================================*/

.grpblogsp-content{
    padding:25px 20px; /* Reduced from 35px 25px */

    display:flex;
    flex-direction:column;

    flex:1;
}

.grpblogsp-content h3{
    color:var(--dark-navy);

    font-size:15px; /* Slightly reduced */
    font-weight:700;

    line-height:1.5;

    text-align:center;
    text-transform:uppercase;

    /* Equal card heights */
    min-height:100px; /* Reduced heavily to remove awkward empty space */

    margin-bottom:15px; /* Reduced gap */

    overflow:hidden;
}

/*=====================================
            Button
=====================================*/

.grpblogsp-btn{
    margin-top:auto;

    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    height:42px; /* Reduced from 50px */

    border-radius:6px; /* Classic button radius */

    background:var(--primary-blue);

    color:#ffffff;
    text-decoration:none;

    font-size:14px; /* Reduced button text size */
    font-weight:600; /* Match form buttons */

    transition:0.3s ease;
}

.grpblogsp-btn:hover{
    background:var(--dark-navy);
}

/*=====================================
            Large Tablet
=====================================*/

@media(max-width:1199px){

    .grpblogsp-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/*=====================================
            Tablet
=====================================*/

@media(max-width:767px){

    #grpblogsp{
        padding:70px 15px;
    }

    .grpblogsp-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .grpblogsp-image{
        height:220px;
    }

    .grpblogsp-content{
        padding:25px 20px;
    }

    .grpblogsp-content h3{
        font-size:17px;

        min-height:auto;

        display:block;
    }

}

/*=====================================
            Small Mobile
=====================================*/

@media(max-width:480px){

    .grpblogsp-image{
        height:200px;
    }

}


/* ========================== BLOG DETAIL PAGE SECTION ================================== */
#grpblogdetail{
    width:100%;
    padding:30px 20px;
    background:#ffffff;
}

.grpblogdetail-container{
    max-width:900px;
    margin:0 auto;
}

/*========================
        Title
=========================*/

.grpblogdetail-title{
    font-size:36px; /* Reduced from 42px to fit mostly in 2 lines */
    line-height:1.3;
    font-weight:700;
    color:var(--primary-color); /* Primary red (#cc252e) */
    margin-bottom:30px;
    text-align: center; /* Center the main title for a classic look */
}

/*========================
        Featured Image
=========================*/

.grpblogdetail-image{
    margin-bottom:45px;
    overflow:hidden;
    border-radius:12px; /* Match website's border radius */
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); /* Add subtle shadow for professional look */
}

.grpblogdetail-image img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
}

/*========================
        Content
=========================*/

.grpblogdetail-content{
    color:#444; /* Slightly darker than 555 for better readability */
}

.grpblogdetail-content p{
    font-size:17px;
    line-height:1.8;
    margin-bottom:24px;
}

/* H2 */

.grpblogdetail-content h2{
    font-size:30px;
    color:var(--primary-blue); /* Text color changed to 0c63cd */
    margin:50px 0 20px;
    font-weight:700;
    line-height:1.4;
    border-left: 4px solid var(--dark-navy); /* Sideline color changed to 21313b */
    padding-left: 15px;
}

/* H3 */

.grpblogdetail-content h3{
    font-size:24px;
    color:var(--dark-navy);
    margin:40px 0 15px;
    font-weight:700;
    line-height:1.4;
}

/* Lists */

.grpblogdetail-content ul,
.grpblogdetail-content ol{
    margin:0 0 30px 25px;
}

.grpblogdetail-content li{
    margin-bottom:12px;
    font-size:17px;
    line-height:1.8;
}

.grpblogdetail-content li::marker {
    color: var(--primary-blue);
    font-weight: bold;
}

.grpblogdetail-content strong{
    color:var(--dark-navy);
    font-weight:600;
}

/*========================
        Tablet
=========================*/

@media(max-width:991px){

    .grpblogdetail-title{
        font-size:32px;
    }

    .grpblogdetail-image img{
        height:420px;
    }

    .grpblogdetail-content h2{
        font-size:28px;
    }

    .grpblogdetail-content h3{
        font-size:24px;
    }

}

/*========================
        Mobile
=========================*/

@media(max-width:767px){

    #grpblogdetail{
        padding:60px 15px;
    }

    .grpblogdetail-title{
        font-size:26px; /* Reduced from 30px */
    }

    .grpblogdetail-image{
        border-radius:12px;
    }

    .grpblogdetail-image img{
        height:250px;
    }

    .grpblogdetail-content p,
    .grpblogdetail-content li{
        font-size:16px;
    }

    .grpblogdetail-content h2{
        font-size:24px;
        margin:40px 0 20px;
    }

    .grpblogdetail-content h3{
        font-size:22px;
    }

}

/* ========================== CONTACT US PAGE SECTION ================================== */
#grupcontactp {
    width: 100%;
    padding: 30px 20px; /* Reduced overall height/padding significantly */
    position: relative;
    background: linear-gradient(
        to bottom,
        #f8fafc 0%,
        #f8fafc 45%,
        #ffffff 45%,
        #ffffff 100%
    );
}

#grupcontactp .bg-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background-image: url('../images/bg.webp');
    background-size: cover;
    opacity: 0.08;
    z-index: 0;
}

#grupcontactp .about-content {
    text-align: center;
    margin: 0 auto 40px auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

#grupcontactp .grupcontactp-subtitle {
    display: block;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

#grupcontactp .about-title {
    display: inline-block;
    margin-bottom: 0;
    white-space: nowrap;
}

#grupcontactp .about-underline {
    margin: 15px auto 0 auto;
}





/*==============================
    Main Wrapper
===============================*/

.grupcontactp-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch; /* Makes both cards equal height */
    gap: 30px;
    position: relative;
    z-index: 1;
}

/*==============================
    Left Form
===============================*/

.grupcontactp-form-box {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px; /* Reduced box padding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.grupcontactp-form-title {
    text-align: center;
}

.grupcontactp-form-title h3 {
    font-size: 26px; /* Smaller title */
    color: var(--primary-blue); /* Theme Blue */
    margin-bottom: 10px;
}

.grupcontactp-form-title p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px; /* Reduced from 30px */
    font-size: 14px;
}

.grupcontactp-row {
    display: flex;
    gap: 15px;
    margin-bottom: 12px; /* Reduced gap between rows */
}

.grupcontactp-field {
    flex: 1;
}

.grupcontactp-field label {
    display: block;
    font-size: 13px; /* Slightly smaller label */
    font-weight: 600;
    color: #333;
    margin-bottom: 5px; /* Reduced label margin */
}

.grupcontactp-field input,
.grupcontactp-field select,
.grupcontactp-field textarea,
.grupcontactp-phone-wrap {
    width: 100%;
    border: 1px solid #e0e5eb;
    border-radius: 6px; /* Classic input corners */
    background: #fcfcfc;
    font-family: var(--font-primary), sans-serif;
}

.grupcontactp-field input,
.grupcontactp-field select,
.grupcontactp-phone-wrap select {
    height: 40px; /* Highly compact height */
}

.grupcontactp-field input,
.grupcontactp-field select,
.grupcontactp-phone-wrap select,
.grupcontactp-phone-wrap input,
.grupcontactp-field textarea {
    outline: none;
    padding: 0 15px;
    font-size: 14px;
    color: #444;
    border: 1px solid #e0e5eb; /* Ensure borders are visible */
    background: #fcfcfc;
    border-radius: 6px;
    transition: 0.3s;
}

.grupcontactp-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    cursor: pointer;
    padding-right: 40px; /* Space for the custom arrow */
}

.grupcontactp-field select option {
    font-size: 14px;
    color: #444;
    background: #ffffff;
    padding: 10px;
}

.grupcontactp-field input:focus,
.grupcontactp-field select:focus,
.grupcontactp-field textarea:focus {
    border-color: var(--primary-blue); /* Focus state using logo color */
    background: #ffffff;
}

.grupcontactp-phone-wrap {
    display: flex;
    overflow: hidden;
}

.grupcontactp-phone-wrap select {
    width: 80px;
    border-right: 1px solid #dddddd;
}

.grupcontactp-phone-wrap input {
    flex: 1;
}

.grupcontactp-field textarea {
    height: 70px; /* Highly compact textarea */
    resize: none;
    padding-top: 10px;
}

.grupcontactp-btn {
    margin-top: 10px; /* Reduced top margin */
    background: var(--primary-blue); /* Theme Blue */
    color: #ffffff;
    border: none;
    padding: 10px 30px; 
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.grupcontactp-btn:hover {
    background: var(--dark-navy); /* Hover to dark navy */
}

/*==============================
    Right Contact Card
===============================*/

.grupcontactp-contact-box {
    width: 380px; /* Increased width for better text layout */
    background: var(--primary-blue); /* Theme Red */
    color: #ffffff;
    border-radius: 12px;
    padding: 30px 25px; /* Increased padding */
    margin-top: 0;
    box-shadow: 0 15px 35px rgba(204, 37, 46, 0.2);
    display: flex;
    flex-direction: column;
}

.grupcontactp-contact-heading h3 {
    font-size: 24px; /* Slightly smaller heading */
    line-height: 1.3;
    margin-bottom: 20px; /* Reduced margin */
}

.grupcontactp-contact-item {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.08); /* More subtle background */
    padding: 12px;
    border-radius: 10px; /* Sharper */
    margin-bottom: 10px; /* tighter spacing */
}

.grupcontactp-contact-icon {
    width: 45px; /* Smaller icons */
    height: 45px;
    border-radius: 50%; /* Classic circular icons */
    background: rgba(255, 255, 255, 0.15); /* Slightly less opaque */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.grupcontactp-contact-item span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 2px;
}

.grupcontactp-contact-item p {
    font-size: 14px;
    font-weight: 600;
}

.grupcontactp-social {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.grupcontactp-social h4 {
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center; /* Center the heading */
}

.grupcontactp-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* Center the icons */
}

.grupcontactp-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Classic circular icons */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Elegant outline */
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.3s;
}

.grupcontactp-social-icons a:hover {
    background: #ffffff; /* Solid white on hover */
    color: var(--primary-blue); /* Icon turns blue on hover */
    border-color: #ffffff;
}

/*==============================
    Tablet
===============================*/

@media (max-width: 991px) {
    .grupcontactp-wrapper {
        flex-direction: column;
    }

    .grupcontactp-contact-box {
        width: 100%;
        margin-top: 0;
    }

    .grupcontactp-contact-heading h3 {
        font-size: 26px;
    }

    #grupcontactp .about-title {
        white-space: normal; /* Allow wrapping on smaller screens to prevent overflow */
        font-size: 28px; /* Slightly reduce size to fit nicely */
    }
}

/*==============================
    Mobile
===============================*/

@media (max-width: 767px) {
    #grupcontactp {
        padding: 50px 15px;
    }

    .grupcontactp-form-box {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .grupcontactp-form-title h3 {
        font-size: 26px;
    }

    #grupcontactp .about-title {
        font-size: 22px; /* Scale down heading further for very small screens */
    }

    .grupcontactp-row {
        flex-direction: column;
        gap: 15px;
    }

    .grupcontactp-contact-box {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .grupcontactp-contact-heading h3 {
        font-size: 24px;
    }


    .grupcontactp-social-icons {
        justify-content: center;
    }

    .grupcontactp-btn {
        width: 100%;
    }
}

/* =========================================
   SRI VAARAHI VIDEO GALLERY (svgv)
   ========================================= */

#svgv-video-section {
    padding: 50px 20px 80px;
    background: #ffffff;
    position: relative;
}

.svgv-container {
    max-width: 1400px;
    margin: 0 auto;
}

.svgv-heading-wrap {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.svgv-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

/* TABS */
.svgv-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    background: #f4f4f4;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid #e5e5e5;
}

.svgv-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #555555;
    background: transparent;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.svgv-tab-btn svg {
    transition: transform 0.3s ease;
}

.svgv-tab-btn:hover {
    color: #a81c2f;
}

.svgv-tab-btn.active {
    background: #a81c2f;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(168, 28, 47, 0.32);
}

.svgv-tab-btn.active svg {
    stroke: #ffffff;
}

/* TAB CONTENT */
.svgv-tab-content {
    display: none;
    animation: svgvFadeIn 0.35s ease;
}

.svgv-tab-content.active {
    display: block;
}

@keyframes svgvFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4 IN A ROW VIDEO GRID */
.svgv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* VIDEO CARD */
.svgv-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #ebebeb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.svgv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 16:9 LANDSCAPE WRAPPER */
.svgv-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}

/* 9:16 PORTRAIT WRAPPER & CARD */
.svgv-portrait-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ebebeb;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.svgv-portrait-wrap {
    aspect-ratio: 9 / 13.5 !important;
    border-radius: 12px 12px 0 0;
    position: relative;
    width: 100%;
    background: #000000;
    overflow: hidden;
}

.svgv-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.svgv-portrait-card:hover .svgv-thumb {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.svgv-shorts-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 0, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.45);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.svgv-shorts-play svg {
    margin-left: 2px;
}

.svgv-portrait-card:hover .svgv-shorts-play {
    transform: translate(-50%, -50%) scale(1.14);
    background: #ff0000;
}

.svgv-portrait-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1400px;
    margin: 0 auto;
    gap: 16px;
}

/* INLINE IFRAME */
.svgv-thumb-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* CARD BODY */
.svgv-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.svgv-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 10px;
    line-height: 1.42;
    word-break: break-word;
}

.svgv-card-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #f4f4f4;
}

.svgv-card-lang {
    font-size: 12px;
    color: #a81c2f;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* RESPONSIVE */
@media (max-width: 1280px) {
    .svgv-portrait-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .svgv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .svgv-portrait-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 850px;
    }
}

@media (max-width: 768px) {
    .svgv-portrait-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 580px;
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .svgv-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
        gap: 18px;
    }

    #svgv-video-section {
        padding: 35px 15px 50px;
    }

    .svgv-heading {
        font-size: 26px;
    }

    .svgv-tabs {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .svgv-tab-btn {
        padding: 8px 16px;
        font-size: 13px;
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .svgv-portrait-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

