/* Mithila Vivah - Based on Mr&Mrs Template Design */

/* Color Variables - Using Mr&Mrs Original Colors */
:root {
    --bs-primary: #fd5d5d;
    --bs-secondary: #fd5d5d;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-white: #ffffff;
    --mithila-gold: #FFD700;
    --mithila-brown: #8B4513;
}

/* Spinner Styles */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/* Button Styles */
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-primary-outline-0 {
    color: var(--bs-white) !important;
    border: 1px solid var(--bs-primary);
}

.btn-light-outline-0 {
    color: var(--bs-primary) !important;
    border: 1px solid var(--bs-light);
}

.btn-primary-outline-0:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    border: 1px solid var(--bs-primary);
}

.btn-light-outline-0:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    border: 1px solid var(--bs-secondary);
}

/* Image Border */
.img-border {
    border-color: var(--bs-secondary);
    border-style: double;
}

/* Typography */
/* Enhanced Display Typography */
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Great Vibes', 'Dancing Script', cursive, serif !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
}

/* Carousel Typography */
.carousel-caption h1 {
    font-family: 'Great Vibes', 'Dancing Script', cursive, serif !important;
    font-weight: 400 !important;
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
    letter-spacing: 2px !important;
}

.carousel-caption h4 {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
}

/* Section Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Great Vibes', 'Dancing Script', cursive, serif !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
}

/* Body Text */
p, span, div {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* Contact Section Fixes */
.contact-form-container {
    margin-top: 30px !important;
    padding-top: 40px !important;
    position: relative !important;
}

.contact-header {
    position: absolute !important;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #ffffff !important;
    padding: 10px 20px !important;
    border: 2px solid #fd5d5d !important;
    border-style: double !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
    max-width: 80% !important;
    width: auto !important;
}

.contact-header h4 {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: #fd5d5d !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

/* Contact Form Styling */
.contact-form-container form {
    margin-top: 20px !important;
}

.contact-form-container .form-group {
    margin-bottom: 20px !important;
}

.contact-form-container .form-label {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #212529 !important;
    margin-bottom: 8px !important;
}

.contact-form-container .form-control {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1rem !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    background-color: #ffffff !important;
}

.contact-form-container .form-control:focus {
    border-color: #fd5d5d !important;
    box-shadow: 0 0 0 0.2rem rgba(253, 93, 93, 0.25) !important;
    outline: none !important;
}

/* Contact Info Boxes */
.contact-form-container + .mt-5 .p-4 {
    border: 2px solid #fd5d5d !important;
    border-style: double !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

.contact-form-container + .mt-5 .p-4:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(253, 93, 93, 0.2) !important;
    border-color: #6c757d !important;
}

.contact-form-container + .mt-5 h4 {
    font-family: 'Great Vibes', 'Dancing Script', cursive, serif !important;
    font-size: 1.5rem !important;
    color: #fd5d5d !important;
    margin-bottom: 10px !important;
}

.contact-form-container + .mt-5 a,
.contact-form-container + .mt-5 p {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 500 !important;
    color: #212529 !important;
    text-decoration: none !important;
}

.contact-form-container + .mt-5 a:hover {
    color: #fd5d5d !important;
    text-decoration: underline !important;
}

/* Mobile Responsive Contact Section */
@media (max-width: 768px) {
    .contact-header {
        max-width: 90% !important;
        padding: 8px 15px !important;
    }
    
    .contact-header h4 {
        font-size: 1rem !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
    
    .contact-form-container {
        margin-top: 20px !important;
        padding-top: 30px !important;
    }
    
    .contact-form-container .form-control {
        font-size: 0.9rem !important;
        padding: 12px 15px !important;
    }
    
    .contact-form-container + .mt-5 .p-4 {
        margin-bottom: 15px !important;
        padding: 20px 15px !important;
    }
    
    .contact-form-container + .mt-5 h4 {
        font-size: 1.3rem !important;
    }
    
    /* Mobile Brand Adjustments */
    .navbar-brand {
        margin-left: 10px !important;
        padding-left: 5px !important;
    }
    
    .navbar-brand h4 {
        font-size: 2rem !important;
        padding: 0 0 0 15px !important;
        letter-spacing: 1px !important;
        word-spacing: 5px !important;
    }
}

/* Mr&Mrs Template Colors - Exact Match */
:root {
    --bs-primary: #fd5d5d;
    --bs-secondary: #6c757d;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-white: #ffffff;
}

/* Global fixes for perfect alignment and no gaps */
* {
    box-sizing: border-box;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
}

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Enhanced Font Loading and Fallbacks */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes:wght@400&family=Open+Sans:wght@300;400;500;600;700&family=Petit+Formal+Script&family=Dancing+Script:wght@400;500;600;700&display=swap');

/* Font Family Definitions with Fallbacks */
.font-great-vibes {
    font-family: 'Great Vibes', 'Dancing Script', cursive, serif !important;
}

.font-petit-formal {
    font-family: 'Petit Formal Script', 'Dancing Script', cursive, serif !important;
}

.font-open-sans {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Enhanced Header & Navbar Styles - Perfect Alignment & Full Coverage */
.sticky-top {
    transition: all 0.5s ease;
    background: linear-gradient(135deg, #fd5d5d 0%, #6c757d 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #ffffff;
    position: relative;
    overflow: hidden;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* Full width header container - No gaps */
.container-fluid.sticky-top {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: none !important;
}

.container-fluid.sticky-top .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: none !important;
}

.container-fluid.sticky-top .container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: none !important;
}

/* Navbar alignment fix */
.navbar {
    padding: 15px 0 !important;
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* Clean Mr&Mrs style header */

/* Mr&Mrs Brand Styling - Enhanced Positioning */
.navbar-brand {
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    line-height: 1.2 !important;
    margin-left: 15px !important;
    padding-left: 10px !important;
    position: relative !important;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

/* Mr&Mrs Brand Typography - Enhanced Font Loading */
.navbar-brand h4 {
    font-family: 'Great Vibes', 'Dancing Script', cursive, serif !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    margin: 0 !important;
    padding: 0 0 0 20px !important;
    line-height: 1.1 !important;
    display: flex !important;
    align-items: center !important;
    letter-spacing: 2px !important;
    word-spacing: 8px !important;
    text-align: left !important;
    position: relative !important;
}

.navbar-brand h4:hover {
    color: #f8f9fa !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.navbar-brand strong {
    color: #f8f9fa !important;
    transition: all 0.3s ease;
    line-height: 1.2 !important;
    margin-left: 5px !important;
    font-size: 0.9em !important;
}

.navbar-brand:hover strong {
    color: #ffffff !important;
}

/* Removed decorative elements for clean brand name */

/* Mr&Mrs Navigation Links - Perfect Alignment */
.navbar .navbar-nav {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar .navbar-nav .nav-link {
    padding: 12px 15px !important;
    font-family: 'Petit Formal Script', 'Dancing Script', cursive, serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: 0.5s;
    display: flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    height: auto !important;
    letter-spacing: 0.5px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: #f8f9fa !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Mr&Mrs Button Styles - Perfect Alignment */
.navbar .btn {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: 0.5s;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #fd5d5d !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    line-height: 1.2 !important;
    padding: 10px 20px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.navbar .btn:hover {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #6c757d !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Mr&Mrs Primary Button Colors */
.btn-primary {
    background-color: #fd5d5d !important;
    border-color: #fd5d5d !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

.btn-primary-outline-0 {
    color: #ffffff !important;
    border: 1px solid #fd5d5d !important;
    background: transparent !important;
}

.btn-primary-outline-0:hover {
    background: #6c757d !important;
    color: #ffffff !important;
    border: 1px solid #fd5d5d !important;
}

/* Mr&Mrs Mobile Menu - Gradient Header */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        margin-top: 10px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        color: #fd5d5d !important;
        text-shadow: none !important;
        margin: 5px 0;
        padding: 12px 20px !important;
        border-radius: 8px;
        background: rgba(253, 93, 93, 0.05);
    }
    
    .navbar-nav .nav-link:hover {
        color: #6c757d !important;
        background: rgba(108, 117, 125, 0.1);
    }
}

@media (min-width: 1200px) {
    .navbar .navbar-collapse .border-top {
        border-top: none !important;
    }
}

/* Mr&Mrs Carousel Styles - Exact Template Colors */
.carousel-item {
    position: relative;
    min-height: 100vh;
}

.carousel-item .carousel-caption {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.4));
}

/* Mr&Mrs Carousel Indicators */
#carouselId .carousel-indicators li {
    border-top: 10px solid #ffffff;
    border-bottom: 10px solid #ffffff;
    border-right: 5px solid #ffffff;
    border-left: 5px solid #ffffff;
    margin-right: 10px;
    transition: 0.5s;
}

#carouselId .carousel-indicators li.active {
    background: #fd5d5d;
    border-color: #fd5d5d;
    border-right: 15px solid #fd5d5d;
    border-left: 15px solid #fd5d5d;
}

/* Mr&Mrs Section Colors */
.text-primary {
    color: #fd5d5d !important;
}

.text-secondary {
    color: #6c757d !important;
}

.bg-primary {
    background-color: #fd5d5d !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.4));
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent;
}

#carouselId .carousel-indicators {
    padding-bottom: 30px;
}

#carouselId .carousel-indicators li {
    border-top: 10px solid var(--bs-white);
    border-bottom: 10px solid var(--bs-white);
    border-right: 5px solid var(--bs-white);
    border-left: 5px solid var(--bs-white);
    margin-right: 10px;
    transition: 0.5s;
}

#carouselId .carousel-indicators li.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    border-right: 15px solid var(--bs-primary);
    border-left: 15px solid var(--bs-primary);
}

/* Wedding Story Styles */
.story .story-timeline,
.story .story-timeline .row {
    position: relative;
}

.story .story-timeline::before,
.story .story-timeline .row::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--bs-secondary);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.story .story-timeline .row::before {
    display: none;
}

.story .story-timeline .row:last-child::before {
    display: block;
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    position: relative;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.05);
}

.hover-style {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(253, 93, 93, 0.8), rgba(253, 93, 93, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .hover-style {
    opacity: 1;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .search-icon {
    opacity: 1;
}

.gallery-overlay {
    background: #fff;
    border-radius: 0 0 15px 15px;
}

.gallery-overlay h5 {
    color: var(--bs-primary);
    font-weight: 600;
}

/* Feature Items */
.feature-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    color: var(--bs-primary);
}

/* Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(253, 93, 93, 0.25);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #fff;
}

.footer-item h4 {
    color: var(--mithila-gold);
}

.btn-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--mithila-gold);
}

/* Copyright */
.copyright {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* Tab Styles */
.tab-class {
    background: var(--bs-primary);
    border-radius: 15px;
    padding: 2rem;
}

.tab-class .nav-link {
    background: #fff;
    color: var(--bs-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tab-class .nav-link.active {
    background: var(--mithila-gold);
    color: var(--bs-primary);
}

.tab-class .nav-link:hover {
    background: var(--mithila-gold);
    color: var(--bs-primary);
}

/* Animation Classes */
.wow {
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption h4 {
        font-size: 1rem;
    }
    
    .feature-item {
        margin-bottom: 2rem;
    }
    
    .gallery-img img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption h4 {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Mithila Cultural Elements */
.mithila-decoration {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
}

.mithila-decoration.top-left {
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23FFD700" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23FFD700" stroke-width="1"/><path d="M20,50 L80,50 M50,20 L50,80" stroke="%23FFD700" stroke-width="1"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.mithila-decoration.bottom-right {
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,10 L90,10 L90,90 L10,90 Z" fill="none" stroke="%23FFD700" stroke-width="2"/><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="%23FFD700" stroke-width="1"/><circle cx="50" cy="50" r="15" fill="none" stroke="%23FFD700" stroke-width="1"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Success Stories Styling */
.gallery-overlay {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid var(--mithila-gold);
    border-radius: 0 0 15px 15px;
}

.gallery-overlay h5 {
    color: var(--bs-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--bs-secondary);
    font-weight: 500;
}

/* Contact Form Styling */
.RSVP-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.RSVP-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="2" fill="rgba(253, 93, 93, 0.05)"/><path d="M5,5 L15,5 L15,15 L5,15 Z" fill="none" stroke="rgba(253, 93, 93, 0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.RSVP-form .container {
    position: relative;
    z-index: 2;
}

/* Footer Social Icons */
.footer .btn-md-square {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer .btn-md-square:hover {
    background: var(--mithila-gold);
    color: var(--bs-primary);
    border-color: var(--mithila-gold);
    transform: translateY(-3px);
}

/* Mithila Cultural Typography */
.mithila-title {
    font-family: 'Great Vibes', cursive;
    color: var(--bs-primary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.mithila-subtitle {
    font-family: 'Petit Formal Script', cursive;
    color: var(--bs-secondary);
}

/* Mithila Cultural Phrases Styling */
.mithila-phrase {
    font-family: 'Great Vibes', cursive;
    color: var(--bs-primary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mithila-phrase:hover {
    transform: scale(1.05);
    color: var(--bs-secondary);
}

.mithila-phrase-translation {
    color: var(--bs-secondary);
    font-style: italic;
    opacity: 0.9;
    transition: all 0.3s ease;
}

/* Enhanced Mithila Cultural Elements */
.mithila-cultural-border {
    border: 3px solid var(--bs-primary);
    border-style: double;
    border-radius: 15px;
    position: relative;
    background: linear-gradient(135deg, rgba(253, 93, 93, 0.05), rgba(253, 93, 93, 0.02));
    transition: all 0.3s ease;
}

.mithila-cultural-border:hover {
    border-color: var(--bs-secondary);
    background: linear-gradient(135deg, rgba(253, 93, 93, 0.1), rgba(253, 93, 93, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 93, 93, 0.2);
}

.mithila-cultural-border::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--mithila-gold);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.3;
}

/* Mithila Phrase Animation */
@keyframes mithilaGlow {
    0% { text-shadow: 1px 1px 2px rgba(253, 93, 93, 0.3); }
    50% { text-shadow: 1px 1px 8px rgba(253, 93, 93, 0.6), 0 0 10px rgba(253, 93, 93, 0.3); }
    100% { text-shadow: 1px 1px 2px rgba(253, 93, 93, 0.3); }
}

.mithila-phrase-animated {
    animation: mithilaGlow 3s ease-in-out infinite;
}

/* Cultural Heart Symbol */
.mithila-heart {
    color: var(--bs-primary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mithila-heart:hover {
    color: var(--bs-secondary);
    transform: scale(1.2);
    animation: heartbeat 1s ease-in-out;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Cultural Border Styles */
.cultural-border {
    border: 3px solid var(--mithila-gold);
    border-style: double;
    border-radius: 15px;
    position: relative;
}

.cultural-border::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--bs-primary);
    border-radius: 18px;
    z-index: -1;
}

/* Mithila Pattern Overlay */
.mithila-pattern-overlay {
    position: relative;
}

.mithila-pattern-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="overlay-pattern" patternUnits="userSpaceOnUse" width="40" height="40"><circle cx="20" cy="20" r="2" fill="rgba(255,215,0,0.1)"/><path d="M10,10 L30,10 L30,30 L10,30 Z" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23overlay-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Team Section Styles */
.team-item {
    position: relative;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-item:hover {
    transform: translateY(-10px);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-item:hover .team-img-main img {
    transform: scale(1.05);
}

.team-content {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: #fff;
    padding: 1.5rem;
}

.team-content h5 {
    color: #fff;
    font-weight: 700;
}

.team-social {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-item:hover .team-social {
    opacity: 1;
}

/* Wedding Date Section */
.wedding-date-bg {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    position: relative;
    overflow: hidden;
}

.wedding-date {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.wedding-date-content h1 {
    color: var(--bs-primary);
    font-family: 'Great Vibes', cursive;
}

/* Timeline Section */
.wedding-timeline {
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
    position: relative;
    overflow: hidden;
}

.wedding-timeline .border {
    border-color: var(--bs-primary) !important;
}

.wedding-timeline .text-primary {
    color: var(--bs-primary) !important;
}

.wedding-timeline .text-dark {
    color: #fff !important;
}

/* Heart Circle Animation */
.heart-circle {
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mithila Cultural Enhancements */
.mithila-theme {
    font-family: 'Open Sans', sans-serif;
}

.mithila-theme .display-1,
.mithila-theme .display-2,
.mithila-theme .display-3,
.mithila-theme .display-4,
.mithila-theme .display-5,
.mithila-theme .display-6 {
    font-family: 'Great Vibes', cursive;
    color: var(--bs-primary);
}

.mithila-theme .navbar-brand h4 {
    font-family: 'Great Vibes', cursive;
    color: var(--bs-primary);
}

.mithila-theme .navbar-brand strong {
    color: var(--bs-secondary);
}

/* Enhanced Button Styles */
.btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 93, 93, 0.3);
}

/* Enhanced Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(253, 93, 93, 0.25);
    transform: translateY(-2px);
}

/* Enhanced Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Enhanced Feature Styles */
.feature-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(253, 93, 93, 0.1), rgba(253, 93, 93, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--bs-primary);
}

.feature-icon {
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    color: var(--bs-secondary);
}