/* =============================================
   Darak Darika Matrimonial - Main Stylesheet
   Pure Matrimonial Theme
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap');

/* =================== ROOT VARIABLES =================== */
:root {
    --primary: #6b04e5;
    --primary-dark: #5103b0;
    --primary-light: #f4ecfd;
    --secondary: #1a1a1a;
    --accent: #8e2de2;
    --gold: #1a1a1a;
    --dark: #000000;
    --dark-2: #1a1a1a;
    --text: #000000;
    --text-light: #333333;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-cream: #f4f4f4;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(107, 4, 229, 0.08);
    --shadow-lg: 0 10px 40px rgba(107, 4, 229, 0.14);
    --shadow-primary: 0 8px 30px rgba(107, 4, 229, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #6b04e5, #8e2de2);
    --gradient-2: linear-gradient(135deg, #6b04e5, #4a00e0);
    --gradient-warm: linear-gradient(135deg, #8e2de2, #6b04e5);

    /* Purple and Black/White Scheme */
    --color-primary-purple: #6b04e5;
    --color-secondary-blue: #000000;
    --color-accent-gold: #1a1a1a;
    --color-dark: #000000;
    --color-light: #ffffff;

    /* Gradient combinations */
    --gradient-red-gold: linear-gradient(135deg, #6b04e5, #1a1a1a);
    --gradient-red-blue: linear-gradient(135deg, #6b04e5, #000000);
    --gradient-gold-red: linear-gradient(135deg, #1a1a1a, #6b04e5);
    --gradient-blue-red: linear-gradient(135deg, #000000, #6b04e5);
}

/* =================== RESET & BASE =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================== TYPOGRAPHY =================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.script-font {
    font-family: 'Dancing Script', cursive;
}

/* Heading Colors */
h1,
h3,
h4,
h5,
h6 {
    color: var(--white);
}

h2
{
    color: var(--dark);
}

/* Paragraph styling */
p {
    transition: var(--transition);
}

p:hover {
    color: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-primary-purple);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--white);
    font-size: 1.05rem;
    margin-top: 15px;
}

/* =================== BUTTONS =================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-red-gold);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    background: var(--gradient-red-blue);
}

.btn-primary:active {
    background: var(--gradient-red-blue);
    transform: translateY(0);
}

.btn-outline {
    border: 2px solid var(--color-secondary-blue);
    color: var(--color-secondary-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-secondary-blue);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
}

.btn-outline:active {
    background: var(--color-secondary-blue);
    border-color: var(--color-secondary-blue);
}

.btn-white {
    background: var(--white);
    color: var(--color-primary-purple);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-secondary-blue);
}

.btn-white:active {
    background: #f0f0f0;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-accent-gold), #FFC700);
    color: #000;
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #FFC700, var(--color-accent-gold));
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-gold:active {
    background: var(--gradient-red-gold);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* =================== NAVBAR =================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}

.navbar-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-brand h1 {
    font-size: 1.6rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand span {
    font-family: 'Dancing Script', cursive;
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-top: -5px;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-red-gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-accent-gold);
}

.navbar.scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--dark);
}

.nav-auth {
    display: flex;
    gap: 12px;
    align-items: center;
}

.trial-days-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 122px;
    padding: 8px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    line-height: 1.2;
}

.trial-days-card:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    transform: translateY(-1px);
}

.trial-days-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.88;
}

.trial-days-count {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.trial-days-link {
    font-size: 0.74rem;
    font-weight: 600;
    color: #ffe082;
}

/* Navbar Message Notification Icon */
.nav-notification-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-notification-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    text-decoration: none;
}

.navbar.scrolled .nav-notification-link {
    background: rgba(45, 24, 16, 0.08);
    border-color: rgba(45, 24, 16, 0.15);
    color: var(--dark);
}

.navbar.scrolled .nav-notification-link:hover {
    background: rgba(45, 24, 16, 0.15);
    border-color: rgba(45, 24, 16, 0.25);
}

.inner-navbar .nav-notification-link {
    background: rgba(45, 24, 16, 0.08);
    border-color: rgba(45, 24, 16, 0.12);
    color: var(--dark);
}

.inner-navbar .nav-notification-link:hover {
    background: rgba(154, 59, 31, 0.2);
    border-color: rgba(154, 59, 31, 0.35);
    color: var(--dark);
}

.navbar.scrolled .trial-days-card,
.inner-navbar .trial-days-card {
    background: linear-gradient(135deg, rgba(107, 4, 229, 0.08), rgba(255, 214, 102, 0.18));
    border-color: rgba(107, 4, 229, 0.18);
    color: var(--dark);
    box-shadow: 0 10px 28px rgba(107, 4, 229, 0.08);
}

.navbar.scrolled .trial-days-card:hover,
.inner-navbar .trial-days-card:hover {
    background: linear-gradient(135deg, rgba(107, 4, 229, 0.14), rgba(255, 214, 102, 0.26));
    border-color: rgba(107, 4, 229, 0.28);
    color: var(--dark);
}

.navbar.scrolled .trial-days-link,
.inner-navbar .trial-days-link {
    color: var(--primary-dark);
}

.nav-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e53935;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 10px;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4);
    pointer-events: none;
    animation: notificationPulse 2s ease-in-out infinite;
}

@keyframes notificationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* User Profile Navigation */
.user-profile-nav {
    position: relative;
    height: auto;
    z-index: 100;
}

.user-profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 15px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    font-family: inherit;
    font-size: inherit;
}

.user-profile-header:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.user-nav-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    display: block;
    flex-shrink: 0;
    background: var(--white);
}

.user-profile-header:hover .user-nav-avatar {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.user-nav-name {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.navbar.scrolled .user-profile-header {
    background: rgba(45, 24, 16, 0.08);
    border-color: rgba(45, 24, 16, 0.15);
}

.navbar.scrolled .user-profile-header:hover {
    background: rgba(45, 24, 16, 0.15);
    border-color: rgba(45, 24, 16, 0.25);
}

.navbar.scrolled .user-nav-avatar {
    border-color: rgba(45, 24, 16, 0.3);
}

.navbar.scrolled .user-profile-header:hover .user-nav-avatar {
    border-color: rgba(45, 24, 16, 0.5);
    box-shadow: 0 0 8px rgba(45, 24, 16, 0.15);
}

.navbar.scrolled .user-nav-name {
    color: var(--dark);
}

.user-nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(45, 24, 16, 0.15);
    display: none;
    z-index: 10000;
    overflow: visible;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.user-profile-nav:hover .user-nav-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.user-profile-nav.active .user-nav-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    color: var(--text);
    border: none;
    width: 100%;
    text-align: left;
    font-size: 0.93rem;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(196, 30, 58, 0.1);
    color: var(--color-primary-purple);
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--color-accent-gold);
    font-size: 0.95rem;
}

.dropdown-item:hover i {
    color: var(--color-primary-purple);
}

.dropdown-item.text-danger {
    color: #dc3545;
}

.dropdown-item.text-danger:hover {
    background: #fff5f5;
    color: #c82333;
}

.dropdown-item.text-danger i {
    color: #dc3545;
}

.dropdown-item.text-danger:hover i {
    color: #c82333;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 6px 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
    padding: 8px;
    border: 0;
    background: transparent;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.home-navbar .hamburger span {
    background: var(--white);
}

.inner-navbar .hamburger span {
    background: var(--dark);
}

.navbar.scrolled .hamburger span {
    background: var(--dark);
}

/* =================== HERO SECTION =================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #12070f;
}

.hero > .container {
    position: relative;
    z-index: 4;
}

.hero-media-poster,
.hero-video,
.hero-media-overlay {
    position: absolute;
    inset: 0;
}

.hero-media-poster {
    background-image: var(--hero-poster-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.02);
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.hero-video.is-ready {
    opacity: 1;
}

.hero-media-overlay {
    background: linear-gradient(135deg, rgba(107, 4, 229, 0.78), rgba(0, 0, 0, 0.58));
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #ffffff, transparent);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    color: var(--white);
    max-width: 650px;
    z-index: 4;
}

.hero-content .tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.45);
    color: var(--white);
}

.hero-content h1 span {
    color: inherit;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-links .btn-outline {
    border-color: #6b04e5;
    color: #6b04e5;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(154, 59, 31, 0.18);
}

.hero-links .btn-outline:hover,
.hero-links .btn-outline:active {
    background: #6b04e5;
    border-color: #6b04e5;
    color: var(--white);
    box-shadow: 0 12px 28px rgba(154, 31, 148, 0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat h3 {
    font-size: 2rem;
    color: var(--color-accent-gold);
}

.hero-stats .stat p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Floating hearts animation */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-hearts span {
    position: absolute;
    font-size: 20px;
    animation: floatHeart 6s infinite ease-in-out;
    opacity: 0.3;
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* =================== SEARCH BOX =================== */
.search-box-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.search-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.search-box h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-secondary-blue);
}

.search-box form {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
}

.search-box .form-group {
    flex: 1;
    min-width: 150px;
}

.search-box label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent-gold);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-box select,
.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-accent-gold);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: rgba(255, 215, 0, 0.03);
}

.search-box select:focus,
.search-box input:focus {
    border-color: var(--color-secondary-blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

/* =================== FEATURES SECTION =================== */
.features {
    padding: 100px 0;
    background: linear-gradient(160deg, #ffffff 0%, #f4f4f4 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(107, 4, 229, 0.12), rgba(0, 0, 0, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--color-primary-purple);
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--gradient-red-gold);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-primary-purple);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =================== PROFILES SECTION =================== */
.profiles-section {
    padding: 100px 0;
    background: linear-gradient(160deg, #ffffff 0%, #f9f9f9 100%);
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border-left: 4px solid var(--color-primary-purple);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(181, 21, 43, 0.22);
    border-left-color: var(--color-accent-gold);
}

.profile-card .badge-premium {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #d4af37, #f5d442);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.profile-card .card-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.profile-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-card:hover .card-image img {
    transform: scale(1.05);
}

.profile-card .card-image .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
}

.profile-card .card-image .overlay h3 {
    font-size: 1.15rem;
    margin-bottom: 3px;
}

.profile-card .card-image .overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.profile-card .card-body {
    padding: 20px;
}

.profile-card .card-body .info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.profile-card .card-body .info-row:last-child {
    border: none;
}

.profile-card .card-body .info-row .label {
    color: var(--color-accent-gold);
}

.profile-card .card-body .info-row .value {
    font-weight: 500;
    color: var(--color-secondary-blue);
}

.profile-card .card-footer {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
}

.profile-card .card-footer .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.8rem;
    padding: 10px;
}

/* =================== HOW IT WORKS =================== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #5103b0, #6b04e5);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.08);
}

.how-it-works .section-title h2 {
    color: var(--white);
}

.how-it-works .section-title h2::after {
    background: var(--gradient-red-gold);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(0, 0, 0, 0.45);
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step .step-number {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: var(--gradient-red-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.3);
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--white);
}

.step p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* =================== PRICING =================== */
.pricing {
    padding: 100px 0;
    background: linear-gradient(160deg, #ffffff 0%, #f9f9f9 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: stretch;
    }

    .price-card {
        padding: 36px 22px;
    }
}

.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--color-primary-purple);
}

.price-card.featured {
    border: 3px solid var(--color-primary-purple);
    border-top: 4px solid var(--color-accent-gold);
    transform: scale(1.05);
}

.price-card.featured .popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-red-gold);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(196, 30, 58, 0.15);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.price-card h3 {
    font-size: 1.3rem;
    color: var(--color-primary-purple);
    margin-bottom: 5px;
}

.price-card .price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-secondary-blue);
    margin: 15px 0;
}

.price-card .price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-accent-gold);
}

.price-card .duration {
    color: var(--color-accent-gold);
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.price-card ul {
    margin-bottom: 30px;
    text-align: left;
}

.price-card ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--color-primary-purple);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card ul li i {
    color: var(--color-accent-gold);
}

/* =================== TESTIMONIALS =================== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(160deg, #ffffff 0%, #f4f4f4 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border-left: 4px solid var(--color-primary-purple);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(181, 21, 43, 0.18);
    border-left-color: var(--color-accent-gold);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--color-accent-gold);
    position: absolute;
    top: 20px;
    right: 25px;
}

.testimonial-card .stars {
    color: var(--color-accent-gold);
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--color-primary-purple);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent-gold);
}

.testimonial-card .author h4 {
    font-size: 1rem;
    color: var(--color-secondary-blue);
}

.testimonial-card .author span {
    font-size: 0.8rem;
    color: var(--color-accent-gold);
}

/* =================== CTA SECTION =================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #5103b0 50%, #6b04e5 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    top: -30px;
    left: 10%;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* =================== FOOTER =================== */
.footer {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-red-gold);
    border-radius: 2px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-col p:hover {
    color: rgba(255, 255, 255, 0.95);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.3);
    transition: var(--transition);
}

.footer-logo:hover {
    filter: brightness(1.6);
    transform: scale(1.05);
}

.footer-col ul li a {
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--color-accent-gold);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom p:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom a:hover {
    color: var(--color-accent-gold);
}

/* =================== AUTH PAGES =================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, #f4f4f4);
    padding: 40px 20px;
}

.auth-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.auth-container .auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-container .auth-header h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.auth-container .auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =================== FORMS =================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(181, 21, 43, 0.12);
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

/* =================== ALERTS =================== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.alert-error {
    background: #fce4ec;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert-warning {
    background: #fff8e1;
    color: #f57f17;
    border-left: 4px solid #f57f17;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
}

/* =================== PROFILE PAGE =================== */
.profile-page {
    padding: 120px 0 60px;
    background: var(--bg-light);
    min-height: 100vh;
    margin-top: 70px;
    color: var(--dark) !important;
}

.profile-header {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-cover {
    height: 250px;
    background: var(--gradient);
    position: relative;
}

.profile-info {
    display: flex;
    align-items: end;
    gap: 25px;
    padding: 0 30px 25px;
    margin-top: -60px;
    position: relative;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--white);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.profile-details h2 {
    font-size: 1.8rem;
    color: var(--dark);
}

.profile-details .profile-id {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.profile-details .profile-meta {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.profile-details .profile-meta span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    padding: 0 30px;
}

.profile-tabs a {
    padding: 15px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.profile-tabs a.active,
.profile-tabs a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.profile-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item {
    padding: 10px 0;
}

.info-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-item .value {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

/* =================== SEARCH/BROWSE PAGE =================== */
.browse-page {
    padding: 100px 0 60px;
    background: var(--bg-light);
    min-height: 100vh;
    margin-top: 70px;
}

.browse-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.filter-sidebar h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.filter-group {
    margin-bottom: 18px;
}

.filter-group label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    display: block;
    margin-bottom: 5px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary);
}

.browse-results .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.browse-results .results-header h2 {
    font-size: 1.3rem;
    color: var(--dark);
}

.browse-results .results-header select {
    padding: 8px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
}

/* =================== DASHBOARD =================== */
.dashboard-page {
    padding: 100px 0 60px;
    background: var(--bg-light);
    min-height: 100vh;
    margin-top: 70px;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.sidebar-user {
    padding: 25px;
    text-align: center;
    background: var(--gradient);
    color: var(--white);
}

.sidebar-user img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-bottom: 10px;
}

.sidebar-user h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--primary-light);
}

.sidebar-user p {
    font-size: 0.75rem;
    opacity: 0.8;
}

.sidebar-menu {
    padding: 15px 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    font-size: 0.9rem;
    color: var(--text);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--bg-light);
    color: var(--primary);
    border-color: var(--primary);
}

/* =================== MATCHED PROFILES SECTION =================== */
.matched-profiles {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(154, 59, 31, 0.05) 0%, rgba(212, 163, 115, 0.03) 100%);
}

.matched-profiles .section-title h2 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =================== DASHBOARD TAB STYLING =================== */
.tab-container {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-badge {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interest Cards in Tabs */
.interest-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 15px;
    transition: var(--transition);
    background: var(--white);
}

.interest-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.interest-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
    object-fit: cover;
}

.interest-info {
    flex: 1;
}

.interest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.interest-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

.interest-id {
    font-size: 12px;
    color: var(--text-muted);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background-color: #fff8e1;
    color: #f57f17;
}

.status-accepted {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-rejected {
    background-color: #fce4ec;
    color: #c62828;
}

.interest-details {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.interest-actions {
    display: flex;
    gap: 10px;
}

.interest-actions a,
.interest-actions button {
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.interest-actions a:hover,
.interest-actions button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Plan Card in Tab */
.plan-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.plan-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin: 15px 0;
}

.plan-duration {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.plan-features {
    text-align: left;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.plan-features li {
    list-style: none;
    padding: 8px 0;
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li:before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
    margin-right: 8px;
}

.plan-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.plan-actions button,
.plan-actions a {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-upgrade {
    background: var(--gradient);
    color: white;
}

.btn-upgrade:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.btn-renew {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-renew:hover {
    background: var(--primary-light);
}

/* =============================================
   NAVBAR PAGE BASED STYLING
   ============================================= */

/* Home Page Navbar (Transparent) */
.home-navbar {
    background: transparent;
}

/* Inner Pages Navbar (White Background Always) */
.inner-navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Inner Page Links Color */
.inner-navbar .nav-links a {
    color: var(--dark);
}

/* Home Page Links White */
.home-navbar .nav-links a {
    color: var(--white);
}

/* Inner navbar user profile styling */
.inner-navbar .user-profile-header {
    background: rgba(154, 59, 31, 0.12);
    border-color: rgba(154, 59, 31, 0.2);
}

.inner-navbar .user-profile-header:hover {
    background: rgba(154, 59, 31, 0.2);
    border-color: rgba(154, 59, 31, 0.35);
}

.inner-navbar .user-nav-avatar {
    border-color: rgba(154, 59, 31, 0.3);
}

.inner-navbar .user-profile-header:hover .user-nav-avatar {
    border-color: rgba(154, 59, 31, 0.5);
    box-shadow: 0 0 8px rgba(154, 59, 31, 0.2);
}

.inner-navbar .user-nav-name {
    color: var(--dark);
}

/* ── Promotional Offer Modal ── */
.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: promoOverlayIn 0.3s ease;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.promo-modal-overlay.promo-modal-closing {
    animation: promoOverlayOut 0.3s ease forwards;
}

@keyframes promoOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes promoOverlayOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.promo-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: promoModalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.promo-modal-closing .promo-modal {
    animation: promoModalOut 0.25s ease forwards;
}

@keyframes promoModalPop {
    from {
        transform: scale(0.6) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes promoModalOut {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
}

.promo-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #555;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.promo-modal-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.promo-modal-ribbon {
    padding: 14px 20px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.promo-modal-ribbon i {
    margin-right: 6px;
}

.promo-modal-body {
    padding: 28px 28px 32px;
    text-align: center;
}

.promo-modal-discount {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    animation: promoDiscountBounce 0.6s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes promoDiscountBounce {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.promo-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px;
}

.promo-modal-desc {
    font-size: 0.88rem;
    color: #777;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* Countdown Timer */
.promo-modal-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.promo-timer-label {
    font-size: 0.78rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    width: 100%;
    margin-bottom: 6px;
}

.promo-timer-block {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 56px;
    text-align: center;
}

.promo-timer-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
}

.promo-timer-unit {
    display: block;
    font-size: 0.65rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.promo-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.3px;
}

.promo-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.promo-modal-btn:active {
    transform: translateY(0);
}

/* ══════════════════════════════════════════════
   MESSAGE WARNING MODAL
   ══════════════════════════════════════════════ */
.warning-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 24, 16, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: warningOverlayIn 0.3s ease;
    backdrop-filter: blur(3px);
    padding: 20px;
}

@keyframes warningOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.warning-modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(200, 35, 51, 0.25);
    animation: warningModalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes warningModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.warning-modal-header {
    background: linear-gradient(135deg, #c82333, #ff4757);
    padding: 30px 25px;
    text-align: center;
    color: white;
    position: relative;
}

.warning-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffe66d, #5fd3bc);
}

.warning-modal-icon {
    font-size: 4rem;
    margin-bottom: 12px;
    animation: warningIconShake 0.6s ease;
}

@keyframes warningIconShake {

    0%,
    100% {
        transform: translateX(0) rotateZ(0deg);
    }

    25% {
        transform: translateX(-5px) rotateZ(-2deg);
    }

    75% {
        transform: translateX(5px) rotateZ(2deg);
    }
}

.warning-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.warning-modal-body {
    padding: 30px 25px;
}

.warning-level-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.warning-level-badge.low {
    background: #e2f0fe;
    color: #0056b3;
}

.warning-level-badge.medium {
    background: #fff3cd;
    color: #856404;
}

.warning-level-badge.high {
    background: #fdd9d9;
    color: #c82333;
}

.warning-message {
    background: #fdf8f8;
    border: 2px solid #ffe5e5;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    color: #c82333;
    line-height: 1.6;
    font-weight: 500;
}

.warning-message i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.warning-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.warning-details strong {
    color: var(--dark);
    display: block;
    margin-bottom: 8px;
}

.warning-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warning-details li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.warning-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.warning-final-notice {
    background: linear-gradient(135deg, #fdd9d9, #fff0f0);
    border: 2px solid #c82333;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    color: #c82333;
}

.warning-final-notice strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.warning-final-notice i {
    font-size: 1.2rem;
}

.warning-ban-notice {
    background: linear-gradient(135deg, #fdd9d9, #fff0f0);
    border: 3px solid #c82333;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    color: #c82333;
    text-align: center;
}

.warning-ban-notice .ban-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.warning-ban-notice .ban-title i {
    font-size: 1.3rem;
}

.warning-ban-notice p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 8px 0;
}

.warning-guidelines-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 16px;
    background: var(--primary-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.warning-guidelines-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}

.warning-modal-footer {
    padding: 0 25px 25px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.warning-modal-close {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.warning-modal-close:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.warning-modal-guidelines {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.warning-modal-guidelines:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154, 59, 31, 0.25);
}

.warning-visibility-notice {
    padding: 12px 16px;
    background: #e2f0fe;
    border-left: 4px solid #0056b3;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.warning-visibility-notice strong {
    display: block;
    margin-bottom: 4px;
}

/* Main container */
.page-container {
    max-width: 1200px;
    margin: 90px auto 0;
    padding: 30px 20px;
    min-height: 70vh;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    border-radius: 16px;
}

.page-header h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin: 0 0 15px;
}

.page-subtitle {
    color: #888;
    font-size: 1.1rem;
    margin: 0;
}

/* How-to Grid */
.how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 0 0 40px;
}

.how-to-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border-left: 5px solid var(--primary);
}

.how-to-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.how-to-number {
    position: absolute;
    top: -16px;
    left: 28px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.how-to-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.how-to-card h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0 0 12px;
    padding-top: 8px;
}

.how-to-card p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
    font-size: 0.95rem;
}

.how-to-tips {
    background: #f8f9fa;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.how-to-tips strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.how-to-tips ul {
    margin: 0;
    padding-left: 20px;
}

.how-to-tips li {
    margin: 6px 0;
    color: #555;
    font-size: 0.85rem;
}

/* Guidelines Section */
.guidelines-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    padding: 40px 30px;
    border-radius: 16px;
    margin: 40px 0;
}

.guidelines-section h2 {
    text-align: center;
    margin: 0 0 30px;
    color: #2c3e50;
    font-size: 1.8rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.guideline-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.guideline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.guideline-item h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0 0 12px;
}

.guideline-item ul {
    margin: 0;
    padding-left: 20px;
}

.guideline-item li {
    margin: 8px 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Quick Links Section */
.quick-links-section {
    margin: 40px 0;
}

.quick-links-section h2 {
    color: #2c3e50;
    margin: 0 0 24px;
    font-size: 1.8rem;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.quick-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(154, 59, 31, 0.2);
}

.quick-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(154, 59, 31, 0.3);
    color: #fff;
    text-decoration: none;
}

.quick-link-btn i {
    font-size: 1.5rem;
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-section h2 {
    color: #2c3e50;
    margin: 0 0 24px;
    font-size: 1.8rem;
}

.faq-item {
    background: #fff;
    padding: 20px 24px;
    margin-bottom: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    color: var(--primary);
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.faq-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =================== COLOR UTILITY CLASSES =================== */
/* Text Color Utilities */
.text-dark-teal {
    color: var(--color-primary-purple);
}

.text-teal {
    color: var(--color-secondary-blue);
}

.text-lime-bright {
    color: var(--color-accent-gold);
}

.text-lime-neon {
    color: var(--color-accent-gold);
}

.text-lime-muted {
    color: var(--color-accent-gold);
}

/* Background Color Utilities */
.bg-dark-teal {
    background-color: var(--color-primary-purple);
}

.bg-teal {
    background-color: var(--color-secondary-blue);
}

.bg-lime-bright {
    background-color: var(--color-accent-gold);
}

.bg-lime-neon {
    background-color: var(--color-accent-gold);
}

.bg-lime-muted {
    background-color: var(--color-accent-gold);
}

/* Hover Effects with New Colors */
.hover-dark-teal:hover {
    color: var(--color-primary-purple);
}

.hover-teal:hover {
    color: var(--color-secondary-blue);
}

.hover-lime-bright:hover {
    color: var(--color-accent-gold);
}

.hover-lime-neon:hover {
    color: var(--color-accent-gold);
}

.hover-lime-muted:hover {
    color: var(--color-accent-gold);
}

/* Border Utilities */
.border-teal {
    border-color: var(--color-secondary-blue);
}

.border-lime-bright {
    border-color: var(--color-accent-gold);
}

.border-dark-teal {
    border-color: var(--color-primary-purple);
}

/* Gradient Background Utilities */
.bg-gradient-teal-lime {
    background: var(--gradient-red-gold);
    color: var(--white);
}

.bg-gradient-teal-neon {
    background: var(--gradient-red-blue);
    color: var(--white);
}

.bg-gradient-lime {
    background: var(--gradient-gold-red);
    color: var(--color-primary-purple);
}

/* Box Shadow with New Colors */
.shadow-teal {
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.2);
}

.shadow-lime {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

/* Accent Underline */
.underline-teal {
    position: relative;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--color-secondary-blue);
}

.underline-lime-bright {
    position: relative;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--color-accent-gold);
}

/* =================== FLOATING BUTTONS =================== */
.floating-buttons-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: white;
    position: relative;
    flex-direction: column;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.floating-btn:active {
    transform: scale(0.95);
}

.lang-btn {
    width: auto;
    min-width: 72px;
    height: 44px;
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--color-primary-purple);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    flex-direction: row;
    gap: 6px;
}

.lang-btn:hover {
    background: var(--white);
    color: var(--color-primary-purple);
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
}

.lang-label {
    display: inline-flex;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.78rem;
    min-width: 16px;
    justify-content: center;
}

/* =================== ENHANCED MOBILE RESPONSIVE =================== */

/* Extra Small Devices (Phones, 480px and below) */
@media (max-width: 480px) {

    /* Floating Buttons Mobile */
    .floating-buttons-container {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1rem;
    }

    .lang-btn {
        min-width: 68px;
        width: auto;
        height: 40px;
        padding: 8px 10px;
    }

    .lang-flag {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .lang-label {
        font-size: 0.72rem;
    }

    .container {
        padding: 0 15px;
    }

    /* Navbar Improvements */
    .navbar {
        padding: 8px 0;
    }

    .navbar .container {
        gap: 8px;
    }

    .navbar-brand {
        gap: 6px;
        flex-shrink: 0;
    }

    .navbar-brand .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-brand h1 {
        font-size: 1.1rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .navbar-brand span {
        font-size: 0.6rem;
        margin-top: -2px;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .hamburger span {
        width: 20px;
        background: var(--white);
    }

    .navbar.scrolled .hamburger span,
    .inner-navbar .hamburger span {
        background: var(--dark);
    }

    .nav-auth {
        gap: 6px;
        flex-shrink: 0;
    }

    .nav-auth .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: auto;
    }

    .btn-outline {
        border-width: 1.5px;
    }

    /* User Profile Navigation */
    .user-profile-header {
        padding: 4px 8px;
        gap: 6px;
    }

    .user-nav-avatar {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }

    .user-nav-name {
        max-width: 70px;
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero {
        min-height: 80vh;
        text-align: center;
    }

    .hero-content {
        padding: 20px 0;
    }

    .hero-content .tagline {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-top: 20px;
    }

    .hero-stats .stat h3 {
        font-size: 1.5rem;
    }

    /* Search Box */
    .search-box-section {
        margin-top: -40px;
        padding: 0 15px;
    }

    .search-box {
        padding: 20px 15px;
    }

    .search-box h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .search-box form {
        flex-direction: column;
        gap: 12px;
    }

    .search-box .form-group {
        width: 100%;
        min-width: 100%;
    }

    .search-box select,
    .search-box input {
        padding: 10px 12px;
        font-size: 16px;
    }

    /* Section Titles */
    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    /* Features Section */
    .features {
        padding: 50px 0;
    }

    .features-grid {
        gap: 15px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-card .icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    /* Profiles Section */
    .profiles-section {
        padding: 50px 0;
    }

    .profiles-grid {
        gap: 15px;
        grid-template-columns: 1fr;
    }

    .profile-card .card-image {
        height: 220px;
    }

    .profile-card .card-body {
        padding: 15px;
    }

    .profile-card .card-body .info-row {
        padding: 6px 0;
        font-size: 0.8rem;
    }

    .profile-card .card-footer {
        padding: 12px 15px;
        flex-direction: column;
        gap: 8px;
    }

    .profile-card .card-footer .btn {
        width: 100%;
    }

    /* How It Works */
    .how-it-works {
        padding: 50px 0;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .steps::before {
        display: none;
    }

    .step .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .step h3 {
        font-size: 1rem;
    }

    .step p {
        font-size: 0.8rem;
        padding: 0 15px;
    }

    /* Pricing Section */
    .pricing {
        padding: 50px 0;
    }

    .pricing-grid {
        gap: 15px;
    }

    .price-card {
        padding: 25px 20px;
    }

    .price-card.featured {
        transform: none;
    }

    .price-card.featured:hover {
        transform: translateY(-8px);
    }

    .price-card h3 {
        font-size: 1.1rem;
    }

    .price-card .price {
        font-size: 2rem;
    }

    .price-card ul li {
        font-size: 0.8rem;
        padding: 6px 0;
    }

    /* Testimonials */
    .testimonials {
        padding: 50px 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-card p {
        font-size: 0.85rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .cta-section .btn {
        width: 90%;
        max-width: 300px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 0.8rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 0.75rem;
    }

    /* Auth Pages */
    .auth-page {
        padding: 20px 15px;
    }

    .auth-container {
        padding: 30px 20px;
    }

    .auth-container .auth-header h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 16px;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    /* Dashboard */
    .dashboard-page {
        padding: 80px 0 40px;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .sidebar-user {
        padding: 20px;
    }

    .sidebar-user img {
        width: 60px;
        height: 60px;
    }

    .sidebar-menu a {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Profile Page */
    .profile-page {
        padding: 80px 0 40px;
    }

    .profile-cover {
        height: 150px;
    }

    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 15px 20px;
        margin-top: -40px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-details h2 {
        font-size: 1.3rem;
    }

    .profile-details .profile-meta {
        justify-content: center;
        gap: 10px;
    }

    .profile-tabs {
        padding: 0 15px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .profile-tabs a {
        padding: 12px 15px;
        font-size: 0.8rem;
    }

    .info-card {
        padding: 20px;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Browse Page */
    .browse-page {
        padding: 80px 0 40px;
    }

    .browse-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 20px;
        padding: 20px;
    }

    .browse-results .results-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .browse-results .results-header h2 {
        font-size: 1.1rem;
    }

    .browse-results .results-header select {
        width: 100%;
    }

    /* Tabs and Interest Cards */
    .tab-container {
        flex-direction: column;
        gap: 5px;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 0.85rem;
    }

    .interest-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .interest-avatar {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .interest-header {
        flex-direction: column;
        gap: 5px;
    }

    .interest-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .plan-card {
        padding: 20px 15px;
    }

    .plan-price {
        font-size: 28px;
    }

    .plan-actions {
        flex-direction: column;
    }

    /* Warning Modal */
    .warning-modal {
        width: 95%;
        margin: 10px;
    }

    .warning-modal-header {
        padding: 20px 15px;
    }

    .warning-modal-icon {
        font-size: 3rem;
    }

    .warning-modal-title {
        font-size: 1.2rem;
    }

    .warning-modal-body {
        padding: 20px 15px;
    }

    .warning-message {
        padding: 15px;
        font-size: 0.85rem;
    }

    .warning-modal-footer {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px 20px;
    }

    .warning-modal-close,
    .warning-modal-guidelines {
        width: 100%;
    }

    /* Promo Modal */
    .promo-modal {
        width: 95%;
    }

    .promo-modal-body {
        padding: 20px 15px;
    }

    .promo-modal-discount {
        font-size: 2rem;
    }

    .promo-modal-title {
        font-size: 1rem;
    }

    .promo-modal-desc {
        font-size: 0.8rem;
    }

    .promo-timer-block {
        min-width: 45px;
        padding: 6px 8px;
    }

    .promo-timer-num {
        font-size: 1rem;
    }

    /* Page Container */
    .page-container {
        margin-top: 75px;
        padding: 20px 12px;
    }

    .page-header {
        padding: 20px 12px;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .page-header h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .how-to-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 25px;
    }

    .how-to-card {
        padding: 20px 16px;
    }

    .how-to-number {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
        top: -14px;
        left: 20px;
    }

    .how-to-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .how-to-card h3 {
        font-size: 1.1rem;
    }

    .guidelines-section {
        padding: 20px 12px;
        margin: 25px 0;
    }

    .guidelines-section h2 {
        font-size: 1.4rem;
    }

    /* User Dropdown Mobile Fix */
    .user-nav-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 15px 15px 0 0;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 10001;
    }

    .navbar-logo {
        height: 40px;
    }
}

/* ═══════════════════════════════════════════
   LANGUAGE TOGGLE BUTTON (English ↔ Marathi)
   ═══════════════════════════════════════════ */
.lang-toggle {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6b04e5, #1a1a1a);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(154, 59, 31, 0.4);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(154, 59, 31, 0.55);
}

.lang-toggle:active {
    transform: translateY(0);
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.lang-label {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .lang-toggle {
        bottom: 80px;
        right: 14px;
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .lang-flag {
        width: 24px;
        height: 24px;
        font-size: 0.78rem;
    }
}

.guidelines-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.quick-links-section h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.quick-links {
    grid-template-columns: 1fr;
    gap: 12px;
}

.quick-link-btn {
    padding: 16px 12px;
    font-size: 0.85rem;
}

.faq-section h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.faq-item {
    padding: 16px 14px;
}
}

/* Small devices (375px and below) */
@media (max-width: 375px) {
    .navbar-brand h1 {
        font-size: 0.95rem;
    }

    .navbar-brand span {
        font-size: 0.55rem;
    }

    .nav-auth .btn {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .user-nav-name {
        display: none;
    }

    .user-profile-header {
        padding: 3px;
    }

    .user-nav-avatar {
        width: 30px;
        height: 30px;
    }

    .hamburger {
        padding: 6px;
    }

    .hamburger span {
        width: 18px;
    }

    .navbar.scrolled .hamburger span,
    .inner-navbar .hamburger span {
        background: var(--dark);
    }

}

/* Small devices (481px to 768px) */
@media (min-width: 481px) {
    .container {
        padding: 0 20px;
    }

    .navbar-brand h1 {
        font-size: 1.3rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }


    .profile-info {
        padding: 0 20px 20px;
    }

}

/* Tablet Devices (769px to 992px) */
@media (max-width: 992px) {
    .navbar .container {
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .nav-panel {
        width: 100%;
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        margin-left: 0;
        padding: 0 16px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(45, 24, 16, 0.12);
        transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
    }

    .nav-panel.active {
        max-height: calc(100vh - 90px);
        opacity: 1;
        pointer-events: auto;
        overflow-y: auto;
        padding: 16px;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .nav-links a {
        color: var(--dark) !important;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(196, 30, 58, 0.08);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-auth {
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .nav-notification-link {
        width: 100%;
        border-radius: 12px;
        height: 44px;
        background: rgba(45, 24, 16, 0.08);
        border-color: rgba(45, 24, 16, 0.12);
        color: var(--dark);
        font-size: 0.95rem;
        gap: 8px;
    }

    .nav-notification-link::after {
        content: 'Messages';
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .trial-days-card {
        width: 100%;
        min-width: 0;
        border-radius: 12px;
        padding: 12px 14px;
        background: linear-gradient(135deg, rgba(107, 4, 229, 0.08), rgba(255, 214, 102, 0.18));
        border-color: rgba(107, 4, 229, 0.18);
        color: var(--dark);
        box-shadow: none;
    }

    .trial-days-link {
        color: var(--primary-dark);
    }

    .nav-auth .btn,
    .user-profile-nav,
    .user-profile-header {
        width: 100%;
    }

    .nav-auth .btn {
        justify-content: center;
    }

    .user-profile-header {
        justify-content: space-between;
        background: rgba(45, 24, 16, 0.08);
        border-color: rgba(45, 24, 16, 0.12);
    }

    .user-nav-name {
        color: var(--dark);
        max-width: none;
        flex: 1;
        text-align: left;
    }

    .user-nav-dropdown {
        position: static;
        top: auto;
        right: auto;
        min-width: 100%;
        margin-top: 10px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border-radius: 14px;
        display: none;
    }

    .user-profile-nav:hover .user-nav-dropdown {
        display: none;
    }

    .user-profile-nav.active .user-nav-dropdown {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .navbar-logo {
        height: 48px;
    }

    .steps::before {
        display: none;
    }

    .filter-sidebar {
        position: static;
    }
}

/* Fix for iOS input zoom */
@media screen and (-webkit-min-device-pixel-ratio:0) {

    select,
    textarea,
    input {
        font-size: 16px !important;
    }
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 1200px) {
    .nav-panel {
        gap: 18px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-auth .btn {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Improve touch targets */
@media (max-width: 768px) {

    .nav-links a,
    .btn,
    .dropdown-item,
    .footer-social a,
    .profile-tabs a,
    .sidebar-menu a,
    .tab-btn,
    .interest-actions a,
    .interest-actions button,
    .quick-link-btn {
        min-height: 44px;
        min-width: 44px;
    }

    input[type="checkbox"],
    input[type="radio"] {
        min-width: 20px;
        min-height: 20px;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar-logo {
        height: 42px;
    }

    .nav-panel.active {
        max-height: calc(100vh - 78px);
    }

    .hero {
        padding-top: 76px;
    }

    .hero-content {
        padding-top: 24px;
    }
}

/* Landscape mode on mobile */
@media (max-height: 480px) and (orientation: landscape) {
    .navbar {
        padding: 3px 0;
    }

    .navbar-brand h1 {
        font-size: 0.9rem;
    }

    .navbar-logo {
        height: 30px;
    }

    .hero {
        min-height: 120vh;
    }
}


/* =================== ANIMATIONS =================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Shimmer loading */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}
