/* Global Styles */
:root {
    --soft-blue: #4A90E2;
    --mint-green: #A8E6CF;
    --warm-gray: #F5F5F5;
    --slate-gray: #4A4A4A;
    --peach: #FF6F61;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--slate-gray);
}

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

/* Navigation */
.navbar {
    background: transparent;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, var(--soft-blue), #2C5282);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-links a:hover {
    color: var(--mint-green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(74, 144, 226, 0.7), rgba(168, 230, 207, 0.7)),
                url('Images/Physiotheraphy.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--peach);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.4);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--warm-gray);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--slate-gray);
    font-size: 2.5rem;
}

/* Main Doctor Section */
.main-doctor-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 0 1rem;
}

.doctor-image {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.doctor-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--soft-blue);
}

.doctor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--peach), #FF4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 111, 97, 0.3);
}

.doctor-info h3 {
    color: var(--soft-blue);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.doctor-title {
    color: var(--peach);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.doctor-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate-gray);
    text-align: justify;
}

/* Team Section */
.team-section {
    padding-top: 3rem;
    border-top: 2px solid rgba(74, 144, 226, 0.1);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--slate-gray);
    font-size: 2.5rem;
}

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

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--slate-gray);
    font-size: 1.3rem;
}

.team-member p {
    padding: 0 1rem 1rem;
    color: var(--soft-blue);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--warm-gray), white);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--slate-gray);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--soft-blue);
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.service-card h3 {
    color: var(--slate-gray);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

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

.service-card li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--warm-gray);
}

.service-card li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-card h4 {
    color: var(--soft-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--slate-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--warm-gray);
}

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

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    word-break: break-word;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--soft-blue);
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-item a {
    color: var(--slate-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.info-item a:hover {
    color: var(--soft-blue);
}

.timing {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--warm-gray);
}

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

.contact-form h2 {
    margin-bottom: 2rem;
    color: var(--slate-gray);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--warm-gray);
    border-radius: 8px;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--soft-blue);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.submit-btn:hover {
    background: #2C5282;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2C5282, var(--soft-blue));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about h3,
.footer-services h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-services li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.footer-services li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-services li a:hover {
    color: var(--mint-green);
}

.footer-services li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--peach);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--peach);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--mint-green);
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--mint-green);
    transform: translateY(-3px);
}

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

/* What is Physiotherapy Section */
.what-is-physio {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--warm-gray), white);
}

.physio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.physio-content h2 {
    color: var(--slate-gray);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.physio-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate-gray);
}

.physio-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Pain Management Section */
.pain-management {
    padding: 5rem 0;
    background: linear-gradient(135deg, white, var(--warm-gray));
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.pain-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pain-content h2 {
    color: var(--slate-gray);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.pain-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate-gray);
    margin-bottom: 1.5rem;
}

.pain-content ul {
    list-style: none;
}

.pain-content li {
    padding: 0.5rem 0;
    color: var(--slate-gray);
    position: relative;
    padding-left: 1.5rem;
}

.pain-content li::before {
    content: "✓";
    color: var(--peach);
    position: absolute;
    left: 0;
}

/* Map Section */
.map-section {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.2);
}

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

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-btn i {
    font-size: 24px;
}

.phone-btn {
    background: linear-gradient(135deg, var(--soft-blue), #2C5282);
}

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

.instagram-btn {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--soft-blue), #2C5282);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .navbar.scrolled {
        padding: 1rem;
    }

    .nav-links {
        background: linear-gradient(135deg, var(--soft-blue), #2C5282);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--soft-blue);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 3rem 1rem;
    }

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

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

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

    .info-item i {
        font-size: 1.2rem;
        margin-right: 0.8rem;
    }

    .info-item a {
        font-size: 0.95rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .physio-grid,
    .pain-grid {
        grid-template-columns: 1fr;
    }

    .physio-image,
    .pain-image {
        order: -1;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card h4 {
        font-size: 1.1rem;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn i {
        font-size: 20px;
    }

    .map-container {
        height: 350px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

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

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

    .main-doctor-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .doctor-image {
        order: 1;
        max-width: 350px;
    }

    .doctor-image img {
        height: 350px;
    }

    .doctor-info {
        order: 2;
        text-align: center;
    }

    .doctor-info h3 {
        font-size: 1.8rem;
    }

    .doctor-title {
        font-size: 1.1rem;
    }

    .doctor-description p {
        text-align: left;
        font-size: 1rem;
    }

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

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

/* Services Section Styles */
.service-section {
    margin-bottom: 4rem;
}

.service-section h3 {
    text-align: center;
    color: var(--slate-gray);
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Orthopedic Care - Slider */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.slider-track {
    display: flex;
    animation: slide 20s linear infinite;
    width: max-content;
}

.service-slide {
    min-width: 300px;
    padding: 2rem;
    margin: 0 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-slide:hover {
    transform: translateY(-10px);
}

.service-slide i {
    font-size: 2.5rem;
    color: var(--soft-blue);
    margin-bottom: 1rem;
}

.service-slide h4 {
    color: var(--slate-gray);
    margin-bottom: 0.5rem;
}

.service-slide p {
    color: var(--slate-gray);
    font-size: 0.9rem;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Neurological Care - Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-header i {
    font-size: 1.5rem;
    color: var(--soft-blue);
    margin-right: 1rem;
}

.accordion-header h4 {
    margin: 0;
    color: var(--slate-gray);
    flex-grow: 1;
}

.toggle-icon {
    color: var(--peach);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.accordion-item.active .toggle-icon {
    transform: rotate(45deg);
}

/* Sports & Rehabilitation - Flip Cards */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.sports-card {
    height: 200px;
    perspective: 1000px;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-front {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-back {
    background: var(--soft-blue);
    color: white;
    transform: rotateY(180deg);
}

.sports-card:hover .card-front {
    transform: rotateY(180deg);
}

.sports-card:hover .card-back {
    transform: rotateY(0);
}

.card-front i {
    font-size: 2.5rem;
    color: var(--soft-blue);
    margin-bottom: 1rem;
}

.card-front h4 {
    color: var(--slate-gray);
}

/* Slider Controls */
.slider-container {
    position: relative;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.slider-btn:hover {
    transform: scale(1.1);
    background-color: var(--soft-blue);
    color: white;
}

.slider-btn i {
    font-size: 1.2rem;
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--warm-gray), white);
}

.reviews h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--slate-gray);
}

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

.review-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    min-width: 100%;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer h4 {
    color: var(--soft-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.reviewer p {
    color: var(--slate-gray);
    font-size: 0.9rem;
    opacity: 0.8;
}

.review-actions {
    text-align: center;
    margin-top: 2rem;
}

.google-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

.google-review-btn i {
    font-size: 1.2rem;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .review-slide {
        padding: 1.5rem;
    }

    .review-text {
        font-size: 1rem;
    }

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

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: linear-gradient(135deg, white, var(--warm-gray));
}

.gallery h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--slate-gray);
    font-size: 2.5rem;
}

.gallery-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--slate-gray);
    font-size: 1.1rem;
    opacity: 0.8;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.5s ease;
    cursor: pointer;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 144, 226, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-controls {
    text-align: center;
}

.gallery-btn {
    background: var(--soft-blue);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.gallery-btn:hover {
    background: #2C5282;
    transform: translateY(-2px);
}

.gallery-btn.hidden {
    display: none;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .gallery h2 {
        font-size: 2rem;
    }

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

    .gallery-item img {
        height: 200px;
    }

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

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

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--peach);
}

#lightboxImage {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 20px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .lightbox-nav {
        font-size: 20px;
        padding: 15px 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    #lightboxImage {
        max-height: 80vh;
    }

    .lightbox-counter {
        bottom: 10px;
        font-size: 14px;
        padding: 8px 16px;
    }
} 