/* =========================================
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: 4%;
  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;
}

/* TITLE STYLING (SINGLE CINZEL FONT, SMALLER SIZE, NO BACKGROUND PATCH) */
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 0px;
  white-space: nowrap;
}

/* Crafting Legacies: #cc252e */
.title-crafting {
  font-family: 'Cinzel', serif;
  color: #cc252e;
}

/* in: black color */
.title-in {
  font-family: 'Cinzel', serif;
  color: #000000;
  padding: 0 6px;
}

/* Real Estate: red text without background patch */
.patch-highlight {
  font-family: 'Cinzel', serif;
  color: #cc252e;
  display: inline-block;
  font-weight: 700;
}

/* DESCRIPTION STYLING: Cormorant Garamond Serif font, black color */
.hero-description {
  font-family: 'Cormorant Garamond', 'Cinzel', serif;
  font-size: 21px;
  line-height: 1.75;
  color: #000000;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* 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;
}

/* CONTINUOUS WORD-BY-WORD REVEAL ANIMATION FOR TITLE AND PARAGRAPH */
@keyframes heroWordReveal {
  0% {
    opacity: 0;
    transform: translateY(35px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-word {
  display: inline-block;
  opacity: 0;
  animation: heroWordReveal 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.12s * var(--i));
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
  .hero-overlay-container {
    top: 3%;
  }
  .hero-title {
    font-size: 42px;
    white-space: normal;
  }
  .hero-description {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .hero-overlay-container {
    top: 2.5%;
    width: 94%;
  }
  .hero-title {
    font-size: 32px;
    margin-bottom: 14px;
    white-space: normal;
  }
  .hero-badge {
    padding: 6px 16px;
    margin-bottom: 12px;
  }
  .badge-text {
    font-size: 11px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.65;
  }
}

@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 {
    font-size: 26px;
    white-space: normal;
  }
  .hero-description {
    font-size: 14px;
  }
}

/* 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
   ========================================= */

.grupwcu-v2-section {
  padding: 30px 24px;
  background-color: #ffffff;
  overflow: hidden;
}

.grupwcu-v2-container {
  max-width: 1400px;
  margin: 0 auto;
}

.grupwcu-v2-header {
  text-align: center;
  margin-bottom: 20px;
}

.grupwcu-v2-subtitle,
.grupwcu-v2-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color, #cc252e);
  letter-spacing: 5px;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
}

.grupwcu-v2-main-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #21313b;
  font-weight: 700;
  line-height: 1.2;
}

.grupwcu-v2-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 15px;
}

.grupwcu-v2-card {
  position: relative;
  background: #0e2a47;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bento Sizing */
.card-tall { grid-row: span 2; }
.card-wide { grid-column: span 2; }
.card-featured { 
  background: #0e2a47;
}

.grupwcu-v2-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.grupwcu-v2-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(100%);
  transition: all 0.8s ease;
}

.grupwcu-v2-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 42, 71, 0.9), transparent 80%);
  z-index: 2;
  transition: opacity 0.6s ease;
}

.grupwcu-v2-card-content {
  position: relative;
  z-index: 3;
  transition: transform 0.6s ease;
}

.grupwcu-v2-number {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -80px;
  left: -20px;
  line-height: 1;
  transition: all 0.6s ease;
}

.grupwcu-v2-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 700;
  transition: color 0.4s ease;
}

.grupwcu-v2-card-desc {
  font-size: 15px;
  color: #5b6775;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Hover & Auto-Active Effects */
.grupwcu-v2-card:hover,
.grupwcu-v2-card.active-auto {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(14, 42, 71, 0.15);
}

.grupwcu-v2-card:hover .grupwcu-v2-card-bg,
.grupwcu-v2-card.active-auto .grupwcu-v2-card-bg {
  transform: scale(1.1);
}

.grupwcu-v2-card:hover .grupwcu-v2-card-bg img,
.grupwcu-v2-card.active-auto .grupwcu-v2-card-bg img {
  opacity: 0.8;
  filter: grayscale(0%);
}

.grupwcu-v2-card:hover .grupwcu-v2-card-title,
.grupwcu-v2-card.active-auto .grupwcu-v2-card-title {
  color: #ffffff;
}

.grupwcu-v2-card:hover .grupwcu-v2-number,
.grupwcu-v2-card.active-auto .grupwcu-v2-number {
  color: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px);
}

.grupwcu-v2-card:hover .grupwcu-v2-card-desc,
.grupwcu-v2-card.active-auto .grupwcu-v2-card-desc {
  max-height: 200px;
  opacity: 1;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

/** 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: 38px;
  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: 150vh; /* Adjusted to balance 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.jpg');
  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: 120px; /* Aligned with body padding-top */
  height: 85vh; /* Increased from 65vh to fully show the bottom content */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2; /* Ensures content stays above background */
}

/* --- Added QWER HEADER --- */
.qwer-header {
  position: absolute;
  top: 8%; /* Moved down slightly to provide gap from exact top */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  padding: 0 20px;
  opacity: 1;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 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, 42px);
  color: #000000;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.qwer-card {
  position: absolute;
  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%, calc(10% + 50px)) rotate(-5deg); z-index: 3; }
#qwer-card-2 { transform: translate(0, 50px); z-index: 1; }
#qwer-card-3 { transform: translate(40%, calc(10% + 50px)) rotate(5deg); z-index: 2; }

/* SEPARATED STATE (On Scroll) */
.active #qwer-card-1 { transform: translate(-120%, 50px) rotate(0); }
.active #qwer-card-2 { transform: translate(0, 50px); }
.active #qwer-card-3 { transform: translate(120%, 50px) 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%, 50px) rotate(0); }
  .active #qwer-card-2 { transform: translate(0, 50px); }
  .active #qwer-card-3 { transform: translate(105%, 50px) rotate(0); }
}

/* Responsive: Tablet Portrait / Mobile */
@media (max-width: 800px) {
  .qwer-container { height: 280vh; } /* Taller scroll space for multiple steps */
  .qwer-card { width: 280px; } /* Clean, readable width on mobile */

  /* 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, 40px) rotate(-5deg); z-index: 3; }
  .mobile-state-0 #qwer-card-2 { transform: translate(0, 40px) rotate(0); z-index: 2; }
  .mobile-state-0 #qwer-card-3 { transform: translate(20px, 40px) 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, 40px) 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%, 40px) rotate(5deg); z-index: 2; opacity: 0; pointer-events: none; }
  .mobile-state-1 #qwer-card-3 { transform: translate(160%, 40px) 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%, 40px) rotate(-5deg); z-index: 1; opacity: 0; pointer-events: none; }
  
  .mobile-state-2 #qwer-card-2 { transform: translate(0, 40px) 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%, 40px) 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%, 40px) rotate(-10deg); z-index: 1; opacity: 0; pointer-events: none; }
  .mobile-state-3 #qwer-card-2 { transform: translate(-130%, 40px) rotate(-5deg); z-index: 2; opacity: 0; pointer-events: none; }
  
  .mobile-state-3 #qwer-card-3 { transform: translate(0, 40px) 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 {
    background: radial-gradient(circle, #293280 0%, #21313b 100%);
    padding: 50px 0 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

/* Same styles and fonts as Qwer What We Do Section */
.hcountn-header {
    text-align: center;
    z-index: 20;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 0px;
}

.hcountn-label {
    color: #ffffff;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 5px;
    margin-bottom: 12px;
}

.hcountn-title {
    font-size: clamp(28px, 4vw, 42px);
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

.hcountn-wrapper {
    position: relative;
    width: 800px;
    height: 500px;
    margin: -60px 0; /* Trim the invisible 60px SVG void block off the top and bottom */
    flex-shrink: 0;
    min-width: 800px;
}

.hcountn-center-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 170px; height: 170px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2), 0 0 10px rgba(255, 255, 255, 0.1) inset; /* Outer border glow */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

@keyframes hcountnOrbitRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hcountn-half-line {
    position: absolute;
    width: 210px; height: 210px;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: hcountnOrbitRotate 15s linear infinite;
    animation-play-state: paused; /* Paused by default to save energy until scrolled into view */
}
.hcountn-section.is-visible .hcountn-half-line {
    animation-play-state: running; /* Starts spinning smoothly when scrolled into view */
}
.hcountn-half-line.hcountn-top { border-top: 2px solid white; top: -20px; }
.hcountn-half-line.hcountn-bottom { border-bottom: 2px solid white; bottom: -20px; }

.hcountn-orbit-dot {
    position: absolute;
    width: 8px; height: 8px; /* Matched to SVG dot diameter */
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 5px white;
    transform: translate(-50%, -50%); /* Centers the dot exactly on coordinate */
}
/* CSS border-top and border-bottom on a circle naturally terminate exactly at 45 degrees.
   Radius = 105. At 45 deg, coordinates are ~31px and ~179px */
.hcountn-top .hcountn-dot-left { top: 31px; left: 31px; }
.hcountn-top .hcountn-dot-right { top: 31px; left: 179px; }
.hcountn-bottom .hcountn-dot-left { top: 179px; left: 31px; }
.hcountn-bottom .hcountn-dot-right { top: 178px; left: 178px; }

.hcountn-flip-box { width: 85px; height: 85px; perspective: 1000px; }
.hcountn-flip-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    animation: hcountnRotateLogo 6s infinite ease-in-out;
}
@keyframes hcountnRotateLogo {
    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; }
.hcountn-flip-back { transform: rotateY(180deg); }
.hcountn-flip-front img, .hcountn-flip-back img { width: 100%; }

.hcountn-lines-svg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    pointer-events: none;
}

@keyframes hcountnContinuousDraw {
    0% { stroke-dashoffset: var(--hcountn-path-length); opacity: 0; }
    5% { opacity: 1; stroke-dashoffset: var(--hcountn-path-length); }
    35% { stroke-dashoffset: 0; opacity: 1; }
    60% { stroke-dashoffset: 0; opacity: 1; }
    65% { opacity: 0; stroke-dashoffset: 0; }
    100% { stroke-dashoffset: var(--hcountn-path-length); opacity: 0; }
}

.hcountn-draw-line { 
    stroke: rgba(255, 255, 255, 0.9); 
    stroke-width: 2; 
    fill: none; 
    stroke-linecap: round; 
    stroke-dasharray: var(--hcountn-path-length);
    stroke-dashoffset: var(--hcountn-path-length);
    opacity: 0;
}

.hcountn-section.is-visible .hcountn-draw-line {
    animation: hcountnContinuousDraw 3s ease-in-out infinite;
}
@keyframes hcountnDotPulseStart {
    0% { opacity: 0; transform: scale(0); }
    5% { opacity: 0; transform: scale(0); }
    15% { opacity: 1; transform: scale(1); }
    60% { opacity: 1; transform: scale(1); }
    65% { opacity: 0; transform: scale(0); }
    100% { opacity: 0; transform: scale(0); }
}

@keyframes hcountnDotPulseEnd {
    0% { opacity: 0; transform: scale(0); }
    30% { opacity: 0; transform: scale(0); }
    40% { opacity: 1; transform: scale(1); }
    60% { opacity: 1; transform: scale(1); }
    65% { opacity: 0; transform: scale(0); }
    100% { opacity: 0; transform: scale(0); }
}

.hcountn-dot { 
    fill: white; 
    filter: drop-shadow(0 0 3px white);
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
}

/* Inner starting dots (appear as line starts drawing) */
.hcountn-section.is-visible .hcountn-dot[cx="275"],
.hcountn-section.is-visible .hcountn-dot[cx="525"] {
    animation: hcountnDotPulseStart 3s ease-in-out infinite;
}

/* Outer ending dots (appear exactly when line finishes drawing at 35%) */
.hcountn-section.is-visible .hcountn-dot[cx="100"],
.hcountn-section.is-visible .hcountn-dot[cx="700"] {
    animation: hcountnDotPulseEnd 3s ease-in-out infinite;
}

.hcountn-node { position: absolute; width: 220px; text-align: center; }
.hcountn-main-number { font-size: 36px; font-weight: 900; color: #ffffff; margin-bottom: 2px; }
.hcountn-node p { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; color: #ffffff; }

/* Coordinates adjusted for the new L-shapes */
.hcountn-tl { top: 75px; left: -10px; }
.hcountn-bl { bottom: 75px; left: -10px; }
.hcountn-tr { top: 75px; right: -10px; }
.hcountn-br { bottom: 75px; right: -10px; }

/* Scale down the infographic desktop view proportionally for all smaller screens */
@media (max-width: 850px) {
    .hcountn-wrapper { -webkit-transform: scale(0.85); transform: scale(0.85); -webkit-transform-origin: center; transform-origin: center; margin: -90px 0; }
}
@media (max-width: 768px) {
    .hcountn-wrapper { -webkit-transform: scale(0.75); transform: scale(0.75); margin: -110px 0; }
}
@media (max-width: 650px) {
    .hcountn-wrapper { -webkit-transform: scale(0.65); transform: scale(0.65); margin: -125px 0; }
}
@media (max-width: 550px) {
    .hcountn-wrapper { -webkit-transform: scale(0.55); transform: scale(0.55); margin: -145px 0; }
}
@media (max-width: 480px) {
    .hcountn-wrapper { -webkit-transform: scale(0.46); transform: scale(0.46); margin: -165px 0; }
    .hcountn-section { padding: 40px 0 20px 0; }
}
@media (max-width: 400px) {
    .hcountn-wrapper { -webkit-transform: scale(0.38); transform: scale(0.38); margin: -180px 0; }
    .hcountn-section { padding: 30px 0 10px 0; }
}
@media (max-width: 350px) {
    .hcountn-wrapper { -webkit-transform: scale(0.33); transform: scale(0.33); margin: -190px 0; }
}

/* ========================== 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:34px;
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.jpg');
    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.jpg');
    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%;
    }
}
