/* 
*  Matrimonial - Main Stylesheet
* Theme: Hindu Religious Theme
* Colors: Orange and Light Yellow
*/

:root {
    --primary-color: #ff7722;
    --primary-dark: #e65c00;
    --primary-light: #ff9955;
    --secondary-color: #fff5d7;
    --secondary-dark: #f7e8b6;
    --text-color: #333333;
    --light-color: #ffffff;
    --border-color: #e1e1e1;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #fefefe;
    line-height: 1.6;
}

/* Common Styles */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 600;
}

.divider {
    position: relative;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;

}

.breadcrumb .divider{
    width: 0px;
    height: 0px;
}

/* Language Toggle Styles */
.language-toggle {
    display: inline-flex;
    align-items: center;
    /* Remove margin-top to vertically center the toggle */
    margin-top: 0;
}

.language-tablet {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-color);
    background: var(--secondary-color);
}

.language-toggle .language-btn {
    padding: 8px 15px;
    border: none;
    background-color: transparent;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 90px;
    justify-content: center;
}


.language-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 11px;
}

.language-toggle .language-btn.active .language-icon {
    background-color: #fff;
    color: var(--primary-dark);
}

.language-toggle .language-btn:hover:not(.active) {
    background-color: rgba(255, 119, 34, 0.1);
}

.divider span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 0 10px;
    font-size: 20px;
    color: var(--primary-color);
}

section {
    padding: 80px 0;
}

/* Top Bar Styling */
.top-bar {
    background-color: var(--primary-dark);
    padding: 10px 0;
    color: white;
}

/* Google Translator Styling */
.google-translate {
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}

/* Custom Language Selector */
.language-selector {
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}

.custom-language-select {
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #444;
    color: white;
    border: 1px solid #555;
    font-size: 12px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-language-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.25);
}

.custom-language-select option {
    background-color: #fff;
    color: #333;
}

/* Mobile Translator Panel */
.mobile-translate-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff8f0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 15px rgba(255, 126, 0, 0.15);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-top: 3px solid #ff7e00;
}

.mobile-translate-panel.active {
    transform: translateY(0);
}

.mobile-translate-panel .panel-content {
    padding: 20px;
    text-align: center;
}

.mobile-translate-panel h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.mobile-translate-panel h4 i {
    margin-right: 5px;
}

.mobile-translate-panel .close-panel {
    display: inline-block;
    margin-top: 15px;
    color: white;
    font-size: 16px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff7e00, #ff5100);
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255, 123, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-translate-panel .close-panel:hover {
    background: linear-gradient(135deg, #ff5100, #ff7e00);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.4);
}

.google-translate-mobile {
    margin: 15px 0;
}

.google-translate-mobile .goog-te-gadget {
    text-align: center;
    width: 100%;
}

.google-translate-mobile .goog-te-gadget .goog-te-combo {
    width: 90%;
    max-width: 250px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: white;
    color: #ff7e00;
    border: 2px solid rgba(255, 126, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    height: 45px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23ff7e00"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.goog-te-gadget {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    color: #fff !important;
    white-space: nowrap;
}

.goog-te-gadget .goog-te-combo {
    padding: 3px 8px;
    border-radius: 4px;
    background-color: #444;
    color: white;
    border: 1px solid #555;
    font-size: 12px;
    outline: none;
}

.goog-te-gadget .goog-te-combo:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.25);
}

.matrimony-app .google-translate {
    margin-bottom: 8px;
    margin-right: 10px;
}

@media (max-width: 767px) {
    .google-translate,
    .language-selector {
        margin: 0 auto 10px;
        display: block;
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }
    
    .top-links {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
    }
    
    .top-links a {
        margin: 5px 10px;
    }
    
    .custom-language-select {
        width: 80%;
        max-width: 200px;
        padding: 6px 10px;
        font-size: 14px;
        background-color: #fff8f0;
        color: #ff7e00;
        border: 1px solid rgba(255, 126, 0, 0.3);
        border-radius: 20px;
    }
    
    .custom-language-select-mobile {
        width: 90%;
        max-width: 250px;
        padding: 10px 15px;
        font-size: 16px;
        background-color: white;
        color: #ff7e00;
        border: 2px solid rgba(255, 126, 0, 0.3);
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        margin: 0 auto 15px;
        display: block;
        height: 45px;
    }
    
    /* Hide the Google Translate attribution on mobile to save space */
    .goog-te-gadget .goog-te-combo + span {
        display: none;
    }
}

.contact-info ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.contact-info ul li {
    margin-right: 20px;
}

.contact-info ul li i {
    margin-right: 5px;
}

.top-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.top-links a {
    color: white;
    margin-left: 20px;
}

.top-links a:hover {
    color: var(--secondary-color);
}

.navbar {
    background-color: var(--primary-color);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand span {
    font-weight: 600;
    color: #fff;
    margin-left: 10px;
    font-size: 18px;
}

.navbar-brand .logo {
    height: 36px;
}

/* Navigation Links */
.navbar .nav-link {
    color: #fff;
    font-weight: 500;
    margin: 0 2px;
    transition: color 0.3s;
    font-size: 13px;
}

.navbar .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--primary-color);
    background-color: white;
}

/* Language selector and login styling */
.navbar .custom-language-select {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    width: 160px;
}

.navbar .custom-language-select option {
    background-color: white;
    color: #333;
}

.navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Login and Register Buttons in Navbar */
.navbar .btn-outline-primary {
    color: white;
    border-color: white;
    background-color: transparent;
}

.navbar .btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.navbar .btn-primary:hover {
    background-color: #fff8e0;
    border-color: #fff8e0;
}

/* Contact Info in Navbar */
.navbar .contact-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.navbar .contact-info span {
    display: inline-block;
    margin-right: 15px;
}

.navbar .contact-info i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* Responsive Navbar Styles */
@media (max-width: 991px) {
    .navbar-nav {
        margin-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 15px;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 5px;
    }
    
    /* Styling for language selector and login button container */
    .navbar .navbar-nav.ms-auto {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .navbar .dropdown, 
    .navbar .nav-item {
        margin-bottom: 10px;
    }
    
    /* Ensure language selector appears above login button on tablet */
    .navbar .nav-item.dropdown {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

/* Mobile and tablet responsive styles */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 15px;
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: var(--primary-color); /* Orange color for better visibility */
        font-weight: 600;
        text-align: left;
    }
    
    /* Ensure mobile menu items are properly spaced and aligned */
    .navbar-nav {
        width: 100%;
        padding: 0;
    }
    
    /* Better tap target sizes */
    .navbar-nav .nav-item {
        margin: 0;
        padding: 0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile language selector */
    #language-selector-mobile {
        width: 100%;
        margin-bottom: 15px;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        font-size: 16px;
    }
    
    /* Mobile login button */
    .d-lg-none .btn-outline-light {
        display: block;
        width: 100%;
        padding: 10px 16px;
        font-size: 16px;
        text-align: center;
        border-width: 2px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('../images/bg-pattern.svg');
    background-size: cover;
    padding: 100px 0;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('../images/wave.svg') no-repeat;
    background-size: cover;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

/* Hero Slider */
.hero-slider {
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-slider .carousel {
    border-radius: 10px;
    overflow: hidden;
}

.hero-slider .carousel-item img {
    border-radius: 10px;
    height: 400px;
    object-fit: cover;
}

.hero-slider .carousel-indicators {
    bottom: 15px;
}

.hero-slider .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 0 5px;
    opacity: 0.7;
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.2);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.hero-slider .carousel-control-prev {
    left: 15px;
}

.hero-slider .carousel-control-next {
    right: 15px;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(30deg);
    width: 20px;
    height: 20px;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-color);
}

.hero-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider .carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(0);
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: url('../images/om-symbol.svg') no-repeat center center;
    background-size: contain;
    z-index: 10;
    opacity: 0.8;
}

/* Features Section */
.features-section {
    position: relative;
}

/* Peacock Illustration for Features Section */
.features-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: url('../images/peacock-illustration.svg') no-repeat;
    background-size: contain;
    opacity: 0.07;
    z-index: 0;
    transform: scaleX(-1);
    pointer-events: none;
}

.features-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: url('../images/peacock-feather.svg') no-repeat;
    background-size: contain;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.feature-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 28px;
    margin: 0 auto 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Recent Profiles */
.recent-profiles {
    padding: 60px 0;
    background-color: #fff8e8;
    position: relative;
    overflow: hidden;
}

/* Indian Bride/Groom Illustration for Recent Profiles */
.recent-profiles::before {
    content: '';
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
    height: 450px;
    background: url('../images/indian-bride-silhouette.svg') no-repeat;
    background-size: contain;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.recent-profiles::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 200px;
    height: 450px;
    background: url('../images/indian-groom-silhouette.svg') no-repeat;
    background-size: contain;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.recent-profiles .row {
    margin: 0 -15px;
    display: flex;
    flex-wrap: wrap;
}

.recent-profiles .col-lg-3 {
    padding: 0 15px;
    margin-bottom: 30px;
}

.profile-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

@media (max-width: 991px) {
    .recent-profiles {
        padding: 40px 0;
    }
    
    .recent-profiles .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .recent-profiles .col-lg-3 {
        width: 100%;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .recent-profiles {
        padding: 30px 0;
    }
    
    .recent-profiles .row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .recent-profiles .col-lg-3 {
        padding: 0 5px;
    }
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile-img {
    flex: 0 0 auto;
    height: 250px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .profile-img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .profile-img {
        height: 150px;
    }
}

.profile-img img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-img img {
    transform: scale(1.05);
}

.profile-info {
    padding: 15px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: #fff;
    gap: 5px;
}

@media (max-width: 991px) {
    .profile-info {
        padding: 12px 10px;
    }
    
    .profile-info h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .profile-info p {
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .profile-info .btn {
        padding: 5px 15px;
        font-size: 14px;
        background-color: #ff6b00;
        border-color: #ff6b00;
        color: white;
        border-radius: 20px;
    }
}

@media (max-width: 576px) {
    .profile-info {
        padding: 10px 5px;
    }
    
    .profile-info h4 {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .profile-info p {
        margin-bottom: 5px;
        font-size: 12px;
        line-height: 1.3;
    }
    
    .profile-info .btn {
        padding: 4px 12px;
        font-size: 12px;
    }
}

.profile-info h4 {
    margin: 5px 0;
    color: #ff6b00;
    font-weight: 600;
    font-size: 18px;
}

.profile-info p {
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
    line-height: 1.3;
}

.profile-info .btn {
    margin-top: 15px;
    padding: 10px;
    font-size: 14px;
    background-color: #ff6b00;
    border-color: #ff6b00;
    color: white;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.profile-card-horizontal .profile-actions .btn-primary {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 119, 34, 0.25);
}

.profile-card-horizontal .profile-actions .btn-primary:hover {
    background-color: #e55f00;
    border-color: #e55f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 119, 34, 0.3);
}

.profile-info .btn:hover {
    background-color: #e55f00;
    border-color: #e55f00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Why Choose  Section */
.feature-card {
    background: linear-gradient(135deg, white, #fff8e8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #ff6b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    margin: 0 auto 20px;
}

.feature-icon i {
    color: white;
    font-size: 1em;
}

.feature-card h3 {
    color: #333;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
}

.feature-card > * {
    max-width: 100%;
}

.feature-card p {
    color: #666;
    text-align: center;
    margin-bottom: 0;
}

/* Featured Profiles Section */
.featured-profiles-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Responsive Featured Profiles Section for Mobile/Tablet */
@media (max-width: 767px) {
    .featured-profiles-section {
        padding: 40px 0;
    }
    
    .featured-profiles-section .section-title h2 {
        font-size: 24px;
    }
    
    /* Adjust background illustrations for better visibility */
    .featured-profiles-section .om-symbol-decoration,
    .featured-profiles-section .radha-krishna-illustration {
        opacity: 0.08;
        width: 100px;
        height: 100px;
    }
    
    /* Allow profile cards to be more visible */
    .profile-card {
        position: relative;
        z-index: 1;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Doli Illustration for Testimonials Section */
.testimonials-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 200px;
    height: 350px;
    background: url('../images/doli-illustration.svg') no-repeat;
    background-size: contain;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('../images/flower-garland.svg') repeat-x;
    background-size: contain;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-box {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-content::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-light);
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.testimonial-author p {
    font-size: 14px;
    margin: 0;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: #fefefe;
    position: relative;
    overflow: hidden;
}

/* Responsive Illustrations - Index Page */
@media (max-width: 991px) {
    /* Tablet View Adjustments */
    .hero-section::before {
        width: 180px;
        height: 180px;
        opacity: 0.15;
    }
    
    .hero-section::after {
        height: 60px;
        opacity: 0.25;
    }
    
    .hero-section .flower-garland-left,
    .hero-section .flower-garland-right {
        width: 70px;
        height: 300px;
        opacity: 0.25;
    }
    
    .hero-section .flower-garland-bottom {
        height: 40px;
        opacity: 0.25;
    }
    
    .success-stories-section::before,
    .success-stories-section::after,
    .featured-profiles-section::before,
    .featured-profiles-section::after,
    .testimonials-section::before,
    .testimonials-section::after {
        width: 150px;
        height: 150px;
        opacity: 0.15;
    }
}

@media (max-width: 767px) {
    /* Mobile View Adjustments */
    .hero-section::before {
        width: 120px;
        height: 120px;
        opacity: 0.10;
        right: -20px;
        bottom: -20px;
    }
    
    .hero-section::after {
        height: 40px;
        opacity: 0.15;
    }
    
    .hero-section .flower-garland-left,
    .hero-section .flower-garland-right {
        display: none; /* Hide vertical garlands on mobile */
    }
    
    .hero-section .flower-garland-bottom {
        height: 30px;
        opacity: 0.15;
    }
    
    .success-stories-section::before,
    .success-stories-section::after,
    .featured-profiles-section::before,
    .featured-profiles-section::after,
    .testimonials-section::before,
    .testimonials-section::after {
        width: 100px;
        height: 100px;
        opacity: 0.10;
    }
    
    /* Fix Radha-Krishna illustrations in sections */
    .featured-profiles-section .radha-krishna-illustration {
        width: 100px;
        height: 100px;
        opacity: 0.10;
    }
    
    /* Ensure section illustrations don't crowd content */
    .section-title {
        position: relative;
        z-index: 2;
    }
}

/* Radha Krishna Illustration for Hero Section */
.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: url('../images/radha-krishna-silhouette.svg') no-repeat;
    background-size: contain;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('../images/flower-string.svg') repeat-x;
    background-size: contain;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

/* Additional Decorative Elements for Hero Section */
.hero-section .flower-garland-left {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    width: 100px;
    height: 400px;
    background: url('../images/flower-garland-vertical.svg') no-repeat;
    background-size: contain;
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-10deg);
}

.hero-section .flower-garland-right {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    width: 100px;
    height: 400px;
    background: url('../images/flower-garland-vertical.svg') no-repeat;
    background-size: contain;
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
    transform: rotate(10deg);
}

.hero-section .flower-garland-bottom {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('../images/flower-garland-horizontal.svg') repeat-x;
    background-size: contain;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

/* Additional section positioning for decorative elements */
.about-section, .team-section, .testimonials-section, .contact-section, .faq-section {
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('../images/flower-strings-horizontal.svg') repeat-x;
    background-size: contain;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('../images/flower-strings-horizontal.svg') repeat-x;
    background-size: contain;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 4%;
    width: 140px;
    height: 240px;
    background: url('../images/indian-bride-silhouette.svg') no-repeat;
    background-size: contain;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 5%;
    right: 2%;
    width: 140px;
    height: 240px;
    background: url('../images/indian-groom-silhouette.svg') no-repeat;
    background-size: contain;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

/* Profile Card Carousel Styles */
.profile-card-horizontal .carousel {
    height: 100%;
}

.profile-card-horizontal .carousel-inner {
    height: 100%;
}

.profile-card-horizontal .carousel-item {
    height: 100%;
}

.profile-card-horizontal .carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-card-horizontal .photo-type-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 119, 34, 0.85);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* String of Flowers for How It Works */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('../images/flowers-string-horizontal.svg') repeat-x;
    background-size: contain;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.how-it-works::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('../images/flowers-string-horizontal.svg') repeat-x;
    background-size: contain;
    opacity: 0.1;
    z-index: 0;
    transform: rotate(180deg);
    pointer-events: none;
}

.how-it-works .section-title h2 {
    color: #ff6b00;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.how-it-works .section-title h2::after {
    /* content: 'ॐ'; */
    position: absolute;
    right: -30px;
    top: -10px;
    font-size: 16px;
    color: #ff6b00;
    opacity: 0.6;
}

/* Desktop Timeline */
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: #ff6b00;
    z-index: 1;
}

.timeline-step {
    text-align: center;
    position: relative;
}

.timeline-icon {
    width: 120px;
    height: 120px;
    background-color: white;
    border: 3px solid #ff6b00;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.timeline-icon i {
    color: #ff6b00;
}

/* Step number styling removed as per design update */

.timeline-step h3 {
    margin-top: 1.5rem;
    color: #ff6b00;
}

.timeline-step p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* Mobile Timeline */
.mobile-timeline {
    position: relative;
}

.mobile-timeline-item {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-vertical-line {
    position: absolute;
    top: 40px;
    bottom: -30px;
    left: 35px;
    width: 2px;
    background-color: #ff6b00;
}

.timeline-icon-mobile {
    width: 70px;
    height: 70px;
    background-color: white;
    border: 2px solid #ff6b00;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.timeline-icon-mobile i {
    color: #ff6b00;
}

.timeline-content-mobile {
    margin-left: 1rem;
}

.timeline-content-mobile h4 {
    color: #ff6b00;
    font-size: 18px;
}

.timeline-content-mobile p {
    font-size: 14px;
}

/* Hide the appropriate timeline based on screen size */
@media (max-width: 767px) {
    .timeline-container {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-timeline {
        display: none;
    }
}

/* Featured Profiles Section */
.featured-profiles-section {
    background-color: #fff8e8;
    position: relative;
}

/* Indian Religious Marriage Theme for Featured Profiles */
.featured-profiles-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 450px;
    background: url('../images/mandap-illustration.svg') no-repeat;
    background-size: contain;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.featured-profiles-section::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 150px;
    height: 250px;
    background: url('../images/kalash-illustration.svg') no-repeat;
    background-size: contain;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

.featured-profiles-section {
    padding: 70px 0 100px;
    background: linear-gradient(135deg, #fff 50%, #fff8e8 50%);
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .featured-profiles-section {
        padding: 40px 0 60px;
        background: linear-gradient(165deg, #fff 40%, #fff8e8 40%);
    }
    
    .featured-profiles-section .section-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .featured-profiles-section {
        background: linear-gradient(170deg, #fff 30%, #fff8e8 30%);
        padding: 30px 0 50px;
    }
}

.title-underline {
    position: absolute;
    width: 60%;
    height: 10px;
    background-color: rgba(255, 107, 0, 0.2);
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.featured-profiles-container {
    height: 580px;
    position: relative;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .featured-profiles-container {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 40px;
        row-gap: 30px;
        padding: 0 20px 30px;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .featured-profiles-container {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }
}

.featured-profile-hexagon {
    position: absolute;
}

@media (max-width: 991px) {
    .featured-profile-hexagon {
        position: static;
        transform: none !important;
        width: 200px;
        margin: 0 15px 30px;
    }
    
    .profile-card-3d {
        margin: 0 auto;
    }
    
    .card-front .profile-info::after {
        background: linear-gradient(transparent, rgba(255, 107, 0, 0.7) 60%, rgba(255, 107, 0, 0.9));
    }
}

@media (max-width: 576px) {
    .featured-profile-hexagon {
        width: 160px;
        margin: 0 5px 15px;
    }
    
    .profile-card-3d {
        width: 160px;
        height: 200px;
    }
    
    .card-front .profile-info {
        text-align: center;
        padding: 12px 10px;
    }
    
    .card-front .profile-info h4 {
        font-size: 20px;
        color: white;
        padding: 5px;
        border-radius: 4px;
        margin-bottom: 3px;
        letter-spacing: 0.5px;
    }
    
    .card-front .profile-info .small {
        font-size: 15px;
        font-weight: bold;
    }
    
    .card-front .profile-info::after {
        background: linear-gradient(transparent, rgba(255, 107, 0, 0.85) 50%, rgba(255, 107, 0, 0.95));
        opacity: 0.95;
    }
}

.profile-card-3d {
    width: 200px;
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.card-front, .card-back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-front {
    overflow: hidden;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-front .profile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 15px;
    color: white;
    text-align: center;
}

.card-front .profile-info h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.card-front .profile-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(transparent, rgba(255, 107, 0, 0.7) 70%, rgba(255, 107, 0, 0.9));
    z-index: 1;
}

.card-front .profile-info * {
    position: relative;
    z-index: 3;
}

.card-front .profile-info .small {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.card-back {
    transform: rotateY(180deg);
    background-color: #ff6b00;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.card-back .btn {
    background-color: white;
    color: #ff6b00;
    margin-top: 10px;
}

.featured-profiles-section .btn-primary {
    background-color: #ff6b00;
    border-color: #ff6b00;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    position: relative;
    z-index: 2;
}

.featured-profile-hexagon:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.featured-profile-hexagon:nth-child(2) {
    top: 150px;
    left: 20%;
}

.featured-profile-hexagon:nth-child(3) {
    top: 150px;
    right: 20%;
}

.featured-profile-hexagon:nth-child(4) {
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.featured-profiles-section .text-center {
    position: relative;
    z-index: 10;
    clear: both;
    padding-top: 20px;
}

@media (max-width: 991px) {
    .featured-profiles-section .text-center {
        margin-top: 10px;
        padding-top: 0;
    }
}

.featured-profiles-section .btn-primary {
    position: relative;
    z-index: 15;
}

/* Quick Search Section */
.quick-search-section {
    padding: 50px 0;
    background-color: var(--secondary-color);
    position: relative;
}

/* String Decoration for Quick Search Section */
.quick-search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: url('../images/string-decoration.svg') repeat-x;
    background-size: contain;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.quick-search-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: url('../images/string-decoration.svg') repeat-x;
    background-size: contain;
    opacity: 0.3;
    transform: rotate(180deg);
    z-index: 1;
    pointer-events: none;
}

/* Success Stories Page */
.success-stories-section {
    padding: 70px 0;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

/* Responsive Success Stories Section */
@media (max-width: 991px) {
    .success-stories-section {
        padding: 50px 0;
    }
    
    .success-stories-section::before {
        width: 150px;
        height: 150px;
        top: -30px;
        right: -30px;
    }
}

@media (max-width: 767px) {
    .success-stories-section {
        padding: 40px 0;
    }
    
    .success-stories-section::before {
        width: 100px;
        height: 100px;
        top: -20px;
        right: -20px;
        opacity: 0.03;
    }
    
    .success-stories-section .section-title h2 {
        font-size: 24px;
        position: relative;
        z-index: 2;
    }
    
    /* Ensure content is above illustrations */
    .success-stories-section .container {
        position: relative;
        z-index: 2;
    }
}

.success-stories.auth-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.matrimony-app .auth-section {
    padding: 40px 0 80px; /* Adjusted padding for mobile with space for bottom nav */
    padding: 40px 0 80px;
}

.success-stories-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: url('../images/radha-krishna-silhouette.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    top: -50px;
    right: -50px;
    transform: rotate(30deg);
}

.couple-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.matrimony-app .couple-card {
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(255, 106, 0, 0.08);
    margin-bottom: 20px;
}

.couple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 119, 34, 0.15);
}

.couple-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.matrimony-app .couple-image {
    height: 180px;
}

.couple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.couple-card:hover .couple-image img {
    transform: scale(1.05);
}

.couple-info {
    padding: 20px;
    text-align: center;
}

.matrimony-app .couple-info {
    padding: 15px;
}

.couple-info h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.matrimony-app .couple-info h3 {
    font-size: 18px;
    color: #ff6a00;
}

.wedding-date {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 3px 15px;
    background-color: rgba(255, 119, 34, 0.1);
    border-radius: 20px;
}

.matrimony-app .wedding-date {
    font-size: 12px;
    padding: 2px 10px;
    background-color: rgba(255, 106, 0, 0.08);
    color: #666;
}

.quote {
    position: relative;
    padding: 0 15px;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 20px;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
}

.quote p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-left: 20px;
}

.matrimony-app .quote p {
    font-size: 13px;
    margin-left: 15px;
    line-height: 1.4;
}

.submit-story-section {
    padding: 50px 0;
}

.matrimony-app .submit-story-section {
    padding: 30px 0 80px; /* Added bottom padding for mobile nav */
}

.submit-story-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 40px;
    border-radius: 10px;
    color: white;
    position: relative;
    overflow: hidden;
}

.matrimony-app .submit-story-box {
    padding: 25px 20px;
    background: linear-gradient(135deg, #ff8f3e 0%, #ff6a00 100%);
    border-radius: 8px;
    text-align: center;
}

.submit-story-box::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: url('../images/om-symbol.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    bottom: -30px;
    right: -30px;
    transform: rotate(15deg);
}

.submit-story-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.matrimony-app .submit-story-box h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.submit-story-box p {
    opacity: 0.9;
    margin-bottom: 0;
}

.submit-story-box .btn {
    background-color: white;
    color: var(--primary-dark);
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.matrimony-app .submit-story-box .btn {
    margin-top: 15px;
    padding: 8px 20px;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.submit-story-box .btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #222;
    color: #eee;
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: #333;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #eee;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
}

.copyright-text {
    margin: 0;
    font-size: 14px;
}

/* App-specific styling */
.matrimony-app {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 991px) {
    .matrimony-app .hero-section,
    .matrimony-app .features-section,
    .matrimony-app .featured-profiles-section,
    .matrimony-app .testimonials-section,
    .matrimony-app .how-it-works {
        padding: 30px 0;
    }
    
    .matrimony-app .section-title {
        margin-bottom: 20px;
    }
    
    .matrimony-app .section-title h2 {
        font-size: 22px;
    }
    
    /* Native app-like scrolling */
    .matrimony-app {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Status bar style to mimic mobile apps */
    .matrimony-app:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 0; /* Adjust if you want to show a status bar */
        background-color: #f8f8f8;
        z-index: 1001;
    }
}

/* Mobile Responsiveness - App-like Experience */
@media (max-width: 991px) {
    /* CTA section responsive adjustments */
    .matrimony-app .cta-section {
        padding: 40px 0 60px;
    }
    
    .matrimony-app .cta-box {
        text-align: center;
        padding: 20px 15px;
        background-color: #ff6a00;
        border-radius: 12px;
        color: white;
    }
    
    .matrimony-app .cta-box h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .matrimony-app .cta-box p {
        margin-bottom: 15px;
    }
    
    .matrimony-app .cta-box .btn {
        display: inline-block;
        margin-top: 5px;
        background-color: white;
        color: #ff6a00;
        border: none;
        font-weight: 600;
        padding: 10px 25px;
    }
    
    .matrimony-app .cta-box .btn:hover {
        background-color: #fff8f0;
        color: #ff6a00;
    }
    
    /* About page responsive adjustments - Team section */
    .matrimony-app .team-section {
        padding-top: 5px;
        padding-bottom: 60px;
    }
    
    .matrimony-app .team-section .section-title {
        margin-bottom: 10px;
    }
    
    .matrimony-app .team-section .divider {
        margin-top: 5px;
        position: relative;
        width: 50px;
        height: 2px;
    }
    
    .matrimony-app .team-section .divider span {
        font-size: 16px;
    }
    
    .matrimony-app .team-boxes-wrapper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding-bottom: 10px;
        margin-left: -5px;
        margin-right: -5px;
        margin-top: 15px;
    }
    
    .matrimony-app .team-member {
        margin-bottom: 5px;
        height: auto;
        border-radius: 8px;
        border: 1px solid #f8f8f8;
        background-color: #fcfcfc;
    }
    
    .matrimony-app .team-member .member-image {
        margin: 0;
        padding: 0;
        height: 85px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .matrimony-app .team-member .member-image img {
        height: 85px;
        width: 100%;
        object-fit: cover;
        object-position: top;
    }
    
    .matrimony-app .team-member .member-info {
        padding: 3px 0;
        background-color: #fff;
        text-align: center;
    }
    
    .matrimony-app .team-member .member-info h4 {
        font-size: 11px;
        margin: 0;
        line-height: 1.1;
        color: #e86b21;
    }
    
    .matrimony-app .team-member .member-info span {
        font-size: 9px;
        line-height: 1;
        margin: 0;
        display: block;
        color: #666;
    }
    
    .matrimony-app .team-member .social-links {
        margin-top: 1px;
        margin-bottom: 1px;
    }
    
    .matrimony-app .team-member .social-links a {
        width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 8px;
        margin: 0 1px;
    }
    
    /* Extra small screens */
    @media (max-width: 480px) {
        .matrimony-app .team-boxes-wrapper {
            margin-left: -5px;
            margin-right: -5px;
        }
        
        .matrimony-app .team-member {
            margin-bottom: 3px;
        }
        
        .matrimony-app .team-member .member-image {
            height: 75px;
        }
        
        .matrimony-app .team-member .member-image img {
            height: 75px;
        }
        
        .matrimony-app .team-member .member-info {
            padding: 2px 0;
        }
        
        .matrimony-app .team-member .member-info h4 {
            font-size: 10px;
        }
        
        .matrimony-app .team-member .member-info span {
            font-size: 8px;
        }
        
        .matrimony-app .team-member .social-links {
            margin-top: 0;
            margin-bottom: 0;
        }
        
        .matrimony-app .team-member .social-links a {
            width: 14px;
            height: 14px;
            line-height: 14px;
            font-size: 7px;
            margin: 0;
        }
    }
    
    /* Search page responsive adjustments */
    .matrimony-app .search-section {
        padding-top: 10px;
        padding-bottom: 80px;
    }
    
    .matrimony-app .search-box {
        margin-bottom: 20px;
    }
    
    .matrimony-app .search-box h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .matrimony-app .search-filters {
        padding: 10px;
    }
    
    .matrimony-app .search-filters label {
        font-size: 14px;
    }
    
    .matrimony-app .search-filters .form-check-label {
        font-size: 13px;
    }
    
    .matrimony-app .search-filters .form-select,
    .matrimony-app .search-filters .form-control {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .matrimony-app .search-filters .btn {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .matrimony-app .search-section .btn-primary {
        background-color: #ff6a00;
        border-color: #ff6a00;
    }
    
    .matrimony-app .filter-btn {
        border-radius: 6px;
        padding: 6px 12px;
        font-size: 13px;
        position: relative;
        top: 5px;
        right: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .matrimony-app .search-section .btn-primary:hover {
        background-color: #e86b21;
        border-color: #e86b21;
    }
    
    /* Modal Filter Styling */
    .matrimony-app .modal-content {
        border: none;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .matrimony-app .modal-header {
        background-color: #ff6a00;
        color: white;
        border-bottom: none;
        padding: 15px 20px;
    }
    
    .matrimony-app .modal-title {
        font-weight: 600;
        font-size: 18px;
    }
    
    .matrimony-app .modal-header .btn-close {
        color: white;
        filter: brightness(0) invert(1);
        opacity: 1;
    }
    
    .matrimony-app .modal-body {
        background-color: #fff9e6;
        padding: 20px;
    }
    
    .matrimony-app .modal-footer {
        background-color: #fff9e6;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .matrimony-app .modal-footer .btn-secondary {
        background-color: #f8f8f8;
        color: #666;
        border: 1px solid #ddd;
    }
    
    .matrimony-app .modal-footer .btn-primary {
        background-color: #ff6a00;
        border-color: #ff6a00;
    }
    
    .matrimony-app #searchResults {
        margin-bottom: 60px;
    }
    
    .matrimony-app #searchResults img {
        margin-bottom: 10px;
    }
    
    .matrimony-app #searchResults h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #e86b21;
    }
    
    .matrimony-app #searchResults p {
        font-size: 14px;
    }
    
    /* Search Results and Profile Cards */
    .matrimony-app .profile-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 15px;
        margin-bottom: 15px;
        border: 1px solid #f5f5f5;
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .matrimony-app .profile-img {
        margin-bottom: 10px;
        text-align: center;
    }
    
    .matrimony-app .profile-img img {
        border-radius: 8px;
        max-width: 100%;
        height: auto;
        display: inline-block;
    }
    
    .matrimony-app .profile-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .matrimony-app .profile-info h4 {
        color: #fff;
        font-size: 16px;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .matrimony-app .search-section .profile-info h4 {
        color: #666;
    }
    
    .matrimony-app .recent-profiles .profile-info h4 {
        color: #666;
    }
    
    .matrimony-app .profile-info p {
        font-size: 12px;
        margin-bottom: 4px;
        color: #666;
        line-height: 1.3;
    }
    
    .matrimony-app .profile-info .btn {
        margin-top: auto;
        background-color: #ff6a00;
        border-color: #ff6a00;
    }
    
    .matrimony-app .profile-details .btn-primary {
        background-color: #ff6a00;
        border-color: #ff6a00;
        font-size: 12px;
        padding: 4px 10px;
    }
    
    /* Search results title styling */
    .matrimony-app .search-title {
        color: #ff6a00;
        font-size: 20px;
        margin-bottom: 0;
        font-weight: 600;
    }
    
    .matrimony-app .results-count {
        color: #666;
        font-size: 15px;
        font-weight: normal;
    }
    
    /* Additional profile card styling */
    .matrimony-app .profile-card {
        transition: all 0.2s ease;
    }
    
    .matrimony-app .profile-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Profile Detail Page Responsive Styles */
    .matrimony-app .profile-header .profile-main-image {
        max-width: 200px;
        margin: 0 auto;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 3px solid #ff6a00;
    }
    
    .matrimony-app .profile-header .profile-name h2 {
        color: #ff6a00;
        margin-top: 15px;
        font-weight: 600;
    }
    
    .matrimony-app .profile-header .profile-name p {
        color: #666;
        font-size: 14px;
    }
    
    .matrimony-app .profile-actions .btn {
        margin: 5px;
        border-radius: 30px;
        transition: all 0.2s ease;
    }
    
    .matrimony-app .profile-info-box {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .matrimony-app .profile-info-box h3 {
        color: #ff6a00;
        font-size: 18px;
        margin-bottom: 15px;
        border-bottom: 1px solid #f3f3f3;
        padding-bottom: 10px;
    }
    
    .matrimony-app .info-list li {
        display: flex;
        margin-bottom: 10px;
        border-bottom: 1px dashed #f3f3f3;
        padding-bottom: 10px;
    }
    
    .matrimony-app .info-label {
        font-weight: 600;
        color: #333;
        min-width: 120px;
    }
    
    .matrimony-app .info-value {
        color: #666;
    }
    
    .matrimony-app .gallery-item {
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 15px;
        height: 100px;
    }
    
    .matrimony-app .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .matrimony-app .blur-gallery {
        position: relative;
    }
    
    .matrimony-app .blur-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .matrimony-app .similar-profile-item {
        background: #f9f9f9;
        border-radius: 8px;
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .matrimony-app .similar-profile-item h5 {
        font-size: 16px;
        margin-bottom: 5px;
        color: #ff6a00;
    }
    
    .matrimony-app .blurred-content {
        background: #f9f9f9;
        border-radius: 8px;
        padding: 15px;
        position: relative;
    }
    
    /* Mobile specific styles for profile detail page */
    @media (max-width: 767px) {
        .matrimony-app .profile-header {
            padding: 20px 0;
        }
        
        .matrimony-app .profile-header .profile-main-image {
            max-width: 150px;
        }
        
        .matrimony-app .profile-header .profile-name h2 {
            font-size: 22px;
        }
        
        .matrimony-app .profile-actions .btn {
            padding: 8px 15px;
            font-size: 14px;
        }
        
        .matrimony-app .profile-actions .btn .action-text {
            display: none;
        }
        
        .matrimony-app .profile-info-box {
            padding: 15px;
            margin-bottom: 15px;
        }
        
        .matrimony-app .info-list li {
            flex-direction: column;
        }
        
        .matrimony-app .info-label {
            margin-bottom: 5px;
            color: #ff6a00;
        }
        
        .matrimony-app .gallery-item {
            height: 80px;
        }
    }
    
    /* Mobile specific profile card styles */
    @media (max-width: 767px) {
        .matrimony-app .profile-card {
            margin-bottom: 15px;
        }
        
        .matrimony-app .profile-card .profile-img img {
            height: 120px;
        }
        
        .matrimony-app .profile-info h4 {
            font-size: 14px;
            margin-bottom: 3px;
        }
        
        .matrimony-app .profile-info p {
            font-size: 12px;
            margin-bottom: 3px;
        }
        
        .matrimony-app .profile-info .btn {
            font-size: 12px;
            padding: 3px 8px;
        }
        
        /* Additional mobile styles for profile detail page */
        .matrimony-app .similar-profile-item h5 {
            font-size: 14px;
        }
        
        .matrimony-app .similar-profile-item p {
            font-size: 12px;
            margin-bottom: 5px;
        }
        
        .matrimony-app .similar-profile-item .btn {
            font-size: 11px;
            padding: 2px 7px;
        }
        
        .matrimony-app .profile-detail {
            padding: 20px 0 80px; /* Add bottom padding to account for mobile nav */
        }
        
        .matrimony-app .footer-widget h3 {
            font-size: 18px;
        }
        
        .matrimony-app .profile-main-image {
            position: relative;
        }
        
        .matrimony-app .profile-main-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 4px solid rgba(255, 106, 0, 0.2);
            border-radius: 10px;
        }
    }
    
   
    
    /* About page responsive adjustments */
    /* Reverse about section order on mobile */
    .matrimony-app .about-section .row.align-items-center {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .matrimony-app .about-section .about-content {
        text-align: center;
        padding: 20px 15px 0;
    }
    
    .matrimony-app .about-section .about-content .section-title {
        text-align: center;
    }
    
    .matrimony-app .about-section .divider {
        margin: 5px auto !important;
    }
    
    .matrimony-app .about-image {
        margin-bottom: 20px;
    }
    
    /* Make mission and values sections horizontally scrollable while keeping headings fixed */
    .matrimony-app .about-section .row.mb-5 {
        margin-bottom: 15px !important;
        display: block; /* Reset flex for the main row */
    }
    
    /* Create a separate scrollable row for the content only */
    .matrimony-app .about-section .mission-boxes-wrapper,
    .matrimony-app .about-section .values-boxes-wrapper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding-bottom: 10px;
        margin-left: -5px;
        margin-right: -5px;
        margin-top: 15px;
    }
    
    .matrimony-app .about-section .mission-boxes-wrapper::-webkit-scrollbar,
    .matrimony-app .about-section .values-boxes-wrapper::-webkit-scrollbar,
    .matrimony-app .team-boxes-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .matrimony-app .about-section .col-md-6,
    .matrimony-app .about-section .col-md-3 {
        flex: 0 0 auto;
        padding: 0 5px;
    }
    
    .matrimony-app .about-section .col-md-6 {
        width: 270px;
    }
    
    .matrimony-app .about-section .col-md-3 {
        width: 200px;
    }
    
    .matrimony-app .mission-box,
    .matrimony-app .value-box {
        margin-bottom: 15px;
        padding: 15px 10px;
        height: 100%;
    }
    
    .matrimony-app .mission-box h3,
    .matrimony-app .value-box h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .matrimony-app .mission-box p,
    .matrimony-app .value-box p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .matrimony-app .page-header {
        padding: 30px 0 20px;
    }
    
    .matrimony-app .about-section {
        padding-top: 5px;
        padding-bottom: 60px;
    }
    
    .matrimony-app .about-section .section-title {
        margin-bottom: 10px;
    }
    /* Reorder hero section elements on mobile */
    .hero-section .row {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .hero-section .col-lg-6 {
        width: 100%;
    }
    
    .hero-section .hero-content {
        text-align: center;
        padding: 20px 15px 30px;
    }
    
    .hero-section .hero-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .hero-section .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .hero-section .hero-buttons {
        justify-content: center;
    }
    
    .hero-section .hero-slider {
        margin-bottom: 0;
        border-radius: 0 0 10px 10px;
    }
    
    /* Header modifications for mobile */
    .top-bar {
        display: none; /* Hide top bar on mobile */
    }
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        text-align: left;
    }
    
    .navbar-brand span {
        display: block; /* Show brand text along with logo */
        font-size: 16px;
        margin-left: 8px;
        white-space: nowrap;
    }
    
    .navbar-brand img {
        height: 30px;
        margin: 0;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        z-index: 999;
        transition: all 0.3s ease;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        padding: 20px;
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        left: 0;
    }
    
    .navbar-nav {
        margin-top: 20px;
    }
    
    .nav-item {
        margin-bottom: 15px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
        display: block;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
    }
    
    .mobile-menu-overlay.show {
        display: block;
    }
    
    /* Body padding for fixed header */
    body {
        padding-top: 60px;
    }
    
    /* Footer modifications for mobile */
    footer {
        display: none; /* Hide footer on mobile */
    }
    
    /* Mobile navigation drawer */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: white;
        display: none !important;
        box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 8px 0 5px;
        border-top: 1px solid #f0f0f0;
    }
    
    @media (max-width: 991px) {
        .mobile-bottom-nav {
            display: flex !important;
            justify-content: space-between;
        }
    }
    
    .mobile-nav-item {
        flex: 1;
        text-align: center;
        padding: 0;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav-item i {
        font-size: 18px;
        color: #666;
        display: block;
        margin-bottom: 2px;
    }
    
    .mobile-nav-item.active i {
        color: #ff6a00;
    }
    
    .mobile-nav-item span {
        font-size: 10px;
        display: block;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        padding: 0 2px;
    }
    
    /* Mobile Language Toggle Styles */
    .mobile-nav-item.language-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    
    .mobile-lang-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background: #fff;
        border-radius: 15px;
        border: 1px solid var(--primary-color);
        padding: 2px;
        margin-bottom: 2px;
        overflow: hidden;
    }
    
    .mobile-lang-btn {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        margin: 0;
        border: none;
        background: white;
        color: #ff7722;
        font-weight: bold;
        font-size: 11px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .mobile-lang-btn.active {
        background: #ff7722;
        color: white;
    }
    
    .mobile-lang-buttons button:first-child {
        margin-right: 1px;
    }
    
    .mobile-lang-buttons button:last-child {
        margin-left: 1px;
    }
    
    .mobile-nav-item.active span {
        color: #ff6a00;
    }
    
    /* Content modifications for mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    /* Grid adjustments for mobile */
    .profile-card {
        margin-bottom: 20px;
    }
    
    /* Adjustments for other sections */
    .feature-box,
    .about-image,
    .step-box,
    .testimonial-box {
        margin-bottom: 20px;
    }
    
    /* Add bottom padding to account for mobile nav */
    main {
        padding-bottom: 60px;
    }
    
    /* Adjust How It Works section spacing */
    .matrimony-app .how-it-works {
        padding-top: 5px;
        padding-bottom: 80px;
        margin-bottom: 0;
    }
    
    /* Reduce How It Works section title spacing */
    .matrimony-app .how-it-works .section-title {
        margin-bottom: 10px;
    }
    
    .matrimony-app .how-it-works .divider {
        margin-top: 5px;
        position: relative;
        width: 50px;
        height: 2px;
    }
    
    .matrimony-app .how-it-works .divider span {
        font-size: 16px;
    }
    
    /* Ensure the steps-row has enough bottom space */
    .matrimony-app .steps-row {
        margin-bottom: 10px;
    }
    
    /* Hide non-essential sections on mobile */
    .matrimony-app .secondary-section {
        display: none;
    }
    
    
    /* Reduce section title spacing */
    .matrimony-app .recent-profiles .section-title {
        margin-bottom: 10px;
    }
    
    .matrimony-app .recent-profiles .divider {
        margin-top: 5px;
        position: relative;
        width: 50px;
        height: 2px;
    }
    
    .matrimony-app .recent-profiles .divider span {
        font-size: 16px;
    }
    
    .matrimony-app .recent-profiles .text-center.mt-4 {
        margin-top: 10px !important;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .matrimony-app .recent-profiles .btn.btn-primary {
        margin-bottom: 0;
    }
    
    /* Simplify testimonials on mobile */
    .matrimony-app .testimonial-box {
        padding: 12px;
        margin-bottom: 10px;
        height: auto;
    }
    
    .matrimony-app .testimonial-content {
        margin-bottom: 10px;
    }
    
    .matrimony-app .testimonial-content p {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    .matrimony-app .testimonial-author {
        align-items: center;
    }
    
    .matrimony-app .testimonial-author img {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    
    .matrimony-app .testimonial-author h4 {
        font-size: 13px;
        margin-bottom: 0;
    }
    
    .matrimony-app .testimonial-author p {
        font-size: 11px;
        margin-bottom: 0;
    }
    
    
    /* Reduce testimonials section title spacing */
    .matrimony-app .testimonials-section .section-title {
        margin-bottom: 10px;
    }
    
    .matrimony-app .testimonials-section .divider {
        margin-top: 5px;
        position: relative;
        width: 50px;
        height: 2px;
    }
    
    .matrimony-app .testimonials-section .divider span {
        font-size: 16px;
    }
    
    /* Fix button spacing */
    .matrimony-app .testimonials-section .text-center.mt-4 {
        margin-top: 10px !important;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .matrimony-app .testimonials-section .btn.btn-primary {
        margin-bottom: 0;
    }
    
    /* How it works mobile styles */
    .matrimony-app .step-box {
        padding: 15px 8px;
        margin-bottom: 15px;
    }
    
    .matrimony-app .step-box .step-icon i {
        font-size: 20px;
    }
    
    .matrimony-app .step-box h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .matrimony-app .step-box h3::after {
        margin: 3px auto 0;
    }
    
    .matrimony-app .step-box p {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    /* Horizontal scrollable rows for mobile */
    .matrimony-app .steps-row,
    .matrimony-app .stories-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding-bottom: 15px;
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .matrimony-app .steps-row::-webkit-scrollbar,
    .matrimony-app .stories-row::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .matrimony-app .step-col {
        flex: 0 0 auto;
        width: 160px;
        padding: 0 5px;
    }
    
    .matrimony-app .story-col {
        flex: 0 0 auto;
        width: 270px;
        padding: 0 5px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    /* Adjustments for horizontal scrolling on tiny screens */
    .matrimony-app .step-col {
        width: 140px;
    }
    
    .matrimony-app .step-box {
        padding: 12px 5px;
    }
    
    .matrimony-app .step-box .step-number {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
        top: -10px;
    }
    
    .matrimony-app .step-box .step-icon i {
        font-size: 16px;
    }
    
    .matrimony-app .step-box h3 {
        font-size: 12px;
        margin-top: 5px;
        margin-bottom: 3px;
    }
    
    .matrimony-app .step-box p {
        font-size: 10px;
        line-height: 1.2;
        margin-bottom: 0;
    }
    
    .profile-img img {
        height: 100px;
    }
    
    .profile-info h4 {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .profile-info p {
        font-size: 10px;
        margin-bottom: 3px;
    }
    
    .profile-info .btn {
        padding: 2px 6px;
        font-size: 10px;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .feature-box h3,
    .step-box h3 {
        font-size: 18px;
    }
    
    /* Mobile specific profile card styles */
    .profile-info {
        padding: 10px;
        text-align: center;
    }
    
    .profile-info h4 {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .profile-info p {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .profile-info .btn {
        padding: 3px 8px;
        font-size: 11px;
        margin-top: 5px;
    }
    
    .profile-img {
        height: auto;
    }
    
    .profile-img img {
        height: 120px;
        object-fit: cover;
    }
    
    .profile-card {
        margin-bottom: 15px;
    }
    
    .profile-info {
        padding: 8px;
    }
}

@media (max-width: 767px) {
    .top-bar .contact-info,
    .top-bar .top-links {
        text-align: right;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .top-bar .top-links {
        margin-top: 10px;
    }
    
    .contact-info ul {
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .footer-widget h3 {
        margin-top: 20px;
    }
}

/* Page Header & Breadcrumb */
.page-header {
    background: linear-gradient(rgba(255, 119, 34, 0.05), rgba(255, 119, 34, 0.1));
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 119, 34, 0.2);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 20px;
    width: 230px;
    height: 267px;
    background: url('../images/om-symbol.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.35;
    z-index: 1;
    filter: drop-shadow(0 0 5px rgba(255, 119, 34, 0.3));
    transition: all 0.3s ease;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 250px;
    height: 250px;
    background: url('../images/radha-krishna-silhouette.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.40;
    z-index: 1;
    filter: drop-shadow(0 0 5px rgba(255, 119, 34, 0.3));
    transition: all 0.3s ease;
}

.page-title {
    color: var(--primary-dark);
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Page Header Responsive Adjustments */
@media (max-width: 991px) {
    /* Tablet view adjustments */
    .page-header::before {
        width: 180px;
        height: 210px;
        top: -20px;
        right: 10px;
        opacity: 0.2;
    }
    
    .page-header::after {
        width: 200px;
        height: 200px;
        bottom: -20px;
        left: 10px;
        opacity: 0.2;
    }
}

@media (max-width: 767px) {
    /* Mobile view adjustments */
    .page-header {
        padding: 30px 0;
        background-size: 200%;
    }
    
    .page-header::before {
        width: 120px;
        height: 140px;
        top: -10px;
        right: 5px;
        opacity: 0.15;
    }
    
    .page-header::after {
        width: 120px;
        height: 120px;
        bottom: -10px;
        left: 5px;
        opacity: 0.15;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-title::after {
        width: 60px;
    }
}

.breadcrumb {
    margin: 20px 10px 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb .divider {
    margin: 0 10px;
    color: #999;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.breadcrumb .divider::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--primary-color);
}

.breadcrumb .active {
    color: #555;
    font-weight: 500;
}

/* Registration and Login Forms */
.auth-section {
    background-color: var(--secondary-color);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

/* Form elements styling for mobile */
.matrimony-app .form-control, 
.matrimony-app .form-select {
    border: 1px solid rgba(255, 126, 0, 0.2);
    border-radius: 6px;
    padding: 10px 15px;
    background-color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    color: #333;
}

.matrimony-app .form-control:focus,
.matrimony-app .form-select:focus {
    border-color: #ff7e00;
    background-color: #fffaf5;
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.15);
}

.matrimony-app .form-check-input:checked {
    background-color: #ff7e00;
    border-color: #ff7e00;
}

.matrimony-app .auth-section {
    padding-bottom: 70px; /* Added bottom padding for mobile navigation */
    min-height: calc(100vh - 270px);
}

.auth-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 40px 0;
}

.matrimony-app .auth-box {
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin: 20px 0 60px; /* Added bottom margin for mobile nav */
}

.auth-box h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.auth-box .form-group {
    margin-bottom: 20px;
}

.auth-box label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.auth-box .form-control {
    height: 45px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.matrimony-app .toggle-password {
    background-color: #fff8f0;
    border: 1px solid rgba(255, 126, 0, 0.2);
    color: #ff7e00;
    transition: all 0.3s ease;
}

.matrimony-app .toggle-password:hover {
    background-color: #fff0e0;
    color: #ff5100;
}

.auth-box .form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
}

.matrimony-app .auth-box .form-control {
    border: 1px solid rgba(255, 126, 0, 0.2);
    border-radius: 6px;
    padding: 10px 15px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.matrimony-app .auth-box .form-control:focus {
    border-color: #ff7e00;
    background-color: #fffaf5;
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.15);
}

.auth-box .form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
}

.auth-box .btn {
    height: 45px;
    width: 100%;
    margin-top: 10px;
}

.auth-submit-btn {
    background: linear-gradient(135deg, #ff7e00, #ff5100) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    padding: 12px 20px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3) !important;
}

.auth-submit-btn:hover,
.auth-submit-btn:focus {
    background: linear-gradient(135deg, #ff5100, #ff7e00) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 123, 0, 0.4) !important;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
}

.matrimony-app .auth-divider::before {
    background: linear-gradient(to right, rgba(255, 126, 0, 0.1), rgba(255, 126, 0, 0.5), rgba(255, 126, 0, 0.1));
    height: 2px;
}

.auth-divider span {
    position: relative;
    background-color: white;
    padding: 0 15px;
    color: #777;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-login .btn {
    width: 50px;
    height: 50px;
    padding: 0;
    line-height: 50px;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.matrimony-app .social-login .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
}

.matrimony-app .social-login .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.social-login .btn-facebook {
    background-color: #3b5998;
    color: white;
}

.social-login .btn-google {
    background-color: #dd4b39;
    color: white;
}

/* Registration Form Multi-step */
.registration-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    flex-wrap: nowrap;
    padding: 20px 10px 10px;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: none;
}

.matrimony-app .registration-steps {
    flex-wrap: wrap;
    justify-content: center;
    padding: 25px 5px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.registration-steps::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: #FF6600;
    border-radius: 0;
}

.registration-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    max-width: 120px;
    margin: 0 5px;
    padding-bottom: 15px;
}

.matrimony-app .step {
    flex: 0 0 auto;
    width: 80px;
    margin: 0 4px;
    padding-bottom: 10px;
}

.step-number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #e0e0e0;
    color: #777;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.matrimony-app .step-number {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step.active .step-number {
    background-color: #00cc00; /* Brighter green color */
    border-color: #00cc00;
    color: white;
    transform: none;
    box-shadow: none;
}

.step.completed .step-number {
    background-color: #FF6600;
    border-color: #FF6600;
    color: white;
}

.step-title {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
    line-height: 1.2;
    font-weight: 500;
}

.matrimony-app .step-title {
    font-size: 10px;
    margin-top: 5px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.step.active .step-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Background styling removed for flatter design */

.step.active .step-title,
.step.completed .step-title {
    color: var(--text-color);
    font-weight: 500;
}

.step-content {
    display: none;
    animation: fadeOut 0.3s ease;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.matrimony-app .step-content {
    padding: 0 5px;
}

.matrimony-app .form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
}

.matrimony-app .form-check-label {
    font-size: 14px;
}

.matrimony-app .alert {
    border-radius: 8px;
    font-size: 14px;
    padding: 15px;
}

.matrimony-app .step-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.matrimony-app .step-buttons {
    margin-top: 20px;
    padding: 0 5px 30px; /* Extra bottom padding for mobile nav */
}

.step-buttons .btn {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.matrimony-app .step-buttons .btn {
    padding: 12px 20px;
    font-size: 14px;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.step-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.matrimony-app .step-buttons .btn-primary,
.matrimony-app .step-buttons .btn-success {
    background: linear-gradient(135deg, #ff7e00, #ff5100);
    border: none;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}

.step-buttons .btn-primary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.matrimony-app .step-buttons .btn-primary:hover,
.matrimony-app .step-buttons .btn-primary:focus,
.matrimony-app .step-buttons .btn-success:hover,
.matrimony-app .step-buttons .btn-success:focus {
    background: linear-gradient(135deg, #ff5100, #ff7e00);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 123, 0, 0.4);
}

.step-buttons .btn-secondary {
    background-color: #f0f0f0;
    border-color: #e0e0e0;
    color: #666;
}

.matrimony-app .step-buttons .btn-secondary {
    background-color: #fff8f0;
    border: 1px solid rgba(255, 126, 0, 0.2);
    color: #ff7e00;
}

.step-buttons .btn-secondary:hover {
    background-color: #e0e0e0;
    color: #333;
    transform: translateY(-2px);
}

.matrimony-app .step-buttons .btn-secondary:hover,
.matrimony-app .step-buttons .btn-secondary:focus {
    background-color: #fff0e0;
    color: #ff5100;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 123, 0, 0.15);
}

/* Pagination Styling */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
}

.pagination .page-link:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    border-color: var(--border-color);
}

/* Profile Search Page */
.search-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.auth-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.auth-box::before {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    background-image: url('../images/om-symbol.svg');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
}

.search-box h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 20px;
}

.search-filters .form-group {
    margin-bottom: 15px;
}

.search-filters label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.search-filters .form-control {
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.search-filters .btn {
    height: 40px;
    min-width: 120px;
}

.search-results .profile-card {
    margin-bottom: 30px;
}

/* Horizontal Profile Card */
.profile-card-horizontal {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 119, 34, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 25px;
    border: none;
    background-color: #fff;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-left: 5px solid var(--primary-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.profile-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 119, 34, 0.2);
    border-left-width: 8px;
}

/* Profile Image Slider */
.profile-card-horizontal .carousel {
    height: 100%;
    border-radius: 15px 0 0 15px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.profile-card-horizontal .carousel-item img {
    height: 100%;
    object-fit: cover;
    min-height: 320px;
    width: 100%;
}

.profile-card-horizontal .carousel-indicators {
    bottom: 10px;
}

.profile-card-horizontal .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 0 3px;
}

.profile-card-horizontal .carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.profile-card-horizontal .row.g-0 {
    height: 100%;
}

.profile-card-horizontal .col-md-5 {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 320px;
}

.profile-card-horizontal .col-md-7 {
    display: flex;
    flex-direction: column;
}

.profile-card-horizontal .carousel-control-prev,
.profile-card-horizontal .carousel-control-next {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.profile-card-horizontal .carousel-control-prev {
    left: 10px;
}

.profile-card-horizontal .carousel-control-next {
    right: 10px;
}

.profile-card-horizontal .carousel-control-prev-icon,
.profile-card-horizontal .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(175deg);
}

/* Profile Details */
.profile-card-horizontal .card-body {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #fff9f0, #fff);
}

.profile-card-horizontal .card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.profile-card-horizontal .card-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.profile-card-horizontal .profile-basic-info {
    margin-bottom: 15px;
    padding-top: 5px;
}

.profile-card-horizontal .profile-basic-info p {
    margin-bottom: 8px;
    line-height: 1.4;
    position: relative;
    padding-left: 5px;
    border-left: 2px solid rgba(255, 119, 34, 0.3);
    transition: all 0.2s ease;
}

.profile-card-horizontal .profile-basic-info p:hover {
    border-left: 2px solid var(--primary-color);
}

.profile-card-horizontal .card-text {
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

.profile-card-horizontal .card-text strong {
    color: #333;
    font-weight: 600;
}

.profile-card-horizontal .verification-badge {
    color: var(--success-color);
    font-weight: 500;
    margin-left: 5px;
    position: relative;
    padding-bottom: 2px;
}

.profile-card-horizontal .verification-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--success-color);
    opacity: 0.5;
}

/* Profile Views with Eye Icon */
.profile-views {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 119, 34, 0.12);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-left: auto;
    box-shadow: 0 3px 8px rgba(255, 119, 34, 0.1);
}

.profile-views i {
    margin-right: 5px;
}

/* Profile Actions */
.profile-card-horizontal .profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.profile-card-horizontal .profile-actions .btn {
    font-size: 14px;
    padding: 8px 15px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .profile-card-horizontal .carousel {
        border-radius: 10px 10px 0 0;
    }
    
    .profile-card-horizontal .carousel-item img {
        min-height: 250px;
    }
    
    .profile-card-horizontal .card-body {
        padding: 15px;
    }
    
    .profile-card-horizontal .profile-actions {
        flex-direction: column;
    }
    
    .profile-card-horizontal .profile-actions .btn {
        width: 100%;
    }
}

/* Profile Detail Page */
.profile-detail {
    padding: 80px 0;
}

.profile-header {
    background-color: var(--secondary-color);
    padding: 40px 0;
    margin-bottom: 50px;
}

.profile-main-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    text-align: center;
    margin-bottom: 30px;
}

.profile-name h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.profile-name p {
    font-size: 16px;
    color: #777;
}

.profile-actions {
    text-align: center;
    margin-bottom: 20px;
}

.profile-actions .btn {
    margin: 0 5px 10px;
}

.profile-info-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.profile-info-box h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.info-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.info-list li {
    display: flex;
    margin-bottom: 15px;
}

.info-list li .info-label {
    width: 140px;
    font-weight: 500;
    color: #555;
}

.info-list li .info-value {
    flex: 1;
}

.profile-gallery {
    margin-top: 20px;
}

.gallery-item {
    height: 150px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

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

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

/* Contact Page */
.contact-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.matrimony-app .contact-section {
    padding: 40px 0 80px; /* Adjusted padding for mobile with space for bottom nav */
}

.contact-info-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.matrimony-app .contact-info-box {
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(255, 106, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.matrimony-app .contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255, 106, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 28px;
    margin: 0 auto 20px;
}

.matrimony-app .contact-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #ff8f3e 0%, #ff6a00 100%);
    box-shadow: 0 4px 8px rgba(255, 106, 0, 0.2);
}

.contact-info-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.matrimony-app .contact-form {
    border-radius: 8px;
    padding: 20px 15px;
    box-shadow: 0 3px 12px rgba(255, 106, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form h3 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.matrimony-app .contact-form h3 {
    color: #ff6a00;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.matrimony-app .contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #ff8f3e, #ff6a00);
}

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

.contact-form label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.matrimony-app .contact-form label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.contact-form .form-control {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: none;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .contact-form .form-control {
        height: 40px;
        padding: 0 10px;
    }
}

.matrimony-app .contact-form .form-control {
    height: 42px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    transition: all 0.3s ease;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .matrimony-app .contact-form .form-control {
        height: 38px;
        padding: 0 10px;
    }
}

.contact-form textarea.form-control {
    height: 120px;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .contact-form textarea.form-control {
        height: 100px;
        padding: 10px;
    }
}

.matrimony-app .contact-form textarea.form-control {
    height: 100px;
    padding: 10px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .matrimony-app .contact-form textarea.form-control {
        height: 80px;
        padding: 5px;
    }
}

.contact-form .btn {
    height: 45px;
    min-width: 150px;
}

/* Responsive map styling */
.matrimony-app .contact-map iframe {
    height: 250px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Responsive contact form button */
.matrimony-app .contact-form .btn-primary {
    background: linear-gradient(135deg, #ff8f3e 0%, #ff6a00 100%);
    border: none;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(255, 106, 0, 0.2);
    transition: all 0.3s ease;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.matrimony-app .contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 106, 0, 0.3);
}

/* FAQ section responsive styling */
.matrimony-app .faq-section {
    padding-bottom: 80px; /* Add bottom padding for mobile nav */
}

.matrimony-app .faq-section h3 {
    color: #ff6a00;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.matrimony-app .faq-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #ff8f3e, #ff6a00);
}

.matrimony-app .accordion-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 106, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.matrimony-app .accordion-button {
    padding: 15px;
    font-weight: 500;
    font-size: 15px;
    color: #444;
    background-color: #fff;
}

.matrimony-app .accordion-button:not(.collapsed) {
    color: #ff6a00;
    background-color: rgba(255, 106, 0, 0.03);
    box-shadow: none;
}

.matrimony-app .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 106, 0, 0.1);
}

.matrimony-app .accordion-button::after {
    color: #ff6a00;
}

.matrimony-app .accordion-body {
    padding: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    background-color: rgba(255, 245, 235, 0.2);
}

/* Hindu Religious Elements */
.om-symbol {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('../images/om-symbol.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* Fix for Om symbol illustrations in mobile view */
@media (max-width: 767px) {
    /* Om Symbol Decorations in Background */
    [class*="om-symbol-decoration"] {
        opacity: 0.05 !important;
        width: 80px !important;
        height: 80px !important;
    }
    
    /* Section backgrounds with illustrations */
    .section-bg-illustration {
        opacity: 0.08;
    }
    
    /* Featured Profiles Religious Elements */
    .featured-profiles-section [class*="-illustration"],
    .featured-profiles-section [class*="-decoration"],
    .success-stories-section [class*="-illustration"],
    .success-stories-section [class*="-decoration"] {
        opacity: 0.05 !important;
        transform: scale(0.6);
    }
}

.religious-pattern {
    background-image: url('../images/radha-krishna-silhouette.svg');
    background-size: contain;
    opacity: 0.40;
    position: absolute;
    width: 300px;
    height: 300px;
    z-index: -1;
}

@media (max-width: 991px) {
    .religious-pattern {
        width: 200px;
        height: 200px;
        opacity: 0.20;
    }
}

@media (max-width: 767px) {
    .religious-pattern {
        width: 120px;
        height: 120px;
        opacity: 0.08;
    }
}

.matrimony-app .religious-pattern {
    width: 200px;
    height: 200px;
    opacity: 0.08;
}

.religious-pattern.top-right {
    top: 0;
    right: 0;
}

.religious-pattern.bottom-left {
    bottom: 0;
    left: 0;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
button.btn.btn-outline-warning.save-draft-btn {
    min-width: 170px;
    margin-right: 5px;
}

/* Readonly/Disabled birth detail fields styling */
.form-control[readonly],
.form-control[disabled],
.form-select[disabled] {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.form-control[readonly]:focus,
.form-control[disabled]:focus,
.form-select[disabled]:focus {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    box-shadow: none !important;
}

/* Additional styling for disabled inputs */
.form-control[disabled] {
    pointer-events: none;
}

.form-control[readonly][disabled] {
    background-color: #e9ecef !important;
    opacity: 0.7;
}

/* Lock icon styling for birth details */
.text-warning .fas.fa-lock {
    color: #ff6b35 !important;
}

/* Birth details warning alert */
.alert-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #664d03;
}

.alert-warning .fas.fa-exclamation-triangle {
    color: #ff6b35;
}