/* --- 1. THEME VARIABLES --- */
:root {
    --primary-blue: #49417d; /* Main brand purple from logo */
    --navy-blue: #413257; /* Darker purple from logo */
    --accent-purple: #765091; /* Medium purple accent */
    --light-purple: #8875a8; /* Lighter purple accent */
    --brand-blue: #153d82; /* Blue from logo for special elements */
    --accent-orange: #ffb994;
    --text-dark: #27272a;
    --text-body: #64748b;
    --success-green: #10b981;
    --danger-red: #ef4444;
    
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --border-color: #e5e7eb;
}

/* --- 2. GLOBAL RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
}

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

.btn-primary:hover {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: rgba(73, 65, 125, 0.1); /* Using primary purple with opacity */
}

.section-padding { padding: 80px 0; }
.section-header { margin-bottom: 50px; }
.divider {
    height: 4px;
    width: 50px;
    background-color: var(--primary-blue);
    margin: 15px 0 25px 0;
}

/* --- PAGE HEADER COMPONENT (Reusable) --- */
.page-header-section {
    background: var(--white);
    padding: 40px 0 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.page-divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-blue);
    margin: 0 auto 16px auto;
}

.page-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* --- FILTER SECTION STYLES --- */
.filter-section {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.filter-toggle-btn {
    display: none;
}

.filter-content {
    display: block;
}

.filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.filter-item {
    flex: 1;
    min-width: 220px;
}

.filter-item.filter-button {
    display: flex;
    align-items: flex-end;
    min-width: auto;
}

.filter-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.filter-label i {
    margin-right: 6px;
    color: var(--primary-blue);
}

.filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: var(--white);
    cursor: pointer;
}

.filter-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(27, 82, 200, 0.1);
    outline: none;
}

.filter-clear-btn {
    padding: 12px 24px;
    background: var(--light-bg);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-clear-btn:hover {
    background: #e5e7eb;
    border-color: var(--primary-blue);
}

.filter-clear-btn i {
    margin-right: 6px;
}

.filter-results {
    margin-top: 16px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Responsive - Page Header & Filters */
@media (max-width: 768px) {
    .page-header-section {
        padding: 20px 0 16px 0;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .page-divider {
        width: 50px;
        height: 2px;
        margin: 0 auto 10px auto;
    }
    
    .page-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    .filter-section {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .filter-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 16px;
        background: var(--white);
        border: 2px solid var(--border-color);
        border-radius: 12px;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--text-dark);
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        outline: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    .filter-toggle-btn:focus,
    .filter-toggle-btn:active {
        outline: none;
        border-color: var(--primary-blue);
    }
    
    .filter-toggle-btn:hover {
        border-color: var(--primary-blue);
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    
    .filter-toggle-btn i:first-child {
        margin-right: 8px;
        color: var(--primary-blue);
    }
    
    .filter-toggle-btn .filter-chevron {
        transition: transform 0.3s;
        color: var(--text-body);
    }
    
    .filter-toggle-btn .filter-chevron.rotate {
        transform: rotate(180deg);
    }
    
    .filter-content {
        display: none;
        padding: 16px;
        padding-top: 12px;
    }
    
    .filter-content.filter-expanded {
        display: block;
    }
    
    .filter-grid {
        gap: 12px;
    }
    
    .filter-item {
        min-width: 100%;
        flex: 1 1 100%;
    }
    
    .filter-item.filter-button {
        min-width: 100%;
        justify-content: stretch;
    }
    
    .filter-clear-btn {
        width: 100%;
        padding: 10px 20px;
    }
    
    .filter-label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .filter-input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .filter-results {
        margin-top: 12px;
        font-size: 0.85rem;
    }
}

/* --- COMPACT SECTION HEADER (Reusable) --- */
.compact-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.compact-section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.compact-section-header .page-divider {
    margin: 0 auto 12px auto;
}

.compact-section-header p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--text-body);
    margin: 0;
}

/* --- 3. HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 40px;
    z-index: 200; /* Above ticker but below mobile menu */
    margin-top: 0;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i { color: var(--primary-blue); }

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary-blue); }
.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 600;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown.active .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 240px;
    padding: 12px 0;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: var(--text-dark);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    padding-left: 21px;
}

.nav-dropdown-item i {
    color: var(--primary-blue);
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
}

.nav-dropdown-item.active {
    background: rgba(73, 65, 125, 0.1);
    color: var(--primary-blue);
    font-weight: 600;
    border-left-color: var(--primary-blue);
}

/* Facebook CTA Button */
.fb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #1877F2;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.fb-cta-btn:hover {
    background-color: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
    color: var(--white);
}

.fb-cta-btn i {
    font-size: 1rem;
}

.fb-cta-btn span {
    white-space: nowrap;
}

/* Mobile Menu - Hidden on Desktop */
.mobile-menu-btn {
    display: none !important;
}

.mobile-menu-overlay,
.mobile-menu-drawer {
    display: none !important;
}

/* Explicitly hide mobile menu on desktop (above 768px) */
@media (min-width: 769px) {
    .mobile-menu-btn,
    .mobile-menu-overlay,
    .mobile-menu-drawer {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* --- 4. HERO SECTION --- */
.hero {
    padding: 60px 0;
    display: flex;
    align-items: center;
    min-height: 550px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    grid-column: 1;
    grid-row: 1;
}

.hero-title h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }

.hero-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.hero-text {
    grid-column: 1;
    grid-row: 2;
}

.hero-text p { font-size: 1.1rem; margin-bottom: 30px; color: var(--text-body); }
.hero-btns { display: flex; gap: 15px; }

.hero-image img {
    max-width: 100%;
    margin: 0 auto;
}

/* --- 5. MARKET TICKER SECTION --- */
.market-ticker {
    background: #f8f9fa;
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100; /* Lower z-index so mobile menu can appear above */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 0;
    width: 100%;
}

.market-ticker .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ticker-index {
    flex-shrink: 0;
}

.ticker-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
    flex-shrink: 0;
}

.ticker-mobile-status {
    display: none; /* Hidden on desktop */
}

.ticker-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.indicator-green {
    background-color: var(--success-green);
    animation: marketOpenGlow 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
}

.indicator-red {
    background-color: var(--danger-red);
}

/* Pulsing glow animation for open market - subtle effect */
@keyframes marketOpenGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 4px 2px rgba(16, 185, 129, 0.3),
                    0 0 6px 3px rgba(16, 185, 129, 0.15);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
        transform: scale(1);
    }
}

.ticker-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.ticker-separator {
    width: 1px;
    height: 20px;
    background-color: var(--border-color);
    margin: 0 8px;
    flex-shrink: 0;
}

.ticker-main-data {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ticker-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.ticker-value-changing {
    overflow: hidden;
}

.ticker-slide-up {
    animation: slideUp 0.6s ease-out;
}

.ticker-slide-down {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.ticker-change-inline {
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.ticker-point-change {
    font-weight: 600;
}

.ticker-change-inline i {
    font-size: 0.75rem;
}

.ticker-percent-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.ticker-minus {
    margin-right: 1px;
    letter-spacing: 0.05em;
}

.badge-green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
}

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

.ticker-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ticker-status-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-body);
    font-family: 'Poppins', sans-serif;
}

.ticker-status-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.text-green { 
    color: #34d399; 
    font-weight: 600;
}
.text-red { 
    color: #f87171; 
    font-weight: 600;
}

/* --- 6. SOCIAL FOLLOWERS SECTION --- */
.social-followers-section {
    background: var(--light-bg);
}

.social-followers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.social-follower-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.social-follower-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.facebook-card:hover {
    border-color: #1877F2;
}

.instagram-card:hover {
    border-color: #E4405F;
}

.social-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.facebook-card .social-card-icon {
    background: #1877F2;
    color: var(--white);
}

.instagram-card .social-card-icon {
    background: #E4405F;
    color: var(--white);
}

.social-follower-card:hover .social-card-icon {
    opacity: 0.9;
}

.social-card-content {
    flex: 1;
}

.social-card-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    transition: color 0.3s;
}

.social-follower-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.count-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-dark);
    transition: transform 0.2s ease;
}

.count-number.count-animating {
    transform: scale(1.05);
}

.facebook-card .count-number {
    color: #1877F2;
}

.instagram-card .count-number {
    color: #E4405F;
}

.count-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 500;
}

.social-card-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: var(--text-body);
    margin: 0;
    opacity: 0.8;
}

.social-card-arrow {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: var(--light-bg);
    color: var(--text-body);
}

.facebook-card .social-card-arrow {
    background: rgba(24, 119, 242, 0.08);
    color: #1877F2;
}

.instagram-card .social-card-arrow {
    background: rgba(225, 48, 108, 0.08);
    color: #E4405F;
}

.social-follower-card:hover .social-card-arrow {
    transform: translateX(3px);
}

.facebook-card:hover .social-card-arrow {
    background: rgba(24, 119, 242, 0.15);
}

.instagram-card:hover .social-card-arrow {
    background: rgba(225, 48, 108, 0.15);
}

/* Responsive Social Followers */
@media (max-width: 768px) {
    .social-followers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-follower-card {
        padding: 30px 25px;
        flex-direction: column;
        text-align: center;
    }
    
    .social-card-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .social-card-content h3 {
        font-size: 1.3rem;
    }
    
    .count-number {
        font-size: 1.8rem;
    }
    
    .social-card-arrow {
        position: absolute;
        bottom: 20px;
        right: 20px;
    }
}

/* --- 7. FACEBOOK REVIEWS SECTION --- */
.reviews-section {
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(73, 65, 125, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Reviews Carousel */
.reviews-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 50px;
    overflow: visible;
}

.reviews-carousel-container {
    overflow: hidden;
    position: relative;
    padding: 6px 0;
    margin: -6px 0;
    width: 100%;
}

/* Ensure exactly 3 cards are visible on desktop */
@media (min-width: 769px) {
    .reviews-carousel-container {
        width: 100%;
    }
    
    .review-card {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}

.reviews-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.review-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0; /* Allow cards to shrink */
    max-width: calc(33.333% - 14px); /* Ensure 3 cards fit */
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.reviewer-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.reviewer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    transition: opacity 0.2s ease;
}

.review-card:hover .reviewer-avatar {
    opacity: 0.9;
}

.review-facebook-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.review-facebook-badge i {
    font-size: 10px;
    color: #1877F2;
}

.reviewer-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.reviewer-name {
    margin-bottom: 4px;
}

.reviewer-name h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
    letter-spacing: -0.01em;
}

.review-rating-date {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    line-height: 1;
}

.review-date-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: var(--text-body);
    font-weight: 400;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.review-stars {
    display: flex;
    gap: 3px;
    align-items: center;
    line-height: 1;
}

.review-stars .fa-star {
    font-size: 16px;
    transition: transform 0.2s ease;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.review-stars .star-filled {
    color: #fbbf24;
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

.review-stars .star-empty {
    color: #e5e7eb;
}


.review-content {
    flex: 1;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    min-height: 120px;
}

.review-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.01em;
}

/* Carousel Navigation */
.reviews-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.reviews-carousel-nav:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(73, 65, 125, 0.3);
}

.reviews-carousel-prev {
    left: 0;
}

.reviews-carousel-next {
    right: 0;
}

.reviews-carousel-nav i {
    font-size: 1rem;
}

/* Carousel Indicators */
.reviews-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reviews-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-carousel-indicator.active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 4px;
}

.no-reviews {
    text-align: center;
    padding: 60px 20px;
}


/* Responsive Reviews Carousel */
@media (max-width: 768px) {
    .reviews-carousel-wrapper {
        padding: 4px 40px;
    }
    
    .reviews-carousel-container {
        padding: 4px 0;
        margin: -4px 0;
    }
    
    .review-card {
        flex: 0 0 calc(100% - 0px);
        min-width: 280px;
        padding: 20px;
    }
    
    .reviews-carousel-nav {
        width: 36px;
        height: 36px;
    }
    
    .reviews-carousel-nav i {
        font-size: 0.9rem;
    }
    
    .review-header {
        gap: 10px;
    }
    
    .reviewer-avatar {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .review-facebook-badge {
        width: 16px;
        height: 16px;
    }
    
    .review-facebook-badge i {
        font-size: 8px;
    }
    
    .reviewer-name h4 {
        font-size: 0.9rem;
    }
    
    .review-stars .fa-star {
        font-size: 14px;
    }
    
    .review-rating-date {
        gap: 10px;
    }
    
    .review-content {
        min-height: 140px;
    }
    
    .review-content p {
        -webkit-line-clamp: 6;
        line-clamp: 6;
        line-height: 1.7;
        font-size: 0.9rem;
    }
    
    .review-card {
        padding: 22px;
    }
    
    .review-header {
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }
}

/* --- 8. ESSENTIAL TOOLS GRID --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tool-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid var(--border-color);
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.tool-icon {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.tool-card h4 { margin-bottom: 10px; font-size: 1.2rem; }
.tool-card p { font-size: 0.9rem; margin-bottom: 20px; }

/* --- 9. UPCOMING ISSUES TABLE (Replaced News) --- */
.issues-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.issues-table th {
    background-color: #f1f5f9;
    text-align: left;
    padding: 15px 20px;
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.issues-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.issues-table tr:last-child td { border-bottom: none; }

/* Company Logo */
.company-logo-cell {
    text-align: center;
    vertical-align: middle;
}

.company-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    padding: 5px;
    border: 1px solid #e5e7eb;
}

.company-logo-placeholder {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 20px;
    border: 1px solid #e5e7eb;
    margin: 0 auto;
}

/* Status Badge with Colors */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.status-open {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.status-closing {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-badge.status-upcoming {
    background-color: #dbeafe;
    color: #1e40af;
}

.tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.tag-ipo { background-color: #dbeafe; color: #1e40af; }
.tag-right { background-color: #fef3c7; color: #92400e; }
.tag-fpo { background-color: #dcfce7; color: #166534; }

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 65, 125, 0.3);
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(4px);
}

/* --- 10. CONTACT / SUBSCRIPTION SECTION --- */
.contact {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary-blue) 100%);
    padding: 80px 0;
    color: var(--white);
    position: relative;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-box h2 { color: var(--white); }
.contact-box .divider { background-color: var(--accent-orange); margin: 15px auto 25px; }
.contact-box p { color: rgba(255,255,255,0.9); }

.contact-box form input[type="email"] {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
}

.contact-box form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.7);
}

/* --- 11. FOOTER --- */
footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; }
.footer-col ul li a:hover { color: var(--white); }

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px;
    border-radius: 6px;
    width: 36px;
    height: 36px;
}

.social-link i {
    font-size: 18px;
    color: #94a3b8;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-link:hover i {
    color: var(--white);
}

.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
    .ticker-wrapper {
        gap: 16px;
    }
    .ticker-value {
        font-size: 1rem;
    }
    .tools-grid { grid-template-columns: 1fr; }
    .issues-table { display: block; overflow-x: auto; }
}

@media (max-width: 768px) {
    .hero-grid { 
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-title {
        order: 1;
    }
    
    .hero-title h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-text {
        order: 3;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .hero-btns { 
        justify-content: center; 
    }
    .nav-links { display: none; }
    .fb-cta-btn { display: none; }
    .mobile-menu-btn { 
        display: block !important; 
        font-size: 24px; 
        cursor: pointer; 
        color: var(--text-dark);
        background: none;
        border: none;
        padding: 8px;
        transition: color 0.3s;
        position: relative;
        z-index: 10000; /* Above everything including ticker */
    }
    .mobile-menu-btn:hover {
        color: var(--primary-blue);
    }
    
    .footer-grid { grid-template-columns: 1fr; }
    .social-icons {
        justify-content: center;
    }
    
    /* Market Ticker Mobile */
    .market-ticker {
        padding: 10px 0;
        top: 0;
        margin-bottom: 0;
        background: #f8f9fa;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Mobile: Ensure ticker and header stack properly without overlap */
    .market-ticker {
        min-height: 40px; /* Ensure consistent height */
        position: sticky;
        top: 0;
        z-index: 100; /* Lower z-index so mobile menu appears above */
    }
    
    header {
        position: sticky;
        top: 40px; /* Position header right below ticker (no overlap) */
        margin-top: 0;
        background: var(--white);
        width: 100%;
        box-sizing: border-box;
        z-index: 200; /* Above ticker but below mobile menu */
    }
    
    /* Ensure no gap between ticker and header - make them flush */
    .market-ticker + header {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Ensure solid backgrounds to prevent content showing through */
    .market-ticker {
        background: #f8f9fa !important;
    }
    
    header {
        background: var(--white) !important;
    }
    
    .market-ticker .container {
        padding: 0 16px;
    }
    
    .ticker-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }
    
    .ticker-desktop-divider {
        display: none; /* Hide desktop divider on mobile */
    }
    
    .ticker-mobile-status {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .ticker-mobile-status .ticker-divider {
        display: block;
        height: 20px;
    }
    
    .ticker-item {
        width: auto;
        flex-wrap: nowrap;
    }
    
    .ticker-index {
        flex-direction: row;
        align-items: center;
        width: auto;
    }
    
    .ticker-status {
        display: none; /* Hide Market Status section on mobile */
    }
    
    .ticker-indicator {
        width: 10px;
        height: 10px;
        margin-right: 8px; /* Consistent gap like divider */
    }
    
    .ticker-label {
        font-size: 0.8rem;
    }
    
    .ticker-separator {
        height: 16px;
        margin: 0 8px;
    }
    
    .ticker-main-data {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .ticker-value {
        font-size: 1rem;
    }
    
    .ticker-change-inline {
        font-size: 0.85rem;
        gap: 3px;
    }
    
    .ticker-percent-badge {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
    
    .ticker-status {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
        gap: 8px;
    }
    
    .ticker-status-label,
    .ticker-status-value {
        font-size: 0.8rem;
    }
    
    /* Mobile dropdown menu */
    .nav-dropdown-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        margin-top: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown:not(.active) .nav-dropdown-menu {
        display: none;
    }
    
    /* Mobile Menu Drawer */
    .mobile-menu-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000; /* Above ticker and header */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-drawer {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 10001; /* Highest z-index - above everything */
        transition: right 0.3s ease;
        overflow-y: auto;
        flex-direction: column;
    }
    
    .mobile-menu-drawer.active {
        right: 0;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        background: var(--white);
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .mobile-menu-header .logo {
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-header .logo-img {
        height: 40px;
        width: auto;
    }
    
    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-dark);
        cursor: pointer;
        padding: 8px;
        transition: color 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-close:hover {
        color: var(--primary-blue);
    }
    
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        padding: 20px 0;
    }
    
    .mobile-nav-links > a {
        padding: 16px 20px;
        font-family: 'Roboto', sans-serif;
        color: var(--text-dark);
        font-weight: 500;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
        transition: all 0.3s;
        display: flex;
        align-items: center;
    }
    
    .mobile-nav-links > a:hover,
    .mobile-nav-links > a.active {
        background: var(--light-bg);
        color: var(--primary-blue);
        padding-left: 24px;
    }
    
    .mobile-nav-dropdown {
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-nav-dropdown-toggle {
        padding: 16px 20px;
        font-family: 'Roboto', sans-serif;
        color: var(--text-dark);
        font-weight: 500;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .mobile-nav-dropdown-toggle:hover,
    .mobile-nav-dropdown-toggle.active {
        background: var(--light-bg);
        color: var(--primary-blue);
        padding-left: 24px;
    }
    
    .mobile-nav-dropdown-toggle i {
        font-size: 0.7rem;
        transition: transform 0.3s;
    }
    
    .mobile-nav-dropdown.active .mobile-nav-dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .mobile-nav-dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--light-bg);
    }
    
    .mobile-nav-dropdown.active .mobile-nav-dropdown-menu {
        max-height: 500px;
    }
    
    .mobile-nav-dropdown-item {
        padding: 16px 24px 16px 48px;
        font-family: 'Roboto', sans-serif;
        color: var(--text-body);
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 14px;
        transition: all 0.3s;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-nav-dropdown-item:hover,
    .mobile-nav-dropdown-item.active {
        background: var(--white);
        color: var(--primary-blue);
        padding-left: 52px;
    }
    
    .mobile-nav-dropdown-item i {
        color: var(--primary-blue);
        width: 18px;
        text-align: center;
        font-size: 0.95rem;
    }
    
    .mobile-fb-cta-btn {
        margin: 20px;
        padding: 14px 20px;
        background-color: #1877F2;
        color: white;
        font-family: 'Roboto', sans-serif;
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: none;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
    }
    
    .mobile-fb-cta-btn:hover {
        background-color: #166FE5;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
        color: white;
    }
    
    .mobile-fb-cta-btn i {
        font-size: 1rem;
        color: white;
    }
    
    .mobile-fb-cta-btn span {
        color: white;
    }
    
    /* Reduce container padding on mobile for more space */
    .container {
        padding: 0 12px;
    }
    
    /* Mobile Table to Card Conversion */
    .issues-container {
        overflow-x: visible;
        width: 100%;
    }
    
    .issues-table,
    .issues-table thead,
    .issues-table tbody,
    .issues-table th,
    .issues-table td,
    .issues-table tr {
        display: block;
    }
    
    .issues-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .issues-table tr {
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        margin-bottom: 16px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .issues-table td {
        border: none;
        position: relative;
        padding: 0;
        text-align: left;
    }
    
    .issues-table td:first-child {
        padding-top: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 12px;
        grid-column: 1 / -1;
    }
    
    /* C-ASBA Charge - left column, first row */
    .issues-table td:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    
    /* Bank Type - right column, first row */
    .issues-table td:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
    
    /* Symbol - left column, second row */
    .issues-table td:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }
    
    /* Status - right column, second row */
    .issues-table td:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }
    
    .issues-table td:not(:first-child):before {
        content: attr(data-label);
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        color: var(--text-dark);
        display: block;
        margin-bottom: 6px;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .issues-table td:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
    
    /* Logo column styling for upcoming issues */
    .company-logo-cell {
        text-align: center;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .company-logo-placeholder {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
}

/* --- CDSC DATA STYLES --- */
.cdsc-table-container {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cdsc-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    min-width: 300px;
}

.cdsc-table thead {
    background: var(--primary-blue);
    color: var(--white);
}

.cdsc-table th {
    padding: 18px 24px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cdsc-table th:nth-child(1) {
    width: 60%;
}

.cdsc-table th:nth-child(2) {
    width: 40%;
    text-align: right;
}

.cdsc-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.cdsc-table tbody tr:hover {
    background-color: rgba(73, 65, 125, 0.05);
}

.cdsc-table tbody tr:last-child {
    border-bottom: none;
}

.cdsc-table td {
    padding: 20px 24px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-body);
    vertical-align: middle;
}

.cdsc-table td:nth-child(2) {
    text-align: right;
}

.cdsc-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
}

.cdsc-category-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.cdsc-category-link:hover {
    color: var(--navy-blue);
    text-decoration: underline;
}

.cdsc-category-link strong {
    transition: color 0.2s;
}

/* Responsive: Mobile table view */
@media (max-width: 768px) {
    .cdsc-table-container {
        display: block;
    }
    
    .cdsc-table {
        display: block;
        width: 100%;
    }
    
    .cdsc-table thead {
        display: none;
    }
    
    .cdsc-table tbody {
        display: block;
    }
    
    .cdsc-table tbody tr {
        display: block;
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        margin-bottom: 16px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .cdsc-table tbody tr:last-child {
        margin-bottom: 0;
    }
    
    .cdsc-table td {
        display: block;
        padding: 0;
        text-align: left !important;
        border: none;
    }
    
    .cdsc-table td:first-child {
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .cdsc-table td:not(:first-child):before {
        content: attr(data-label);
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        color: var(--text-dark);
        display: block;
        margin-bottom: 8px;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.7;
    }
    
    .cdsc-value {
        font-size: 1.4rem;
    }
    
    .cdsc-category-link {
        display: inline-flex;
        width: 100%;
    }
}

/* --- FAQ SECTION STYLES --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.faq-question:hover {
    color: var(--primary-blue);
    background: var(--light-bg);
}

.faq-question:focus {
    outline: none;
}

.faq-question span {
    flex: 1;
    line-height: 1.5;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    padding: 0 28px 0 28px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.2s ease-out, padding 0.3s ease-out;
}

.faq-answer.active {
    max-height: 2000px;
    padding: 0 28px 24px 28px;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.faq-answer p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0;
    padding-top: 8px;
}

.faq-answer p strong {
    color: var(--text-dark);
    font-weight: 600;
}

.faq-answer p a {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-answer p a:hover {
    color: var(--navy-blue);
    text-decoration: underline;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
        font-size: 0.95rem;
        gap: 16px;
    }
    
    .faq-answer.active {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.75;
    }
    
    .faq-icon {
        font-size: 0.85rem;
    }
}

