/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1, .logo-icon {
    color: #fff;
}

.logo-icon {
    filter: drop-shadow(0 0 2px #fff);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e91e63;
}

/* Modern header styles */
.modern-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 32px 10px 18px;
    background: linear-gradient(135deg, #dc2626 0%, #1f2937 100%);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.04);
    position: relative;
    z-index: 50;
    margin-bottom: 0;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    font-size: 38px;
    color: #dc2626;
    margin-right: 2px;
    line-height: 1;
}
.logo-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #333;
}
.logo-text .lagan {
    color: #dc2626;
}
.logo-text .marriage {
    color: #ff6b35;
}
.main-nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
    align-items: center;
    margin: 0;
}
.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}
.main-nav ul li a.active,
.main-nav ul li a:hover {
    color: #dc2626;
    border-bottom: 2px solid #dc2626;
}
.main-nav ul li a.active::after,
.main-nav ul li a:hover::after {
    content: '';
    display: block;
    height: 2.5px;
    width: 24px;
    background: linear-gradient(90deg,#dc2626,#1f2937);
    border-radius: 2px;
    margin: 2px auto 0 auto;
}
.nav-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 4px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-header {
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    color: #fff;
    background: #e91e63;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(233,30,99,0.07);
}
.btn-header.signup {
    background: linear-gradient(135deg, #dc2626, #1f2937);
    color: white;
}
.btn-header.login {
    background: #e91e63;
}
.btn-header.login {
    border: 2px solid #dc2626;
    color: #dc2626;
}
.btn-header.login:hover {
    background: #dc2626;
    color: white;
}
.btn-header:hover {
    background: #b721ff;
}
.search-btn {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    margin-right: 6px;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}
.search-btn:hover svg circle,
.search-btn:hover svg line {
    stroke: #dc2626;
}

/* Banner slider styles */
.banner-slider {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: 400px;
    margin-top: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #dc2626 0%, #1f2937 100%);
}
.banner-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s;
    z-index: 1;
}
.banner-slide.active {
    opacity: 1;
    z-index: 2;
}
.banner-overlay {
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.35) 30%, rgba(255,255,255,0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-content {
    color: #fff;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s both;
}
.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* Matrimony form card styles */
.matrimony-form-card {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 18px;
    padding: 0;
    width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* Hide form when banner is not visible */
.banner-slider:not(.in-view) .matrimony-form-card {
    display: none;
}

.form-header {
    background: #28a745;
    color: white;
    padding: 18px 20px;
    text-align: center;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.form-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
}

.form-body {
    padding: 24px 22px 18px 22px;
    background: #fff;
}

.form-body h3 {
    text-align: center;
    color: #222;
    font-size: 17px;
    margin-bottom: 18px;
    font-weight: 600;
}

.quick-register-form .form-group {
    margin-bottom: 13px;
}

.quick-register-form select,
.quick-register-form input {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid #ddd;
    border-radius: 7px;
    font-size: 15px;
    box-sizing: border-box;
    background: #f7f7f7;
    color: #222;
    outline: none;
    transition: border 0.2s;
}

.quick-register-form select:focus,
.quick-register-form input:focus {
    border: 1.5px solid #28a745;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 13px;
}

.country-code {
    flex: 0 0 80px;
}

.mobile-input {
    flex: 1;
}

.register-btn {
    width: 100%;
    background: #ff6b35;
    color: white;
    border: none;
    padding: 13px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 13px;
    transition: background 0.3s;
    letter-spacing: 0.5px;
}

.register-btn:hover {
    background: #e55a2b;
}

.terms-text {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.terms-text a {
    color: #007bff;
    text-decoration: underline;
}

/* Media queries */
@media (max-width: 1100px) {
    .matrimony-form-card {
        right: 10px;
        width: 340px;
    }
}

@media (max-width: 900px) {
    .matrimony-form-card {
        position: static;
        transform: none;
        width: 95%;
        margin: 24px auto 0 auto;
        right: auto;
        top: auto;
        box-shadow: 0 6px 20px rgba(0,0,0,0.16);
    }
}

@media (max-width: 600px) {
    .matrimony-form-card {
        width: 100%;
        margin: 16px auto 0 auto;
        border-radius: 0;
        box-shadow: none;
    }
    .form-header {
        border-radius: 0;
        padding: 14px 10px;
    }
    .form-body {
        padding: 12px 6px 10px 6px;
    }
}

/* Plan buttons (red/green) */
.btn-danger, .btn-success {
  display: block;
  width: 100%;
  text-align: center;
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  margin-top: 0.6rem;
}
.btn-danger { background: #e33b2e; }
.btn-danger:hover { background: #c83226; transform: translateY(-1px); }
.btn-success { background: #1e9b46; }
.btn-success:hover { background: #18853b; transform: translateY(-1px); }

/* Accent borders for plans */
.plan-card { position: relative; }
.plan-card.accent-red { border: 2px solid #e33b2e; }
.plan-card.accent-gold { border: 2px solid #e0a800; }
.plan-card.accent-blue { border: 2px solid #2d74ff; }
.plan-card.accent-purple { border: 2px solid #7a5cff; }
.plan-card.accent-green { border: 2px solid #1e9b46; }
.plan-card.accent-orange { border: 2px solid #ff8c1a; }
.plan-card.accent-gray { border: 1px solid #e5e5e5; }

/* Popular badge */
.badge.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #e33b2e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Space between buttons inside plan */
.plan-card .btn-danger + .btn-success,
.plan-card .btn-primary + .btn-success { margin-top: 0.5rem; }

/* Tighten list spacing in plan */
.plan-card ul li { line-height: 1.4; }

/* Featured Profiles Section */
.featured-profiles {
    padding: 60px 0;
    background: #f8f9fa;
    position: relative;
}

.featured-profiles h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
}

.profiles-scroll-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.profiles-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profiles-grid::-webkit-scrollbar {
    display: none;
}

.profile-card {
    min-width: 200px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-card.featured {
    border: 2px solid #ff6b35;
}

.profile-card.premium {
    border: 2px solid #ffd700;
    position: relative;
}

.profile-card.premium::before {
    content: "★";
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffd700;
    font-size: 1.2rem;
    z-index: 2;
}

.profile-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    font-size: 3rem;
    color: #ccc;
}

.profile-info {
    padding: 15px;
    text-align: center;
}

.profile-id {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.profile-details {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-nav:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-nav.prev {
    left: 10px;
}

.scroll-nav.next {
    right: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .profiles-scroll-container {
        padding: 0 50px;
    }
    
    .profile-card {
        min-width: 160px;
    }
    
    .profile-image {
        height: 140px;
    }
    
    .scroll-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .scroll-nav.prev {
        left: 5px;
    }
    
    .scroll-nav.next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .profiles-scroll-container {
        padding: 0 40px;
    }
    
    .profile-card {
        min-width: 140px;
    }
    
    .profile-image {
        height: 120px;
    }
    
    .featured-profiles h2 {
        font-size: 2rem;
    }
}

/* Featured Brides/Grooms - Card Sections */
.featured-section {
  padding: 70px 0 50px;
  background: #f8fafc; /* light gray background */
}
.featured-section.light { background: #f3f6fb; }

.featured-head { text-align: center; margin-bottom: 26px; }
.featured-head h2 { font-size: 2rem; color: #111827; font-weight: 800; margin-bottom: 8px; }
.featured-head p { color: #6b7280; font-size: 0.98rem; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.featured-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(17,24,39,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(17,24,39,0.12); }

.featured-card .avatar {
  width: 110px; height: 110px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.featured-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.featured-card .name { font-size: 1.05rem; color: #111827; margin: 8px 0 6px; font-weight: 700; text-transform: capitalize; }
.featured-card .pid { color: #6b7280; font-size: 0.92rem; margin-bottom: 12px; }

.featured-card .btn-view {
  display: inline-block;
  background: #e53935; /* red */
  color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 6px 12px rgba(229,57,53,0.25);
  transition: background .2s ease, transform .1s ease;
}
.featured-card .btn-view:hover { background: #c62828; transform: translateY(-1px); }

.featured-cta { text-align: center; margin-top: 22px; }
.featured-cta .btn-primary { padding: 10px 18px; border-radius: 10px; font-weight: 800; }

@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { padding: 18px 14px; }
}

/* Footer Styles - Narijs InfoTech Design */
footer {
    background: #f8f9fa;
    padding: 3rem 0 0;
    margin-top: 4rem;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #ff6b35, #dc2626) 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    grid-column: 1;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ff6b35;
    display: inline-block;
    padding-bottom: 4px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-help {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-help-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.footer-help-item i {
    color: #ff6b35;
    font-size: 1rem;
}

.footer-social {
    grid-column: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-social h4 {
    margin-bottom: 1rem;
    color: #333;
}

.social-icons-footer {
    display: flex;
    gap: 0.8rem;
}

.social-icons-footer .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    color: white;
    font-size: 0.9rem;
}

.social-icons-footer .social-icon.facebook {
    background: #3b5998;
}

.social-icons-footer .social-icon.twitter {
    background: #1da1f2;
}

.social-icons-footer .social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons-footer .social-icon.linkedin {
    background: #0077b5;
}

.social-icons-footer .social-icon:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    background: #2c3e50;
    color: #bdc3c7;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    border-top: 3px solid rgba(255, 107, 53, 0.25);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-social {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    
    .social-icons-footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand,
    .footer-social {
        grid-column: 1;
    }
}

/* Scrolling Ticker Styles */
.scrolling-ticker {
    background: #dc2626;
    color: white;
    height: 40px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    border-top: 2px solid #1f2937;
}

.ticker-content {
    position: absolute;
    white-space: nowrap;
    animation: scroll-left 40s linear infinite;
    display: flex;
    align-items: center;
    height: 100%;
    left: 0;
    top: 0;
}

.ticker-content span {
    margin-right: 50px;
    color: white;
    font-size: 14px;
    display: inline-block;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Scrolling Marquee Strip */
.marquee-strip {
  background: #f07271; /* soft red like screenshot */
  color: #fff;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.marquee { position: relative; width: 100%; }

/* Base marquee track: define animation but keep it paused and hidden initially */
.marquee-track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  padding: 6px 12px;
  animation: marquee-left 24s linear infinite; /* ensure animation exists */
  animation-play-state: paused;               /* pause until .run */
  opacity: 0;                                 /* hide until start */
  will-change: transform;
}
/* Start scrolling when JS adds .run */
.marquee-track.run {
  animation-play-state: running;
  opacity: 1;
  transition: opacity .3s ease;
}
/* Continuous loop: 3 copies -> shift by one third */
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); }
}

.marquee-track span { font-size: 15px; }

@media (max-width: 600px) {
  .marquee-track span { font-size: 14px; }
  html, body { overflow-x: hidden; }
  .marquee-strip { 
    padding-left: 8px; 
    padding-right: 8px; 
  }
  .marquee-track { gap: 24px; }
}

/* Modern Footer Styles */
/* Removed */

/* Responsive design */
@media (max-width: 1200px) {
    .profiles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .profile-card {
        width: 200px;
        height: 200px;
    }
    .profile-image {
        width: 100px;
        height: 100px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    .footer-section h3 {
        font-size: 24px;
    }
    .banner-content h1 {
        font-size: 30px;
    }
    .homepage-search-form {
        padding: 18px 8px 12px 8px;
    }
    .search-row {
        flex-direction: column;
        gap: 14px;
    }
    .scrolling-ticker {
        height: 35px;
        font-size: 12px;
    }
    .ticker-content span {
        font-size: 12px;
        margin-right: 80px;
    }
}

@media (max-width: 600px) {
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    .profile-card {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    .profile-image {
        width: 120px;
        height: 120px;
        margin-bottom: 15px;
    }
    .profile-info h3 {
        font-size: 18px;
    }
    .profile-info p {
        font-size: 14px;
    }
    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .featured-profiles h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .featured-profiles {
        padding: 60px 0;
    }
    .search-group {
        width: 100%;
    }
    .search-group label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .search-group select {
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
    }
    .btn-search {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        margin-top: 10px;
    }
    .matrimony-form-card {
        width: 100%;
        margin: 16px auto 0 auto;
        border-radius: 0;
        box-shadow: none;
    }
    .form-header {
        border-radius: 0;
        padding: 14px 10px;
    }
    .form-body {
        padding: 12px 6px 10px 6px;
    }
}

/* Animations for form appearance */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* New Header Styles */
.new-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    align-items: center; /* Keep header aligned with taller logo */
}

.logo {
    display: flex;
    flex-direction: column;
}

/* Restore original Laganmarriage logo styling (override previous temporary styles) */
.new-header .logo .logo-text {
  font-family: 'Lilita One', system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 28px !important;
  letter-spacing: 0.5px;
  color: transparent !important; /* colors applied per span */
  line-height: 1;
}
.new-header .logo .logo-text .lagan { color: #dc2626 !important; }
.new-header .logo .logo-text .marriage { color: #ff6b35 !important; }
@media (max-width: 600px) {
  .new-header .logo .logo-text { font-size: 22px !important; }
}

/* Visible colors for logo on white header */
.new-header .logo .logo-text { 
  color: #1f2937 !important; /* fallback text color on white bg */
}
.new-header .logo .logo-text .brand.shaadi { color: #dc2626 !important; }
.new-header .logo .logo-text .brand.partner { color: #ff6b35 !important; }
.new-header .logo .logo-text .dotcom { color: #1f2937 !important; }

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo-text .info {
    color: #ff6b35;
}

.logo-text .tech {
    color: #4a90e2;
}

.tagline {
    font-size: 0.75rem;
    color: #666;
    margin-top: -2px;
}

.main-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b35;
}

.nav-link i {
    font-size: 0.8rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-register {
    padding: 0.5rem 1.5rem;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #ff6b35;
    color: white;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #555;
}

/* Dropdowns inside header navigation */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown .caret { font-size: 12px; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 8px 0; min-width: 200px; display: none; z-index: 1050;
}
.dropdown-menu a { display: block; padding: 10px 14px; color: #374151; text-decoration: none; white-space: nowrap; }
.dropdown-menu a:hover { background: #f9fafb; color: #e74c3c; }
.nav-dropdown:hover > .dropdown-menu { display: block; }

/* Mobile: enable tapping to open via .open class (added by JS) */
@media (max-width: 768px) {
  .nav-dropdown:hover > .dropdown-menu { display: none; }
  .nav-dropdown.open > .dropdown-menu { display: block; position: static; box-shadow: none; border: 0; padding: 4px 0; }
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
    min-height: 80vh;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-content {
    position: relative;
}

.decorative-icon {
    position: absolute;
    top: -20px;
    right: 20px;
    color: #ff6b35;
    font-size: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.arrow {
    color: #ff6b35;
    font-weight: normal;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ff6b35;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.find-partner-btn {
    background: #333;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.find-partner-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

.features-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.red {
    background: #ff6b35;
    color: white;
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.feature-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Hero Right - Couple Image */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.couple-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.couple-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Statistics Badges */
.stat-badge {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    z-index: 10;
}

.stat-number {
    background: #ff6b35;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.successful-matches {
    top: 10%;
    right: -10%;
}

.verified-profiles {
    top: 30%;
    left: -15%;
}

.affordable-prices {
    bottom: 30%;
    right: -10%;
}

.privacy {
    bottom: 10%;
    left: -10%;
}

/* Social Icons */
.social-icons {
    position: absolute;
    bottom: -20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin {
    background: #0077b5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .main-navigation {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .stat-badge {
        position: static;
        margin: 0.5rem;
        display: inline-flex;
    }
    
    .couple-image-container {
        order: -1;
    }
    
    .social-icons {
        position: static;
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-register,
    .btn-login {
        width: 100%;
        text-align: center;
    }
}

/* Why Choose Lagan Marriage Section */
.why-choose-section {
    padding: 80px 0;
    background: white;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-choose-left h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.why-choose-left p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-get-started {
    background: #333;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-get-started:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

.why-choose-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-content h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* Mobile Responsiveness for Why Choose Section */
@media (max-width: 768px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .why-choose-left h2 {
        font-size: 2rem;
    }
    
    .feature-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .why-choose-section {
        padding: 60px 0;
    }
    
    .why-choose-left h2 {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
}

/* Featured Profiles Section */
.featured-profiles {
    padding: 60px 0;
    background: #f8f9fa;
    position: relative;
}

.featured-profiles h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
}

.profiles-scroll-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.profiles-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profiles-grid::-webkit-scrollbar {
    display: none;
}

.profile-card {
    min-width: 200px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-card.featured {
    border: 2px solid #ff6b35;
}

.profile-card.premium {
    border: 2px solid #ffd700;
    position: relative;
}

.profile-card.premium::before {
    content: "★";
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffd700;
    font-size: 1.2rem;
    z-index: 2;
}

.profile-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    font-size: 3rem;
    color: #ccc;
}

.profile-info {
    padding: 15px;
    text-align: center;
}

.profile-id {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.profile-details {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-nav:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-nav.prev {
    left: 10px;
}

.scroll-nav.next {
    right: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .profiles-scroll-container {
        padding: 0 50px;
    }
    
    .profile-card {
        min-width: 160px;
    }
    
    .profile-image {
        height: 140px;
    }
    
    .scroll-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .scroll-nav.prev {
        left: 5px;
    }
    
    .scroll-nav.next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .profiles-scroll-container {
        padding: 0 40px;
    }
    
    .profile-card {
        min-width: 140px;
    }
    
    .profile-image {
        height: 120px;
    }
    
    .featured-profiles h2 {
        font-size: 2rem;
    }
}

/* Why Choose Lagan Marriage Section - Bottom */
.why-choose-bottom-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-choose-bottom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-choose-bottom-left h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.why-choose-bottom-left p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.why-choose-bottom-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Mobile Responsiveness for Bottom Section */
@media (max-width: 768px) {
    .why-choose-bottom-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .why-choose-bottom-left h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .why-choose-bottom-section {
        padding: 60px 0;
    }
    
    .why-choose-bottom-left h2 {
        font-size: 1.8rem;
    }
}

/* How Does It Work Section */
.how-it-works-section {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 3;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    border: 8px solid #333;
}

.step-icon::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid #ddd;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step-icon i {
    color: white;
    font-size: 2rem;
}

.step-item h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.step-connector {
    flex: 1;
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
}

.connector-line {
    width: 100%;
    height: 4px;
    background: #ff6b35;
    position: relative;
}

.connector-line::before,
.connector-line::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: #ff6b35;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.connector-line::before {
    left: -30px;
}

.connector-line::after {
    right: -30px;
}

/* Decorative Elements */
.decorative-element {
    position: absolute;
    color: #ff6b35;
    font-size: 1.5rem;
    opacity: 0.3;
}

.decorative-element.top-left {
    top: 20px;
    left: 20px;
    transform: rotate(45deg);
}

.decorative-element.top-right {
    top: 20px;
    right: 20px;
    transform: rotate(45deg);
}

.decorative-element.bottom-left {
    bottom: 20px;
    left: 20px;
    transform: rotate(45deg);
}

.decorative-element.bottom-right {
    bottom: 20px;
    right: 20px;
    transform: rotate(45deg);
}

/* Mobile Responsiveness for How It Works */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-connector {
        width: 4px;
        height: 60px;
        flex: none;
    }
    
    .connector-line {
        width: 4px;
        height: 100%;
    }
    
    .connector-line::before,
    .connector-line::after {
        width: 30px;
        height: 30px;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .connector-line::before {
        top: -15px;
    }
    
    .connector-line::after {
        bottom: -15px;
        top: auto;
    }
    
    .how-it-works-section h2 {
        font-size: 2rem;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        border-width: 6px;
    }
    
    .step-icon::before {
        width: 100px;
        height: 100px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        border-width: 5px;
    }
    
    .step-icon::before {
        width: 85px;
        height: 85px;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
}

/* 100% Responsive Site Section */
.responsive-site-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.responsive-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.responsive-left h2 {
    font-size: 3rem;
    color: #333;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
}

.responsive-features {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.responsive-features span:not(:last-child) {
    color: #333;
}

.user-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.user-avatars {
    display: flex;
    margin-right: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.user-avatar:first-child {
    margin-left: 0;
}

.user-count {
    color: #666;
    font-size: 1rem;
}

.app-download-buttons {
    display: flex;
    gap: 15px;
}

.app-store-btn img,
.play-store-btn img {
    height: 50px;
    transition: transform 0.3s ease;
}

.app-store-btn:hover img,
.play-store-btn:hover img {
    transform: scale(1.05);
}

.responsive-right {
    position: relative;
}

.devices-showcase {
    position: relative;
    height: 400px;
}

.device {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #333;
    padding: 8px;
}

.device.desktop {
    width: 300px;
    height: 200px;
    top: 0;
    left: 0;
    z-index: 1;
}

.device.tablet {
    width: 180px;
    height: 240px;
    top: 50px;
    right: 80px;
    z-index: 2;
    border-radius: 20px;
}

.device.mobile {
    width: 120px;
    height: 200px;
    bottom: 0;
    right: 0;
    z-index: 3;
    border-radius: 25px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.device.tablet .device-screen {
    border-radius: 12px;
}

.device.mobile .device-screen {
    border-radius: 18px;
}

.screen-content {
    padding: 10px;
    height: 100%;
}

/* Mock Content Styles */
.mock-header {
    height: 20px;
    background: #ff6b35;
    border-radius: 4px;
    margin-bottom: 10px;
}

.mock-hero {
    margin-bottom: 15px;
}

.mock-text-large {
    height: 15px;
    background: #ddd;
    border-radius: 3px;
    margin-bottom: 8px;
    width: 80%;
}

.mock-text-small {
    height: 8px;
    background: #eee;
    border-radius: 2px;
    margin-bottom: 10px;
    width: 60%;
}

.mock-button {
    height: 12px;
    background: #ff6b35;
    border-radius: 6px;
    width: 40%;
}

.mock-profiles {
    display: flex;
    gap: 8px;
}

.mock-profile {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
}

.mock-header-small {
    height: 15px;
    background: #ff6b35;
    border-radius: 3px;
    margin-bottom: 8px;
}

.mock-content-small {
    height: 60px;
    background: #f5f5f5;
    border-radius: 4px;
}

.mock-header-mobile {
    height: 12px;
    background: #ff6b35;
    border-radius: 2px;
    margin-bottom: 6px;
}

.mock-content-mobile {
    height: 40px;
    background: #f5f5f5;
    border-radius: 3px;
}

/* Premium Membership Page */
.premium-section { 
  padding: 3rem 0; 
}
.premium-section h2 { 
  font-size: 2rem; 
  margin-bottom: 1rem; 
}
.premium-plans > h3 { 
  font-size: 1.3rem; 
  margin-bottom: 0.25rem; 
}
.premium-plans > p { 
  color: #666; 
  margin-bottom: 1.5rem; 
}

/* Reusable primary button */
.btn-primary { 
  display: inline-block; 
  background: #ff6b35; 
  color: #fff; 
  border: none; 
  padding: 0.6rem 1.2rem; 
  border-radius: 8px; 
  font-weight: 600; 
  text-decoration: none; 
  cursor: pointer; 
  transition: all 0.25s ease; 
}
.btn-primary:hover { 
  background: #e55a2b; 
  transform: translateY(-1px); 
}

.plans-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.25rem; 
}
.plan-card { 
  background: #fff; 
  border: 1px solid #eaeaea; 
  border-radius: 12px; 
  padding: 1.25rem; 
  box-shadow: 0 6px 18px rgba(0,0,0,0.06); 
}
.plan-card h4 { 
  font-size: 1.2rem; 
  margin-bottom: 0.25rem; 
}
.plan-price { 
  font-size: 1.6rem; 
  font-weight: 700; 
  color: #333; 
  margin: 0.25rem 0 0.75rem; 
}
.plan-price span { 
  font-size: 0.9rem; 
  color: #666; 
  font-weight: 500; 
}
.plan-card ul { 
  list-style: none; 
  margin: 0 0 1rem; 
  padding-left: 0; 
}
.plan-card ul li { 
  margin: 0.35rem 0; 
  color: #333; 
}
.plan-card.featured { 
  border: 2px solid #ff6b35; 
  position: relative; 
}
.plan-card.featured::after { 
  content: 'Popular'; 
  position: absolute; 
  top: -10px; 
  right: 14px; 
  background: #ff6b35; 
  color: #fff; 
  font-size: 0.75rem; 
  padding: 0.2rem 0.5rem; 
  border-radius: 6px; 
}

/* Current membership box */
.premium-status { 
  background: #f8f9fa; 
  border: 1px solid #eaeaea; 
  border-radius: 12px; 
  padding: 1.25rem; 
  margin-bottom: 1.5rem; 
}
.premium-details ul { 
  list-style: none; 
  padding: 0; 
  margin: 0.5rem 0 0; 
}
.premium-details li { 
  margin: 0.3rem 0; 
}

/* Features below plans */
.premium-features { 
  margin-top: 2.5rem; 
}
.premium-features h3 { 
  margin-bottom: 1rem; 
}
.features-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 1rem; 
}
.feature-card { 
  background: #fff; 
  border: 1px solid #eee; 
  border-radius: 10px; 
  padding: 1rem; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
}
.feature-card h4 { 
  font-size: 1rem; 
  margin-bottom: 0.4rem; 
}
.feature-card p { 
  color: #666; 
  font-size: 0.9rem; 
}

/* Responsive */
@media (max-width: 992px) { 
  .plans-grid { grid-template-columns: 1fr 1fr; } 
  .features-grid { grid-template-columns: 1fr 1fr; } 
}
@media (max-width: 600px) { 
  .plans-grid { grid-template-columns: 1fr; } 
  .features-grid { grid-template-columns: 1fr; } 
}

/* Align inline SVG mark with logo text (homepage header) */
.new-header .logo { 
  flex-direction: row; 
  align-items: center; 
  gap: 8px; 
}
.new-header .logo .logo-mark { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  line-height: 0; 
}
.new-header .logo .logo-mark svg { 
  width: 28px; 
  height: 28px; 
}

/* Footer brand mark alignment */
.footer-brand .logo-mark { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  line-height: 0; 
  margin-right: 8px; 
}
.footer-brand .logo-mark svg { 
  width: 26px; 
  height: 26px; 
}

.new-header .logo .logo-mark img {
  width: 28px;
  height: 28px;
  display: block;
}

.footer-brand .logo-mark img {
  width: 26px;
  height: 26px;
  display: block;
}

.new-header .logo .logo-mark img {
  width: auto;
  height: 96px; /* extra-large desktop header logo */
  display: block;
}

@media (max-width: 600px) {
  .new-header .logo .logo-mark img {
    height: 72px; /* extra-large on small screens */
  }
}

/* Force-hide header logo image if present (cache-safe) */
.new-header .logo .logo-mark { display: none !important; }

@media (max-width: 600px) {
  .new-header .logo .logo-text {
    font-size: 22px; /* smaller on mobile */
  }
}

/* Contact Page */
.contact-hero {
  padding: 48px 0 16px;
}
.contact-hero h1 { font-size: 32px; margin-bottom: 8px; }
.contact-hero .subtitle { color: #6b7280; }

.contact-section { padding: 24px 0 64px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
.contact-info { display: grid; gap: 16px; }
.info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-card .icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff0ec; color: #ff6b35;
  display: grid; place-items: center;
  flex: 0 0 40px;
}
.info-card h3 { margin: 0; font-size: 16px; }
.info-card p { margin: 2px 0 0; color: #6b7280; }

.contact-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .form-field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 14px; }
.contact-form input, .contact-form textarea {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #ff6b35; box-shadow: 0 0 0 3px rgba(255,107,53,0.15); }

.alert { padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.alert.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* Colorful enhancements for Contact page */
.contact-hero {
  background: linear-gradient(180deg, rgba(255,107,53,0.08), rgba(255,255,255,0));
  border-bottom: 1px solid #f3f4f6;
}
.contact-hero h1 { color: #111827; }
.contact-hero .subtitle { color: #4b5563; }

.info-card { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.12);
  border-color: #ffd6c7;
}
.info-card .icon { background: linear-gradient(135deg, #ffeadf, #ffe5db); color: #ff6b35; }

.contact-form-card { box-shadow: 0 8px 30px rgba(17,24,39,0.04); }
.contact-form input, .contact-form textarea { background: #fff; }

/* Gradient primary button style reuse */
.btn-register {
  background: linear-gradient(135deg, #ff6b35, #ff914d);
  color: #fff !important;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, transform .12s;
}
.btn-register:hover { filter: brightness(0.95); }

/* Footer polish */
footer { background: #fff; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand .logo-text .lagan { color: #dc2626; }
.footer-brand .logo-text .marriage { color: #ff6b35; }
.footer-description { color: #6b7280; margin-top: 8px; }
.footer-section h4 { margin-bottom: 10px; }
.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section li { margin: 6px 0; }
.footer-section a { color: #374151; }
.footer-section a:hover { color: #ff6b35; }
.footer-help { display: flex; gap: 16px; align-items: center; }
.footer-help-item { display: flex; gap: 8px; align-items: center; color: #374151; }
.footer-social { text-align: right; }
.social-icons-footer { display: inline-flex; gap: 10px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.social-icon.facebook { background: #1778f2; }
.social-icon.twitter { background: #1da1f2; }
.social-icon.instagram { background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5); }
.social-icon.linkedin { background: #0a66c2; }
.footer-bottom { text-align: center; padding: 12px 0; color: #6b7280; background: #fafafa; border-top: 1px solid #f3f4f6; }

@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-social { text-align: left; }
}

/* Mobile footer fixes: single column & centered */
@media (max-width: 640px) {
  footer .footer-content { 
    grid-template-columns: 1fr !important; 
    gap: 16px !important; 
    padding: 20px 16px !important; 
    text-align: center; 
  }
  footer .footer-brand { 
    grid-column: 1 !important; 
  }
  footer .footer-section { 
    align-items: center; 
  }
  footer .footer-help { 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
  }
  footer .footer-social { 
    grid-column: 1 !important; 
    text-align: center; 
    align-items: center; 
  }
  footer .social-icons-footer { 
    justify-content: center; 
  }
}

/* Heart + Gradient Logo */
.logo-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-heart { color: transparent; width: 22px; height: 22px; display: inline-grid; place-items: center; }
.logo-heart i { 
  font-size: 20px; 
  background: linear-gradient(135deg, #ff6b35, #dc2626); 
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-gradient-text {
  font-family: 'Poppins', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: 0.2px;
  background: linear-gradient(90deg, #ff6b35, #ff7a3f, #e64022, #dc2626);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 600px) { .logo-gradient-text { font-size: 22px; } }

/* Neutralize old span-based logo when present */
.new-header .logo .logo-text { display: none !important; }

/* Improve logo gradient text rendering: prevent descender clipping, ensure cross-browser visibility, and refine spacing */
.logo-gradient-text {
  font-family: 'Poppins', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: 0.1px;
  background: linear-gradient(90deg, #ff6b35, #ff7a3f, #e64022, #dc2626);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; /* Safari/Edge */
  display: inline-block; padding-bottom: 2px; /* keep descenders (g,y,p) visible */
  text-rendering: optimizeLegibility; font-variant-ligatures: normal;
}

/* Search form grid overrides */
.search-hero {
  background: linear-gradient(180deg, rgba(255,107,53,0.08), rgba(255,255,255,0));
  border-bottom: 1px solid #f3f4f6;
}

.contact-form.search-grid {
  max-width: 100%;
}
.contact-form.search-grid .form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px; /* row gap, column gap */
  margin-bottom: 12px;
}
.contact-form.search-grid .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form.search-grid select,
.contact-form.search-grid input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}
.contact-form.search-grid select:focus,
.contact-form.search-grid input:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}

/* Put the Search button aligned with fields */
.contact-form.search-grid .btn-register {
  align-self: start;
}

/* Breakpoints */
@media (max-width: 1024px) {
  .contact-form.search-grid .form-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact-form.search-grid .form-row { grid-template-columns: 1fr; }
}

/* Hide Featured Profiles on Search page */
.search-page .featured-profiles { display: none !important; }

/* Tabbed Search UI */
.search-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.search-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 16px; box-shadow: 0 8px 30px rgba(17,24,39,0.04); }
.search-tabs { display: flex; gap: 12px; background: #f5f6f7; padding: 6px; border-radius: 12px; margin-bottom: 16px; }
.search-tabs .tab { flex: 1; background: transparent; border: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: #6b7280; cursor: pointer; }
.search-tabs .tab.active { background: #dc5a5a; color: #fff; }

.tab-panels .tab-panel { display: none; }
.tab-panels .tab-panel.active { display: block; }

.tab-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.tab-form .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-weight: 600; font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select { border: 1px solid #d1d5db; border-radius: 10px; padding: 12px 14px; font-size: 14px; background: #fff; }
.field.checkbox label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: #374151; margin-top: 28px; }
.radio-row { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.radio input { margin-right: 6px; accent-color: #dc5a5a; }

/* Range sliders */
.range-group { display: flex; flex-direction: column; gap: 8px; }
.range-label { font-weight: 700; font-size: 12px; color: #6b7280; text-transform: uppercase; }
.range-row { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 10px; align-items: center; }
.range-badge { background: #111827; color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.range-row input[type="range"] { -webkit-appearance: none; height: 6px; border-radius: 999px; background: #e5e7eb; }
.range-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #111827; border: 2px solid #fff; box-shadow: 0 0 0 2px #111827; cursor: pointer; }
.range-row input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #111827; border: 2px solid #fff; box-shadow: 0 0 0 2px #111827; cursor: pointer; }

.actions { margin-top: 8px; }
.search-btn-large { padding: 12px 22px; border-radius: 10px; }

/* Sidebar */
.search-sidebar .side-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 16px; box-shadow: 0 8px 30px rgba(17,24,39,0.04); }
.search-sidebar .side-card h3 { margin-bottom: 12px; font-size: 16px; }
.recent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.recent-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; }
.recent-list li:hover { background: #f9fafb; }
.recent-list .avatar { width: 36px; height: 36px; border-radius: 8px; background: #e5e7eb; display: inline-block; }
.recent-list .avatar.locked { background: #f3d3d7; position: relative; }
.recent-list .avatar.photo { background: #fbe7d6; }
.recent-list .meta { display: flex; flex-direction: column; }
.recent-list .meta strong { font-size: 13px; }
.recent-list .meta small { color: #6b7280; font-size: 12px; }
.recent-list .view { color: #dc5a5a; text-decoration: none; font-size: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .search-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tab-form .grid-2 { grid-template-columns: 1fr; }
  .tab-form .grid-3 { grid-template-columns: 1fr; }
}

/* ==========================
   Profile Page Styles
   ========================== */
.profile-section { 
  padding: 48px 0; 
  background: #fafafa; 
}
.profile-container { 
  display: grid; 
  grid-template-columns: 380px minmax(0, 1fr); 
  gap: 28px; 
  align-items: start; 
}

/* Left: Images */
.profile-image-gallery { 
  display: grid; 
  gap: 12px; 
}
.profile-image-gallery .primary-image { 
  background: #f2f2f2; 
  border-radius: 14px; 
  overflow: hidden; 
  box-shadow: 0 10px 24px rgba(0,0,0,0.08); 
}
.profile-image-gallery .primary-image img { 
  width: 100%; 
  height: 340px; 
  object-fit: cover; 
  display: block; 
}
.profile-image-gallery .secondary-images { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 10px; 
}
.profile-image-gallery .secondary-images img { 
  width: 100%; 
  height: 90px; 
  object-fit: cover; 
  border-radius: 10px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
}

/* Right: Details */
.profile-details h2 { 
  font-size: 1.6rem; 
  font-weight: 800; 
  color: #222; 
  text-transform: capitalize; 
  margin-bottom: 6px; 
}
.profile-id { 
  color: #6b7280; 
  font-size: 0.95rem; 
  margin-bottom: 12px; 
}
.welcome-msg { 
  background: #fff7ed; 
  border: 1px solid #ffedd5; 
  color: #9a3412; 
  padding: 10px 12px; 
  border-radius: 10px; 
  margin: 8px 0 14px; 
}

.profile-info-grid { 
  display: grid; 
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 12px 22px; 
  margin-top: 6px; 
}
.profile-info-grid .info-item label { 
  display: block; 
  font-size: 0.85rem; 
  color: #6b7280; 
}
.profile-info-grid .info-item span { 
  display: block; 
  font-weight: 600; 
  color: #111827; 
}

.about-section { 
  margin-top: 22px; 
}
.about-section h3 { 
  font-size: 1.1rem; 
  color: #111827; 
  margin-bottom: 6px; 
}
.about-section p { 
  color: #4b5563; 
}

/* Actions */
.profile-actions { 
  display: flex; 
  gap: 10px; 
  margin-top: 16px; 
}
.profile-actions .btn-primary { 
  background: #ff6b35; 
  color: #fff; 
  border: none; 
  padding: 10px 14px; 
  border-radius: 10px; 
  font-weight: 700; 
  cursor: pointer; 
  text-decoration: none; 
  transition: background .18s, transform .12s; 
}
.profile-actions .btn-primary:hover { 
  background: #f05f2d; 
  transform: translateY(-1px); 
}
.profile-actions .btn-secondary { 
  background: #f3f4f6; 
  color: #111827; 
  border: 1px solid #e5e7eb; 
  padding: 10px 14px; 
  border-radius: 10px; 
  font-weight: 700; 
  cursor: pointer; 
  text-decoration: none; 
  transition: background .18s, transform .12s; 
}
.profile-actions .btn-secondary:hover { 
  background: #e5e7eb; 
  transform: translateY(-1px); 
}

/* Responsive */
@media (max-width: 900px) { 
  .profile-container { 
    grid-template-columns: 1fr; 
  } 
  .profile-image-gallery .primary-image img { 
    height: 300px; 
  } 
}
@media (max-width: 600px) { 
  .profile-section { padding: 28px 0; } 
  .profile-image-gallery .secondary-images img { height: 80px; } 
  .profile-details h2 { font-size: 1.4rem; } 
  .profile-info-grid { grid-template-columns: 1fr; } 
}

.profile-image-gallery .primary-image img.default-fallback { 
  object-fit: contain; 
  background: #fff; 
  height: 260px; 
  padding: 16px; 
}

/* ==========================
   Profile Dashboard Layout
   ========================== */
.profile-dashboard { 
  display: grid; 
  grid-template-columns: 300px minmax(0, 1fr); 
  gap: 22px; 
}

.profile-sidebar { 
  display: grid; 
  gap: 16px; 
}

.card { 
  background: #fff; 
  border: 1px solid #eef0f3; 
  border-radius: 14px; 
  box-shadow: 0 4px 14px rgba(20, 23, 28, 0.04); 
  padding: 16px; 
}
.card .card-header { 
  font-weight: 700; 
  margin-bottom: 8px; 
}
.card .card-header.with-link { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}
.card .card-header.with-link a { 
  color: #ff6b35; 
  text-decoration: none; 
  font-weight: 600; 
}

/* Profile summary in sidebar */
.profile-summary { 
  text-align: center; 
}
.profile-summary .avatar-wrap { 
  width: 140px; 
  height: 140px; 
  border-radius: 50%; 
  overflow: hidden; 
  margin: 0 auto 10px; 
  border: 4px solid #f3f4f6; 
}
.profile-summary .avatar-wrap img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}
.profile-summary .avatar-wrap img.default-fallback { 
  object-fit: contain; 
  background: #fff; 
}
.profile-summary .member-name { 
  font-size: 1.1rem; 
  font-weight: 800; 
  margin-bottom: 2px; 
}
.profile-summary .member-id { 
  font-weight: 700; 
  color: #4b5563; 
  letter-spacing: 0.4px; 
}
.profile-summary .member-meta { 
  color: #6b7280; 
  margin-top: 4px; 
}
.profile-summary .summary-actions { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 10px; 
  margin-top: 12px; 
}
.profile-summary .summary-actions .action { 
  display: inline-block; 
  background: #f8fafc; 
  border: 1px solid #eef0f3; 
  border-radius: 12px; 
  padding: 10px; 
  color: #111827; 
  text-decoration: none; 
  font-weight: 600; 
}

/* Sidebar menu */
.menu-list { 
  padding: 10px; 
}
.menu-list .menu-item { 
  display: block; 
  padding: 12px 12px; 
  border-radius: 12px; 
  color: #111827; 
  text-decoration: none; 
  border: 1px solid transparent; 
}
.menu-list .menu-item:hover { 
  background: #f7f8fa; 
  border-color: #eef0f3; 
}
.menu-list .menu-item.danger { 
  color: #b91c1c; 
}

/* Main column */
.profile-main { 
  display: grid; 
  gap: 16px; 
}
.top-widgets { 
  display: grid; 
  grid-template-columns: 1fr 220px; 
  gap: 16px; 
}
.progress-card .label { 
  font-weight: 700; 
  margin-bottom: 8px; 
}
.progress-card .progress { 
  width: 100%; 
  height: 12px; 
  background: #f3f4f6; 
  border-radius: 999px; 
  overflow: hidden; 
}
.progress-card .progress span { 
  display: block; 
  height: 100%; 
  background: linear-gradient(90deg, #ff6b35, #ff914d); 
  border-radius: 999px; 
}
.status-card { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
}
.verified-badge { 
  display: inline-block; 
  background: #e8fff0; 
  color: #0f9d58; 
  font-weight: 700; 
  padding: 8px 12px; 
  border-radius: 10px; 
}
.status-card .bell { 
  display: inline-flex; 
  width: 40px; 
  height: 40px; 
  align-items: center; 
  justify-content: center; 
  border-radius: 10px; 
  border: 1px solid #e5e7eb; 
  text-decoration: none; 
  color: #111827; 
}

/* Matches grid */
.matches-grid { 
  display: grid; 
  grid-template-columns: repeat(4, minmax(0, 1fr)); 
  gap: 16px; 
}
.match-card { 
  background: #f9fafb; 
  border: 1px solid #e5e7eb; 
  border-radius: 14px; 
  padding: 12px; 
}
.match-card .thumb { 
  height: 140px; 
  border-radius: 10px; 
  background: linear-gradient(180deg, #e5e7eb, #d1d5db); 
  margin-bottom: 10px; 
}
.match-card .mid { 
  font-weight: 800; 
  text-align: center; 
  margin-bottom: 4px; 
}
.match-card .meta { 
  font-size: 0.9rem; 
  text-align: center; 
  color: #6b7280; 
}
.match-card .actions { 
  display: flex; 
  gap: 8px; 
  justify-content: center; 
  margin-top: 10px; 
}
.match-card .actions .icon { 
  border: none; 
  background: #fff; 
  border: 1px solid #e5e7eb; 
  width: 34px; 
  height: 34px; 
  border-radius: 50%; 
  cursor: pointer; 
}
.match-card .actions .icon.heart { color: #ef4444; }
.match-card .actions .icon.star { color: #f59e0b; }
.match-card .actions .icon.block { color: #6b7280; }

/* Responsive */
@media (max-width: 1100px) {
  .matches-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .profile-dashboard { grid-template-columns: 1fr; }
  .top-widgets { grid-template-columns: 1fr; }
  .matches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .matches-grid { grid-template-columns: 1fr; }
}

/* ==========================
   MakeMyVaran-style Home
   ========================== */
.mmv-container{max-width:1200px;margin:0 auto;padding:0 20px;display:grid;grid-template-columns:520px 1fr;gap:28px;align-items:center}
@media(max-width:1024px){.mmv-container{grid-template-columns:1fr;gap:22px}}

/* Left Card */
.mmv-card{background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.12);overflow:hidden;border:1px solid #f0f0f0}
.mmv-tabs{display:flex}
.mmv-tab{flex:1;padding:12px 14px;border:0;background:#f3f4f6;color:#555;font-weight:600;cursor:pointer;text-transform:uppercase;font-size:13px;letter-spacing:.4px}
.mmv-tab.active{background:#e53935;color:#fff}
.mmv-tabpanes{padding:16px}
.mmv-pane{display:none}
.mmv-pane.active{display:block}
.mmv-pane-header{background:#fff3f0;border:1px solid #ffd9cc;color:#e53935;font-weight:700;border-radius:8px;padding:10px 12px;margin-bottom:14px;text-transform:uppercase;font-size:12px}

.mmv-form{display:block}
.mmv-group{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.mmv-group label{font-size:13px;color:#333;font-weight:600}
.mmv-group .req{color:#e53935}
.mmv-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:520px){.mmv-row{grid-template-columns:1fr}}
.mmv-form input,.mmv-form select{width:100%;padding:10px 12px;border:1.5px solid #e5e7eb;border-radius:8px;background:#fafafa;font-size:14px}
.mmv-form input:focus,.mmv-form select:focus{outline:none;border-color:#ff6b35;background:#fff}
.mmv-radio{display:flex;gap:14px;align-items:center}
.mmv-submit{width:100%;background:#ff6b35;border:0;color:#fff;padding:12px 16px;border-radius:8px;font-weight:700;cursor:pointer;text-transform:uppercase;letter-spacing:.5px}
.mmv-submit:hover{background:#e25f2f}

/* Hero text typography (restored) */
.mmv-hero-text h3{font-size:24px;line-height:1.35;margin-bottom:6px;font-weight:800}
.mmv-hero-text p{font-size:14px;opacity:.95;margin-bottom:10px}
.mmv-hero-btn{display:inline-block;background:#ffd166;color:#8a3600;padding:8px 14px;border-radius:18px;font-weight:800;text-decoration:none}
.mmv-hero-btn:hover{background:#ffc64d}

/* Heart Hero (right) */
.mmv-hero{min-height:100vh;display:flex;align-items:center;padding:40px 0}
.mmv-hero .mmv-container,.mmv-hero .mmv-container-full{width:100%}
.mmv-right{display:flex;justify-content:center}
.mmv-heart{width:clamp(320px,52vw,820px);aspect-ratio:600/420;height:auto}
.mmv-heart-svg{width:100%;height:100%}

/* Keep left card at reasonable width */
.mmv-left .mmv-card{max-width:520px}

/* On smaller screens stack neatly */
@media(max-width:1024px){
  .mmv-hero{min-height:auto;padding:24px 0}
  .mmv-heart{width:min(88vw,680px)}
}
@media(max-width:768px){
  .mmv-heart{width:92vw}
}

/* Position hero text within the left (orange) side of the heart and ensure readability */
.mmv-heart-inner{position:relative; height:100%; display:block}
.mmv-hero-text{position:absolute; left:6%; top:20%; max-width:320px; color:#ffffff; text-shadow:0 2px 10px rgba(0,0,0,.35)}
@media(max-width:1024px){.mmv-hero-text{left:5%; top:18%}}
@media(max-width:768px){.mmv-hero-text{position:static; color:#333; text-shadow:none; padding:12px 0}}

/* Reference-style patterned background behind hero */
.mmv-hero{background-color:#fff7f0; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none'><g opacity='0.2' fill='%23eecfb7'><circle cx='20' cy='20' r='6'/><circle cx='60' cy='40' r='8'/><circle cx='100' cy='25' r='5'/><circle cx='30' cy='80' r='5'/><circle cx='85' cy='85' r='7'/></g></svg>"); background-size:120px 120px}
/* Let hero layout breathe to edges while keeping inner card width safe */
.mmv-hero .mmv-container, .mmv-hero .mmv-container-full{max-width:1300px;padding-left:20px;padding-right:20px}

/* Ornament size/position tweak to match reference */
.mmv-ornament{left:-16px; bottom:24px; width:180px}
@media(max-width:1024px){.mmv-ornament{left:-10px; bottom:14px; width:140px}}

/* 100% Responsive Site - image showcase */
.responsive-image-wrapper{position:relative;width:100%;max-width:900px;margin:0 auto}
.responsive-image{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 8px 24px rgba(0,0,0,.08))}
@media(max-width:768px){.responsive-image-wrapper{max-width:640px}}
@media(max-width:520px){.responsive-image-wrapper{max-width:100%}}

/* Admin - Enhanced Sidebar */
.admin-sidebar.enhanced {
  width: 260px;
  background: linear-gradient(180deg, #b91c1b 0%, #991b1b 100%);
  border-right: 1px solid rgba(0,0,0,0.08);
  padding: 18px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar.enhanced .admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 8px 16px;
}
.admin-sidebar.enhanced .admin-logo .logo-icon { font-size: 20px; }
.admin-sidebar.enhanced .admin-logo .logo-text { font-weight: 700; font-size: 18px; }
.admin-sidebar.enhanced .admin-logo .lagan { color: #ffffff; }
.admin-sidebar.enhanced .admin-logo .marriage { color: #ffe4e6; }

.admin-sidebar.enhanced .sidebar-nav { list-style: none; padding: 0; margin: 8px 0 0; }
.admin-sidebar.enhanced .sidebar-nav li { margin: 4px 0; }
.admin-sidebar.enhanced .sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  line-height: 1.2;
  transition: background 0.2s ease, transform 0.08s ease;
}
.admin-sidebar.enhanced .sidebar-nav a:hover { background: rgba(255,255,255,0.08); color: #ffffff; }
.admin-sidebar.enhanced .sidebar-nav .active > a { background: rgba(0,0,0,0.18); color: #ffffff; }
.admin-sidebar.enhanced .sidebar-nav i { width: 18px; text-align: center; color: inherit; }

/* Collapsible submenu (shared) */
.admin-sidebar.enhanced .has-sub > a { justify-content: space-between; }
.admin-sidebar.enhanced .caret { margin-left: auto; color: #fde68a; font-size: 12px; }
.admin-sidebar.enhanced .sub-menu { list-style: none; padding: 6px 0 6px 10px; margin: 2px 0 6px 0; display: none; }
.admin-sidebar.enhanced .sub-menu li a { padding: 8px 12px 8px 28px; color: #ffe4e6; position: relative; border-radius: 8px; }
.admin-sidebar.enhanced .sub-menu li a::before { content: "•"; position: absolute; left: 14px; color: #fecaca; }
.admin-sidebar.enhanced .has-sub.open > .sub-menu { display: block; }

/* Sidebar section title (optional) */
.sidebar-section-title { 
  color: #fecaca; 
  text-transform: uppercase; 
  font-size: 11px; 
  letter-spacing: .08em; 
  padding: 10px 8px; 
  margin-top: 8px; 
  opacity: .9; 
}

/* Admin main elements to align with enhanced sidebar */
.admin-header { background: #ffffff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 10; }
.admin-header-content { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.admin-title { font-size: 18px; font-weight: 700; }

/* Cards, buttons, tables (shared minimal) */
.admin-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.04); padding: 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; border: 1px solid #e5e7eb; padding: 10px 12px; text-decoration: none; font-weight: 700; font-size: 13px; background: #fff; }
.btn-primary { background: #4f46e5; color: #fff; border-color: #4338ca; }
.btn-danger { background: #ef4444; color: #fff; border-color: #dc2626; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px; border-bottom: 1px solid #e5e7eb; text-align: left; }

/* Responsive behavior for sidebar */
@media (max-width: 980px) {
  .admin-wrapper { flex-direction: column; }
  .admin-sidebar.enhanced { position: relative; height: auto; width: 100%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
}

/* Happy Success Stories Section */
.success-stories {
  padding: 80px 0;
  background: #fff;
}

/* Mosaic grid leveraging 12-column layout with fixed row height for masonry feel */
.stories-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 18px;
  align-items: stretch;
}

.story-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(17,24,39,0.08);
  background: #f3f4f6;
}
.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .45s ease;
}
.story-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.06));
  pointer-events: none;
}
.story-card:hover img { transform: scale(1.06); filter: saturate(1.05); }

/* Span helpers (columns x rows) */
.span-2x1 { grid-column: span 3; grid-row: span 1; }
.span-2x2 { grid-column: span 3; grid-row: span 2; }
.span-4x2 { grid-column: span 6; grid-row: span 2; }

/* Text panel */
.stories-copy {
  grid-column: span 5;
  grid-row: span 3;
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stories-copy h2 {
  font-size: 2.3rem; color: #111827; margin: 0 0 10px; font-weight: 700;
}
.stories-copy p { color: #6b7280; margin: 0 0 18px; }

/* Responsiveness */
@media (max-width: 1100px) {
  .stories-mosaic { grid-auto-rows: 80px; gap: 16px; }
  .stories-copy { grid-column: span 6; grid-row: span 3; }
}
@media (max-width: 900px) {
  .stories-mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .story-card { aspect-ratio: 16/9; }
  .span-2x1, .span-2x2, .span-4x2 { grid-column: auto; grid-row: auto; }
  .stories-copy { grid-column: auto; grid-row: auto; padding: 22px; }
  .stories-copy h2 { font-size: 2rem; }
}
@media (max-width: 520px) {
  .success-stories { padding: 60px 0; }
  .story-card { aspect-ratio: 4/3; border-radius: 14px; }
  .stories-copy { border-radius: 14px; }
}

/* Scoped button style for Success Stories to preserve brand color */
.success-stories .btn-primary {
  background: #ff6b35;
  border-color: #ff6b35;
  color: #fff;
}
.success-stories .btn-primary:hover {
  background: #e55a2b;
}

/* Success Stories - Card Layout */
.success-stories {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #fff7ef 0%, #ffffff 40%);
}
.stories-head { text-align: center; margin-bottom: 28px; }
.stories-head h2 { font-size: 2.2rem; color: #111827; margin-bottom: 8px; font-weight: 700; }
.stories-head p { color: #6b7280; font-size: 0.98rem; }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(17,24,39,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.story:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(17,24,39,0.12); }
.story-img { height: 190px; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-body { padding: 16px 16px 14px; }
.story-title { font-size: 1.1rem; color: #111827; margin: 4px 0 8px; font-weight: 700; }
.story-quote { color: #6b7280; font-style: italic; font-size: 0.95rem; line-height: 1.5; margin-bottom: 12px; }
.story-meta { display: flex; align-items: center; gap: 16px; color: #6b7280; font-size: 0.9rem; }
.story-meta i { color: #9ca3af; margin-right: 6px; }

.stories-cta { text-align: center; margin-top: 22px; }
.stories-cta .btn-primary { padding: 10px 18px; border-radius: 10px; font-weight: 800; }

@media (max-width: 992px) {
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .story-img { height: 180px; }
}
@media (max-width: 640px) {
  .stories-grid { grid-template-columns: 1fr; }
  .story-img { height: 190px; }
  .stories-head h2 { font-size: 1.8rem; }
}

/* Logged-in header compact user area */
.header-user { display: flex; align-items: center; gap: 14px; }
.header-user .user-link { display: inline-flex; align-items: center; }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #ff6b35; background: #fff; }
.btn-logout { 
  display: inline-block; padding: 8px 16px; border-radius: 999px; 
  background: linear-gradient(135deg, #ff6b35, #dc2626); color: #fff; 
  text-decoration: none; font-weight: 600; box-shadow: 0 4px 12px rgba(220,38,38,0.2);
}
.btn-logout:hover { filter: brightness(0.95); }
@media (max-width: 600px) {
  .user-avatar { width: 34px; height: 34px; }
  .btn-logout { padding: 7px 14px; }
}
