/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .banner-section .col-lg-6 {
        flex: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0;
    }

    .banner-section .row {
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
    }

    .navbar {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 0;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .navbar.scrolled {
        padding: 0;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    .biodata-details {
        padding: 15px;
    }

    .biodata-details p {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .biodata-details strong {
        color: #FF4D1C;
        margin-right: 10px;
    }

    #biodataDetailImage {
        width: 100% !important;
        height: 300px !important;
        object-fit: cover;
        border-radius: 8px;
    }

    .upload-section {
        padding: 20px;
    }

    .custom-slider-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 115px auto 0 auto;
        position: relative;
        background: #fefecc;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .custom-slider {
        width: 100%;
        height: 240px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin: 0 10px;
    }

    .slider-image {
        width: 100%;
        height: 240px;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
        position: absolute;
        left: 0;
        top: 0;
        transition: opacity 0.3s;
    }

    .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #a259f7cc;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
        transition: background 0.2s, box-shadow 0.2s;
        z-index: 2;
        opacity: 0.85;
    }

    .slider-arrow-left {
        left: 16px;
    }

    .slider-arrow-right {
        right: 16px;
    }

    .slider-arrow:hover {
        background: #7c2ae8;
        box-shadow: 0 4px 16px rgba(160, 89, 247, 0.25);
        opacity: 1;
    }

    .upload-btn {
        border-radius: 30px !important;
        padding: 10px 25px;
        background-color: #FF4D1C;
        color: white;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .upload-btn:hover {
        background-color: #ff4d1cad;
        color: #fff;
    }

    .upload-btn:hover {
        background-color: #ff4d1cad;
        color: #fff;
    }

    button:focus:not(:focus-visible) {
        outline: 0;
        box-shadow: none;
    }

    .biodata-card {
        position: relative;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .biodata-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        display: block;
    }

    .biodata-info {
        padding: 15px;
        background: white;
    }

    .fill-form-btn {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #FF4D1C;
        color: white;
        padding: 15px 20px;
        text-decoration: none;
        opacity: 1;
        transition: all 0.3s ease;
        z-index: 3;
        text-align: center;
        font-weight: 500;
        border-radius: 8px 8px 0 0;
        box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    }

    .fill-form-btn:hover {
        color: white;
        background-color: #FF4D1C;
        box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    }

    .card-menu {
        position: absolute;
        top: 65px;
        right: 10px;
        z-index: 3;
    }

    .card-menu-btn {
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .card-menu-content {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 5px;
        margin-top: 5px;
    }

    .card-menu-content.show {
        display: block;
    }

    .delete-btn {
        background: none;
        border: none;
        color: #dc3545;
        padding: 5px 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;
        text-align: left;
        transition: all 0.3s ease;
    }

    .delete-btn:hover {
        background: #f8f9fa;
    }

    .serial-number {
        position: absolute;
        top: 65px;
        left: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 0.9em;
        z-index: 2;
    }

    .biodata-info h3 {
        margin: 0 0 10px 0;
        font-size: 1.2em;
    }

    .biodata-info p {
        margin: 5px 0;
        color: #666;
    }

    .location {
        color: #666;
        font-size: 0.9em;
    }

    .modal-content {
        border-radius: 15px;
    }

    .modal-header {
        border-bottom: 1px solid #dee2e6;
        background-color: #15283c;
        border-radius: 15px 15px 0 0;
    }

    .modal-footer {
        border-top: 1px solid #dee2e6;
        background-color: #15283c;
        border-radius: 0 0 15px 15px;
    }

    #saveBiodataBtn {
        color: #fff;
        background: #e53935;
    }

    .form-control {
        border-radius: 8px;
        border: 1px solid #ced4da;
        padding: 10px;
        background: #ffcbf0;
    }

    .form-control:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
        background: #ffcbf0;
    }

    .form-label {
        font-weight: 500;
        color: #ffffff;
    }

    .loading {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .form-select {
        --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
        display: block;
        width: 100%;
        padding: .375rem 2.25rem .375rem .75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: var(--bs-body-color);
        background-color: #ffcbf0;
        background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
        background-repeat: no-repeat;
        background-position: right .75rem center;
        background-size: 16px 12px;
        border: var(--bs-border-width) solid var(--bs-border-color);
        border-radius: var(--bs-border-radius);
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .loading-spinner {
        width: 50px;
        height: 50px;
        border: 5px solid #f3f3f3;
        border-top: 5px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    .navbar-brand {
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    .biodata-checkbox-list {
        background: #15283c;
        color: #fff;
        border-radius: 8px;
        padding: 16px 12px;
        margin-top: 18px;
    }

    .biodata-checkbox-list label {
        display: flex;
        align-items: center;
        margin-bottom: 6px;
        font-size: 1em;
    }

    .biodata-checkbox-list input[type='checkbox'] {
        margin-right: 8px;
        accent-color: #fff;
        width: 18px;
        height: 18px;
    }

    .nav-tabs {
        border-bottom: none !important;
        display: flex;
        gap: 18px;
        justify-content: center;
        background: transparent;
        margin-bottom: 0;
    }

    .nav-tabs .nav-link {
        background: #a259f7;
        color: #fff !important;
        font-weight: bold;
        font-size: 1.35rem;
        border: none !important;
        border-radius: 16px !important;
        padding: 10px 28px !important;
        margin-bottom: 0 !important;
        transition: background 0.2s, color 0.2s;
        box-shadow: none;
        outline: none;
        letter-spacing: 1px;
        font-family: 'Nunito Sans', 'Source Sans Pro', sans-serif;
    }

    .nav-tabs .nav-link.active,
    .nav-tabs .nav-link:focus,
    .nav-tabs .nav-link:hover {
        background: #7c2ae8 !important;
        color: #fff !important;
        border: none !important;
        box-shadow: none;
    }

    .nav-logo {
        height: 45px;
        width: auto;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .biodata-login-bar {
        width: 100%;
        background: #e53935;
        color: #fff;
        font-size: 2rem;
        font-weight: 600;
        text-align: center;
        padding: 10px 0 10px 0;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        border-radius: 0;
        overflow: visible;
    }

    .biodata-login-bar .login-bar-content {
        flex: 1;
        text-align: center;
        z-index: 2;
    }

    .biodata-login-bar .login-bar-whitecut {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 120px;
        background: #fff;
        clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        z-index: 3;
    }

    .biodata-login-bar .login-bar-decor {
        display: flex;
        align-items: center;
        height: 32px;
        margin-right: 16px;
    }

    .biodata-login-bar .dots {
        display: flex;
        align-items: center;
        margin-left: 8px;
    }

    .biodata-login-bar .dot {
        width: 9px;
        height: 9px;
        background: #1a237e;
        border-radius: 50%;
        margin-left: 5px;
    }

    .nav-logo:hover {
        transform: scale(1.05) rotate(2deg);
    }

    /* Main Navigation */
    .navbar-nav {
        gap: 2.5rem;
    }

    .nav-link {
        color: #333 !important;
        font-weight: 500;
        font-size: 0.95rem;
        padding: 0.5rem 0 !important;
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        color: #ff4d1c !important;
        transform: translateY(-2px);
    }

    .banner-section {
        padding: 0;
    }

    .banner-content h1 {
        font-size: 75px;
    }

    .banner-video video {
        height: 550px;
    }

    .social-icons {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .social-icons a {
        color: #333;
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
        padding: 5px;
        border-radius: 50%;
    }

    .social-icons a:hover {
        color: #ff4d1c;
        transform: translateY(-3px) scale(1.1);
        background: rgba(255, 77, 28, 0.1);
    }

    .social-icons a::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: rgba(255, 77, 28, 0.2);
        top: 0;
        left: 0;
        transform: scale(0);
        transition: transform 0.3s ease;
    }

    .social-icons a:hover::before {
        transform: scale(1);
        animation: pulse 1.5s infinite;
    }

    .language-selector .form-select {
        border: none;
        background-color: transparent;
        font-size: 0.9rem;
        cursor: pointer;
        padding: 0.5rem 2rem 0.5rem 1rem;
        color: #333;
        transition: all 0.3s ease;
        border-radius: 20px;
        background: rgba(255, 77, 28, 0.05);
    }

    .language-selector .form-select:hover {
        background: rgba(255, 77, 28, 0.1);
        transform: translateY(-2px);
    }

    .language-selector .form-select:focus {
        box-shadow: none;
        color: #ff4d1c;
        background: rgba(255, 77, 28, 0.15);
    }

    /* Mobile Navigation */
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.75rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: 0.375rem;
        transition: box-shadow 0.15s ease-in-out;
        display: block !important;
        z-index: 1000;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 77, 28, 0.25);
    }

    .navbar-toggler:hover {
        background-color: rgba(255, 77, 28, 0.1);
    }

    /* Remove custom hamburger icon styling - use Bootstrap's default */
    .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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        width: 1.5em;
        height: 1.5em;
        display: inline-block;
    }

    /* Remove the custom pseudo-elements that were creating the hamburger */
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        display: none;
    }

    /* Remove the custom animation for expanded state */
    .navbar-toggler[aria-expanded="true"] .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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 18L18 6M6 6l12 12'/%3e%3c/svg%3e");
    }

    .banner-section {
        padding: 66px 0 0;
        position: relative;
        overflow: hidden;
        background-color: #f5f5f5;
        display: flex;
        align-items: center;
    }

    .banner-content h1 {
        font-family: 'Source Sans Pro', serif;
        color: var(--primary-color);
        font-size: 95px;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .banner-video {
        background: linear-gradient(135deg, #ffb347 0%, #ff4d1c 60%, #e53935 100%);
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(255, 77, 28, 0.25), 0 2px 8px rgba(229, 57, 53, 0.18);
        padding: 18px 12px 12px 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .banner-video video {
        border-radius: 18px;
        box-shadow: 0 4px 24px rgba(255, 77, 28, 0.18), 0 1px 4px rgba(0, 0, 0, 0.10);
        background: #fff0e6;
        width: 100%;
        height: 550px;
        max-height: 550px;
        object-fit: cover;
        border: 6px solid #fff;
    }

    .banner-video .contact-btn {
        position: absolute;
        top: 4%;
        left: 20%;
        z-index: 2;
    }

    .contact-btn {
        background-color: #FF4D1C;
        color: white;
        border: none;
        padding: 12px 35px;
        border-radius: 30px;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        text-decoration: none;
        display: inline-block;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .contact-btn:hover {
        color: white;
        background-color: #ff4d1cbb;
        text-decoration: none;
    }

    /* Tabs Section */
    .nav-tabs {
        border: none;
        margin-bottom: 10px;
        justify-content: center;
        position: relative;
        gap: 3rem;
    }

    .nav-tabs::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #e0e0e0;
    }

    .nav-tabs .nav-item {
        margin: 0;
    }

    .nav-tabs .nav-link {
        border: none;
        color: #666;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        margin: 0;
        position: relative;
        background: transparent;
        transition: color 0.3s ease;
    }

    .nav-tabs .nav-link.active {
        color: #333;
        font-weight: 500;
    }

    .nav-tabs .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        z-index: 1;
    }

    /* Contact Form */
    .contact-section {
        background-color: var(--light-color);
    }

    .form-control {
        border-radius: 0;
        border: 1px solid #ddd;
        padding: 0.8rem;
    }

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: none;
    }

    .btn-primary {
        background-color: #FF4D1C;
        border-color: #FF4D1C;
        padding: 0.8rem 2rem;
        border-radius: 0;
    }

    /* Gallery */
    .gallery-img {
        transition: transform 0.3s ease;
    }

    .gallery-img:hover {
        transform: scale(1.05);
    }

    .biodata-card {
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }

    .biodata-card img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        object-position: top;
        transition: transform 0.3s ease;
    }

    .biodata-card .card-content {
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
        color: white;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        z-index: 2;
        text-decoration: none;
        display: block;
    }

    .biodata-card .card-content:hover {
        text-decoration: none;
        color: white;
    }

    .biodata-card .card-content h3 {
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: white;
    }

    .biodata-card .card-content .arrow {
        display: inline-block;
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .biodata-card:hover .card-content {
        opacity: 1;
        transform: translateY(0);
    }

    .biodata-card:hover .arrow {
        transform: translateX(10px);
    }

    /* Tab Content Animation */
    .tab-pane {
        animation: fadeIn 0.5s ease-in-out;
    }

    .tab-pane {
        display: none;
    }

    .tab-pane.show {
        display: block;
    }

    .tab-pane.fade {
        transition: opacity 0.15s linear;
    }

    .tab-pane.fade:not(.show) {
        opacity: 0;
        display: none !important;
    }

    .tab-pane.fade.show {
        opacity: 1;
        display: block !important;
    }

    section.content-section {
        padding: 0 !important;
    }

    /* Footer Styles */
    .footer-section {
        background-color: #f4f0dc;
        padding: 130px 0 50px;
        position: relative;
    }

    .footer-content {
        max-width: 400px;
    }

    .footer-content p {
        color: #666;
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .footer-social {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .footer-social a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-social a:hover {
        color: #FF4D1C;
    }

    .newsletter-section {
        background-color: #f4f0dc;
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
    }

    .newsletter-section h3 {
        font-family: 'Source Sans Pro', sans-serif;
        color: #333;
        font-size: 1.25rem;
        margin-bottom: 30px;
        font-weight: 600;
    }

    .newsletter-form {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .newsletter-form input[type="email"] {
        flex: 1;
        padding: 15px 20px;
        border: none;
        border: 4px solid #ef7b1f;
        border-radius: 40px;
        font-weight: bold;
        font-size: 0.95rem;
        outline: none;
        transition: border-color 0.3s ease;
        background: transparent;
    }

    .newsletter-form input[type="email"]::placeholder {
        color: #999;
    }

    .newsletter-form input[type="email"]:focus {
        border-color: #ef7b1f;
    }

    .newsletter-form button {
        background-color: #d90429;
        color: white;
        border: none;
        padding: 12px 35px;
        border-radius: 30px;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        min-width: 140px;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .newsletter-form button:hover::after {
        width: 94%;
        top: 4px;
        bottom: 4px;
        right: 4px;
    }

    .newsletter-form button:hover {
        box-shadow: 0 15px 25px rgba(52, 84, 255, 0.2);
    }

    .footer-bottom {
        border-top: 3px solid #988a87;
        padding-top: 20px;
        margin-top: 40px;
    }

    .footer-bottom .policy-links {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 65px;
    }

    .footer-bottom .policy-links a {
        color: #666;
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s ease;
    }

    .footer-bottom .policy-links a:hover {
        color: #FF4D1C;
    }

    .banner-title-wedding {
        color: #153289;
        background-color: #ffffcd;
        width: 100%;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 2.2rem;
        font-weight: bold;
        text-align: center;
        letter-spacing: 1px;
        margin-top: 18px;
        margin-bottom: 0;
        text-transform: uppercase;
        padding-top: 50px;
    }

    .banner-marriage-bureau {
        color: #e53935;
        font-size: 1.2rem;
        font-weight: bold;
        text-align: center;
        margin-top: 2px;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .banner-desc-box {
        background: #7c2ae8;
        color: #fff;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        border-radius: 10px;
        padding: 12px 10px 10px 10px;
        margin: 10px 18px;
        max-width: 420px;
        box-shadow: 0 2px 8px rgba(124, 42, 232, 0.10);
        border: 2px solid #fff;
    }

    .tab-upload-section {
        background: #fffbe6;
        padding: 30px 0 0 0;
        border-top: 2px solid #eee;
    }

    .tab-btn-group {
        display: flex;
        justify-content: center;
        gap: 18px;
        margin-bottom: 18px;
    }

    .tab-btn {
        background: #e53935;
        color: #fff;
        font-weight: bold;
        font-size: 1.1rem;
        border: none;
        border-radius: 22px;
        padding: 8px 28px;
        box-shadow: 0 2px 8px rgba(229, 57, 53, 0.10);
        cursor: pointer;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        outline: none;
        margin: 0 2px;
        letter-spacing: 1px;
    }

    .tab-btn.active,
    .tab-btn:hover {
        background: #ff4d1c;
        color: #fff;
        transform: translateY(-2px) scale(1.05);
    }

    .upload-section-styled {
        background: #fff;
        border: 3px solid #7c2ae8;
        border-radius: 16px;
        padding: 18px 0 10px 0;
        margin: 0 auto 18px auto;
        max-width: 420px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 12px rgba(124, 42, 232, 0.08);
    }

    .upload-btn-styled {
        background: #e53935;
        color: #fff;
        font-weight: bold;
        font-size: 1.2rem;
        border: none;
        border-radius: 30px;
        padding: 14px 48px;
        box-shadow: 0 4px 16px rgba(229, 57, 53, 0.13);
        cursor: pointer;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        outline: none;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .upload-btn-styled:hover {
        background: #ff4d1c;
        color: #fff;
        transform: translateY(-2px) scale(1.04);
    }

    .banner-title-underline {
        width: 100%;
        max-width: 420px;
        height: 6px;
        background: #153289;
        margin: 0 auto 2px auto;
        border-radius: 3px;
    }

    .banner-tab {
        background-color: #ffffcd;
        width: 100%;
        padding-top: 5px;
    }

    .tab-upload-section-exact {
        background: #fffbe6;
        padding: 0 0 0 0;
        border-top: none;
        min-height: 0;
    }

    .tab-upload-container-exact {
        padding: 0;
        max-width: 480px;
        margin: 0 auto;
    }

    .tab-btn-group-exact {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
        padding: 18px 0 18px 0;
        background-color: #ffffcd;
    }

    .all-btn {
        background: linear-gradient(180deg, #ff512f 0%, #dd2476 100%);
        color: #fff;
        font-weight: bold;
        border: none;
        border-radius: 14px;
        box-shadow: 0 4px 16px 0 rgba(255, 77, 28, 0.25), 0 1.5px 0 0 #fff inset, 0 0.5px 8px 0 rgba(255, 255, 255, 0.25) inset;
        padding: 8px 28px;
        font-size: 1.1rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 1px 0 #fff;
        transition: transform 0.15s, box-shadow 0.15s;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(2px) saturate(1.2);
        -webkit-backdrop-filter: blur(2px) saturate(1.2);
    }

    .all-btn::before {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        right: 2px;
        height: 40%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 100%);
        border-radius: 12px 12px 8px 8px;
        pointer-events: none;
        z-index: 1;
    }

    .bride-btn {
        background: linear-gradient(180deg, #700d64 0%, #e543e9 100%);
        color: #fff;
        font-weight: bold;
        border: none;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(67, 233, 123, 0.18);
        padding: 8px 28px;
        font-size: 1.1rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
        transition: transform 0.15s, box-shadow 0.15s;
    }

    .groom-btn {
        background: linear-gradient(180deg, #071173 0%, #11a4c5 100%);
        /* Blue gradient */
        color: #fff;
        font-weight: bold;
        border: none;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(33, 147, 176, 0.18);
        padding: 8px 28px;
        font-size: 1.1rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
        transition: transform 0.15s, box-shadow 0.15s;
    }

    .tab-btn-exact {
        color: #fff;
        font-weight: bold;
        font-size: 1.1rem;
        border: 2px solid #fff;
        border-radius: 10px;
        padding: 8px 28px;
        box-shadow: 0 2px 8px rgba(229, 57, 53, 0.10);
        cursor: pointer;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        outline: none;
        margin: 0 2px;
        letter-spacing: 1px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    }

    .tab-btn-exact.active,
    .tab-btn-exact:hover {
        color: #fff;
    }

    .admin-login-btn {
        border-color: #FF4D1C;
        color: #FF4D1C;
        transition: all 0.3s ease;
        padding: 8px 15px;
        border-radius: 20px;
        font-weight: 500;
        white-space: nowrap;
    }

    .navbar-exact-logo-red {
        width: 215px;
        height: 100%;
        /* clip-path: polygon(0% 0, 100% 0, 90% 100%, 0% 100%); */
    }

    .navbar-exact-logo-img {
        width: 36px;
        height: 36px;
    }

    .admin-login-btn:hover {
        background-color: #FF4D1C;
        color: white;
        border-color: #FF4D1C;
    }

    @media (max-width: 991.98px) {
        .navbar-collapse {
            margin-top: 10px;
            margin-bottom: 20px;
            width: 100%;
        }

        .admin-login-btn {
            border-color: #FF4D1C;
            color: #FF4D1C;
            transition: all 0.3s ease;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: 500;
            white-space: nowrap;
        }

        .nav-right {
            margin-top: 10px;
            justify-content: center;
        }

        .container {
            position: relative;
        }
    }

    .banner-section {
        padding: 50px 0 0;
    }

    .banner-section .container {
        padding: 0;
    }

    .banner-video {
        background: transparent;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgb(0 0 0 / 0%);
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .banner-video video {
        border-radius: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
        background: #f8f9fa00;
        position: relative;
        z-index: 1;
        border: 0;
        padding: 0 20px;
    }

    .banner-info-texts {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
    }

    .banner-title {
        background: #e53935;
        color: #fff;
        font-weight: bold;
        font-size: 1.3rem;
        padding: 6px 22px;
        border-radius: 6px;
        letter-spacing: 1px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    }

    .banner-link {
        background: #8e24aa;
        color: #fff;
        font-weight: 600;
        font-size: 1.1rem;
        padding: 4px 18px;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    }

    .banner-link a {
        color: #fff;
        text-decoration: none;
    }

    .banner-link a:hover {
        text-decoration: underline;
    }

    .banner-location {
        background: #222;
        color: #fff;
        font-weight: 600;
        font-size: 1rem;
        padding: 4px 18px;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    }

    .biodata-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
        border: 2px solid #e53935;
        overflow: hidden;
        position: relative;
        margin-bottom: 24px;
        padding: 0;
    }

    .banner-green-text {
        background: #2ecc40;
        color: #fff;
        width: 100%;
        height: 200px;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        padding: 156px 0 0;
        letter-spacing: 2px;
        position: absolute;
        top: 236px;
        z-index: 0;
    }

    .biodata-card .biodata-photo {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
        border-bottom: 2px solid #e53935;
    }

    .biodata-card .biodata-cta {
        background: #e53935;
        color: #fff;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        padding: 8px 0;
        letter-spacing: 0.5px;
    }

    .biodata-card .biodata-info {
        padding: 18px 18px 12px 18px;
        background: #fff;
    }

    .biodata-card .biodata-info-row {
        margin-bottom: 7px;
        font-size: 1.08rem;
    }

    .biodata-card .biodata-label {
        color: #e53935;
        font-weight: 700;
        margin-right: 4px;
    }

    .biodata-card .biodata-value {
        color: #222;
        font-weight: 600;
    }

    .biodata-card .biodata-value.address {
        color: #111;
        font-weight: 700;
    }

    .upload-section-exact {
        background: #fff;
        border-top: 6px solid #7c2ae8;
        border-radius: 0;
        padding: 30px 0 30px 0;
        margin: 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        top: 145px;
        box-shadow: 0 2px 12px rgba(124, 42, 232, 0.08);
    }

    .upload-icons-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        width: 100%;
    }

    .upload-icon-left {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: inline-block;
        box-shadow: 0 2px 8px rgba(255, 77, 28, 0.13);
    }

    .upload-icon-left img {
        width: 32px;
        height: 32px;
    }

    .upload-icon-right {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: inline-block;
        box-shadow: 0 2px 8px rgba(255, 77, 28, 0.13);
    }

    .upload-btn-exact {
        background: #e53935;
        color: #fff;
        font-weight: bold;
        font-size: 1.2rem;
        border: none;
        border-radius: 30px;
        padding: 14px 48px;
        box-shadow: 0 4px 16px rgba(229, 57, 53, 0.13);
        cursor: pointer;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        outline: none;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 12px;
    }

    .upload-btn-exact:hover {
        background: #ff4d1c;
        color: #fff;
        transform: translateY(-2px) scale(1.04);
    }

    .biodata-card-exact {
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
        border: none;
        overflow: hidden;
        margin-bottom: 0;
        padding: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-width: 280px;
        max-width: 370px;
        margin-left: auto;
        margin-right: auto;
    }

    .biodata-card-header-exact {
        background: #fe0000;
        color: #fff;
        font-size: 1.35rem;
        font-weight: bold;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 0;
        height: 54px;
        border-radius: 18px 0 0 0;
        overflow: hidden;
        border-right: 2px solid #e53935;
        border-left: 2px solid #e53935;
        border-top: 2px solid #e53935;
    }

    .navbar-exact-logo-red {
        background: #00ba71;
        z-index: 2;
    }

    .navbar-exact-logo-img {
        width: 36px;
        height: 36px;
        margin: 8px 0px 0px 20px;
    }

    .biodata-card-header-text-exact {
        font-family: 'Noto Sans Bengali', 'Source Sans Pro', sans-serif;
        font-size: 1.25rem;
        font-weight: bold;
        letter-spacing: 1px;
        flex: 1;
        text-align: center;
        z-index: 2;
        position: relative;
        line-height: 54px;
    }

    .biodata-card-header-triangle {
        position: absolute;
        right: 0;
        top: 0;
        width: 100px;
        height: 100%;
        background: transparent;
        clip-path: none;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        z-index: 1;
    }

    .biodata-card-header-triangle img {
        height: 36px;
        width: 36px;
        object-fit: contain;
        margin-right: 8px;
        margin-top: 2px;
        z-index: 2;
    }

    .biodata-card-photo-wrap-exact {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        padding: 0;
        border-bottom: 2px solid #e53935;
    }

    .biodata-card-photo-exact {
        width: 100% !important;
        max-width: 100% !important;
        height: 470px !important;
        margin-top: 16px !important;
        object-fit: cover !important;
        object-position: top !important;
        border-radius: 0 !important;
        border: 3px solid #e53935 !important;
        margin: 0 0 0 0 !important;
        display: block !important;
    }

    .biodata-card-info-bar-exact {
        background: #7c2ae8;
        color: #fff;
        font-size: 1.08rem;
        font-weight: 600;
        text-align: center;
        border-radius: 0;
        padding: 8px 0 6px 0;
        margin: 0;
        width: 100%;
        border-bottom: none;
        border-right: 2px solid #e53935;
        border-left: 2px solid #e53935;
    }

    .biodata-card-details-exact {
        background: #fff;
        padding: 12px 14px 8px 14px;
        width: 100%;
        font-size: 1.08rem;
        font-family: 'Noto Sans Bengali', 'Source Sans Pro', sans-serif;
        margin-bottom: 0;
        border-right: 2px solid #d90429;
        border-left: 2px solid #d90429;
        line-height: 1.7;
    }

    .biodata-label-red-exact {
        color: #e53935;
        font-weight: bold;
        font-size: 1.08rem;
    }

    .biodata-value-blue-exact {
        color: #153289;
        font-weight: 600;
        font-size: 1.08rem;
    }

    .biodata-card-social-exact {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 8px 14px 12px 14px;
        background: #fff;
        border-radius: 0 0 16px 16px;
        border-top: none;
    }

    .biodata-social-icon-exact {
        color: #fff;
        font-size: 1.3rem;
        background: #3b5998;
        border-radius: 50%;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, color 0.2s;
        text-decoration: none;
    }

    .biodata-social-icon-exact.whatsapp {
        background: #25d366;
    }

    .biodata-social-icon-exact.facebook {
        background: #3b5998;
    }

    .biodata-social-icon-exact:hover {
        opacity: 0.85;
    }

    .custom-navbar {
        background: transparent !important;
        box-shadow: none !important;
        border: none;
        padding: 0;
    }

    .custom-navbar-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        min-width: 100vw;
        max-width: 100vw;
    }

    .navbar-logo-area {
        position: relative;
        display: flex;
        align-items: center;
        height: 64px;
        min-width: 160px;
        background: #e53935;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        padding: 0 18px 0 0;
        z-index: 2;
    }

    .navbar-logo-area .navbar-brand {
        padding: 0 0 0 12px;
        margin: 0;
        z-index: 2;
    }

    .navbar-logo-area .nav-logo {
        height: 44px;
        width: 44px;
        object-fit: contain;
        background: #fff;
        border-radius: 6px;
        margin: 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    }

    .navbar-diagonal-cut {
        position: absolute;
        right: -1px;
        top: 0;
        width: 70px;
        height: 100%;
        background: #fff;
        clip-path: polygon(60% 0, 100% 0, 100% 100%, 0% 100%);
        z-index: 1;
    }

    /* Right section (nav, language, toggler) */
    .custom-navbar .navbar-collapse,
    .custom-navbar .nav-right,
    .custom-navbar .language-selector {
        background: #fff !important;
        border-radius: 0 0 0 0;
        box-shadow: none;
    }

    /* Hamburger menu styles */
    .custom-navbar-toggler {
        border: 2px solid #e53935 !important;
        background: #fff !important;
        border-radius: 6px !important;
        padding: 6px 10px !important;
        margin-left: 12px;
        z-index: 3;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    }

    .custom-navbar-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 2px #e53935;
    }

    .custom-navbar-toggler-icon,
    .custom-navbar-toggler .custom-navbar-toggler-icon {
        display: block;
        width: 32px;
        height: 32px;
        position: relative;
        background: none !important;
        border: none;
    }

    .custom-navbar-toggler-icon:before,
    .custom-navbar-toggler-icon:after,
    .custom-navbar-toggler-icon span {
        content: '';
        display: block;
        position: absolute;
        left: 4px;
        right: 4px;
        height: 4px;
        background: #e53935;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .custom-navbar-toggler-icon:before {
        top: 8px;
    }

    .custom-navbar-toggler-icon:after {
        top: 20px;
    }

    .custom-navbar-toggler-icon span {
        top: 14px;
    }

    /* Exact Navbar Overhaul */
    .custom-navbar-exact {
        width: 100vw;
        height: 70px;
        display: flex;
        align-items: stretch;
        position: relative;
        background: transparent;
        margin: 0;
        padding: 0;
        z-index: 1000;
    }

    .navbar-exact-bg {
        background: #fff;
        position: relative;
        width: 100vw;
        display: flex;
        align-items: stretch;
        min-height: 70px;
        margin: 0;
        padding: 0;
        z-index: 1;
    }

    .navbar-left-exact {
        width: 90px;
        height: 70px;
        background: #d90429;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }

    .nav-logo-exact {
        width: 60px;
        height: 60px;
        object-fit: contain;
        background: #fff;
        border: 2px solid #fff;
        box-sizing: border-box;
    }

    .navbar-exact-logo-red {
        background: red;
        z-index: 2;
    }

    .navbar-exact-right {
        flex: 1 1 auto;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 30px;
        padding-left: 60px;
        height: 70px;
        z-index: 2;
    }

    .navbar-exact-lang {
        font-family: 'Arial Black', Arial, sans-serif;
        font-size: 20px;
        font-weight: bold;
        color: #222;
        margin-right: 30px;
        display: flex;
        align-items: center;
    }

    .navbar-exact-caret {
        font-size: 14px;
        margin-left: 2px;
        color: #222;
    }

    .navbar-exact-hamburger {
        width: 44px;
        height: 44px;
        background: #fff;
        border: 2px solid #0074d9;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        cursor: pointer;
        box-shadow: none;
        border-radius: 0;
        position: relative;
        transition: all 0.3s ease;
    }

    .navbar-exact-hamburger.active {
        background: #0074d9;
        border-color: #0074d9;
    }

    .navbar-exact-hamburger.active .navbar-exact-hamburger-bar {
        background: #fff;
    }

    .hamburger-bar-exact {
        width: 30px;
        height: 6px;
        background: #d90429;
        margin: 3px 0;
        border-radius: 0;
        display: block;
    }

    /* Hide menu by default, show when toggled */
    .navbar-exact-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        width: 100%;
        z-index: 1000;
        margin-top: 0;
    }

    .navbar-exact-menu.open {
        display: block;
    }

    .navbar-exact-hamburger {
        cursor: pointer;
        /* Add your styles */
    }

    .modal-content {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        color: #fff;
        pointer-events: auto;
        background-color: #15283c;
        background-clip: padding-box;
        border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
        border-radius: var(--bs-modal-border-radius);
        outline: 0;
    }

    .navbar-exact-menu.open {
        display: flex !important;
        animation: slideDown 0.3s ease-out;
    }

    .navbar-exact-menu-link {
        color: #603cec;
        font-weight: bold;
        font-size: 18px;
        padding: 10px 24px;
        text-decoration: none;
        width: 100%;
        transition: background 0.2s;
    }

    .navbar-exact-menu-link:hover {
        background: #ffeaea;
    }

    .navbar-exact-menu-link.admin {
        border-top: 1px solid #eee;
        margin-top: 10px;
        padding: 10px 0;
        color: #ffffff;
        background-color: #d90429;
        width: 150px;
        border-radius: 30px;
        text-align: center;
    }

    .custom-login-btn {
        display: inline-block;
        background-color: #169c25;
        color: #fff;
        font-weight: bold;
        font-size: 14px;
        padding: 8px 0;
        width: 125px;
        border-radius: 10px;
        border: none;
        box-shadow: 0 2px 8px rgba(160, 89, 247, 0.15);
        text-decoration: none;
        letter-spacing: 2px;
        transition: background 0.2s, box-shadow 0.2s;
    }

    /* .custom-login-btn:hover {
        background: linear-gradient(180deg, #8e24aa 0%, #a259f7 100%);
        color: #fff;
        box-shadow: 0 4px 16px rgba(160, 89, 247, 0.25);
    } */

    /* Tab Content Visibility - Ensure hidden tab panes don't occupy space */
    .tab-pane {
        display: none;
    }

    .tab-pane.show {
        display: block;
    }

    .tab-pane.fade {
        transition: opacity 0.15s linear;
    }

    .tab-pane.fade:not(.show) {
        opacity: 0;
        display: none !important;
    }

    .tab-pane.fade.show {
        opacity: 1;
        display: block !important;
    }

    /* Ensure hidden tab panes don't occupy space */
    .tab-pane:not(.show) {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        visibility: hidden !important;
    }

    .row>* {
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-top: 0;
    }

    .biodata-card-title-bar-exact {
        background: #a259f7;
        color: #fff;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        padding: 8px 0;
        border-radius: 0 0 8px 8px;
        border-right: 2px solid #d90429;
        border-left: 2px solid #d90429;
        border-bottom: 2px solid #d90429;
        width: 100%;
        margin: 0;
    }

    body {
        min-height: 200vh;
        /* Just to show scrolling */
        font-family: Arial, sans-serif;
    }

    .floating-social-icons {
        position: fixed;
        bottom: 5px;
        right: 30px;
        z-index: 9999;
    }

    .floating-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #25d366;
        color: #fff;
        font-size: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
        text-decoration: none;
        margin-top: 10px;
    }

    .floating-icon.facebook {
        background: #4267B2;
    }

    .floating-icon:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
        transform: translateY(-2px) scale(1.08);
        color: #fff;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        transform-origin: top;
        animation: slideDown 0.3s ease forwards;
    }

    .navbar-nav {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.8rem 1.2rem !important;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 77, 28, 0.1);
        transform: translateX(5px);
    }

    .nav-right {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }

    .banner-video {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    .banner-video video {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block;
        box-sizing: border-box;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .banner-section {
        padding: 0;
    }

    .custom-navbar-container {
        min-width: 100vw;
        max-width: 100vw;
        padding: 0;
    }

    .navbar-logo-area {
        min-width: 120px;
        height: 54px;
        padding: 0 8px 0 0;
    }

    .navbar-logo-area .nav-logo {
        height: 32px;
        width: 32px;
    }

    .navbar-diagonal-cut {
        width: 40px;
    }

    .custom-navbar-toggler {
        width: 38px;
        height: 38px;
        padding: 4px 6px !important;
    }

    .custom-navbar-toggler-icon,
    .custom-navbar-toggler .custom-navbar-toggler-icon {
        width: 24px;
        height: 24px;
    }

    .custom-navbar-toggler-icon:before {
        top: 5px;
    }

    .custom-navbar-toggler-icon:after {
        top: 15px;
    }

    .custom-navbar-toggler-icon span {
        top: 10px;
    }

    .navbar-exact-bg {
        min-height: 54px;
        display: flex;
        justify-content: space-between;
    }

    .banner-video {
        border-radius: 16px;
        padding: 10px 0 0;
    }

    .banner-video video {
        border-radius: 12px;
        max-height: 375px;
        height: 220px;
    }

    .banner-title-wedding {
        font-size: 1.3rem;
        padding-top: 50px;
    }

    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1000 !important;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Force navbar-toggler to be visible */
    .navbar .navbar-toggler {
        display: block !important;
    }

    /* Ensure the toggler icon is visible */
    .navbar-toggler .navbar-toggler-icon {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar-exact-logo-area {
        height: 54px;
    }

    .navbar-exact-logo-red {
        width: 200px !important;
        height: 54px;
    }

    .navbar-exact-logo-img {
        width: 36px;
        height: 36px;
    }

    .navbar-exact-right {
        height: 54px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-exact-lang {
        font-size: 14px;
        margin-right: 30px;
    }

    .navbar-exact-hamburger {
        width: 32px;
        height: 32px;
    }

    .navbar-exact-hamburger-bar {
        width: 20px;
        height: 4px;
        margin: 2px 0;
        background-color: #d90429;
    }

    .navbar-exact-menu {
        width: 100%;
        right: 0;
        top: 100%;
    }

    .navbar-exact-menu-link {
        font-size: 15px;
        padding: 8px 10px;
    }

    .footer-bottom .policy-links {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 15px;
    }

    .scroll-to-top {
        position: absolute;
        top: 68%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background-color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 1000;
        border: none;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .newsletter-section {
        padding: 0 20px;
        text-align: center;
    }

    .navbar-nav {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.8rem 1.2rem !important;
        border-radius: 10px;
    }

    .nav-link:hover {
        background: rgba(255, 77, 28, 0.1);
        transform: translateX(5px);
    }

    .nav-right {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }

    .banner-content {
        display: none;
    }

    .col-lg-6 {
        width: 100%;
    }

    .banner-video {
        margin: 5px 0 0;
    }

    .banner-video .contact-btn {
        left: 10%;
        top: 5%;
    }

    .banner-video video {
        height: 550px;
    }

    .newsletter-section {
        padding: 30px 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .banner-section {
        text-align: center;
    }

    .banner-content {
        margin-bottom: 2rem;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .footer-social {
        justify-content: center;
    }

}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .banner-section {
        padding: 0;
    }

    .banner-content h1 {
        font-size: 45px;
    }

    .banner-video video {
        height: 550px;
    }

    .nav-tabs {
        gap: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 30%;
    }

    .footer-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom .policy-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 600px) {

    .banner-desc-box,
    .upload-section-styled {
        max-width: 98vw;
        font-size: 1rem;
        padding: 10px 4px 8px 4px;
    }

    .modal-dialog {
        max-width: 98vw !important;
        margin: 0 20px !important;
    }

    .biodata-modal-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px !important;
    }

    .tab-btn {
        font-size: 0.95rem;
        padding: 7px 16px;
    }

    .upload-btn-styled {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .banner-title-underline,
    .banner-title-divider,
    .banner-desc-box,
    .upload-section-exact {
        max-width: 100%;
    }

    .tab-btn-exact {
        font-size: 0.95rem;
        padding: 7px 16px;
    }

    .upload-btn-exact {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .upload-icon-left,
    .upload-icon-right {
        width: 32px;
        height: 32px;
        background-size: cover;
    }

    .biodata-card-exact {
        border-radius: 0px;
        min-width: 0;
        max-width: 98vw;
        margin-left: 10px;
        margin-right: 10px;
    }

    .biodata-card-header-exact {
        font-size: 1.05rem;
        padding: 6px 8px 2px 8px;
        border-radius: 0;
    }

    .biodata-card-photo-exact {
        height: 120px;
    }

    .biodata-card-details-exact {
        padding: 8px 6px 4px 6px;
        font-size: 0.98rem;
    }

    .biodata-card-social-exact {
        padding: 6px 6px 8px 6px;
        border-radius: 0 0 10px 10px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .banner-section {
        padding: 0;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .biodata-login-bar {
        font-size: 1.2rem;
        min-height: 36px;
    }

    .biodata-login-bar .login-bar-whitecut {
        width: 60px;
    }

    .biodata-login-bar .login-bar-decor {
        height: 20px;
        margin-right: 6px;
    }

    .biodata-login-bar .dot {
        width: 6px;
        height: 6px;
        margin-left: 3px;
    }

    .banner-video video {
        height: 550px;
    }

    .biodata-card .biodata-photo {
        height: 220px;
    }

    .biodata-card .biodata-info {
        padding: 12px 8px 8px 8px;
    }

    .banner-video .contact-btn {
        left: 5%;
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    .nav-tabs {
        gap: 1rem;
    }

    .nav-tabs .nav-link {
        font-size: 0.9rem;
    }

    .newsletter-section {
        padding: 0px 20px;
        text-align: center;
    }

    .newsletter-section h3 {
        font-size: 1.1rem;
    }

    .footer-section {
        padding: 80px 0 40px;
    }

    .navbar-exact-menu {
        display: none;
    }

    .navbar-exact-menu.open {
        display: block;
    }
}