
        /* Navbar Styles */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(255, 255, 255, 0.9);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: background-color 0.3s ease;
        }

        .navbar-brand .logo {
            width: 150px;
        }

        /* Navbar Toggle (Hamburger Menu) */
        .navbar-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .bar {
            width: 25px;
            height: 3px;
            background-color: #333;
            margin: 3px 0;
            transition: all 0.3s ease;
        }

        /* Navbar Links */
        .nav-links {
            list-style: none;
            display: flex;
            justify-content: center;
            margin: 0;
            flex-grow: 1;
        }

        .nav-links li {
            margin: 0 15px;
        }

        .nav-links a {
            text-decoration: none;
            color: #3D4D9C;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #83BB2C;
        }

        /* Call Now Section */
        .call-now {
            color: #ffffff;
            background-color: #3D4D9C;
            padding: 8px 16px;
            font-weight: bold;
            font-size: 16px;
            border-radius: 5px;
            text-decoration: none;
            transition: background-color 0.3s ease, color 0.3s ease;
            margin-left: auto;
        }

        .call-now:hover {
            background-color: #83BB2C;
            color: #ffffff;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .navbar {
                padding: 10px 15px;
            }
            
            /* Show navbar toggle on small screens */
            .navbar-toggle {
                display: flex;
                margin-left: 5%;
            }

            /* Hide nav links initially */
            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: rgba(255, 255, 255, 0.9);
                flex-direction: column;
                align-items: center;
                display: none;
            }

            .nav-links li {
                margin: 10px 0;
            }

            /* Show nav links when active */
            .nav-links.active {
                display: flex;
            }

            /* Transform the toggle bars when active */
            .navbar-toggle.active .bar:nth-child(1) {
                transform: rotate(-45deg) translate(-5px, 5px);
            }

            .navbar-toggle.active .bar:nth-child(2) {
                opacity: 0;
            }

            .navbar-toggle.active .bar:nth-child(3) {
                transform: rotate(45deg) translate(-5px, -5px);
            }
        }

        /* Further adjustments for smaller screens */
        @media (max-width: 480px) {
            .call-now {
                font-size: 9px;
                padding: 1px 1px;
                
            }
            .navbar-brand .logo {
                width: 120px;
            }
            .navbar-toggle{
                margin-left: 1%;
                
                padding: 2%;
            }
        }


/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Hide overflow for animations */
}
@media (max-width: 420px) {
    .carousel-container {
        position: relative;
        width: 100%;
        height: 100vh; /* Full viewport height */
        overflow: hidden; /* Hide overflow for animations */
    }
    .carousel-slide {
        position: relative;
        width: 100%;
        height: 50vh;
       
      
    }
    .carousel-image {
        width: 50%;
        height: 50%;
        
        object-fit: cover; /* Cover the container */
        animation: fadeIn 10s infinite alternate; /* Fade in and out */
    }

    .overlay {
        position: absolute;
        margin-top: 15%;
        height: 60%;
        width: 80%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: white;
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
        padding: 20px;
        border-radius: 10px; /* Rounded corners */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease; /* Smooth transition */
    }
    
    .overlay-title {
        font-size: 2.5rem;
        margin: 0;
        animation: fadeIn 1s ease-in-out; /* Fade-in animation */
    }
    
    .overlay-description {
        font-size: 1.25rem;
        margin: 10px 0;
        animation: fadeIn 1s ease-in-out; /* Fade-in animation */
    }
    
    .send-msg{
        /* display: inline-block;
        margin: 8px 0;
        padding: 10px 15px; */
    
        background-color: #3D4D9C; /* Primary color */
        color: white;
        text-decoration: none;
        border-radius: 5px;
        /* transition: background-color 0.3s ease; Smooth transition */
    }

 
    

}
/* Carousel Container */

/* Background Animation */
.carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    animation: fadeIn 10s infinite alternate; /* Fade in and out */
}

@keyframes fadeIn {
    0% {
        opacity: 0.5; /* Start slightly transparent */
    }
    100% {
        opacity: 1; /* Fully visible */
    }
}
/* Background Animation */
/* Overlay Styles */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease; /* Smooth transition */
}

.overlay-title {
    font-size: 2.5rem;
    margin: 0;
    animation: fadeIn 1s ease-in-out; /* Fade-in animation */
}

.overlay-description {
    font-size: 1.25rem;
    margin: 10px 0;
    animation: fadeIn 1s ease-in-out; /* Fade-in animation */
}

.learn-more-link {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 15px;
    background-color: #3D4D9C; /* Primary color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Smooth transition */
}
.send-msg
{
    background-color: #3D4D9C; /* Primary color */

}

.learn-more-link:hover {
    background-color: #83BB2C; /* Hover color */
}
/* Overlay Styles */
/* Overlay Icons */
.overlay-icons {
    margin-top: 20px;
}

.overlay-icons a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.5rem; /* Increase icon size */
    transition: color 0.3s ease;
}

.overlay-icons a:hover {
    color: #83BB2C; /* Hover color */
}
/* Overlay Icons */

/* Media Queries */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex; /* Show toggle button */
    }

    .nav-links {
        display: none; /* Hide links by default on mobile */
        flex-direction: column; /* Stack links vertically */
        position: absolute;
        top: 60px; /* Position below the navbar */
        background-color: rgba(255, 255, 255, 0.9);
        width: 100%;
    }

    .nav-links.active {
        display: flex; /* Show links when active */
    }

    .nav-links li {
        margin: 10px 0; /* Spacing for mobile links */
    }

    .overlay-title {
        font-size: 2rem; /* Smaller font size on mobile */
    }

    .overlay-description {
        font-size: 1rem; /* Smaller font size on mobile */
    }

    
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #45a049;
    --text-color: #333;
    --background-light: #f9f9f9;
}

.homeopathy-container {
    border: 1px solid #3D4D9C;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
}

.text-content {
    flex: 1;
}

.image-container {
    flex: 1;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.floating-image {
    width: 100%;
    max-width: 500px;
    height: 350px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
    transform: translateZ(20px);
}
@media (max-width: 420px){

    .floating-image {
        width: 100%;
        max-width: 500px;
        height: 25vh;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        transition: transform 0.5s ease;
        transform: translateZ(20px);
    }

}
.title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.benefits-list {
    list-style: none;
    padding: 0;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.benefits-list li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .homeopathy-container {
        padding: 1.5rem;
    }

    .title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .content-wrapper {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .image-container {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .title {
        font-size: 1.8rem;
    }

    .description {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .homeopathy-container {
        padding: 1rem;
        margin: 1rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}


/* General Styles */
.gallery-container {
    position: relative;
    height: 400px;
    background: #f0f0f0;
    padding: 20px;
    overflow: hidden;
}

.scroll-container {
    display: flex;
    gap: 5%;
    margin-top: 2%;
    position: absolute;
    animation: scroll 30s linear infinite;
}

.scroll-container:hover {
    animation-play-state: paused;
    /* border: 1px solid red; */
}


@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-400px * 4 - 60px)); } /* Adjusted for width of 4 images + 3 gaps */
}

.image-wrapper {
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    /* border: 1px solid red; */
    /* width: 400px; */
}

.image-wrapper:hover {
    transform: scale(1.05);
    z-index: 1;
    
}

.image-wrapper img {
    width: 100%; /* Adjusted to fit wrapper dimensions */
    height: 300px;
    object-fit: cover;
    animation-play-state: paused;
}

/* Mobile Styles */
@media screen and (max-width: 425px) {
    .gallery-container {
        margin-top: 10%;
        height: 32vh;
        padding: 2%;
        margin-bottom: 10%;
        /* border: 1px solid red; */
    }

    .scroll-container {
        /* border: 1px solid red; */
        width: 100%;
        /* margin-top: 6%; */
        /* margin-bottom: 1%; */
        gap: 10%;
        animation: scroll 40s linear infinite; /* Slower scroll for mobile */
    }
    .scroll-container:click
    {
        animation-play-state: paused;
    }

    .image-wrapper {
        width:210px; /* Adjusted width for mobile */
        height: 210px; /* Smaller height for mobile */
        /* margin-top: 4%; */
        /* padding:5% ; */
        margin-bottom: 10%;
        background-size: contain; /* Ensures the whole image is visible */
        /* width: 100%;  */
        /* border: 1px solid red; */
        /* overflow:auto; */
    }
    .image-wrapper img {
        width: 210px; /* Adjusted to fit wrapper dimensions */
        height: 210px;
        object-fit: cover;
        /* border: 1px solid red; */
    }

    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-90vw * 4)); } /* Adjusted for mobile width */
    }
}




:root {
    --primary: #2C3E50;
    --secondary: #3498DB;
    --accent: #E74C3C;
    --light: #ECF0F1;
    --dark: #2C3E50;
    --gradient: linear-gradient(135deg, #2C3E50, #3498DB);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
}


.doctor-profile {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border: 1px solid #45a049;

    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.profile-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.doctor-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.doctor-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 20px;
    transform: translateZ(20px);
    transition: transform 0.5s ease;
    /* animation: imageFloat 3s ease-in-out infinite; */
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: badgePulse 2s infinite;
}

.doctor-info {
    padding: 1rem;
}

.doctor-name {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    animation: slideInRight 1s ease-out;
}

.doctor-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    animation: lineWidth 1s ease-out forwards;
}

.doctor-title {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    animation: slideInRight 1s ease-out 0.2s backwards;
}

.doctor-description {
    color: var(--dark);
    margin-bottom: 2rem;
    animation: slideInRight 1s ease-out 0.4s backwards;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}
.statNumber{
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}




.education-section {
    margin-top: 3rem;
    animation: slideInUp 1s ease-out 0.8s backwards;
}

.education-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.education-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--secondary);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--secondary);
    animation: dotPulse 2s infinite;
}

.timeline-year {
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.timeline-degree {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.timeline-institution {
    color: #666;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lineWidth {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  
  
        .doctor-profile {
            max-width: 100vh;
            margin: 2rem;
            padding: 21rem;
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            overflow: hidden;
        }
    
        .profile-header {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
            margin-bottom: 3rem;
            position: relative;
        }
        
        .doctor-image-container {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            transform-style: preserve-3d;
            perspective: 1000px;
        }
        
        .doctor-image {
            width: 100%;
            aspect-ratio: 3/4;
            object-fit: cover;
            border-radius: 20px;
            transform: translateZ(20px);
            transition: transform 0.5s ease;
            /* animation: imageFloat 3s ease-in-out infinite; */
        }
        
        /* .experience-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--gradient);
            color: white;
            padding: 1rem;
            border-radius: 50%;
            width: 80px;
            height: 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            animation: badgePulse 2s infinite;
        } */
        
        .doctor-info {
            padding: 1rem;
        }
        
        .doctor-name {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
            margin-top: 0%;
            position: relative;
            animation: slideInRight 1s ease-out;
        }
        
        .doctor-name::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--secondary);
            animation: lineWidth 1s ease-out forwards;
        }
        
        .doctor-title {
            color: var(--secondary);
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            animation: slideInRight 1s ease-out 0.2s backwards;
        }
        
        .doctor-description {
            color: var(--dark);
            margin-bottom: 2rem;
            animation: slideInRight 1s ease-out 0.4s backwards;
        }
        
        .stats-container {
            display: flex;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.7rem;
            margin: 2rem 0;
            animation: fadeIn 1s ease-out 0.6s backwards;
        }
        
        .stat-item {
            text-align: center;
            padding: 1rem;
            width: 25vh;
            height: 15vh;
            font:large;
            background: var(--light);
            /* border-radius: 50%; */
            transition: transform 0.3s ease;
        }
        
        .stat-item:hover {
            transform: translateY(-5px);
        }
        
        .stat-number {
            font-size: 1rem;
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }
        .statNumber{
            font-size: 1rem;
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }
        .stat-item .stat-label{
            font-size: large;
            top: 1%;
        }
       
        
        .education-section {
            margin-top: 3rem;
            animation: slideInUp 1s ease-out 0.8s backwards;
        }
        
        .education-title {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .education-timeline {
            position: relative;
            padding: 2rem 0;
        }
        
        .timeline-item {
            position: relative;
            padding-left: 3rem;
            margin-bottom: 2rem;
            animation: slideInLeft 1s ease-out;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 2px;
            height: 100%;
            background: var(--secondary);
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            left: -6px;
            top: 0;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: var(--secondary);
            animation: dotPulse 2s infinite;
        }
        
        .timeline-year {
            font-weight: bold;
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }
        
        .timeline-degree {
            font-size: 1.1rem;
            color: var(--dark);
            margin-bottom: 0.5rem;
        }
        
        .timeline-institution {
            color: #666;
        }
        
    
    

}

@media screen and (max-width: 768px) {
    .profile-header {
        grid-template-columns: 1fr;
    }

    .doctor-image-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-name {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .doctor-profile {
        margin: 1rem;
        padding: 1rem;
        /* height: 152vh; */
    }

    .stats-container {
        grid-template-columns: 1fr;
        margin-top: 0%;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .doctor-name {
        font-size: 1.8rem;
    }
   

    .experience-badge {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
    .doctor-image-container {
        max-width: 400px;
        margin: 0 auto;
        margin-bottom: 0%;
        border: 1px solid black;
    }
}


/* footer Icons styling */

.newsletter-form {
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.newsletter-form input {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    width: 250px;
}

.btn {
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-icons a {
    text-decoration: none;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.1);
}
.copyright-section {
    text-align: center;
    margin-top: 2%;
    margin-bottom: 0px;
    /* padding-top: 20px; */
    border-top: 1px solid #ddd;
}

/* .copyright-section p {
    color: #666;
    margin: 0;
} */
.copyright-margin{
     margin-top: 1%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default 4 columns for larger screens */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .image-card {
    background-color: white;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    position: relative;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    aspect-ratio: 1;
  }
  
  .image-card:hover {
    border-color: #3498db;
    transform: translateY(-5px);
  }
  
  .image-card img {
    width: 80%;
    height: 80%;
    margin-top: 10%;
    margin-left: 10%;
    border-radius: 6px;
  }
  
  .view-more {
    position: absolute;
    bottom: 10px;
    left: 50%;
    height: 15%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .image-card:hover .view-more {
    opacity: 1;
  }
  
  .view-more:hover {
    color: rgb(203, 235, 203);
    background: rgba(23, 22, 22, 0.6);
  }
  
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .popup-contentforFlyer {
    position: relative;
    max-width: 100%;
    max-height: 100%;
  }
  
  .popup-contentforFlyer img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 8px;
  }
  
  .close-popupforFlyer {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
  }
  
  @media (max-width: 1024px) {
    .grid-container {
      grid-template-columns: repeat(4, 1fr); /* 3 columns for tablets */
    }
  }
  
  @media (max-width: 768px) {
    .grid-container {
      grid-template-columns: repeat(3, 1fr); /* Maintain 3 columns for smaller screens */
      margin-right: 1%;
    }
  }
  
  @media (max-width: 480px) {
    .grid-container {
      grid-template-columns: repeat(3, 1fr); /* 3 columns, ensuring 3 rows for a 9-item grid */
      gap: 10px; /* Adjust gap for smaller screens */
      margin-right: 5%;

    }
  
    .image-card img {
      width: 80%; /* Maintain consistent image size */
      height: 80%;
      margin: 10%; /* Adjust margins to center image */
    }

    .view-more {
        position: absolute;
        bottom: 5%;
        left: 50%;
        width: auto;
        font-size: 8px;
        height: auto;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 0px 0px;
        border-radius: 4px;
        text-decoration: none;
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      
      .image-card:hover .view-more {
        opacity: 1;
      }
      
      .view-more:hover {
        color: rgb(203, 235, 203);
        background: rgba(23, 22, 22, 0.6);
      }
  }

/**/
  .overlayWelcome {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.welcome-box {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 24rem;
    width: 90%;
    margin: 1rem;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.welcome-text {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.welcome-button {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.welcome-button:hover {
    background-color: #2563eb;
}

.hidden {
    display: none;
}

/* Main content styling */
.main-content {
    padding: 2rem;
    text-align: center;
}

.reload-button {
    margin-top: 1rem;
    background-color: #22c55e;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.reload-button:hover {
    background-color: #16a34a;
}

@media (min-width: 640px) {
    .welcome-box {
        padding: 2.5rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }
}
  