/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 123, 255, 0.1);
    border-bottom: 3px solid #007bff;
    transition: all 0.3s ease;
    min-height: 100px;
    height: 100px;
    border-radius: 0 0 20px 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    height: 100px;
}

.navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    padding-top: 0;
    max-width: 80%;
    overflow: visible;
    gap: 12px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-svg {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(45, 90, 39, 0.3));
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-svg:hover {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(45, 90, 39, 0.3));
}

.nameplate {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    justify-content: center;
    flex: 1;
    padding-top: 0;
    min-width: 0;
    margin-left: 0;
}

.clinic-name {
    color: #007bff;
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.05px;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0, 123, 255, 0.1);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doctor-name {
    color: #0056b3;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.registration-number {
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.05px;
    line-height: 1.1;
    background: linear-gradient(135deg, #007bff, #0056b3);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(0, 123, 255, 0.3);
    display: inline-block;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}


.nav-menu {
    display: flex;
    gap: 1.2rem;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    background: transparent;
    overflow: hidden;
}

.nav-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.6);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-1px);
}

.nav-link.active::after {
    width: 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-link:active::before {
    width: 300px;
    height: 300px;
}

.nav-link:active {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.8);
}

.nav-link:focus {
    outline: none;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.6);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: center center;
    }
    50% {
        background-position: center 60%;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(0, 123, 255, 0.3) 50%, rgba(0, 123, 255, 0.2) 100%);
    z-index: -1;
}

.hero-container {
    width: 100%;
    margin: 0;
    padding: 120px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(154, 205, 50, 1), 0 0 40px rgba(154, 205, 50, 0.8), 0 0 60px rgba(154, 205, 50, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8));
    background: linear-gradient(135deg, #007bff, #ffffff, #007bff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6), 0 0 45px rgba(255, 215, 0, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 2.5s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% {
        background-position: 0% 50%;
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6), 0 0 45px rgba(255, 215, 0, 0.4);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.6);
    }
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0056b3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #007bff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}


/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.1) 0%, rgba(100, 181, 246, 0.05) 50%, rgba(144, 202, 249, 0.1) 100%);
    opacity: 0.6;
    pointer-events: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    padding: 1rem 0;
    width: 100%;
    text-align: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.doctor-photo {
    width: 100%;
    max-width: 250px;
    height: auto;
    max-height: 300px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    background: #f8f9fa;
}

.doctor-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}


.about-text h3 {
    font-size: 1.8rem;
    color: #9acd32;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.7;
}

.qualifications {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    border: 1px solid rgba(154, 205, 50, 0.1);
    position: relative;
    overflow: hidden;
}

.qualifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.qualification-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(154, 205, 50, 0.1);
}

.qualification-item:last-child {
    border-bottom: none;
}

.qual-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9acd32, #7a9a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(154, 205, 50, 0.3);
    transition: all 0.3s ease;
}

.qual-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(154, 205, 50, 0.4);
}

.qual-icon i {
    color: #ffffff;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.qual-content {
    flex: 1;
}

.qual-degree {
    font-size: 1.4rem;
    font-weight: 700;
    color: #9acd32;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(154, 205, 50, 0.3);
    position: relative;
    padding-bottom: 0.5rem;
}

.qual-degree::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.qual-details {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.qual-institution {
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qual-university {
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qual-specialization {
    font-weight: 600;
    color: #9acd32;
}

.professional-experience-box {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
    border: 1px solid rgba(154, 205, 50, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
}

.professional-experience-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.experience-text {
    flex: 1;
}

.about-doctor-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    border: 1px solid rgba(154, 205, 50, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-doctor-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.about-doctor-box h3 {
    font-size: 2rem;
    color: #9acd32;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-doctor-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.about-doctor-box p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

.professional-experience-box h3 {
    font-size: 1.8rem;
    color: #9acd32;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.professional-experience-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.professional-experience-box p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 0;
    justify-content: space-between;
    padding: 0;
    margin-top: 1.5rem;
    width: 100%;
}

.stat-card {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(154, 205, 50, 0.2);
    flex: 1;
    min-width: 0;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(154, 205, 50, 0.3);
}

.stat-number {
    font-size: 3rem;
    color: #9acd32;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(154, 205, 50, 0.2);
}

.stat-label {
    color: #555;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #cce7ff 100%);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(50,205,50,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(50,205,50,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(50,205,50,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(50,205,50,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(50,205,50,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.team-member {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(50, 205, 50, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(50, 205, 50, 0.2);
    backdrop-filter: blur(10px);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #66b3ff, #99ccff);
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(50, 205, 50, 0.25);
    border-color: rgba(50, 205, 50, 0.4);
}

.team-member::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.05) 0%, rgba(144, 238, 144, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
}

.team-member:hover::after {
    opacity: 1;
}

/* Member image styles removed */

.member-info {
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    color: #32CD32;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-member:hover .member-info h3 {
    color: #228B22;
}

.member-role {
    font-size: 1.1rem;
    color: #32CD32;
    font-weight: 500;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-member:hover .member-role {
    color: #228B22;
}

.member-qualification {
    font-size: 0.9rem;
    color: #32CD32;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-member:hover .member-qualification {
    color: #228B22;
}

.member-specialization {
    font-size: 0.9rem;
    color: #32CD32;
    margin-bottom: 1rem;
    font-style: italic;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-member:hover .member-specialization {
    color: #228B22;
}

.member-experience {
    margin-bottom: 1rem;
}

.experience-years {
    background: linear-gradient(135deg, #007bff, #66b3ff);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
    display: inline-block;
}

.team-member:hover .experience-years {
    background: linear-gradient(135deg, #228B22, #32CD32);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.4);
}

.member-description {
    text-align: left;
    position: relative;
    z-index: 2;
}

.member-description p {
    color: #555;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.team-member:hover .member-description p {
    color: #333;
}

/* Section Header Enhancement */
.team .section-header h2 {
    color: #32CD32;
    text-shadow: 0 2px 4px rgba(50, 205, 50, 0.2);
}

.team .section-header p {
    color: #228B22;
}

/* Duplicate rule removed */

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.1) 0%, rgba(100, 181, 246, 0.05) 50%, rgba(144, 202, 249, 0.1) 100%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    perspective: 1000px;
    height: 600px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9acd32, #b0e0e6);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.service-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.card-front {
    display: flex;
    flex-direction: column;
}

.card-back {
    background: linear-gradient(135deg, #9acd32, #b0e0e6);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

.service-card:hover:not(.flipped) {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card.flipped {
    box-shadow: 0 20px 40px rgba(154, 205, 50, 0.3);
}

.service-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 300px;
    overflow-y: auto;
}

.service-title-box {
    background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
    color: #333333 !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: visible;
    border: 2px solid #ffffff;
    display: block;
    width: 100%;
}

.service-title-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-title-box:hover::before {
    left: 100%;
}

.service-title-box h3 {
    margin: 0 !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative;
    z-index: 10 !important;
    color: #333333 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.back-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.back-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.back-icon i {
    font-size: 2rem;
    color: white;
}

.back-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.back-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    text-align: left;
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.feature-item ul {
    list-style: none;
    padding: 0;
}

.feature-item li {
    padding: 0.2rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1rem;
}

.feature-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

.back-footer {
    text-align: center;
    margin-top: 1rem;
}

.back-footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}


.service-card h3 {
    font-size: 1.5rem;
    color: #9acd32;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card .service-title-box h3 {
    font-size: 1.3rem !important;
    color: #333333 !important;
    margin-bottom: 0 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9acd32;
    font-weight: bold;
}

/* Treatment Section */
.treatment {
    padding: 6rem 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    position: relative;
    overflow: hidden;
}

.treatment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.1) 0%, rgba(100, 181, 246, 0.05) 50%, rgba(144, 202, 249, 0.1) 100%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(154, 205, 50, 0.9) 0%, rgba(122, 154, 58, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.gallery-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
}

.modal-info {
    padding: 1.5rem;
    background: white;
}

.modal-info h3 {
    font-size: 1.5rem;
    color: #9acd32;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal-info p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.treatment-carousel {
    position: relative;
    max-width: 100%;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.treatment-carousel::before,
.treatment-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.treatment-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), transparent);
}

.treatment-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    width: max-content;
    height: 100%;
    gap: 1.5rem;
    padding: 0 2rem;
    transition: transform 0.3s ease-in-out;
}

.treatment-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 300px;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 450px;
    position: relative;
}

.treatment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.treatment-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.treatment-item:hover .treatment-image img {
    transform: scale(1.05);
}


.treatment-title-box {
    background: #7a9a3a;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(154, 205, 50, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 70px;
    flex-shrink: 0;
}

.treatment-title-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.treatment-title-box:hover::before {
    left: 100%;
}

.treatment-item h3 {
    margin: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: relative;
    z-index: 10 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.treatment-item p {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    gap: 1rem;
}

.nav-btn {
    background: #007bff;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-btn:hover {
    background: #7a9a3a;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.dot:hover {
    background: #7a9a3a;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(rgba(250, 250, 250, 0.05), rgba(250, 250, 250, 0.05)), url('Testimonial/Untitled (350 x 250 px).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(248, 249, 250, 0.75);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #9acd32;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(154, 205, 50, 0.5);
}

.testimonial-card:active {
    transform: translateY(-4px) scale(0.98);
    transition: all 0.1s ease;
}

.testimonial-card.expanded {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(154, 205, 50, 0.8);
    z-index: 10;
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: #daa520;
    margin-right: 0.2rem;
}

.testimonial-content p {
    color: #666;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: #9acd32;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

/* Interactive Elements */
.click-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(154, 205, 50, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #7a9a3a;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.testimonial-card:hover .click-indicator {
    opacity: 1;
    transform: translateY(0);
}

.click-indicator i {
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

.testimonial-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(154, 205, 50, 0.2);
    animation: slideDown 0.5s ease-out;
}

.testimonial-details p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.testimonial-details strong {
    color: #7a9a3a;
    font-weight: 600;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Ripple Effect */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(154, 205, 50, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.testimonial-card:active::after {
    width: 300px;
    height: 300px;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #E6F3FF 0%, #B3D9FF 50%, #87CEEB 100%);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(135, 206, 235, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.25);
    border-color: rgba(135, 206, 235, 0.4);
}

.faq-item.active {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.3);
    border-color: rgba(135, 206, 235, 0.6);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(179, 217, 255, 0.8) 100%);
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(179, 217, 255, 0.2) 100%);
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #1E90FF 0%, #87CEEB 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover .faq-question::before {
    opacity: 1;
}

.faq-question h3 {
    color: #1E90FF;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: #87CEEB;
}

.faq-question i {
    color: #87CEEB;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.faq-item:hover .faq-question i {
    color: #1E90FF;
    transform: scale(1.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(179, 217, 255, 0.6) 100%);
    border-top: 1px solid rgba(135, 206, 235, 0.2);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(179, 217, 255, 0.8) 100%);
    border-top: 1px solid rgba(135, 206, 235, 0.3);
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional FAQ Effects */
.faq-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.05) 0%, rgba(135, 206, 235, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 15px;
}

.faq-item:hover::after {
    opacity: 1;
}

.faq-item.active::after {
    opacity: 1;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(135, 206, 235, 0.1) 100%);
}

/* Section Header Enhancement */
.faq .section-header h2 {
    color: #1E90FF;
    text-shadow: 0 2px 4px rgba(30, 144, 255, 0.2);
}

.faq .section-header p {
    color: #4682B4;
}

/* Testimonials Section Header */
.testimonials .section-header h2 {
    color: #0056b3;
    text-shadow: 0 2px 4px rgba(0, 86, 179, 0.2);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f5f5dc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6b8e23, #8fbc8f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-icon .fab.fa-whatsapp {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    color: #9acd32;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-details a {
    color: #9acd32;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-details a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-form {
    background: #f0f0f0;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #9acd32;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9acd32;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: #7a9a3a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #f5f5dc;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #9acd32;
    text-decoration: underline;
}

/* Footer Contact Info Styling */
.footer-section .contact-details a {
    color: #9acd32;
    font-weight: 600;
}

.footer-section .contact-details a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-section p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-section i {
    color: #ffffff;
    width: 16px;
    text-align: center;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.facebook:hover {
    background: #166fe5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-link.whatsapp {
    background: #25d366;
    color: white;
}

.social-link.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.social-link.maps {
    background: #ea4335;
    color: white;
}

.social-link.maps:hover {
    background: #d33b2c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.4);
}

.footer-bottom {
    border-top: 1px solid #9acd32;
    padding-top: 1rem;
    text-align: center;
    color: #ffffff;
}

/* Footer Map Section */
.footer-map-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-map-section h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.map-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.map-container iframe:hover {
    transform: scale(1.02);
}

/* Responsive Map */
@media (max-width: 768px) {
    .footer-map-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .footer-map-section h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .map-container {
        max-width: 100%;
        border-radius: 10px;
    }
    
    .map-container iframe {
        height: 300px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .footer-map-section h3 {
        font-size: 1.2rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

/* Floating Contact Buttons */
.floating-buttons {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateZ(0);
    will-change: transform;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(220, 53, 69, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite, glow 3s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateZ(0);
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(220, 53, 69, 0.8);
    animation: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.floating-btn:active {
    transform: scale(1.05) translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 25px rgba(220, 53, 69, 0.6);
}

.call-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    position: relative;
}

.call-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.call-btn:hover::before {
    left: 100%;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    position: relative;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(220, 53, 69, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(220, 53, 69, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(220, 53, 69, 0.4);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(220, 53, 69, 0.4);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 50px rgba(220, 53, 69, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background-color: rgba(250, 248, 240, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-logo h2 {
        font-size: 1.4rem;
        font-weight: 900;
        line-height: 1.1;
        margin: 0;
        text-align: left;
    }
    
    .nav-logo p {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
        color: #333;
        display: block;
        letter-spacing: 0.4px;
        text-align: left;
    }
    
    
    .navbar-brand {
        padding-top: 0;
        max-width: 85%;
        gap: 8px;
    }
    
    .logo-svg {
        width: 55px;
        height: 55px;
    }
    
    .nameplate {
        padding-top: 0;
        gap: 2px;
        margin-left: 0;
    }
    
    .clinic-name {
        font-size: 0.9rem;
    }
    
    .doctor-name {
        font-size: 0.9rem;
    }
    
    .registration-number {
        font-size: 0.55rem;
        padding: 1px 4px;
        letter-spacing: 0.05px;
    }
    
    .nav-menu a {
        padding: 1rem;
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        background-attachment: scroll;
        animation: none;
    }
    
    .hero-container {
        padding: 130px 15px 20px 15px;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        font-weight: 700;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .doctor-photo {
        max-width: 180px;
        max-height: 220px;
        margin: 0 auto;
        object-fit: contain;
        object-position: center;
        background: #f8f9fa;
    }
    
    .about-text {
        padding: 0.5rem 0;
    }
    
    .about-doctor-box {
        padding: 1.5rem 2rem;
        margin: 1.5rem 0;
    }
    
    .about-doctor-box h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .about-doctor-box p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .qualifications {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .qualification-item {
        gap: 0.8rem;
        padding: 0.8rem 0;
        flex-direction: column;
        text-align: center;
    }
    
    .qual-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto;
    }
    
    .qual-icon i {
        font-size: 1.2rem;
    }
    
    .qual-degree {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .qual-details {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .qual-institution {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .qual-university {
        font-size: 0.75rem;
    }
    
    .professional-experience-box {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .experience-content {
        gap: 1.5rem;
    }
    
    .professional-experience-box h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .professional-experience-box p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 0.8rem;
        margin: 1rem 0;
    }
    
    .stat-card {
        padding: 1.2rem 1rem;
        flex: none;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-carousel {
        max-width: 100%;
        margin: 1.5rem auto;
    }
    
    .carousel-container {
        height: 450px;
    }
    
    .treatment-item {
        width: 280px;
    }
    
    .carousel-nav {
        padding: 0.8rem 1.5rem;
    }
    
    /* Gallery responsive */
    .gallery {
        padding: 4rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .gallery-content h3 {
        font-size: 1.2rem;
    }
    
    .gallery-content p {
        font-size: 0.85rem;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .testimonials {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
        font-weight: 900;
        line-height: 1.1;
        margin: 0;
        text-align: left;
    }
    
    .nav-logo p {
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
        color: #333;
        display: block;
        letter-spacing: 0.3px;
        text-align: left;
    }
    
    .hero-container {
        padding: 110px 15px 20px 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .about-text {
        grid-column: 1;
    }
    
    .doctor-photo {
        max-width: 160px;
        max-height: 200px;
        object-fit: contain;
        object-position: center;
        background: #f8f9fa;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .about-doctor-box {
        padding: 1.2rem 1.5rem;
        margin: 1.2rem 0;
    }
    
    .about-doctor-box h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .about-doctor-box p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .qualifications {
        padding: 1rem;
        margin: 0.8rem 0;
    }
    
    .qualification-item {
        gap: 0.6rem;
        padding: 0.6rem 0;
    }
    
    .qual-icon {
        width: 40px;
        height: 40px;
    }
    
    .qual-icon i {
        font-size: 1.1rem;
    }
    
    .qual-degree {
        font-size: 1rem;
    }
    
    .qual-details {
        font-size: 0.85rem;
    }
    
    .professional-experience-box {
        padding: 1.2rem;
        margin: 0.8rem 0;
    }
    
    .experience-content {
        gap: 1.2rem;
    }
    
    .professional-experience-box h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .professional-experience-box p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .about-stats {
        gap: 0.6rem;
        margin: 0.8rem 0;
    }
    
    .stat-card {
        padding: 1rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-card {
        padding: 1.5rem 0.8rem;
        flex: 1;
    }
    
    /* Gallery mobile */
    .gallery {
        padding: 3rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-content h3 {
        font-size: 1.1rem;
    }
    
    .gallery-content p {
        font-size: 0.8rem;
    }
    
    /* Gallery modal mobile */
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
    
    .modal-info {
        padding: 1rem;
    }
    
    .modal-info h3 {
        font-size: 1.2rem;
    }
    
    .modal-info p {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .service-card,
    .treatment-item,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .treatment-image {
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .treatment-title-box {
        padding: 0.6rem 1.2rem;
        margin-bottom: 1rem;
        min-height: 60px;
    }
    
    .treatment-item h3 {
        font-size: 1.1rem !important;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        height: 200px;
        padding: 1.5rem;
    }
    
    .service-title-box {
        padding: 0.6rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-title-box h3 {
        font-size: 1.1rem;
    }
    
    .service-card {
        height: 550px;
    }
    
    .back-content {
        padding: 1.5rem;
    }
    
    .back-features {
        gap: 0.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    /* Member placeholder styles removed */
    
    .section-header h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .service-title-box {
        padding: 0.5rem 1rem;
        margin-bottom: 0.8rem;
    }
    
    .service-title-box h3 {
        font-size: 1rem;
    }
    
    .treatment-image {
        height: 120px;
        margin-bottom: 0.8rem;
    }
    
    .treatment-title-box {
        padding: 0.5rem 1rem;
        margin-bottom: 0.8rem;
        min-height: 55px;
    }
    
    .treatment-item h3 {
        font-size: 1rem !important;
    }
    
    .treatment-carousel {
        max-width: 100%;
        margin: 1rem auto;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .treatment-item {
        width: 250px;
    }
    
    .carousel-nav {
        padding: 0.6rem 1rem;
    }
    
    .nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Floating buttons mobile */
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3), 0 0 25px rgba(220, 53, 69, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .floating-btn:hover {
        transform: scale(1.1) translateY(-1px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(220, 53, 69, 0.8);
    }
    
    .footer-section p {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }
    
    .footer-section i {
        width: 14px;
        font-size: 14px;
    }
    
    .testimonials {
        padding: 3rem 0;
        background-attachment: scroll;
    }
    
    .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Link Enhancements */
a {
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Phone and Email Links */
a[href^="tel:"] {
    color: #9acd32;
    font-weight: 500;
}

a[href^="tel:"]:hover {
    color: #7a9a3a;
    text-decoration: none;
}

a[href^="mailto:"] {
    color: #9acd32;
    font-weight: 500;
}

a[href^="mailto:"]:hover {
    color: #7a9a3a;
    text-decoration: none;
}

/* WhatsApp Links */
a[href*="wa.me"] {
    color: #25D366;
    font-weight: 500;
}

a[href*="wa.me"]:hover {
    color: #128C7E;
    text-decoration: none;
}

/* Navigation Links */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #333;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
