/* Root Variables */
:root {
    --primary-color: #0f5f5f;
    --secondary-color: #1a7a7a;
    --accent-color: #e6b800;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #fff;
    --light-teal: #e6f7f7;
    --medium-teal: #4da6a6;
    --dark-teal: #0f5f5f;
    --gold: #e6b800;
    --light-gold: #fff3cc;
    --gradient-start: #e6f7f7;
    --gradient-end: #cceeff;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Touch-friendly buttons */
button, .btn, .primary-btn, .appointment-btn, .filter-btn, .view-btn {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

/* Prevent text selection on UI elements */
.mobile-menu-toggle, .filter-btn, .lightbox-close, .lightbox-prev, .lightbox-next {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Top Contact Bar */
.top-contact-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    font-size: 0.9rem;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.top-contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.top-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.top-contact-info .contact-item i {
    font-size: 1rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Doctor Name Component Styling */
.doctor-name-component {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    font-weight: 600;
    background: rgba(230, 184, 0, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(230, 184, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doctor-name-component::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 184, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.doctor-name-component:hover::before {
    left: 100%;
}

.doctor-name-component:hover {
    background: rgba(230, 184, 0, 0.25);
    border-color: rgba(230, 184, 0, 0.5);
    transform: translateY(-1px);
}

.doctor-name-component i {
    font-size: 1.1rem;
    color: var(--accent-color);
    flex-shrink: 0;
    animation: doctorIconPulse 3s infinite ease-in-out;
}

.doctor-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.doctor-qualification {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-color);
    background: rgba(230, 184, 0, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(230, 184, 0, 0.4);
    white-space: nowrap;
}

@keyframes doctorIconPulse {
    0%, 100% {
        transform: scale(1);
        color: var(--accent-color);
    }
    50% {
        transform: scale(1.1);
        color: #ffcc00;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

/* Navbar positioning adjustments for different screen sizes */
@media (max-width: 768px) {
    .navbar {
        top: 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        top: 0;
    }
}

/* Top contact bar hide on scroll */
.top-contact-bar {
    transition: transform 0.3s ease;
}

.top-contact-bar.hidden {
    transform: translateY(-100%);
}

/* Navbar when scrolled */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    top: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(15, 95, 95, 0.1);
}

/* Ensure navbar moves to top on all screen sizes when scrolled */
@media (max-width: 768px) {
    .navbar.scrolled {
        top: 0;
    }
}

@media (max-width: 480px) {
    .navbar.scrolled {
        top: 0;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80px;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    flex-shrink: 0;
    min-width: 0;
    max-width: 60%;
}

.logo-image {
    height: 80px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover {
    color: var(--dark-teal);
}

.logo:hover .logo-image {
    transform: scale(1.1);
}

.logo span {
    font-size: 1.4rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: block;
    max-width: 100%;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 0.8rem;
    }
    
    .logo {
        font-size: 1.2rem;
        max-width: 45%;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .appointment-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .top-contact-info {
        gap: 1.5rem;
    }
    
    .top-contact-info .contact-item {
        font-size: 0.85rem;
    }
    
    .doctor-name-component {
        gap: 0.6rem;
        padding: 0.3rem 0.8rem;
    }
    
    .doctor-name {
        font-size: 0.9rem;
    }
    
    .doctor-qualification {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    .nav-container {
        padding: 1rem 1.5%;
        gap: 0.8rem;
    }
    
    .logo {
        font-size: 1.1rem;
        gap: 0.6rem;
        max-width: 40%;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .nav-links {
        gap: 0.7rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .appointment-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .top-contact-bar {
        display: none;
    }
    
    .navbar {
        top: 0;
    }
    
    .navbar.scrolled {
        top: 0;
    }
    
    .doctor-name-component {
        gap: 0.4rem;
        padding: 0.25rem 0.6rem;
    }
    
    .doctor-name {
        font-size: 0.8rem;
    }
    
    .doctor-qualification {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
    
    .nav-container {
        padding: 0.4rem 0.5%;
        min-height: 60px;
        flex-wrap: nowrap;
        gap: 0.3rem;
        align-items: center;
    }
    
    .logo {
        font-size: 0.75rem;
        gap: 0.3rem;
        flex-shrink: 1;
        min-width: 0;
        max-width: 90%;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .logo-image {
        height: 70px;
        flex-shrink: 0;
        padding-right: 10px;
    }

    .logo span {
        font-size: 0.75rem;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        display: block;
        max-width: 100%;
        text-align: left;
        flex: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: auto;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem;
        width: 90%;
        text-align: center;
        border-bottom: 1px solid var(--light-teal);
        color: var(--text-color) !important;
        text-shadow: none !important;
    }

    .appointment-btn {
        margin-top: 1rem;
        padding: 1rem 2rem;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    /* padding: 0.5rem 0; */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.appointment-btn {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
    text-shadow: none;
}

.appointment-btn:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 95, 95, 0.3);
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 95, 95, 0.05), rgba(26, 122, 122, 0.1));
    position: relative;
    overflow: hidden;
}

/* Dynamic Text Animation */
.dynamic-text {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.dynamic-text::after {
    content: '';
    position: absolute;
    right: -2px;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    animation: blink 1s infinite;
}

/* Highlight Text */
.highlight-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Floating Medical Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(15, 95, 95, 0.1);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.floating-icon.icon-2 {
    top: 60%;
    left: 5%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.floating-icon.icon-3 {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.floating-icon.icon-4 {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.floating-icon.icon-5 {
    top: 15%;
    left: 70%;
    animation-delay: 4s;
    animation-duration: 6.5s;
}

.floating-icon.icon-6 {
    top: 80%;
    left: 80%;
    animation-delay: 5s;
    animation-duration: 7.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='m0 40l40-40h-40v40zm40 0v-40h-40l40 40z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-10px) translateY(-10px);
    }
    50% {
        transform: translateX(-20px) translateY(0);
    }
    75% {
        transform: translateX(-10px) translateY(10px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    position: relative;
}

.main-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn::after {
    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;
    z-index: -1;
}

.primary-btn:hover::after {
    left: 100%;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.primary-btn:hover::before {
    left: 0;
}

.primary-btn:hover {
    background: var(--dark-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 95, 95, 0.3);
}

.video-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
}

.video-btn i {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(15, 95, 95, 0.1);
    transition: all 0.3s;
}

.video-btn:hover i {
    transform: scale(1.1);
}

.hero-right {
    position: relative;
}

.doctor-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 95, 95, 0.1);
    transition: all 0.3s;
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-image {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.floating-stats {
    position: absolute;
    top: 15%;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(15, 95, 95, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 95, 95, 0.1);
    min-width: 120px;
}

.stat-card:hover {
    transform: translateX(-10px);
}

.stat-card i {
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin: 0;
}

.stat-info p {
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--light-teal);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(230, 184, 0, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(15, 95, 95, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 95, 95, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-color);
    opacity: 0.8;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 95, 95, 0.05), rgba(26, 122, 122, 0.1));
}

.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.doctor-credentials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--white), var(--light-teal));
    border: 1px solid rgba(15, 95, 95, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(15, 95, 95, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

.credential i {
    color: var(--secondary-color);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    padding: 0 1rem;
}

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

.achievement-card {
    background: linear-gradient(135deg, var(--white), var(--light-teal));
    border: 1px solid rgba(15, 95, 95, 0.1);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(15, 95, 95, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.achievement-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.achievement-card:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.achievement-card:hover {
    transform: translateY(-10px);
}

.achievement-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.achievement-card p {
    color: var(--text-color);
    opacity: 0.8;
}

.specialization-list {
    margin-bottom: 4rem;
}

.specialization-list h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.spec-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--white), var(--light-teal));
    border: 1px solid rgba(15, 95, 95, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(15, 95, 95, 0.1);
    transition: all 0.3s;
}

.spec-item:hover {
    transform: translateX(10px);
}

.spec-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.spec-item span {
    color: var(--text-color);
    font-weight: 500;
}

.certification-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--white), var(--light-teal));
    border: 1px solid rgba(15, 95, 95, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(15, 95, 95, 0.1);
    transition: all 0.3s;
}

.badge:hover {
    transform: translateY(-5px);
}

.badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.badge span {
    color: var(--text-color);
    font-weight: 500;
}

.doctor-profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-image {
    width: auto;
    max-width: 300px;
    height: auto;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(15, 95, 95, 0.2);
    position: relative;
    display: inline-block;
}

.profile-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.profile-image:hover img {
    transform: scale(1.1);
}

.doctor-profile-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: 700;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 95, 95, 0.05), rgba(26, 122, 122, 0.1));
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(15, 95, 95, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(15, 95, 95, 0.12);
}

.service-card.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 95, 95, 0.1), transparent);
}

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

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

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--white), var(--light-teal));
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-content p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: all 0.3s;
}

.learn-more i {
    transition: transform 0.3s;
}

.learn-more:hover {
    color: var(--dark-teal);
}

.learn-more:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .learn-more {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 1rem;
    }

    .service-content {
        padding: 1.2rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.85rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: var(--white);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 95, 95, 0.2);
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(15, 95, 95, 0.1);
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hide {
    opacity: 0 !important;
    transform: scale(0.8) !important;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(15, 95, 95, 0.15);
}

.gallery-item.animate {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.gallery-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 95, 95, 0.8),
        rgba(230, 184, 0, 0.6)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.gallery-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.view-btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Video Section */
.video-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 95, 95, 0.05), rgba(26, 122, 122, 0.1));
}

/* Main Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Video Card Styles */

.video-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(15, 95, 95, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 95, 95, 0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(15, 95, 95, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    background: #f0f0f0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card-content {
    padding: 2rem;
}

.video-card-content h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.video-card-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.video-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, var(--light-teal), rgba(230, 184, 0, 0.1));
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(15, 95, 95, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Video Section Mobile Responsive */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .video-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 4rem 0;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-wrapper {
        height: 220px;
        border-radius: 15px 15px 0 0;
    }
    
    .video-card-content {
        padding: 1.5rem;
    }
    
    .video-card-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .video-card-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 3rem 0;
    }
    
    .videos-grid {
        gap: 1rem;
    }
    
    .video-wrapper {
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
    
    .video-card-content {
        padding: 1.2rem;
    }
    
    .video-card-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .video-card-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }
    
    .video-tags {
        gap: 0.5rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-width: 90%;
    z-index: 10000;
}

.lightbox-content img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10000;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.lightbox-caption h3 {
    margin: 0;
    font-size: 1.2rem;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 95, 95, 0.8);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 95, 95, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .gallery-content {
        padding: 1.5rem;
    }
    
    .gallery-content h3 {
        font-size: 1.1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 0.8rem;
        font-size: 1.2rem;
        width: 45px;
        height: 45px;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-caption {
        bottom: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Mobile optimizations for new components */
    .scroll-to-top {
        bottom: 180px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .whatsapp-float,
    .call-float,
    .instagram-float {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Ensure floating buttons don't interfere with navigation */
    .floating-buttons {
        z-index: 999;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 0.8rem 1rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a.active {
        background: rgba(15, 95, 95, 0.1);
        border-radius: 5px;
    }
    
    /* Testimonials Mobile Styles */
    .testimonials-section {
        padding: 3rem 0 2rem 0;
    }
    
    .testimonials-slider {
        max-width: 100%;
        padding: 0 0.5rem;
        position: relative;
    }
    
    .testimonials-container {
        height: auto;
        min-height: auto;
        position: relative;
        overflow: visible;
    }
    
    .testimonial-slide {
        padding: 0.5rem 0.3rem;
        height: auto;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .testimonial-content {
        padding: 1.5rem 1.2rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        box-sizing: border-box;
        position: relative;
        background: var(--white);
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(15, 95, 95, 0.1);
        border: 1px solid rgba(15, 95, 95, 0.1);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .testimonial-content::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2.5rem;
        color: var(--primary-color);
        opacity: 0.3;
        font-family: serif;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
        color: var(--text-color);
        font-style: italic;
        text-align: center;
    }
    
    .patient-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .patient-info span {
        font-size: 0.85rem;
        color: var(--text-color);
        opacity: 0.7;
    }
    
    .stars {
        margin-bottom: 0.8rem;
        gap: 0.3rem;
        display: flex;
        justify-content: center;
    }
    
    .stars i {
        font-size: 1rem;
        color: #ffd700;
    }
    
    /* Navigation Buttons Mobile */
    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -50px;
        box-shadow: 0 3px 10px rgba(15, 95, 95, 0.2);
        background: var(--white);
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
    }
    
    .testimonial-nav:hover {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .testimonial-nav.prev {
        left: 25%;
        transform: translateX(-50%);
    }
    
    .testimonial-nav.next {
        right: 25%;
        transform: translateX(50%);
    }
    
    .testimonial-nav.prev:hover {
        transform: translateX(-50%) scale(1.1);
    }
    
    .testimonial-nav.next:hover {
        transform: translateX(50%) scale(1.1);
    }
    
    /* Dots Navigation Mobile */
    .testimonial-dots {
        margin-top: 1.2rem;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        display: flex;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(15, 95, 95, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dot.active {
        background: var(--primary-color);
        transform: scale(1.2);
    }
    
    .dot:hover {
        background: var(--secondary-color);
    }
}

@media (max-width: 480px) {
    .top-contact-bar {
        display: none;
    }
    
    .navbar {
        top: 0;
    }
    
    .navbar.scrolled {
        top: 0;
    }
    
    .doctor-name-component {
        gap: 0.3rem;
        padding: 0.2rem 0.5rem;
        flex-wrap: wrap;
    }
    
    .doctor-name {
        font-size: 0.75rem;
    }
    
    .doctor-qualification {
        font-size: 0.65rem;
        padding: 0.1rem 0.3rem;
    }
    
    .nav-container {
        padding: 0.3rem 0.3%;
        min-height: 55px;
        gap: 0.2rem;
    }
    
    .logo {
        font-size: 0.65rem;
        gap: 0.25rem;
        max-width: 85%;
        flex-direction: row;
        align-items: center;
    }

    .logo-image {
        height: 70px;
        flex-shrink: 0;
        padding-right: 10px;
    }

    .logo span {
        font-size: 0.65rem;
        line-height: 1;
        text-align: left;
        flex: 1;
    }
    
    .mobile-menu-toggle {
        width: 22px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .nav-links {
        top: 55px;
        height: calc(100vh - 55px);
    }
    
    .hero-section {
        padding-top: 75px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .gallery-filter {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Very Small Mobile Testimonials */
    .testimonials-section {
        padding: 2rem 0 1.5rem 0;
    }
    
    .testimonials-slider {
        padding: 0 0.5rem;
    }
    
    .testimonials-container {
        min-height: auto;
        height: auto;
    }
    
    .testimonial-slide {
        padding: 0.3rem 0.2rem;
        min-height: auto;
        height: auto;
        align-items: center;
    }
    
    .testimonial-content {
        padding: 1.2rem 0.8rem;
        height: auto;
        min-height: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        border-radius: 12px;
    }
    
    .testimonial-content::before {
        font-size: 2rem;
        top: -8px;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .patient-info h4 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .patient-info span {
        font-size: 0.75rem;
    }
    
    .stars {
        margin-bottom: 0.6rem;
    }
    
    .stars i {
        font-size: 0.9rem;
    }
    
    .testimonial-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        top: -45px;
    }
    
    .testimonial-nav.prev {
        left: 20%;
    }
    
    .testimonial-nav.next {
        right: 20%;
    }
    
    .testimonial-dots {
        margin-top: 1rem;
        gap: 0.4rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0 3rem 0;
    background: linear-gradient(135deg, rgba(15, 95, 95, 0.05), rgba(26, 122, 122, 0.1));
}

/* Tablet Responsive Styles for Testimonials */
@media (max-width: 1024px) {
    .testimonials-section {
        padding: 3rem 0 2.5rem 0;
    }
    
    .testimonials-slider {
        max-width: 700px;
    }
    
    .testimonials-container {
        min-height: auto;
        height: auto;
    }
    
    .testimonial-slide {
        min-height: auto;
        height: auto;
        align-items: center;
        padding: 0.5rem 0.8rem;
    }
    
    .testimonial-content {
        padding: 2rem 1.8rem;
        width: 100%;
        height: auto;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.3rem;
    }
    
    .stars {
        margin-bottom: 1rem;
    }
    
    .testimonial-dots {
        margin-top: 1.3rem;
    }
    
    .testimonial-nav {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        top: -50px;
    }
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    width: 100%;
    min-height: auto;
    height: auto;
    overflow: visible;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: auto;
    height: auto;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(15, 95, 95, 0.1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(15, 95, 95, 0.1);
    width: 100%;
    max-width: 100%;
    height: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
}

.stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.patient-info h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.patient-info span {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Testimonial Navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(15, 95, 95, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--secondary-color);
}

.testimonial-nav {
    position: absolute;
    top: -60px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(15, 95, 95, 0.2);
    z-index: 10;
}

.testimonial-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.testimonial-nav.prev:hover {
    transform: translateX(-80px) scale(1.1);
}

.testimonial-nav.next:hover {
    transform: translateX(80px) scale(1.1);
}

.testimonial-nav.prev {
    left: 50%;
    transform: translateX(-80px);
}

.testimonial-nav.next {
    right: 50%;
    transform: translateX(80px);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--light-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Map Container Styles */
.map-container {
    background: var(--light-teal);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.map-container h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.google-map {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 95, 95, 0.2);
    transition: all 0.3s ease;
}

.google-map:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(15, 95, 95, 0.3);
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Contact Section Mobile Improvements */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        margin-bottom: 1rem;
    }

    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .map-container {
        padding: 1.5rem;
    }

    .map-container h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .google-map {
        height: 350px;
        border-radius: 12px;
    }

    .google-map iframe {
        border-radius: 12px;
    }
}

/* Doctors Section */
.doctors-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.doctor-profile {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(15, 95, 95, 0.1);
    transition: all 0.3s ease;
}

.doctor-profile:hover {
    transform: translateY(-10px);
}

.doctor-image {
    position: relative;
    height: 360px;
    overflow: hidden;
}

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

.doctor-profile:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(15, 95, 95, 0.9), transparent);
    display: flex;
    justify-content: center;
    transition: bottom 0.3s ease;
}

.doctor-profile:hover .doctor-overlay {
    bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.doctor-info {
    padding: 1.5rem;
    text-align: center;
}

.doctor-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.specialty {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.expertise-tags span {
    background: var(--light-teal);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .doctor-image {
        height: 320px;
    }
    
    .doctor-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-content h2 {
        font-size: 2.5rem;
    }

    .doctor-credentials {
        gap: 1rem;
    }

    .credential {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .spec-items {
        grid-template-columns: 1fr;
    }

    .certification-badges {
        flex-direction: column;
        align-items: center;
    }

    .profile-image {
        max-width: 250px;
        width: auto;
        height: auto;
    }

    .doctor-profile-header h2 {
        font-size: 2.2rem;
    }

    .about-description {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .cta-group {
        justify-content: center;
    }

    .floating-stats {
        position: absolute;
        top: 12%;
        right: 8px;
        flex-direction: column;
        gap: 0.8rem;
        z-index: 10;
    }

    .stat-card {
        padding: 0.6rem 0.8rem;
        min-width: 100px;
        gap: 0.6rem;
    }

    .stat-card i {
        font-size: 1rem;
    }

    .stat-info h3 {
        font-size: 0.9rem;
    }

    .stat-info p {
        font-size: 0.7rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .main-heading {
        font-size: 2.8rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 70px;
    }

    .hero-container {
        padding: 2rem 5%;
        gap: 1.5rem;
    }

    .main-heading {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Hide some floating icons on mobile for better performance */
    .floating-icon.icon-4,
    .floating-icon.icon-5,
    .floating-icon.icon-6 {
        display: none;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .primary-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .video-btn {
        font-size: 0.9rem;
    }

    .video-btn i {
        width: 40px;
        height: 40px;
    }

    .floating-stats {
        position: absolute;
        top: 10%;
        right: 5px;
        flex-direction: column;
        gap: 0.6rem;
        z-index: 10;
    }

    .stat-card {
        padding: 0.5rem 0.7rem;
        min-width: 90px;
        gap: 0.5rem;
        backdrop-filter: blur(8px);
        background: rgba(255, 255, 255, 0.9);
    }

    .stat-card i {
        font-size: 0.9rem;
    }

    .stat-info h3 {
        font-size: 0.8rem;
    }

    .stat-info p {
        font-size: 0.65rem;
    }

    .features-section {
        padding: 4rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {
    .hero-container {
        padding: 1.5rem 3%;
    }

    .main-heading {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    /* Further reduce floating icons on very small screens */
    .floating-icon.icon-3 {
        display: none;
    }
    
    .floating-icon {
        font-size: 1.2rem;
    }
    
    /* Reduce animation intensity for better performance */
    .hero-section::before {
        animation-duration: 30s;
    }
    
    .floating-icon {
        animation-duration: 8s !important;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 3%;
    }

    .logo span {
        font-size: 1.3rem;
    }

    .logo-image {
        height: 70px;
        padding-right: 10px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .feature-card,
    .service-card {
        margin-bottom: 1rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .profile-image {
        max-width: 200px;
        width: auto;
        height: auto;
    }

    .doctor-profile-header h2 {
        font-size: 1.8rem;
    }

    .achievement-card h3 {
        font-size: 1.8rem;
    }

    .doctor-credentials {
        gap: 0.5rem;
    }

    .credential {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .footer-content {
        text-align: center;
    }

    .footer-info h3 {
        font-size: 1.5rem;
    }

    .map-container {
        padding: 1rem;
    }

    .map-container h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .google-map {
        height: 300px;
        border-radius: 10px;
    }

    .google-map iframe {
        border-radius: 10px;
    }
}

@media (max-width: 320px) {
    .nav-container {
        padding: 0.2rem 0.2%;
        min-height: 50px;
        gap: 0.15rem;
    }
    
    .logo {
        font-size: 0.55rem;
        gap: 0.2rem;
        max-width: 88%;
        flex-direction: row;
        align-items: center;
    }

    .logo-image {
        height: 70px;
        flex-shrink: 0;
        padding-right: 10px;
    }

    .logo span {
        font-size: 0.55rem;
        line-height: 0.95;
        text-align: left;
        flex: 1;
    }
    
    .mobile-menu-toggle {
        width: 20px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .nav-links {
        top: 50px;
        height: calc(100vh - 50px);
    }
    
    .hero-section {
        padding-top: 70px;
    }

    .main-heading {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-group {
        width: 100%;
    }

    .primary-btn {
        width: 100%;
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 160px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .floating-buttons {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .whatsapp-float,
    .call-float,
    .instagram-float {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Ultra small mobile floating stats */
    .floating-stats {
        position: absolute;
        top: 8%;
        right: 3px;
        flex-direction: column;
        gap: 0.4rem;
        z-index: 10;
    }

    .stat-card {
        padding: 0.4rem 0.5rem;
        min-width: 75px;
        gap: 0.4rem;
        backdrop-filter: blur(6px);
        background: rgba(255, 255, 255, 0.85);
        border-radius: 12px;
    }

    .stat-card i {
        font-size: 0.8rem;
    }

    .stat-info h3 {
        font-size: 0.7rem;
    }

    .stat-info p {
        font-size: 0.55rem;
    }
}

/* Advanced Animations & Effects */

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.loader-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    z-index: 2;
    background: var(--white);
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: logoFloat 3s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.loader-spinner {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top: 4px solid var(--white);
    border-right: 4px solid var(--accent-color);
    border-bottom: 4px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.loader-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    opacity: 0.9;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Loader */
@media (max-width: 768px) {
    .loader-container {
        width: 100px;
        height: 100px;
    }
    
    .loader-logo {
        width: 65px;
        height: 65px;
        padding: 6px;
    }
    
    .loader-spinner {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }
    
    .loader-text {
        font-size: 12px;
        bottom: -35px;
    }
}

@media (max-width: 480px) {
    .loader-container {
        width: 80px;
        height: 80px;
    }
    
    .loader-logo {
    width: 50px;
    height: 50px;
        padding: 5px;
    }
    
    .loader-spinner {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .loader-text {
        font-size: 11px;
        bottom: -30px;
    }
}

/* Loading Progress Bar */
.loading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10001;
}

.loading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 0 2px 2px 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(230, 184, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    overflow: hidden;
}

.scroll-to-top::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;
}

.scroll-to-top:hover::before {
    left: 100%;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 184, 0, 0.6);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    width: 50px;
    height: 50px;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-pulse 3s infinite ease-in-out;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: var(--white);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.8);
    }
}

/* Call Floating Button */
.call-float {
    width: 50px;
    height: 50px;
    background: #FF6B6B;
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: call-pulse 3s infinite ease-in-out;
}

.call-float:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.call-float i {
    color: var(--white);
}

@keyframes call-pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(255, 107, 107, 0.8);
    }
}

/* Instagram Floating Button */
.instagram-float {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: instagram-pulse 3s infinite ease-in-out;
}

.instagram-float:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.6);
}

.instagram-float i {
    color: var(--white);
}

@keyframes instagram-pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(225, 48, 108, 0.8);
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: #4caf50;
    color: #4caf50;
}

.notification.error {
    border-left-color: #f44336;
    color: #f44336;
}

.notification i {
    font-size: 1.2rem;
}

.notification span {
    color: var(--text-color);
    font-weight: 500;
}

/* Form Animations */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.focused input,
.form-group.focused textarea {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 95, 95, 0.1);
}

.form-group.valid input,
.form-group.valid textarea {
    border-color: #4caf50;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #f44336;
}

.form-group input,
.form-group textarea {
    transition: all 0.3s ease;
}

/* Floating Particles - Removed for Performance */

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

/* Animation Classes */
.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scroll Animation Types */
.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.slideInUp {
    animation: slideInUp 0.8s ease forwards;
}

.slideInLeft {
    animation: slideInLeft 0.8s ease forwards;
}

.slideInRight {
    animation: slideInRight 0.8s ease forwards;
}

.fadeInScale {
    animation: fadeInScale 0.8s ease forwards;
}

.bounceIn {
    animation: bounceIn 0.8s ease forwards;
}

.rotateIn {
    animation: rotateIn 0.8s ease forwards;
}

/* Simplified Card Effects */
.tilt {
    transition: transform 0.2s ease;
}

.magnetic {
    transition: transform 0.2s ease;
}

/* Parallax Elements */
.parallax {
    will-change: transform;
}

/* Counter Animation */
.counter {
    font-weight: 700;
    color: var(--primary-color);
}

/* Enhanced Hover States */
.enhanced-hover {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.enhanced-hover:hover::before {
    left: 100%;
}

/* Glowing Effects */
.glow {
    box-shadow: 0 0 20px rgba(15, 95, 95, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(15, 95, 95, 0.6);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

/* Respect user's motion preferences for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-icon,
    .hero-section::before {
        animation: none !important;
    }
}

/* Keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

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

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

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

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

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



/* Typing Animation */
.typing-cursor {
    border-right: 2px solid var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--primary-color); }
    51%, 100% { border-color: transparent; }
}

.hero-left > * {
    animation: fadeIn 0.5s ease forwards;
}

.hero-left > *:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-left > *:nth-child(3) {
    animation-delay: 0.4s;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-color));
    color: var(--white);
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    width: 50px;
    height: 50px;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--white);
    font-weight: 700;
}

.footer-description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.credential-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.credential-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer Contact Section */
.footer-contact h4,
.footer-location h4,
.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
    position: relative;
}

.footer-contact h4::after,
.footer-location h4::after,
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.footer-contact-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-details span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-details a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.contact-details p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer Location Section */
.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-address i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 0.2rem;
    min-width: 20px;
}

.address-details p {
    margin: 0 0 0.5rem 0;
    opacity: 0.8;
    line-height: 1.4;
}

.footer-map-link {
    margin-top: 1rem;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.map-link-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 184, 0, 0.3);
}

/* Footer Links Section */
.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.8rem;
}

.footer-nav-links a:hover {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    transform: translateX(5px);
}

/* Social Icons */
.footer-social h4 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    color: var(--dark-teal);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    margin: 0;
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* Mobile Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-links {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-logo-image {
        width: 40px;
        height: 40px;
    }
    
    .footer-info h3 {
        font-size: 1.5rem;
    }
    
    .footer-credentials {
        justify-content: flex-start;
    }
    
    .credential-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .contact-items {
        gap: 1rem;
    }
    
    .footer-contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-contact-item i {
        margin-top: 0;
    }
    
    .footer-address {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-nav-links {
        gap: 0.5rem;
    }
    
    .social-icons {
        justify-content: flex-start;
        gap: 0.8rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-info h3 {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-contact h4,
    .footer-location h4,
    .footer-links h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 0.85rem;
    }
    
    .address-details p {
        font-size: 0.85rem;
    }
    
    .map-link-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .footer-nav-links a {
        font-size: 0.9rem;
        padding: 0.2rem 0;
    }
    
    .footer-bottom-content p {
        font-size: 0.85rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-bottom-links a {
        font-size: 0.8rem;
    }
}
