/* =====================================================
   Skin Specialists Page — Custom CSS
   CRH ENT MRI & Diagnostics, Greater Noida
   Theme colors: #e0602d (primary), #3f5261 (dark)
   ===================================================== */

/* ---- Hero Banner ---- */
.derm-hero {
   background: linear-gradient(135deg, #3f5261 0%, #2a3844 60%, #1e2930 100%);
   padding: 60px 0 50px;
   position: relative;
   overflow: hidden;
}
.derm-hero::before {
   content: '';
   position: absolute;
   top: 0; left: 0; right: 0; bottom: 0;
   background: url('../images/footer-bg.png') center/cover no-repeat;
   opacity: 0.07;
}
.derm-hero .hero-content {
   position: relative;
   z-index: 1;
}
.derm-hero h1 {
   color: #fff;
   font-size: 34px;
   font-weight: 700;
   line-height: 1.3;
   margin-bottom: 16px;
}
.derm-hero .hero-tagline {
   color: #f5c6a0;
   font-size: 17px;
   margin-bottom: 28px;
}
.derm-hero .hero-badges {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 28px;
}
.derm-hero .badge-pill {
   background: rgba(224,96,45,0.9);
   color: #fff;
   border-radius: 20px;
   padding: 6px 16px;
   font-size: 13px;
   font-weight: 500;
}
.derm-hero .hero-cta {
   background: #e0602d;
   color: #fff;
   border: none;
   padding: 13px 32px;
   border-radius: 4px;
   font-size: 16px;
   font-weight: 600;
   text-decoration: none;
   display: inline-block;
   transition: background 0.2s;
}
.derm-hero .hero-cta:hover {
   background: #c4511f;
   color: #fff;
   text-decoration: none;
}
.derm-hero .hero-img {
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.derm-hero .hero-img img {
   width: 100%;
   height: 340px;
   object-fit: cover;
   display: block;
}

/* ---- Section Common ---- */
.derm-section {
   padding: 60px 0;
}
.derm-section-alt {
   padding: 60px 0;
   background: #f9f6f3;
}
.derm-section h2 {
   color: #3f5261;
   font-size: 26px;
   font-weight: 700;
   margin-bottom: 16px;
   position: relative;
   padding-bottom: 12px;
}
.derm-section h2::after,
.derm-section-alt h2::after {
   content: '';
   position: absolute;
   bottom: 0; left: 0;
   width: 48px; height: 3px;
   background: #e0602d;
   border-radius: 2px;
}
.derm-section-alt h2 {
   color: #3f5261;
   font-size: 26px;
   font-weight: 700;
   margin-bottom: 16px;
   position: relative;
   padding-bottom: 12px;
}
.derm-section p,
.derm-section-alt p {
   color: #555;
   font-size: 15.5px;
   line-height: 1.8;
}
.derm-section h3,
.derm-section-alt h3 {
   color: #e0602d;
   font-size: 19px;
   font-weight: 600;
   margin: 24px 0 10px;
}

/* ---- About / Intro Box ---- */
.derm-intro-box {
   background: #fff;
   border-left: 4px solid #e0602d;
   border-radius: 6px;
   padding: 28px 32px;
   box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.derm-intro-box .highlight-stat {
   display: flex;
   gap: 24px;
   flex-wrap: wrap;
   margin-top: 20px;
}
.derm-intro-box .stat-item {
   text-align: center;
   min-width: 90px;
}
.derm-intro-box .stat-num {
   font-size: 28px;
   font-weight: 700;
   color: #e0602d;
   display: block;
}
.derm-intro-box .stat-label {
   font-size: 12px;
   color: #3f5261;
   font-weight: 500;
}
.skinimg{height:100%;width:100%;}

/* ---- Condition Cards ---- */
.derm-condition-tabs .nav-tabs {
   border-bottom: 2px solid #e0602d;
   margin-bottom: 32px;
}
.derm-condition-tabs .nav-tabs .nav-link {
   color: #3f5261;
   font-weight: 600;
   font-size: 15px;
   border: none;
   border-bottom: 3px solid transparent;
   padding: 10px 22px;
   background: none;
   border-radius: 0;
   transition: all 0.2s;
}
.derm-condition-tabs .nav-tabs .nav-link.active,
.derm-condition-tabs .nav-tabs .nav-link:hover {
   color: #e0602d;
   border-bottom-color: #e0602d;
   background: none;
}
.condition-list {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}
.condition-list li {
   background: #fff;
   border: 1px solid #e8ddd7;
   border-radius: 4px;
   padding: 9px 16px;
   font-size: 14.5px;
   color: #3f5261;
   display: flex;
   align-items: center;
   gap: 8px;
   flex: 0 0 calc(50% - 5px);
   transition: border-color 0.2s, box-shadow 0.2s;
}
.condition-list li:hover {
   border-color: #e0602d;
   box-shadow: 0 2px 8px rgba(224,96,45,0.12);
}
.condition-list li::before {
   content: '';
   width: 7px; height: 7px;
   border-radius: 50%;
   background: #e0602d;
   flex-shrink: 0;
}

/* ---- When to See Section ---- */
.when-to-see-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
   gap: 18px;
   margin-top: 24px;
}
.when-card {
   background: #fff;
   border-radius: 8px;
   padding: 22px 20px;
   border-top: 3px solid #e0602d;
   box-shadow: 0 2px 12px rgba(0,0,0,0.07);
   font-size: 14.5px;
   color: #444;
   line-height: 1.6;
}
.when-card .when-icon {
   font-size: 24px;
   margin-bottom: 10px;
   display: block;
}

/* ---- Treatment Cards ---- */
.treatment-cards {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
   gap: 16px;
   margin-top: 20px;
}
.treatment-card {
   background: #fff;
   border-radius: 8px;
   padding: 20px 18px;
   text-align: center;
   box-shadow: 0 2px 12px rgba(0,0,0,0.07);
   border-bottom: 3px solid transparent;
   transition: border-color 0.2s, transform 0.2s;
   font-size: 14px;
   color: #3f5261;
   font-weight: 500;
}
.treatment-card:hover {
   border-bottom-color: #e0602d;
   transform: translateY(-3px);
}
.treatment-card .t-icon {
   width: 44px; height: 44px;
   background: #fdf0eb;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 12px;
}
.treatment-card .t-icon svg {
   width: 22px; height: 22px;
   fill: #e0602d;
}

/* ---- Why Choose Section ---- */
.why-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
   gap: 20px;
   margin-top: 24px;
}
.why-card {
   background: #fff;
   border-radius: 8px;
   padding: 26px 22px;
   box-shadow: 0 2px 14px rgba(0,0,0,0.07);
   display: flex;
   gap: 16px;
   align-items: flex-start;
}
.why-card .why-icon {
   width: 46px; height: 46px;
   background: #e0602d;
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}
.why-card .why-icon svg {
   width: 24px; height: 24px;
   fill: #fff;
}
.why-card h4 {
   color: #3f5261;
   font-size: 16px;
   font-weight: 700;
   margin: 0 0 6px;
}
.why-card p {
   color: #666;
   font-size: 14px;
   margin: 0;
   line-height: 1.6;
}

/* ---- CTA Book Section ---- */
.derm-cta-section {
   background: linear-gradient(135deg, #e0602d 0%, #c4511f 100%);
   padding: 50px 0;
   text-align: center;
}
.derm-cta-section h2 {
   color: #fff;
   font-size: 28px;
   font-weight: 700;
   margin-bottom: 12px;
}
.derm-cta-section p {
   color: rgba(255,255,255,0.9);
   font-size: 16px;
   margin-bottom: 28px;
}
.derm-cta-section .cta-btn-white {
   background: #fff;
   color: #e0602d;
   padding: 13px 36px;
   border-radius: 4px;
   font-size: 16px;
   font-weight: 700;
   text-decoration: none;
   display: inline-block;
   transition: background 0.2s;
   margin: 0 8px 10px;
}
.derm-cta-section .cta-btn-white:hover {
   background: #f7ede8;
   color: #c4511f;
   text-decoration: none;
}
.derm-cta-section .cta-btn-outline {
   background: transparent;
   color: #fff;
   border: 2px solid rgba(255,255,255,0.8);
   padding: 11px 32px;
   border-radius: 4px;
   font-size: 16px;
   font-weight: 600;
   text-decoration: none;
   display: inline-block;
   transition: all 0.2s;
   margin: 0 8px 10px;
}
.derm-cta-section .cta-btn-outline:hover {
   background: rgba(255,255,255,0.15);
   color: #fff;
   text-decoration: none;
}

/* ---- FAQ Section ---- */
.derm-faq {
   padding: 60px 0;
}
.derm-faq h2 {
   color: #3f5261;
   font-size: 26px;
   font-weight: 700;
   margin-bottom: 32px;
   position: relative;
   padding-bottom: 12px;
}
.derm-faq h2::after {
   content: '';
   position: absolute;
   bottom: 0; left: 0;
   width: 48px; height: 3px;
   background: #e0602d;
   border-radius: 2px;
}
.derm-faq .faq-item {
   border-bottom: 1px solid #ede8e4;
   padding: 20px 0;
}
.derm-faq .faq-item:last-child {
   border-bottom: none;
}
.derm-faq .faq-q {
   font-size: 16.5px;
   font-weight: 600;
   color: #3f5261;
   margin-bottom: 8px;
   cursor: pointer;
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 12px;
}
.derm-faq .faq-q .faq-icon {
   color: #e0602d;
   font-size: 20px;
   flex-shrink: 0;
   line-height: 1.3;
}
.derm-faq .faq-a {
   color: #666;
   font-size: 15px;
   line-height: 1.75;
}

/* ---- Breadcrumb Override ---- */
.derm-breadcrumb {
   background: #f8f6f3;
   padding: 10px 0;
   border-bottom: 1px solid #e9e3dd;
}
.derm-breadcrumb .breadcrumb {
   margin: 0;
   background: transparent;
   padding: 0;
   font-size: 13px;
}
.derm-breadcrumb .breadcrumb-item a {
   color: #e0602d;
   text-decoration: none;
}
.derm-breadcrumb .breadcrumb-item.active {
   color: #777;
}

/* ---- Section Divider ---- */
.derm-divider {
   height: 4px;
   background: linear-gradient(90deg, #e0602d 0%, #f5a97a 50%, transparent 100%);
   margin: 0;
   border: none;
}

/* ---- Full-Width Banner Strip ---- */
.derm-banner-strip {
   width: 100%;
   overflow: hidden;
   max-height: 320px;
   position: relative;
}
.derm-banner-strip img {
   width: 100%;
   height: 320px;
   object-fit: cover;
   object-position: center 30%;
   display: block;
}

/* ---- Conditions Tab Image ---- */
.derm-tab-img {
   width: 100%;
   border-radius: 10px;
   box-shadow: 0 6px 24px rgba(0,0,0,0.12);
   margin-top: 40px;
   object-fit: cover;
   max-height: 440px;
}

/* ---- When to See — Side Images ---- */
.derm-side-img {
   width: 100%;
   border-radius: 8px;
   box-shadow: 0 4px 16px rgba(0,0,0,0.12);
   object-fit: cover;
   height: 180px;
}

/* ---- Treatment Banner Image ---- */
.derm-treatment-img {
   width: 100%;
   height: 200px;
   object-fit: cover;
   object-position: center 40%;
   border-radius: 8px;
   margin-bottom: 16px;
   box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
   .derm-hero h1 { font-size: 24px; }
   .derm-hero .hero-img { margin-top: 28px; }
   .derm-hero .hero-img img { height: 220px; }
   .derm-section h2,
   .derm-section-alt h2,
   .derm-faq h2 { font-size: 21px; }
   .condition-list li { flex: 0 0 100%; }
   .when-to-see-grid { grid-template-columns: 1fr 1fr; }
   .treatment-cards { grid-template-columns: 1fr 1fr; }
   .why-grid { grid-template-columns: 1fr; }
   .derm-banner-strip,
   .derm-banner-strip img { max-height: 180px; height: 180px; }
   .derm-treatment-img { height: 160px; }
}
@media (max-width: 480px) {
   .derm-hero { padding: 40px 0 36px; }
   .when-to-see-grid { grid-template-columns: 1fr; }
   .treatment-cards { grid-template-columns: 1fr; }
   .derm-cta-section h2 { font-size: 22px; }
}
