body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
}

header {
    background: linear-gradient(to bottom right, #000, #df3131);
    padding: 2px 0;
}

.logoq {
    height: 90px;
    width: 150px;
    animation: logoAnimation 1s ease-in-out infinite;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    transition: padding 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

nav {
    display: flex;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu li a:hover {
    color: #ffcc00;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin-bottom: 10px;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
        margin: 10px 0;
    }
}

.nav-toggle {
    display: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
}

@keyframes logoAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero {
    background: linear-gradient(to left, #000000, #800000, #d15353);
    position: relative;
    padding: 20px;
}

.avatar-slider {
    background: linear-gradient(to right, #000000, #800000, #800000, #ff8c00, #ffd700);
    position: relative;
    padding: 20px;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.maa-durga {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 100%;
    height: auto;
    z-index: 1;
    animation: scaleIn 3s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: right;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 600px;
}

.cta {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 10px;
}

.overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.2;
        max-width: 250px;
    }

    .maa-durga {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        max-width: 230px;
    }

    .cta {
        font-size: 1.4rem;
    }

    .maa-durga {
        width: 25%;
        height: auto;
    }

    .hero-content {
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.8rem;
        max-width: 220px;
    }

    .cta {
        font-size: 1.2rem;
    }

    .maa-durga {
        width: 40%;
        height: auto;
    }

    .hero-content {
        padding-right: 10px;
        text-align: center;
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0.56;
        transform: translateY(-50%) scale(0.9);
    }
    50% {
        opacity: 0.86;
        transform: translateY(-50%) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.avatar-slider h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    font-family: 'Cursive', sans-serif;
}

.slider {
    position: relative;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.slide {
    display: none;
    flex-direction: row;
    width: 100%;
    max-width: 1500px;
}

.slide.active {
    display: flex;
}

.slide-content {
    display: flex;
    width: 100%;
    gap: 40px;
}

.slide-content img {
    width: 45%;
    height: 450px;
    border-radius: 10px;
}

.text-box {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, #000, #333);
    border-radius: 10px;
    animation: textBoxAnimation 1.5s ease-in-out forwards;
    transform-origin: left;
    font-family: 'Montserrat';
    font-size: 22px;
    width: 70%;
}

@keyframes textBoxAnimation {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.buttons {
    text-align: center;
    margin-top: 20px;
}

.buttons button {
    background: linear-gradient(to right, #ff6a00, #ee0979);
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 30px;
    font-size: 1.1rem;
    font-family: 'Cursive', sans-serif;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.buttons button:hover {
    background: linear-gradient(to right, #ee0979, #ff6a00);
    transform: translateY(-3px);
}

.buttons button:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .hero-content {
        padding-right: 20px;
        text-align: center;
        max-width: 80%;
    }

    .maa-durga {
        width: 50%;
    }

    .slider {
        flex-direction: column;
    }

    .slide-content {
        flex-direction: column;
        align-items: center;
    }

    .slide-content img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .text-box {
        width: 100%;
    }

    .avatar-slider h2 {
        font-size: 2rem;
    }
}

.gallery {
    padding: 40px 20px;
    background: linear-gradient(to right, #FFA500, #af8703, #bc4c02);
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Cursive', sans-serif;
    color: #800000;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-size: 1.4rem;
    font-family: 'Cursive', sans-serif;
    text-align: center;
}

@media (max-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-title {
        font-size: 1.8rem;
    }
}
.gallery {
    padding: 40px 20px;
    background: linear-gradient(to right, #FFA500, #af8703, #bc4c02);
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Cursive', sans-serif;
    color: #800000;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.like-button {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}

.like-button:hover {
    color: #ffcc00;
}

.like-button.liked {
    color: red;
    cursor: not-allowed;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.5s;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.buttons {
    text-align: center;
    margin-top: 20px;
}

.buttons button {
    background: linear-gradient(to right, #ff6a00, #ee0979);
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 30px;
    font-size: 1.1rem;
    font-family: 'Cursive', sans-serif;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.buttons button:hover {
    background: linear-gradient(to right, #ee0979, #ff6a00);
    transform: translateY(-3px);
}

.buttons button:active {
    transform: translateY(1px);
}

.contact-section {
    padding: 60px 20px;
    background: url('bg1.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    font-family: Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.6);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section h1, .contact-form h3 {
    text-align: left;
    margin-bottom: 20px;
    color: #ffcc00;
    font-size: 30px;
}

.container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-details {
    width: 48%;
}

.contact-details p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.details p {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-form {
    width: 48%;
    background: white;
    padding: 30px;
    border-radius: 8px;
    color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 1rem;
    margin-bottom: 5px;
    display: block;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

button[type="submit"] {
    padding: 12px;
    background-color: #d5006d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #b0004b;
}

@media (max-width: 1024px) {
    .contact-details, .contact-form {
        width: 80%;
    }

    .contact-section h1, .contact-form h3 {
        font-size: 26px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .contact-details, .contact-form {
        width: 70%;
    }

    .contact-section h1, .contact-form h3 {
        text-align: center;
        font-size: 20px;
    }

    .form-group input, .form-group textarea {
        font-size: 0.8rem;
        padding: 5px;
    }

    button[type="submit"] {
        font-size: 1rem;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .contact-details, .contact-form {
        width: 70%;
    }

    .contact-section h1, .contact-form h3 {
        font-size: 15px;
        text-align: center;
    }

    .contact-form {
        padding: 10px;
        width: 60%;
        box-shadow: none;
    }

    .form-group input, .form-group textarea {
        font-size: 0.5rem;
        padding: 4px;
    }

    button[type="submit"] {
        font-size: 0.95rem;
        padding: 8px;
        width: 100%;
    }
}
@media (max-width: 435px) and (max-height: 608px) {
    .maa-durga {
        display: none; /* Hide the image when screen size is below 435x608 */
    }
}