* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.main {
    width: 100%;
}

/* Boston Angel Font */
@font-face {
    font-family: 'Boston Angel';
    src: url('https://db.onlinewebfonts.com/t/11c5f9c4a2e6b8b2d6d5b5e5c5d5e5e5.eot');
    src: url('https://db.onlinewebfonts.com/t/11c5f9c4a2e6b8b2d6d5b5e5c5d5e5e5.eot?#iefix') format('embedded-opentype'), url('https://db.onlinewebfonts.com/t/11c5f9c4a2e6b8b2d6d5b5e5c5d5e5e5.woff2') format('woff2'), url('https://db.onlinewebfonts.com/t/11c5f9c4a2e6b8b2d6d5b5e5c5d5e5e5.woff') format('woff'), url('https://db.onlinewebfonts.com/t/11c5f9c4a2e6b8b2d6d5b5e5c5d5e5e5.ttf') format('truetype'), url('https://db.onlinewebfonts.com/t/11c5f9c4a2e6b8b2d6d5b5e5c5d5e5e5.svg#Boston Angel') format('svg');
}

/* Navigation Styles */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Boston Angel', cursive;
    font-weight: 700;
    font-size: 28px;
    color: #f701ac !important;
}

    .navbar-brand img {
        height: 80px;
    }

.navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
    font-family: 'Montserrat', sans-serif;
}

    .navbar-nav .nav-link:hover {
        color: #f701ac !important;
    }

/* Keep navbar toggler icon black */
.navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.2);
}

.btn-register {
    background-color: #f701ac;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

    .btn-register:hover {
        background-color: #d00194;
        transform: translateY(-2px);
        color: #ffffff;
    }

/* Page Container */
.page {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

#page1 {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 1;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    /* Center video properly */
    z-index: 0;
    pointer-events: none;
}

/* Overlay for better text readability */
#page1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Ensure content stays above video and overlay */
.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive adjustments for mobile */
@media only screen and (max-width: 768px) {
    #page1 {
        min-height: 100vh;
        /* Slightly shorter for mobile */
        padding: 10px;
        margin-top: -100px;
    }

    #bg-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Ensures video fills the container */
        border: 1px solid white;
    }

    .hero-title {
        font-size: 1.5rem;
        /* Adjust font size for mobile */
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-top: 450px;
    }

    .hero-btn {
        padding: 10px 20px;
        /* Smaller button for mobile */
        font-size: 0.9rem;
    }
}

/* Text content */
#page1 h1,
#page1 h2,
#page1 a {
    position: relative;
    z-index: 2;
}


/* Page 2 Styles */
#page2 {
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
}

.page2-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

.page2-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 500;
    color: #f701ac;
}

.registration-box {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(247, 1, 172, 0.3);
    padding: 50px 40px;
    max-width: 600px;
    width: 100%;
    border: 2px solid #f701ac;
}

    .registration-box h3 {
        font-family: 'Montserrat', sans-serif;
        color: #000000;
        margin-bottom: 15px;
    }

    .registration-box h2 {
        font-family: 'Montserrat', sans-serif;
        color: #f701ac;
        font-size: 2.2rem;
    }



.custom-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Optional: adjust transparency for better text contrast */
}



/* Page 4 Styles - Image Slider */
#page4 {
    background-color: #000000;
    padding: 100px 20px;
}

.page4-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

.queen-slider {
    max-width: 1200px;
    margin: 0 auto;
}

.queen-slide {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(247, 1, 172, 0.3);
    margin: 0 15px;
    transition: transform 0.3s;
    border: 2px solid #f701ac;
}

    .queen-slide:hover {
        transform: translateY(-10px);
    }

.queen-img {
    position: relative;
    height: 0;
    padding-bottom: 133.33%;
    /* 3:4 aspect ratio for portraits; adjust as needed (e.g., 100% for square, 125% for 4:5) */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

    .queen-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* Use 'contain' to show full image without stretching/cropping; change to 'cover' if you want to fill the frame and crop edges */
        object-position: center;
        display: block;
    }

.queen-info {
    padding: 25px;
    text-align: center;
}

.queen-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
}

.queen-title {
    color: #f701ac;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Custom Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(247, 1, 172, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
        background-color: rgba(247, 1, 172, 0.9);
    }

/* Responsive Carousel */
#queenCarouselDesktop {
    display: block;
}

#queenCarouselMobile {
    display: none;
}

@media (max-width: 991.98px) {
    #queenCarouselDesktop {
        display: none;
    }

    #queenCarouselMobile {
        display: block;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

/* Page 6 Styles */
#page6 {
    background-color: #000000;
    color: #ffffff;
    padding: 70px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #f701ac;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-family: 'Montserrat', sans-serif;
}

    .footer-links a:hover {
        color: #f701ac;
    }

.contact-info {
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

    .contact-info p {
        font-size: 14px;
    }

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(247, 1, 172, 0.3);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Montserrat', sans-serif;
}

.miss-india-brand {
    text-align: center;
    margin-top: 30px;
    font-size: 2rem;
    font-weight: 700;
    color: #f701ac;
    font-family: 'Montserrat', sans-serif;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }



    .page2-title,
    .page3-title,
    .page4-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page2-title,
    .page3-title,
    .page4-title {
        font-size: 1.5rem;
    }

    .registration-box {
        padding: 30px 20px;
    }
}


header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #ff4e8c, #8a2be2);
    color: white;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.gallery-section {
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #8a2be2;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: linear-gradient(to right, #ff4e8c, #8a2be2);
    }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 20px;
}

.gallery-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.gallery-subtitle {
    font-size: 0.9rem;
    color: #666;
}



@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}
