:root {
    --primary-blue: #1E3A8A;
    --primary-maroon: #600018;
    --light-blue: #3B82F6;
    --light-maroon: #9F1239;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
}


/* Media Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/banner-spine.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    /* margin-bottom: 40px; */
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}


/* Compact About Hero Section */
.drpg-about-hero-compact {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(96, 0, 24, 0.03) 0%, rgba(30, 58, 138, 0.05) 100%), url('../images/curve right bg1.jpg');
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

/* Smaller Bone Icons */
.drpg-bone-icon-compact {
    position: absolute;
    z-index: 10;
    opacity: 0.5;
    filter: invert(16%) sepia(95%) saturate(4130%) hue-rotate(335deg) brightness(85%) contrast(95%);
    height: 100px !important;
    width: 100px !important;
}

.bone-1 {
    top: 10%;
    left: 5%;
    animation: floatBoneCompact 6s ease-in-out infinite;
}

.bone-2 {
    top: 10%;
    right: 8%;
    animation: floatBoneCompact 8s ease-in-out infinite 1s;
}

.bone-3 {
    bottom: 3%;
    left: 27%;
    animation: floatBoneCompact 7s ease-in-out infinite 2s;
}

.bone-4 {
    bottom: 5%;
    right: 27%;
    animation: floatBoneCompact 9s ease-in-out infinite 3s;
}

@keyframes floatBoneCompact {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(0.8);
    }
    50% {
        transform: translateY(-15px) rotate(5deg) scale(0.8);
    }
}

/* Compact Hero Content */
.drpg-hero-content-compact {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

/* Smaller Image */
.drpg-hero-image-compact {
    flex: 0 0 280px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(96, 0, 24, 0.15);
}

.drpg-hero-image-compact img {
    width: 100%;
    height: auto;
    display: block;
}

.drpg-image-overlay-compact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 0, 24, 0.08) 0%, rgba(30, 58, 138, 0.06) 100%);
}

/* Compact Text Content */
.drpg-hero-text-compact {
    flex: 1;
    color: #333;
}

.drpg-hero-title-compact {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #600018, #1E3A8A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.drpg-hero-subtitle-compact {
    font-size: 1.3rem;
    font-weight: 600;
    color: #600018;
    margin-bottom: 10px;
}

.drpg-hero-position-compact {
    font-size: 1rem;
    color: #7f1d1d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #fecaca;
}

/* Compact Qualification Section */
.drpg-hero-qualification-compact {
    margin-bottom: 20px;
}

.drpg-hero-qualification-compact h3 {
    font-size: 1.2rem;
    color: #1E3A8A;
    margin-bottom: 12px;
    position: relative;
    padding-left: 18px;
}

.drpg-hero-qualification-compact h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 24px;
    background: linear-gradient(135deg, #600018, #1E3A8A);
    border-radius: 2px;
}

.drpg-qualification-list-compact {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 20px;
}

.drpg-qualification-list-compact li {
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    break-inside: avoid;
}

.cap {
    color: #600018 !important;
    margin-right: 10px;
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

/* Compact Social Links */
.drpg-social-links-compact {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.drpg-social-link-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #600018, #1E3A8A);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.drpg-social-link-compact:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1E3A8A, #600018);
}

/* Compact Appointment Button */
.drpg-btn-appointment-compact {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #600018, #1E3A8A);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.drpg-btn-appointment-compact:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1E3A8A, #600018);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .drpg-hero-content-compact {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .drpg-hero-image-compact {
        flex: none;
        max-width: 250px;
    }
    
    .drpg-hero-title-compact {
        font-size: 1.8rem;
    }
    
    .drpg-hero-subtitle-compact {
        font-size: 1.1rem;
    }
    
    .drpg-qualification-list-compact {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .drpg-about-hero-compact {
        padding: 40px 0;
    }
    
    .drpg-hero-title-compact {
        font-size: 1.6rem;
    }
    
     /* .drpg-bone-icon-compact {
        display: none;
    } */
     
    .bone-1, .bone-2 , .bone-3, .bone-4 {
        display: block;
        width: 40px;
        height: 40px;
    }
    .bone-3{
        bottom: 2%;
        left: 4%;
    }
}

@media (max-width: 576px) {
    .drpg-hero-title-compact {
        font-size: 1.4rem;
    }
    
    .drpg-hero-subtitle-compact {
        font-size: 1rem;
    }
    
    .drpg-qualification-list-compact li {
        font-size: 0.85rem;
    }
    
    .drpg-btn-appointment-compact {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .drpg-social-link-compact {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
     .bone-1{
        top: 0%;
        right: 0%;
     }
     .bone-2{
        top: 33%;
        right: 0%;
     }
         .bone-3{
        bottom: 0%;
        right: 0%;
     }
     .bone-4{
        bottom: 5%;
        right: 0%;
     }
}
/* Profile Section */
.profile-section {
    padding: 80px 0;
}
.section-title {
  color: #1E3A8A;
  display: inline-block;
  text-align: center;
  padding: 8px 25px;
  border-radius: 25px;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, #1E3A8A, #600018);
  border-radius: 3px;
}

.profile-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-maroon));
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Qualifications */
.qualification-title {
    color: var(--primary-maroon);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.qualification-list {
    list-style: none;
    padding: 0;
}

.qualification-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-text);
}

.qualification-list li i {
    color: var(--primary-blue);
    margin-right: 15px;
    width: 25px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-maroon));
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-left: 70px;
    border-left: 4px solid var(--primary-blue);
}

.timeline-content h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-maroon));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 2;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
}

.stat-card {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-maroon));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--dark-text);
    font-weight: 500;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        margin-left: 50px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 20px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .profile-section,
    .detailed-profile {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-content {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .timeline-icon {
        position: relative;
        margin-bottom: 10px;
    }
}

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    bottom: 15px;
    right: 25px;
    z-index: 9999;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    text-decoration: none;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.7);
}
/* 
.whatsapp-link i {
    width: 100%;
    font-size: 32px;
    color: white;
} */
.icon-whatsapp{
 font-size: 32px !important;
    color: white !important;
}

/* Pulse animation for the WhatsApp icon */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
    
    .icon-whatsapp {
        font-size: 28px;
    }
}

#certificates img {
  border-radius: 8px;       /* rounded corners */
  transition: transform 0.3s ease; /* hover zoom */
}

#certificates img:hover {
  transform: scale(1.05);
}
