/* ============================================
   Tally Ki Pathshala - Premium Style System
   Dark Blue + Orange Theme | SaaS Design
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Primary - Sky Blue & Navy Palette (Base color: Sky Blue #87ceeb) */
    --primary-900: #0c2533; /* Very dark navy-sky blue for deep text and footer bg */
    --primary-800: #123447; /* Dark navy-sky blue */
    --primary-700: #19465f; /* Medium dark sky-blue */
    --primary-600: #215978;
    --primary-500: #2d739c; /* Soft dark sky blue */
    --primary-400: #468ebb;
    --primary-300: #6caacb;
    --primary-200: #87ceeb; /* Pure Sky Blue base */
    --primary-100: #c2e6f4; /* Lighter sky blue */
    --primary-50: #eaf6fc;  /* Lightest ice sky blue */

    /* Accent - Royal Blue Palette (Logo-matched #0a5da6) */
    --accent-600: #084c8a; /* Darker royal blue */
    --accent-500: #0a5da6; /* Main logo royal blue */
    --accent-400: #1a7fe0; /* Bright royal blue */
    --accent-300: #4da3f7; /* Light royal blue */
    --accent-200: #80c0ff;
    --accent-100: #b3dbff;
    --accent-glow: rgba(10, 93, 166, 0.4);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --dark: #0f172a;

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --shadow-accent: 0 8px 30px rgba(10, 93, 166, 0.3);
    --shadow-card: 0 4px 24px rgba(12, 37, 51, 0.08);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
}

/* ---- Base Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-800);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--accent-500);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-600);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Utility Classes ---- */
.section-padding {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-500);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 20px auto 0;
}

.text-gradient {
    color: var(--accent-500);
}

.bg-dark-gradient {
    background: var(--primary-900);
}

/* ---- Buttons ---- */
.btn-accent {
    background: var(--accent-500);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-accent:hover {
    background-color: var(--accent-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover::before {
    left: 100%;
}

.btn-outline-accent {
    background: transparent;
    color: var(--accent-500);
    border: 2px solid var(--accent-500);
    padding: 10px 26px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-outline-accent:hover {
    background: var(--accent-500);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-dark-blue {
    background: var(--primary-800);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-dark-blue:hover {
    background-color: var(--primary-900);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20ba5a, #0e6f63);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

/* ---- Navbar ---- */
#mainNavbar {
    padding: 16px 0;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-blur);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

#mainNavbar.scrolled .site-logo-img {
    height: 48px !important;
    max-height: 48px !important;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-500);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-900);
    display: block;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-brand img {
    transition: transform var(--transition-fast), height var(--transition-normal), max-height var(--transition-normal);
    flex-shrink: 0;
}

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

.navbar-nav .nav-link {
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-500);
    background: var(--primary-50);
}

.nav-cta {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.hero-section::before {
    display: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(1deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-500);
    border-radius: var(--radius-full);
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

.hero-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 12s; }
.hero-particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; animation-duration: 18s; }
.hero-particle:nth-child(3) { top: 40%; left: 30%; animation-delay: 4s; animation-duration: 14s; }
.hero-particle:nth-child(4) { top: 80%; left: 50%; animation-delay: 6s; animation-duration: 16s; }
.hero-particle:nth-child(5) { top: 10%; left: 70%; animation-delay: 1s; animation-duration: 20s; }
.hero-particle:nth-child(6) { top: 50%; left: 90%; animation-delay: 3s; animation-duration: 10s; }
.hero-particle:nth-child(7) { top: 70%; left: 20%; animation-delay: 5s; animation-duration: 22s; }
.hero-particle:nth-child(8) { top: 30%; left: 60%; animation-delay: 7s; animation-duration: 13s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.2; }
    25% { transform: translate(40px, -60px); opacity: 0.5; }
    50% { transform: translate(-30px, -120px); opacity: 0.3; }
    75% { transform: translate(60px, -80px); opacity: 0.4; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 93, 166, 0.15);
    border: 1px solid rgba(10, 93, 166, 0.3);
    color: var(--accent-400);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--primary-900);
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    color: var(--accent-500);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-400);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-image-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    display: none;
    border-radius: var(--radius-full);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(60px);
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Service Cards ---- */
.services-section {
    background: var(--gray-50);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-500);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: rgba(10, 93, 166, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--accent-500);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--accent-500);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---- TDL Product Cards ---- */
.tdl-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tdl-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.tdl-card-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
}

.tdl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tdl-card:hover .tdl-card-image img {
    transform: scale(1.08);
}

.tdl-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-200); color: var(--primary-900);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.tdl-card-price-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent-500);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.tdl-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tdl-card-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-800);
}

.tdl-card-body p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex: 1;
}

.tdl-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.tdl-card-footer .price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-500);
}

.tdl-card-footer .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ---- Tally Prime Section ---- */
.tally-prime-section {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.tally-prime-section::before {
    display: none;
}

.tally-prime-section .section-title h2 {
    color: var(--primary-800);
}

.tally-prime-section .section-title p {
    color: var(--gray-600);
}

.tally-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tally-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
}

.tally-card.featured {
    border-color: var(--accent-500);
    background: var(--primary-50);
}

.tally-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-500);
    color: var(--white);
    padding: 4px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
}

.tally-card-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-500);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--white);
}

.tally-card h3 {
    color: var(--primary-800);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.tally-card .tally-edition {
    color: var(--accent-400);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tally-card .price-block {
    margin-bottom: 24px;
}

.tally-card .price-block .price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-900);
}

.tally-card .price-block .price-note {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.tally-card .features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    text-align: left;
}

.tally-card .features-list li {
    color: var(--gray-700);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
}

.tally-card .features-list li i {
    color: var(--accent-400);
    margin-right: 10px;
}

/* ---- Enquiry Section ---- */
.enquiry-section {
    background: var(--gray-50);
    position: relative;
}

.enquiry-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.enquiry-info {
    background: var(--primary-500);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: var(--white);
    height: 100%;
}

.enquiry-info h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.enquiry-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.enquiry-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.enquiry-info-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 0, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-400);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.enquiry-info-item h6 {
    color: var(--white);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.enquiry-info-item p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ---- Form Styling ---- */
.form-floating > .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.625rem 1rem 0.625rem 1rem;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    background: var(--gray-50);
}

.form-floating > .form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    background: var(--gray-50);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--accent-500);
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
    background: var(--white);
}

.form-floating > label {
    color: var(--gray-500);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-500);
}

/* ---- TDL Details Page ---- */
.tdl-detail-section {
    padding-top: 120px;
}

.tdl-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.tdl-main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background-color: #f8fafc;
}

.tdl-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.tdl-gallery-thumb {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.tdl-gallery-thumb:hover,
.tdl-gallery-thumb.active {
    border-color: var(--accent-500);
    transform: scale(1.05);
}

.tdl-gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.tdl-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-top: 24px;
    box-shadow: var(--shadow-md);
}

.tdl-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-xl);
}

.tdl-info {
    padding-left: 24px;
}

.tdl-info .tdl-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 0, 0, 0.1);
    color: var(--accent-500);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tdl-info h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.tdl-info .tdl-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-500);
    margin-bottom: 24px;
}

.tdl-info .tdl-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.tdl-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.tdl-features-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tdl-features-list li i {
    color: var(--success);
    font-size: 1rem;
}

.tdl-action-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- Search & Filter Bar ---- */
.search-filter-bar {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    border: 1px solid var(--gray-200);
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-input-wrapper input {
    padding-left: 44px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    height: 48px;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
    border-color: var(--accent-500);
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
}

/* ---- Page Header ---- */
.page-header {
    background: var(--primary-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    display: none;
}

.page-header h1 {
    color: var(--primary-900);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    justify-content: center;
    margin-top: 20px;
}

.page-header .breadcrumb-item a {
    color: var(--accent-400);
}

.page-header .breadcrumb-item.active {
    color: var(--gray-500);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--gray-400);
}

/* ---- Buy Tally Page ---- */
.comparison-table {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.comparison-table thead th {
    background: var(--primary-500);
    color: var(--white);
    padding: 20px;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}

.comparison-table thead th.featured-col {
    background: var(--accent-500);
}

.comparison-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    text-align: center;
    font-size: 0.95rem;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--primary-800);
}

.comparison-table .check {
    color: var(--success);
    font-size: 1.2rem;
}

.comparison-table .cross {
    color: var(--gray-300);
    font-size: 1.2rem;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 34px;
    width: 44px;
    height: 44px;
    background: var(--primary-700);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-500);
    transform: translateY(-3px);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--gray-50);
    color: var(--gray-600);
    border-top: 1px solid var(--gray-200);
}

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

.footer-brand .brand-icon {
    width: 44px;
    height: 44px;
}

.footer-brand h5 {
    color: var(--primary-900);
    font-family: var(--font-heading);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-500);
    color: var(--white);
    border-color: var(--accent-500);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--primary-900);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent-500);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-500);
    padding-left: 8px;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.footer-contact li i {
    color: var(--accent-400);
    font-size: 1rem;
}

.footer-contact li a {
    color: var(--gray-600);
}

.footer-contact li a:hover {
    color: var(--accent-500);
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding: 20px 0;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ---- Thank You Modal ---- */
.thank-you-content {
    text-align: center;
    padding: 20px;
}

.thank-you-content .check-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.thank-you-content h3 {
    margin-bottom: 12px;
}

.thank-you-content p {
    color: var(--gray-500);
}

/* ---- Lightbox ---- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-400);
}

/* ---- Placeholder Image Style ---- */
.placeholder-image {
    background: var(--primary-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

/* ---- Alert customization ---- */
.alert {
    border-radius: var(--radius-md);
    border: none;
    font-size: 0.95rem;
}

/* ---- Pagination ---- */
.pagination .page-link {
    color: var(--primary-700);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm) !important;
    margin: 0 4px;
    padding: 8px 16px;
    transition: all var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--accent-500);
    color: var(--white);
    border-color: var(--accent-500);
}

.pagination .page-item.active .page-link {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: var(--white);
}

/* ---- Contact Page ---- */
.contact-section {
    padding-top: 40px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card .icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--accent-500);
}

.contact-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---- No Results ---- */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.no-results h4 {
    color: var(--gray-500);
    margin-bottom: 12px;
}

.no-results p {
    color: var(--gray-400);
}

/* ---- Loading Spinner ---- */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-overlay.active {
    display: flex;
}

.custom-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--accent-500);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Cart & Custom Pricing Styles ---- */
.nav-cart-link {
    position: relative;
    padding-right: 10px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-500);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-800);
}

@media (min-width: 992px) {
    .cart-badge {
        top: 2px;
        right: 12px;
    }
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.original-price {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 0.9em;
    font-weight: 500;
}

.offer-price {
    color: var(--accent-500);
    font-weight: 700;
}

/* Toast Custom */
.cart-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-900);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--accent-500);
    animation: slideInLeft 0.3s ease forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Cart Page */
.cart-section {
    padding: 120px 0 80px;
}

.cart-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--gray-200);
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 4px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--accent-500);
}

.cart-item-remove {
    color: var(--danger);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-item-remove:hover {
    transform: scale(1.1);
}

.cart-summary {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.cart-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-900);
    border-top: 1px solid var(--gray-200);
    padding-top: 12px;
    margin-top: 12px;
}

.discount-text {
    color: var(--success);
    font-weight: 600;
}

/* ---- Checkout Social Discounts & Payment Styling ---- */
.social-discounts-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.social-discounts-box:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
}

.payment-methods-box {
    margin-bottom: 24px;
}

.payment-option {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-300);
    transform: translateY(-2px);
}

.payment-option.active {
    border-color: var(--accent-500);
    background: var(--gray-50);
    box-shadow: 0 0 0 1px var(--accent-500);
}

.payment-option .form-check-input {
    cursor: pointer;
}

.payment-option .form-check-input:checked {
    background-color: var(--accent-500);
    border-color: var(--accent-500);
}

#directUPIBlock {
    background: var(--gray-50);
    border: 1.5px dashed var(--primary-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-top: 16px;
    animation: fadeIn 0.3s ease-in-out;
}

.qr-container {
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
    width: fit-content;
    transition: transform 0.3s ease;
}

.qr-container:hover {
    transform: scale(1.05);
}

.upi-id-badge {
    background: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid var(--primary-100);
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

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

/* ---- Certifications Section ---- */
.certificates-section {
    background: var(--gray-50);
}

.certificate-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-300);
}

.certificate-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f8f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform var(--transition-slow);
}

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

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 37, 51, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.certificate-card:hover .certificate-overlay {
    opacity: 1;
}

.certificate-overlay .view-btn {
    background: var(--accent-500);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-accent);
    transform: translateY(10px);
    transition: transform var(--transition-normal);
}

.certificate-card:hover .certificate-overlay .view-btn {
    transform: translateY(0);
}

.certificate-info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

.certificate-info h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 0;
    transition: color var(--transition-fast);
}

.certificate-card:hover .certificate-info h5 {
    color: var(--accent-500);
}

/* ---- Media Gallery Styles ---- */
.gallery-pills .nav-link {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    margin: 0 8px;
    transition: all var(--transition-fast);
}

.gallery-pills .nav-link:hover {
    color: var(--primary-800);
    border-color: var(--primary-500);
    background: rgba(12, 37, 51, 0.03);
}

.gallery-pills .nav-link.active {
    background: var(--accent-500);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-accent);
}

.gallery-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.gallery-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--primary-900);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-wrapper.image-post {
    aspect-ratio: auto;
    background: transparent;
}

.gallery-image-wrapper.image-post img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 0;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.video-play-overlay,
.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 13, 26, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    backdrop-filter: blur(1px);
}

.gallery-card:hover .video-play-overlay,
.gallery-card:hover .image-zoom-overlay {
    opacity: 1;
}

.play-button-circle {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-500);
    font-size: 1.8rem;
    padding-left: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: scale(0.8);
    transition: all var(--transition-normal);
}

.gallery-card:hover .play-button-circle {
    transform: scale(1);
    background: var(--accent-500);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.image-zoom-overlay i {
    font-size: 2rem;
    color: var(--white);
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.gallery-card:hover .image-zoom-overlay i {
    transform: scale(1);
}

.gallery-card-body {
    padding: 20px;
}

.gallery-card-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-800);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.media-type-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}

.media-type-badge.video {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.media-type-badge.post {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.empty-media-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--gray-300);
    width: 100%;
}

.empty-media-state i {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.empty-media-state h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-800);
}

/* ---- Custom Language Selector Styling ---- */
.lang-selector-group {
    border: 1.5px solid var(--accent-500) !important;
    border-radius: 30px !important;
    overflow: hidden;
    background: #fff;
    padding: 0;
}

.lang-selector-group .lang-btn {
    border: none !important;
    border-radius: 0 !important;
    background: transparent;
    color: var(--accent-500);
    font-weight: 600;
    padding: 8px 24px;
    font-size: 0.88rem;
    transition: all var(--transition-fast);
    box-shadow: none !important;
}

.lang-selector-group .lang-btn:not(:last-child) {
    border-right: 1.5px solid var(--accent-500) !important;
}

.lang-selector-group .lang-btn.active {
    background: var(--accent-500) !important;
    color: #fff !important;
}

.lang-selector-group .lang-btn:hover:not(.active) {
    background: rgba(10, 93, 166, 0.08) !important;
    color: var(--accent-600) !important;
}

/* ---- Advanced 3D Hover Tilt Card ---- */
/* ---- Advanced 3D Hover Tilt Card ---- */
.logo-3d-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 40px 80px rgba(12, 37, 51, 0.12), var(--logo-glow-shadow, 0 10px 30px rgba(10, 93, 166, 0.05));
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dynamic border on hover */
.logo-3d-card:hover {
    border-color: rgba(10, 93, 166, 0.4);
}

/* Card Glare Layer */
.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 65%);
    opacity: var(--glare-opacity, 0);
    transition: opacity 0.15s ease-out;
    border-radius: var(--radius-xl);
}

/* Float effect when NOT hovered */
.logo-3d-card:not(.hovered) {
    animation: floatAnimation 6s ease-in-out infinite;
}

.logo-3d-card img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    filter: drop-shadow(0 20px 40px rgba(10, 93, 166, 0.18));
    transform: translateZ(60px); /* Stronger 3D pop! */
    transition: transform 0.25s ease-out, filter 0.3s ease;
}

.logo-3d-card.hovered img {
    transform: translateZ(75px) scale(1.04);
    filter: drop-shadow(0 25px 45px rgba(10, 93, 166, 0.25));
}

@keyframes floatAnimation {
    0%, 100% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(8deg) translateY(0);
        box-shadow: 0 40px 80px rgba(12, 37, 51, 0.12), 0 10px 30px rgba(10, 93, 166, 0.05);
    }
    50% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(8deg) translateY(-15px);
        box-shadow: 0 55px 95px rgba(12, 37, 51, 0.18), 0 15px 45px rgba(10, 93, 166, 0.1);
    }
}

/* ---- Separate 3D Text Card ---- */
.text-3d-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    box-shadow: none;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

.text-3d-card:not(.hovered) {
    animation: floatAnimationText 5s ease-in-out infinite;
}

.text-3d-card-content {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ff001e; /* Vibrant Bright Red */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Outfit', 'Inter', sans-serif;
    transform: translateZ(40px);
    display: inline-block;
    transition: transform 0.25s ease-out, text-shadow 0.25s ease-out;
    text-shadow: 
        0 1px 0 #cc0015,
        0 2px 0 #b30012,
        0 3px 0 #990010,
        0 4px 0 #80000d,
        0 5px 0 #66000a,
        0 8px 16px rgba(255, 0, 30, 0.35),
        0 0 12px rgba(255, 0, 30, 0.5);
}

.text-3d-card.hovered .text-3d-card-content {
    transform: translateZ(55px) scale(1.06);
    color: #ff1f36; /* Slightly brighter on hover */
    text-shadow: 
        0 1px 0 #ff3344,
        0 2px 0 #cc0015,
        0 3px 0 #b30012,
        0 4px 0 #990010,
        0 5px 0 #80000d,
        0 6px 0 #66000a,
        0 12px 24px rgba(255, 0, 30, 0.55),
        0 0 25px rgba(255, 0, 30, 0.75);
}

@keyframes floatAnimationText {
    0%, 100% {
        transform: perspective(1000px) rotateY(8deg) rotateX(-8deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(8deg) rotateX(-8deg) translateY(10px);
    }
}


