.contact-hero-section {
  position: relative;
  background-image: url('image/contactheroimg.png');
  background-size: cover;
  background-position: center;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

/* ✅ Gradient overlay - bottom half only like screenshot 2 */
.contact-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0) 0%,           /* Top transparent */
    rgba(255, 255, 255, 0) 40%,          /* Keep top clear */
    rgba(220, 38, 38, 0.5) 70%,          /* Red starts */
    rgba(190, 24, 93, 0.65) 85%,         /* Deep red-pink */
    rgba(139, 0, 0, 0.75) 100%           /* Dark red bottom */
  );
  z-index: 0;
}

.content-container {
  position: relative;
  z-index: 1;
  padding: 30px;
  background: transparent;
  width: 100%;

  /* ✅ Heading + content center */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.animated-title {
  font-size: 2.5em;
  font-weight: bold;
  animation: floatText 5s ease-in-out infinite;

  /* ✅ Perfect center */
  text-align: center;
  width: 100%;
  margin: 0 0 30px 0;
}

.emoji {
  font-size: 1.5em;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* ✅ buttons also centered */
  gap: 20px;
}

.cta-button {
  padding: 15px 30px;
  font-size: 1.1em;
  text-decoration: none;
  color: white;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
  display: inline-block;
}

.call-btn {
  background-color: #1565c0;
}

.whatsapp-btn {
  background-color: #25d366;
}

.cta-button:hover {
  transform: translateY(-5px);
}

@keyframes floatText {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-10px) translateY(-10px);
  }
  50% {
    transform: translateX(10px) translateY(10px);
  }
  75% {
    transform: translateX(-10px) translateY(-10px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

/* Tablet responsiveness */
@media (max-width: 768px) {
  .animated-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    line-height: 1.3;
  }

  .emoji {
    font-size: 1.2em;
  }

  .cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .contact-hero-section {
    height: 60vh;
  }

  .content-container {
    padding: 20px 15px;

    /* ✅ center on mobile too */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 100%;
  }

  .animated-title {
    font-size: 1.4em;
    margin: 0 0 20px 0;
    line-height: 1.4;
    flex-shrink: 0;
  }

  .emoji {
    font-size: 1em;
    display: block;
    margin-top: 5px;
  }

  .cta-buttons {
    gap: 15px;
    margin-top: 10px;
    padding-bottom: 0;
  }

  .cta-button {
    font-size: 0.95em;
    padding: 12px 20px;
  }
}

/* Extra small mobile */
@media (max-width: 375px) {
  .animated-title {
    font-size: 1.2em;
  }

  .cta-button {
    font-size: 0.9em;
    padding: 10px 18px;
  }
}
/* Base section styles */
/* =========================
   CONTACT SECTION 1 (FIXED ALIGNMENT)
========================= */
.contact-section-1{
  width: min(1200px, 92%);
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ✅ All cards equal height + same alignment */
.contact-card{
  background: #810B0D;
  border-radius: 14px;
  padding: 26px 22px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  min-height: 240px; /* ✅ all equal height */
}

/* Hover */
.contact-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

/* ✅ Icon same size */
.contact-card .card-icon{
  font-size: 44px;
  margin-bottom: 14px;
  line-height: 1;
}

/* ✅ Heading same spacing */
.contact-card h3{
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* ✅ Paragraph proper alignment + readable */
.contact-card p{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  max-width: 320px;

  /* ✅ equal alignment feel */
  display: -webkit-box;
  -webkit-line-clamp: 4;        /* address wala too long na lage */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px){
  .contact-section-1{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px){
  .contact-section-1{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px){
  .contact-section-1{
    grid-template-columns: 1fr;
  }

  .contact-card{
    min-height: auto;
  }

  .contact-card p{
    -webkit-line-clamp: unset; /* mobile me full text show */
  }
}

/* section 2 css */
/* Base section styles */
/* Base section styles */
/* =========================
   CONTACT SECTION (UPDATED)
   - Review Us wider
   - QR image no crop (contain)
   - Works on Laptop / Tab / Mobile
========================= */

/* =========================
   CONTACT SECTION (UPDATED)
   - Order: Social, Review, Map
   - Map size = Review size
========================= */

/* =========================
   CONTACT SECTION GRID
========================= */
.contact-section{
  display: grid;
  grid-template-columns: 1fr 1.6fr;  /* Left = Social+Review, Right = Map */
  gap: 20px;
  margin: 40px 20px;
  padding: 20px;
  border-radius: 10px;
  color: white;
  box-sizing: border-box;
  align-items: stretch;
}

/* Default cards */
.contact-section > div{
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.10);
  min-width: 280px;
  box-sizing: border-box;
}

/* =========================
   LEFT CARD: SOCIAL + REVIEW
   (4 icons in ONE ROW + QR bigger + gap reduced)
========================= */
.social-card{
  background: #810B0D;;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 620px;           /* enough for bigger QR */
  overflow: hidden;
}

/* Social title */
.social-card > h3{
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

/* ✅ 4 icons in ONE ROW + ✅ gap reduced */
.social-icons-container{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;                /* ✅ reduced gap */
  justify-items: center;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
}

/* Social icons */
.social-icon-card{
  background-color: #E1A3A3;
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;               /* ✅ extra gap remove */
}

.social-icon-card i{
  font-size: 1.2em;
  color: white;
}

/* Review section inside same card */
.review-inside{
  margin-top: auto;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
}

.review-inside h3{
  margin-bottom: 10px;
  text-align: center;
}

/* QR Wrapper */
.qr-code{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ✅ QR bigger */
.qr-code img{
  width: 100%;
  max-width: 420px;
  max-height: 380px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  display: block;
}

/* =========================
   RIGHT CARD: MAP
========================= */
.map-card{
  background: #810B0D;
  text-align: center;
  height: 620px;          /* match left card height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.map-card h3{
  margin-bottom: 10px;
  text-align: center;
}

.map-card iframe{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 0;
}

/* =========================
   RESPONSIVE
========================= */

/* Laptop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px){
  .social-card,
  .map-card{
    height: 560px;
  }

  .social-icons-container{
    gap: 6px;
  }

  .social-icon-card{
    width: 52px;
    height: 52px;
  }

  .social-icon-card i{
    font-size: 1.15em;
  }

  .qr-code img{
    max-width: 380px;
    max-height: 340px;
  }
}

/* Tablet (<=768px): stacked */
@media (max-width: 768px){
  .contact-section{
    grid-template-columns: 1fr;
  }

  .social-card{
    height: 600px;
  }

  .map-card{
    height: 480px;
  }

  .social-icons-container{
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .social-icon-card{
    width: 50px;
    height: 50px;
  }

  .social-icon-card i{
    font-size: 1.1em;
  }

  .qr-code img{
    max-width: 380px;
    max-height: 350px;
  }
}

/* Mobile (<=767px): stacked */
@media (max-width: 767px){
  .contact-section{
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 10px;
    padding: 15px;
  }

  .social-card,
  .map-card{
    height: auto;
  }

  /* better fit on mobile */
  .social-icons-container{
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .social-icon-card{
    width: 54px;
    height: 54px;
  }

  .social-icon-card i{
    font-size: 1.15em;
  }

  .qr-code img{
    max-width: 320px;
    max-height: 300px;
  }
}

/* Extra small mobile (<=480px) */
@media (max-width: 480px){
  .social-card{
    padding: 15px;
  }

  .map-card{
    padding: 15px;
    height: 360px;
  }

  .social-icons-container{
    gap: 8px;
  }

  .social-icon-card{
    width: 50px;
    height: 50px;
  }

  .social-icon-card i{
    font-size: 1.05em;
  }

  .qr-code{
    padding: 8px;
  }

  .qr-code img{
    max-width: 300px;
    max-height: 280px;
  }
}
