/* Optimized Hero Section Styles - Dark Green to Black Background */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(29, 53, 24, 0.97) 0%, 
        rgba(34, 51, 34, 0.97) 50%, 
        rgba(17, 17, 17, 0.97) 100%);
    padding: 8rem 0 4rem;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content {
    color: var(--color-white);
    animation: fadeInUp 1.2s ease-out;
}

/* Original DR. styling without special highlight */
.doctor-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, #ffffff, #e2c87d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specialty {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #aac32b;
    margin: 2rem 0 0.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

.credentials {
    margin: 1.5rem 0 2.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--color-gold);
    animation: fadeInLeft 1.5s ease-out;
}

.crm {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.services {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
}

.description {
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 2.5rem 0 1.5rem;
    font-weight: 400;
    max-width: 90%;
    color: var(--color-white);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
}

.description::before {
    content: '"';
    position: absolute;
    left: -1.5rem;
    top: -1rem;
    font-size: 4rem;
    color: rgba(205, 173, 63, 0.3);
    font-family: Georgia, serif;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.action-buttons {
    display: flex;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.whatsapp-btn, .treatments-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn:hover::after {
    opacity: 1;
}

.treatments-btn {
    background: var(--color-gold);
    color: var(--color-black);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.treatments-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.treatments-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.treatments-btn:hover::before {
    width: 100%;
}

.whatsapp-btn i, .treatments-btn i {
    margin-right: 1rem;
    font-size: 1.3rem;
}

.image-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.2s ease-out;
}

.doctor-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.doctor-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(1.05) contrast(1.05);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.doctor-image:hover {
    transform: scale(1.03) translateY(-10px);
}

.doctor-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    border-radius: 20px;
}

.logo-container {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: none; /* Hiding the duplicate logo */
}

.logo {
    width: 70px;
    height: 70px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    color: var(--color-white);
    font-size: 1.8rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .credentials {
        border-left: none;
        padding-left: 0;
        border-bottom: 3px solid var(--color-gold);
        padding-bottom: 1rem;
        display: inline-block;
    }
    
    .description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .description::before {
        left: 0;
        top: -2rem;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .image-content {
        margin-top: 2rem;
        order: -1;
    }
}

@media (max-width: 768px) {
    .doctor-name {
        font-size: 3rem;
    }
    
    .specialty {
        font-size: 1.6rem;
    }
    
    .description {
        font-size: 1.3rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .whatsapp-btn, .treatments-btn {
        width: 100%;
    }
}
