/* --- FIXED ALIGNED CARDS - WITH SHADOW --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700&display=swap');

:root{
  --primary: #E8D9BB;
  --secondary: #FE5516;
  --third: #0B1823;
  --white: #ffffff;
  --light: #FFF8F1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp{
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn{
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn{
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes shimmer{
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes floatLine{
  0%,100% { width: 40px; }
  50% { width: 70px; }
}

/* Section */
.pd-section{
  background: var(--light);
  padding: 80px 0;
  overflow: hidden;
}
.pd-section .container{
  max-width: 1320px;
}

/* Heading - WITH ANIMATION */
.pd-heading{
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
  animation: fadeUp 0.8s ease both;
}
.pd-body h5{
  font-family: 'Outfit', sans-serif;
}
.pd-heading h2{
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--third);
  margin-bottom: 12px;
}
.pd-heading h2 span{
  color: var(--secondary);
}
.pd-heading p{
  color: #5a6a7a;
  font-size: 1.05rem;
  line-height: 1.6;
  animation: fadeUp 0.8s 0.2s ease both;
}

/* Card - WITH ANIMATION + SHADOW */
.pd-card{
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(232, 217, 187, 0.6);
  box-shadow: 
    0 2px 4px rgba(11,24,35,0.04),
    0 8px 24px rgba(11,24,35,0.06),
    0 0 0 1px rgba(232, 217, 187, 0.2) inset;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Entrance Animation */
  animation: fadeUp 0.7s ease both;
  animation-delay: calc(var(--i, 0) * 0.1s);
  position: relative;
}

/* Staggered delay - add style="--i:0", --i:1, --i:2 to your cards */
.row.g-4 > div:nth-child(1) .pd-card{ --i: 1; }
.row.g-4 > div:nth-child(2) .pd-card{ --i: 2; }
.row.g-4 > div:nth-child(3) .pd-card{ --i: 3; }
.row.g-4 > div:nth-child(4) .pd-card{ --i: 4; }
.row.g-4 > div:nth-child(5) .pd-card{ --i: 5; }
.row.g-4 > div:nth-child(6) .pd-card{ --i: 6; }

/* Shine effect on hover */
.pd-card::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transform: translateX(-150%);
  transition: transform 0.6s ease;
  z-index: 2;
  pointer-events: none;
}
.pd-card:hover::after{
  transform: translateX(250%);
}

.pd-card:hover{
  transform: translateY(-12px) scale(1.01);
  box-shadow: 
    0 12px 20px rgba(11,24,35,0.08),
    0 24px 48px rgba(11,24,35,0.14),
    0 0 0 1px rgba(254, 85, 22, 0.15) inset;
  border-color: rgba(254, 85, 22, 0.3);
}

/* Image Box */
.pd-img-box{
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--primary);
  box-shadow: inset 0 -1px 0 rgba(11,24,35,0.06);
}
.pd-img-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pd-card:hover .pd-img-box img{
  transform: scale(1.12) rotate(0.5deg);
}

/* Body */
.pd-body{
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--white);
}
.pd-body h5{
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--third);
  line-height: 1.35;
  margin-bottom: 18px;
  min-height: 44px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  padding-bottom: 12px;
  transition: color 0.3s ease;
}

/* Animated underline */
.pd-body h5::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--secondary);
  border-radius: 100px;
  transition: all 0.4s ease;
}
.pd-card:hover .pd-body h5::after{
  width: 70px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

/* Button */
.pd-btn{
  margin: auto auto 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--third);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--third);
  transition: all 0.3s ease;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(11,24,35,0.15);
  position: relative;
  overflow: hidden;
}
.pd-btn::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.pd-btn:hover::before{
  transform: translateX(100%);
}
.pd-btn:hover{
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(254, 85, 22, 0.4);
  transform: translateY(-2px);
}
.pd-btn i{
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.pd-btn:hover i{
  transform: translateX(6px);
}

/* Grid gap */
.row.g-4{
  --bs-gutter-y: 1.8rem;
  --bs-gutter-x: 1.8rem;
}

/* RESPONSIVE */
@media (max-width: 992px){
  .pd-section{ padding: 60px 0; }
  .pd-img-box{ height: 230px; }
}
@media (max-width: 768px){
  .pd-section{ padding: 50px 0; }
  .pd-heading{ margin-bottom: 32px; padding: 0 16px; }
  .pd-img-box{ height: 220px; }
  .row.g-4{ --bs-gutter-y: 1.2rem; --bs-gutter-x: 1.2rem; }
}
@media (max-width: 576px){
  .pd-section{ padding: 40px 0; }
  .pd-card{ border-radius: 14px; }
  .pd-img-box{ height: 200px; }
  .pd-body{ padding: 16px; }
  .pd-body h5{ font-size: 1rem; min-height: auto; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
  .pd-card, .pd-heading, .pd-heading p{ animation: none; }
  .pd-card::after, .pd-btn::before{ display: none; }
}


.enq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 15px;
}

.enq-overlay.active {
    display: flex;
}

.enq-box {
    background: #fff;
    width: 100%;
    max-width: 440px;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    border-top: 4px solid #FF6B00;
    box-shadow: 0 20px 60px rgba(255, 107, 0, .2);
}

.enq-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: #FFF0E6;
    color: #FF6B00;
    font-size: 22px;
    cursor: pointer;
}

.enq-close:hover {
    background: #FF6B00;
    color: #fff;
}

.enq-box h4 {
    color: #111;
}

.enq-sub {
    color: #6b7280;
}

.enq-field {
    margin-bottom: 14px;
}

.enq-field label {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.enq-field input,
.enq-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #FFD1A6;
    border-radius: 10px;
    padding: 11px 14px;
    outline: none;
    transition: .2s;
}

.enq-field input:focus,
.enq-field textarea:focus {
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, .15);
}

.enq-submit {
    width: 100%;
    background: #FF6B00;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.enq-submit:hover {
    background: #E55F00;
    box-shadow: 0 8px 20px rgba(255, 107, 0, .3);
}

.enq-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.enq-success-icon {
    width: 64px;
    height: 64px;
    background: #FFF0E6;
    color: #FF6B00;
    border: 2px solid #FF6B00;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 32px;
    margin: 0 auto 16px;
}

#phoneError {
    color: #FF6B00 !important;
}
