:root {
  --primary-red: #DC143C;
  --red-light: #FF4444;
  --white: #FFFFFF;
  --navy: #2C1810;
  --shadow-red: rgba(220,20,60,0.3);
  --bg-light: #FEF7F7;
  
  --red-gradient: linear-gradient(135deg, #DC3545 0%, #FF4757 50%, #FF6B7A 100%);
            --shadow-hover: 0 25px 50px rgba(220,53,69,0.4);
            --card-bg: rgba(255,255,255,0.98);
}

* { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; box-sizing: border-box; }

body { 
  background: linear-gradient(to bottom, var(--bg-light), #fff);
  color: var(--navy);
  overflow-x: hidden;
}


/* Hero Styles */
.hero-section { 
  
  margin-top: 95px;
  min-height: 100vh; 
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(220,20,60,0.03) 100%);
}

.hero-particles .particle {
  position: absolute;
  font-size: 2.5rem;
  color: rgba(220,20,60,0.1);
  animation: float 6s ease-in-out infinite;
}
.baby-foot { top: 20%; right: 10%; animation-delay: 0s; }
.heart { top: 60%; left: 20%; font-size: 3.5rem; animation-delay: 2s; }
.stethoscope { bottom: 20%; right: 20%; animation-delay: 4s; }

@keyframes float { 0%,100%{transform:translateY(0)rotate(0deg);}50%{transform:translateY(5px)rotate(5deg);} }

.hero-title {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-red) 50%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-number { font-size: 3.5rem; font-weight: 800; color: var(--primary-red); }
.stat-label { color: var(--navy); font-weight: 600; font-size: 1.1rem; }

.btn-primary-red {
  background: linear-gradient(135deg, var(--primary-red), var(--red-light));
  border: none; color: white;
  box-shadow: 0 10px 30px var(--shadow-red);
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.btn-primary-red:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 20px 50px var(--shadow-red); }

.btn-outline-red {
  border: 3px solid var(--primary-red); color: var(--primary-red); background: transparent;
  transition: all 0.4s ease;
}
.btn-outline-red:hover { background: var(--primary-red); color: white; transform: translateY(-3px); }

.hero-main-img { width: 80%; height: 400px; object-fit: cover; border-radius: 25px; }
.hero-overlay-badges { position: absolute; top: 20px; right: 20px; }
.badge-ribbon {
  background: linear-gradient(45deg, var(--primary-red), var(--red-light));
  color: white; padding: 8px 20px; border-radius: 25px; font-weight: 700;
  box-shadow: 0 5px 15px var(--shadow-red);
}
.achievement-badge {
  background: white; color: var(--primary-red); border: 3px solid var(--primary-red);
  padding: 10px 15px; border-radius: 50px; font-weight: 700; margin-top: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.animate-fadeInUp {
  opacity: 0; transform: translateY(50px);
  animation: fadeInUp 1.2s ease-out forwards;
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-bounce { animation: bounce 2s infinite; }



@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem !important; }
  .hero-main-img { height: 100px; }
}

/* TABLET (≤768px): Medium compact */
@media (max-width: 768px) {
  .hero-main-img {
    width: 92%;
    height: 220px;
    border-radius: 22px;
  }
}

/* MOBILE including 375px (≤575px): Ultra-compact */
@media (max-width: 575px) {
  .hero-main-img {
    width: 88%;
    height: 260px;
    border-radius: 20px;
  }
  
  /* 375px specific fine-tune if needed */
  @media (max-width: 375px) {
    .hero-main-img {
      height: 240px; /* Extra tight for smallest phones */
    }
  }
}




/* About Section - Photo Left, Info Right */
.about-section {
 background: linear-gradient(135deg, #FEFEFD 0%, #FAFAF9 100%);
 margin-top: 22px;

  
}


.animate-header-slide {
  opacity: 0;
  transform: translateY(40px);
  animation: headerSlide 1.2s 0.4s forwards;
}

/* Photo Container LEFT */
.doctor-photo-container {
  position: relative;
  height: 500px;
}

.photo-frame {
  position: relative;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(220,20,60,0.2);
  border: 8px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(15px);
  transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
}

.photo-frame:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 50px 120px rgba(220,20,60,0.3);
}

.doctor-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.photo-frame:hover .doctor-photo {
  transform: scale(1.15);
}

.photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 3rem 2rem 2rem;
}

.specialty-badge {
  background: linear-gradient(135deg, var(--primary-red), var(--red-light));
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 15px 40px var(--shadow-red);
  display: inline-flex;
  align-items: center;
}

/* Floating stats on photo */
.photo-stats {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 1.5rem;
  z-index: 3;
}

.stat-badge {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  text-align: center;
  border: 2px solid rgba(220,20,60,0.2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  min-width: 140px;
  transition: all 0.4s ease;
}

.stat-badge:hover {
  transform: translateY(-8px);
  border-color: var(--primary-red);
  box-shadow: 0 25px 60px rgba(220,20,60,0.25);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-red);
  display: block;
  line-height: 1;
}

.stat-badge small {
  color: var(--navy);
  font-weight: 600;
  opacity: 0.85;
}

/* Info Container RIGHT */
.doctor-info {
  opacity: 0;
  transform: translateX(50px);
  animation: infoSlide 1.2s 0.6s forwards;
}

@keyframes infoSlide {
  to { opacity: 1; transform: translateX(0); }
}

.achievement-badge {
  background: linear-gradient(135deg, rgba(220,20,60,0.1), rgba(255,69,180,0.1));
  border: 3px solid var(--primary-red);
  color: var(--primary-red);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 10px 30px var(--shadow-red);
}

.doctor-title {
  font-size: 1.8rem;
  color: var(--primary-red);
  font-weight: 700;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  padding: 1.2rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(220,20,60,0.1);
}

.highlight-item:last-child { border-bottom: none; }

.btn-primary-red {
  background: linear-gradient(135deg, var(--primary-red), var(--red-light));
  border: none;
  color: white;
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 50px;
  box-shadow: 0 15px 40px var(--shadow-red);
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-primary-red:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(220,20,60,0.45);
}

.btn-outline-primary-red {
  color: var(--primary-red);
  border: 3px solid var(--primary-red);
  background: transparent;
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 50px;
  transition: all 0.5s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline-primary-red:hover {
  background: var(--primary-red);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow-red);
  color: white !important;
}

/* Mobile: Photo top, info bottom */
@media (max-width: 991px) {
  .doctor-photo-container { height: 400px; margin-bottom: 3rem; }
  .photo-stats { flex-direction: column; gap: 1rem; }
  .stat-badge { min-width: auto; }
}

/* Extra small screens */
@media (max-width: 576px) {
  .doctor-photo-container { height: 320px; }
  .section-title { font-size: 2.5rem !important; }
}




 .treatments-grid-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        .section-title {
            font-size: 3.2rem;
            font-weight: 800;
            color: black;
            text-align: center;
            margin-bottom: 4rem;
            text-shadow: 0 4px 8px rgba(0,0,0,0.4);
            background: linear-gradient(45deg, #fff, rgba(255,255,255,0.9));
            -webkit-background-clip: text;
            
            background-clip: text;
        }
        
        .treatment-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .treatment-item {
            background: var(--card-bg);
            border-radius: 22px;
            padding: 1.8rem;
            text-align: center;
            /* Fixed height with flex layout */
            height: 440px;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
            box-shadow: 0 12px 30px rgba(0,0,0,0.18);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(12px);
        }
        
        .treatment-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 5px;
            background: var(--red-gradient);
            transition: left 0.6s ease;
            z-index: 2;
        }
        
        .treatment-item:hover::before {
            left: 0;
        }
        
        .treatment-item:hover {
            transform: translateY(-18px) scale(1.02);
            box-shadow: var(--shadow-hover);
        }
        
        /* Fixed top section */
        .treatment-top {
            flex-shrink: 0;
            margin-bottom: 1.2rem;
        }
        
        .logo-icon {
            font-size: 3.8rem;
            background: var(--red-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            animation: pulse-glow 2.2s infinite;
        }
        
        @keyframes pulse-glow {
            0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(220,53,69,0.6)); }
            50% { transform: scale(1.12); filter: drop-shadow(0 0 22px rgba(220,53,69,0.85)); }
        }
        
        /* Fixed image height - no overflow */
        .treatment-image {
            width: 100%;
            height: 200px; /* Fixed optimal height - won't push content */
            object-fit: cover;
            border-radius: 16px;
            margin: 0 auto 1rem;
            transition: all 0.5s ease;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            border: 2px solid rgba(220,53,69,0.2);
        }
        
        .treatment-item:hover .treatment-image {
            transform: scale(1.08);
            border-color: rgba(220,53,69,0.6);
            box-shadow: 0 15px 40px rgba(220,53,69,0.25);
        }
        
        /* Flexible content area */
        .treatment-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 0; /* Allow flex child to shrink */
          
        }
        
        .treatment-heading {
            font-size: 1.55rem;
            font-weight: 700;
            background: var(--red-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            line-height: 1.3;
            flex-shrink: 0;
        }
        
        .treatment-features {
            list-style: none;
            padding: 0;
            margin: 1rem 0;
            flex-grow: 1;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        
        .treatment-features li {
            color: #495057;
            margin-bottom: 0.45rem;
            font-size: 0.92rem;
            position: relative;
            padding-left: 1.6rem;
            flex-shrink: 0;
            transition: color 0.3s ease;
            line-height: 1.35;
        }
        
        .treatment-item:hover .treatment-features li {
            color: #DC3545;
        }
        
        .treatment-features li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: #DC3545;
            position: absolute;
            left: 0;
            font-size: 0.8rem;
        }
        
        /* Fixed button area */
        .treatment-footer {
            flex-shrink: 0;
            margin-top: 0.8rem;
        }
        
        .explore-btn {
            background: white;
            border: none;
            color: white;
            padding: 0.85rem 1.8rem;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.98rem;
            transition: all 0.4s ease;
            text-decoration: none;
            width: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .explore-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
            transition: left 0.6s;
        }
        
        .explore-btn:hover::before {
            left: 100%;
        }
        
        .explore-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(220,53,69,0.45);
            color: white;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .treatment-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
        }
        
        @media (max-width: 768px) {
            .treatment-grid { grid-template-columns: 1fr; gap: 1.5rem; }
            .section-title { font-size: 2.5rem; margin-bottom: 3rem; }
            .treatment-item { height: 420px; padding: 1.5rem; }
            .treatment-image { height: 180px; }
            .treatment-heading { font-size: 1.4rem; }
        }
        
        /* Optimized particles */
        .treatments-grid-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(2.5px 2.5px at 25px 35px, rgba(255,255,255,0.85), transparent),
                radial-gradient(2px 2px at 85px 65px, rgba(255,255,255,0.7), transparent);
            background-repeat: repeat;
            background-size: 200px 110px;
            animation: float-particles 22s linear infinite;
            opacity: 0.35;
        }
        
        @keyframes float-particles {
            0% { transform: translateY(0) rotate(0deg); }
            100% { transform: translateY(-25px) rotate(180deg); }
        }



        

/* section background */
.puj-contact{
  position:relative;
  background:linear-gradient(180deg,#fdf3ff,#f1f8ff);
}

/* LEFT CARD */
.contact-info-card{
  position:relative;
  border-radius:1.6rem;
  padding:1.4rem 1.6rem;
  background:rgba(255,255,255,.9);
  box-shadow:0 20px 50px rgba(0,0,0,.12);
  overflow:hidden;
}

.contact-info-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 0 0,rgba(196,50,141,.25),transparent 60%),
    radial-gradient(circle at 100% 100%,rgba(0,164,166,.22),transparent 60%);
  opacity:.9;
  mix-blend-mode:screen;
  animation: contactBgMove 14s ease-in-out infinite;
  pointer-events:none;
}

.contact-info-card > *{
  position:relative;
  z-index:1;
}

/* badge */
.contact-badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.25rem .8rem;
  border-radius:999px;
  background:rgba(0,92,153,.08);
  color:#005c99;
  font-size:.78rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.09em;
}

.contact-badge i{
  color:#00a4a6;
}

/* title */
.contact-title{
  margin-top:1rem;
  font-size:1.7rem;
  font-weight:800;
  color:#22293b;
}

.contact-title span{
  background:rgb(218, 24, 24);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.contact-text{
  margin-top:.6rem;
  font-size:.94rem;
  color:#545e70;
}

/* contact list */
.contact-list{
  list-style:none;
  padding:0;
  margin:1rem 0 0;
}

.contact-list li{
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  margin-bottom:.6rem;
}

.icon-circle{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.1rem;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
  animation: iconPulse 3.2s ease-in-out infinite;
}

.icon-circle.phone{ background:linear-gradient(135deg,#ff9f43,#ffb866); }
.icon-circle.whatsapp{ background:linear-gradient(135deg,#25d366,#128c7e); }
.icon-circle.location{ background:linear-gradient(135deg,#c4328d,#ff7bbf); }
.icon-circle.clock{ background:linear-gradient(135deg,#005c99,#00a4a6); }

.contact-list h6{
  font-size:.9rem;
  font-weight:700;
  color:#22293b;
  margin-bottom:.1rem;
}
.contact-list p{
  font-size:.84rem;
  color:#5b6475;
  margin:0;
}

/* tags */
.contact-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:1rem;
}

.contact-tags span{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  font-size:.78rem;
  padding:.3rem .7rem;
  border-radius:999px;
  background:#ffffffd9;
  color:#005c99;
}

.contact-tags i{
  color:#c4328d;
}

/* RIGHT: FORM */
.contact-form-wrap{
  position:relative;
  border-radius:1.8rem;
  padding:1.5rem 1.6rem 1.7rem;
  background:rgba(255,255,255,.95);
  box-shadow:0 24px 60px rgba(0,0,0,.16);
  overflow:hidden;
}

/* floating circles */
.contact-floating-circle{
  position:absolute;
  border-radius:50%;
  mix-blend-mode:screen;
  opacity:.7;
}

.cf-1{
  width:210px;
  height:210px;
  background:radial-gradient(circle,#ffb3d7,transparent 70%);
  top:-40px;
  right:-60px;
  animation: contactBubble1 14s ease-in-out infinite;
}
.cf-2{
  width:180px;
  height:180px;
  background:radial-gradient(circle,#9af2ff,transparent 70%);
  bottom:-40px;
  left:-40px;
  animation: contactBubble2 18s ease-in-out infinite;
}

/* form content above circles */
.contact-form{
  position:relative;
  z-index:2;
}

/* floating-label inputs */
.floating-group{
  position:relative;
}

.floating-group .form-control{
  border-radius:1rem;
  border:1px solid rgba(0,0,0,.08);
  padding:.65rem .9rem .55rem 2.0rem;
  font-size:.9rem;
  background:rgba(255,255,255,.92);
  transition:border-color .2s, box-shadow .2s, background .2s, transform .2s;
  
}

.floating-group.textarea-group .form-control{
  padding-top:1.1rem;
}

/* label */
.floating-group label{
  position:absolute;
  left:2.3rem;
  top:50%;
  transform:translateY(-50%);
  font-size:.82rem;
  color:#7a8292;
  pointer-events:none;
  transition:all .2s;
}

/* icon inside input */
.form-icon{
  position:absolute;
  left:.9rem;
  top:50%;
  transform:translateY(-50%);
  font-size:.9rem;
  color:black;
}

/* focus & filled states */
.floating-group .form-control:focus{
  outline:none;
  border-color:rgba(196,50,141,.7);
  box-shadow:0 0 0 3px rgba(196,50,141,.18);
  background:#ffffff;
  transform:translateY(-1px);
}

.floating-group .form-control:focus + label,
.floating-group .form-control:not(:placeholder-shown) + label{
  top:0.2rem;
  font-size:.7rem;
  color:black;
}

/* for textarea: adjust label position */
.textarea-group label{
  top:.8rem;
  transform:none;
}

/* button */
.btn.contact-btn{
  position:relative;
  overflow:hidden;
  border-radius:999px;
  padding:.6rem 1.7rem;
  background:#DC143C;
  color:#fff;
  font-size:.9rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  border:none;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  box-shadow:0 18px 34px rgba(255,159,67,.55);
  transition:transform .22s, box-shadow .22s;
}

.contact-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,rgba(255,255,255,0) 0,
                                       rgba(255,255,255,.7) 40%,
                                       rgba(255,255,255,0) 80%);
  transform:translateX(-130%);
  transition:transform .55s ease-out;
}

.btn-arrow{
  position:relative;
  z-index:1;
  transition:transform .22s;
}

.contact-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 44px rgba(255,159,67,.7);
}

.contact-btn:hover::before{
  transform:translateX(130%);
}

.contact-btn:hover .btn-arrow{
  transform:translateX(4px);
}

/* note */
.contact-note{
  font-size:.8rem;
  color:#667085;
}
.contact-note i{
  color:#00a4a6;
  margin-right:.3rem;
}

.contact-link{
  color:inherit;
  text-decoration:none;
  font-weight:600;
}
.contact-link:hover{
  text-decoration:underline;
}

/* animations */
@keyframes contactBgMove{
  0%,100%{ transform:translate3d(0,0,0); }
  50%{ transform:translate3d(-20px,14px,0); }
}

@keyframes iconPulse{
  0%,100%{ transform:scale(1); box-shadow:0 10px 24px rgba(0,0,0,.16); }
  50%{ transform:scale(1.07); box-shadow:0 14px 30px rgba(0,0,0,.24); }
}

@keyframes contactBubble1{
  0%,100%{ transform:translate(0,0); }
  50%{ transform:translate(-16px,10px); }
}
@keyframes contactBubble2{
  0%,100%{ transform:translate(0,0); }
  50%{ transform:translate(14px,-12px); }
}

/* responsive */
@media (max-width:991.98px){
  .contact-info-card{
    margin-bottom:1.5rem;
  }
}







