/* General Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00aaff;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --light-text: #7a7a7a;
    --background-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e8e8e8;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.features-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

/* Make sure feature cards are centered in the slider */
.feature-card {
    margin: 0 auto;
    max-width: 400px;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.slider-btn {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.slider-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #dddddd;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 5px;
}

.section-heading p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Appointment Button */
.mobile-appointment-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 102, 204, 0.7);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: var(--transition);
    display: none;
}

.mobile-appointment-btn span {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.mobile-appointment-btn:hover {
    background: rgba(0, 102, 204, 0.9);
    transform: translateY(-3px);
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 120px;
    z-index: 1000; /* Increased z-index to ensure visibility */
}

.language-switcher select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    appearance: auto; /* Make sure the dropdown appears correctly */
}

.language-switcher select:hover {
    border-color: #007bff;
}

/* Hide Google Translate element but keep it functional */
#google_translate_element {
    position: absolute;
    top: -9999px;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Fix for Google Translate banner */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value:hover {
    text-decoration: none !important;
}


.logo img {
    height: 4rem;
    width: auto;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.appointment-btn a {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
}

.appointment-btn a:hover {
    background: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f0f7 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--light-text);
    max-width: 600px;
}

.hero-content p span {
    color: var(--accent-color);
    font-weight: bold;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--primary-color);
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--light-text);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.3rem;
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--light-text);
}

.learn-more {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--primary-color);
    font-weight: 500;
}

.learn-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* About Section */
.about {
    background: url('/api/placeholder/1600/900') center/cover no-repeat;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
}

.about-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text .section-heading {
    text-align: left;
}

.about-text .section-heading h2::after {
    left: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}


/* Testimonials Section */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.quote {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
}

.testimonial-author {
    margin-top: 20px;
    text-align: right;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.testimonial-author p {
    font-style: normal;
    color: var(--light-text);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background: var(--accent-color);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #dddddd;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Appointment Section */
.appointment {
    background: linear-gradient(rgba(0, 102, 204, 0.9), rgba(0, 170, 255, 0.8)), url('/api/placeholder/1600/900') center/cover no-repeat;
    color: white;
}

.appointment .section-heading h2 {
    color: white;
}

.appointment .section-heading h2::after {
    background: white;
}

.appointment .section-heading p {
    color: rgba(255, 255, 255, 0.8);
}

#appointment-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.form-group textarea {
    resize: vertical;
}

#appointment-form .primary-btn {
    margin-top: 10px;
    width: 100%;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 1.3rem;
    transition: var(--transition);
}

.contact-card:hover .icon {
    background: var(--primary-color);
    color: white;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--light-text);
    line-height: 1.8;
}

.map-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background: #182941;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-logo .social-links {
    justify-content: flex-start;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

#newsletter-form {
    position: relative;
}

#newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
}

#newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border: none;
    background: var(--primary-color);
    color: white;
    padding: 0 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

#newsletter-form button:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
    color: white;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .section-heading h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .features-slider {
        max-width: 100%;
    }
    .hero-image img {
        max-width: 100%;
    }
    section {
        padding: 60px 0;
    }
    .language-switcher {
        position: fixed;
        top: 15px;
        right: 80px;
    }
    
    .language-switcher select {
        padding: 6px 8px;
        font-size: 12px;
    }
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 30px;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
    }
    .nav-links a::after {
        width: 0 !important;
    }
    .appointment-btn {
        margin-top: 15px;
    }
    
    .appointment-btn a {
        display: inline-block;
    }
    
    .mobile-appointment-btn {
        display: none;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text .section-heading {
        text-align: center;
    }
    
    .about-text .section-heading h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .hero-image img {
        max-width: 100%;
    }
    .section-heading h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .features-grid, 
    .services-grid, 
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

/* Add these styles to your existing style.css file */

/* Treatment Popup Styles */
.treatment-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.treatment-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: popupOpen 0.4s ease forwards;
}

@keyframes popupOpen {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.popup-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.close-popup {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
}

.close-popup:hover {
    color: var(--accent-color);
}

.popup-body {
    padding: 0;
    overflow-y: auto;
    flex-grow: 1;
}

#popup-content {
    padding: 20px;
}

.popup-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

#popup-content h4 {
    color: var(--primary-color);
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

#popup-content p {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

#popup-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

#popup-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    list-style-type: none;
}

#popup-content ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Mobile Responsiveness for Popup */
@media screen and (max-width: 768px) {
    .popup-content {
        width: 95%;
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    #popup-content h4 {
        font-size: 1.1rem;
    }
    
    .popup-image {
        max-height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .popup-header {
        padding: 15px;
    }
    
    .popup-header h3 {
        font-size: 1.1rem;
    }
    
    #popup-content {
        padding: 15px;
    }
    
    .popup-image {
        max-height: 150px;
    }
}

.gallery {
    background: var(--light-bg);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background: white;
    border: none;
    margin: 0 10px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

/* Video Gallery */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.video-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-8px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.video-info p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.photo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    aspect-ratio: 1/1;
    cursor: pointer;
    transition: var(--transition);
}

.photo-item:hover {
    transform: scale(1.03);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: var(--transition);
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.photo-overlay p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.lightbox-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .gallery-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tab-btn {
        width: 80%;
        margin: 0;
    }
    
    .video-gallery {
        grid-template-columns: 1fr;
    }
}
