
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #68bb59;
    --text-color: #333;
    --light-color: #ecf0f1;
    --dark-color: #1f2836;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Top Header */
.top-header {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-header a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-header a:hover {
    color: var(--secondary-color);
}

/* Logo */
.logo-container {
    padding: 15px 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Added for extra centering */
}

.logo-img {
    max-height: 150px;
    width: auto;
    margin: 0 auto; /* Centers the image horizontally */
    display: block; /* Needed for margin auto to work */
}

.logo-text, .logo-text-hindi {
    text-align: center; /* Ensure text is centered */
    width: 100%; /* Full width for proper centering */
}


 
/* Navigation */
.navbar {
background-color: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-nav {
margin: 0 auto;
display: flex;
justify-content: center;
}
.navbar-nav .nav-link {
color: var(--primary-color);
font-weight: 600;
padding: 10px 15px;
transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
color: var(--secondary-color);
}
.dropdown-menu {
border: none;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Hero */
.hero {
    background: url('drown.jpg');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
}

.section-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

.gallery-container {
    border: 2px solid var(--accent-color);
    border-radius: 40px;
    padding: 20px;
    margin-top: 30px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px double #66CDAA;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}
/* Marquee */
.marquee-container {
overflow: hidden;
white-space: nowrap;
width: 100%;
}
.marquee-content {
display: inline-block;
padding-left: 100%;
animation: marquee 20s linear infinite;
}
@keyframes marquee {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
}

.social-icons li {
    margin-right: 10px;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    color: white;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.contact-info i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: var(--accent-color);
}

.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .logo-text-hindi {
        font-size: 1.1rem;
    }
}
/* Add these media queries at the end of your style section */

@media (max-width: 768px) {
/* Logo fixes */
.logo-container {
padding: 10px 15px !important;
text-align: center;
}

.logo-img {
margin-left: auto !important;
margin-right: auto !important;
max-height: 100px !important;
display: block;
}

.logo-text {
font-size: 1.3rem !important;
text-align: center;
padding: 0 10px;
}

/* Navigation fixes */
.navbar-nav {
flex-direction: column;
align-items: center;
}

.nav-link {
padding: 8px 10px !important;
}

/* Gallery fixes */
.gallery {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
gap: 10px !important;
}

.gallery-container {
padding: 15px !important;
border-radius: 20px !important;
}

/* Marquee fixes */
.marquee-content {
animation-duration: 30s; /* Slower for better readability */
}

.marquee-content span {
margin-right: 15px;
font-size: 12px;
}

/* Hero section */
.hero {
height: 30vh !important;
}

.hero-content h1 {
font-size: 1.8rem;
}

.hero-content p {
font-size: 1rem;
}
}

@media (max-width: 576px) {
/* Extra small devices */
.logo-img {
max-height: 80px !important;
}

.logo-text {
font-size: 1.1rem !important;
}

.logo-text-hindi {
font-size: 1rem !important;
}

.gallery {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
}

.hero {
height: 25vh !important;
}

.hero-content h1 {
font-size: 1.5rem;
}

/* Footer adjustments */
.footer {
padding: 30px 0 15px !important;
}

.footer .col-lg-3 {
margin-bottom: 25px;
text-align: center;
}

.footer h3::after {
left: 50%;
transform: translateX(-50%);
}

.social-icons {
justify-content: center;
}
}
@media (max-width: 400px) {
.gallery {
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
padding-bottom: 15px;
}

.gallery-item {
flex: 0 0 auto;
width: 150px;
margin-right: 10px;
}
}
@media (max-width: 768px) {
    .logo-img {
        max-height: 120px; /* Slightly smaller on mobile */
        margin-bottom: 15px;
    }
    
    .logo-text {
        font-size: 1.3rem; /* Adjusted for mobile */
    }
    
    .logo-text-hindi {
        font-size: 1.1rem; /* Adjusted for mobile */
    }
}