/* ============================================
   NYAYDWAR - LAWRATO STYLE REDESIGN
   Professional Legal Services Platform
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #3b82f6;
    --accent-orange: #f97316;
    --accent-orange-light: #fb923c;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Status Colors */
    --success-green: #22c55e;
    --whatsapp-green: #25D366;
    --error-red: #ef4444;
    --warning-yellow: #eab308;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

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

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--gray-900);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.top-bar-links a {
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

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

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    color: var(--gray-300);
}

.top-bar-contact a {
    color: var(--accent-orange);
    font-weight: 600;
}

.top-bar-contact a:hover {
    color: var(--accent-orange-light);
}

/* ============================================
   STICKY HEADER WRAPPER
   ============================================ */
.site-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.logo-text span {
    color: var(--accent-orange);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-blue);
    background: var(--gray-50);
}

.nav-link i {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 800px;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 100;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.mega-menu-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
}

.mega-menu-col ul li {
    margin-bottom: var(--space-sm);
}

.mega-menu-col ul li a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}

.mega-menu-col ul li a:hover {
    color: var(--primary-blue);
    background: var(--gray-50);
}

.mega-menu-col ul li a i {
    color: var(--accent-orange);
    width: 16px;
}

/* Simple Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-600);
    border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
    color: var(--primary-blue);
    background: var(--gray-50);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: var(--accent-orange);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--accent-orange-light);
    transform: translateY(-2px);
}

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

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

.btn-ghost {
    color: var(--gray-600);
    padding: var(--space-sm);
}

.btn-ghost:hover {
    color: var(--primary-blue);
    background: var(--gray-100);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #3b82f6 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    animation: fadeInDown 0.6s ease;
}

.hero-badge .online-dot {
    width: 10px;
    height: 10px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-badge span {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9375rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

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

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

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero h1 span {
    color: var(--accent-orange);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

/* Hero Search */
.hero-search {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-sm);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.search-form {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-right: 1px solid var(--gray-200);
}

.search-input-group:last-of-type {
    border-right: none;
}

.search-input-group i {
    color: var(--gray-400);
    font-size: 1.125rem;
}

.search-input-group input,
.search-input-group select {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--gray-700);
    background: transparent;
}

.search-input-group input::placeholder {
    color: var(--gray-400);
}

.search-btn {
    padding: var(--space-md) var(--space-xl);
    background: var(--accent-orange);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.search-btn:hover {
    background: var(--accent-orange-light);
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.5s backwards;
}

.cta-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: var(--transition-normal);
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.cta-card i {
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.cta-card-content h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 2px;
}

.cta-card-content p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.6s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
}

.hero-feature i {
    color: var(--success-green);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--white);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: var(--space-xs);
}

.stat-number span {
    color: var(--accent-orange);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: var(--space-md);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
    text-align: center;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 1.75rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

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

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.service-link:hover {
    gap: var(--space-sm);
    color: var(--primary-blue-dark);
}

/* ============================================
   FEATURED LAWYERS SECTION
   ============================================ */
.lawyers-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.lawyers-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.tab-btn {
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    color: var(--gray-500);
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-200);
    transition: var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
}

.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.lawyer-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
}

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

.lawyer-header {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.lawyer-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid var(--gray-100);
}

.lawyer-info h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.lawyer-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.lawyer-rating i {
    color: #fbbf24;
    font-size: 0.875rem;
}

.lawyer-rating span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.lawyer-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.lawyer-location i {
    color: var(--accent-orange);
}

.lawyer-meta {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-100);
    margin-bottom: var(--space-md);
}

.lawyer-meta-item {
    text-align: center;
}

.lawyer-meta-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
}

.lawyer-meta-item strong {
    color: var(--gray-700);
}

.lawyer-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.specialty-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
}

.lawyer-actions {
    display: flex;
    gap: var(--space-sm);
}

.lawyer-actions .btn {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

/* ============================================
   FIND LAWYERS TABS SECTION
   ============================================ */
.find-lawyers-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

.find-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--gray-200);
}

.find-tab {
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    color: var(--gray-500);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition-fast);
}

.find-tab:hover,
.find-tab.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.find-content {
    display: none;
}

.find-content.active {
    display: block;
}

.find-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.find-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    transition: var(--transition-fast);
    border: 1px solid var(--gray-200);
}

.find-item:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.02);
}

.find-item i {
    color: var(--accent-orange);
}

/* ============================================
   Q&A / LEGAL ADVICE SECTION
   ============================================ */
.qa-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
}

.qa-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition-normal);
}

.qa-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.qa-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.qa-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    color: var(--gray-800);
}

.qa-card h4:hover {
    color: var(--primary-blue);
}

.qa-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qa-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: var(--space-md);
    font-size: 0.9375rem;
}

.qa-card .read-more:hover {
    gap: var(--space-sm);
}

/* ============================================
   LAW GUIDES SECTION
   ============================================ */
.guides-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.guide-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.guide-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: var(--space-xl);
    text-align: center;
}

.guide-icon i {
    font-size: 3rem;
    color: var(--white);
}

.guide-content {
    padding: var(--space-xl);
}

.guide-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.guide-content p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.guide-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.guide-link:hover {
    gap: var(--space-sm);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--gray-100);
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
}

.testimonial-rating i {
    color: #fbbf24;
}

.testimonial-text {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-info span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================
   MEDIA COVERAGE SECTION
   ============================================ */
.media-section {
    padding: var(--space-2xl) 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.media-section h3 {
    text-align: center;
    font-size: 1rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-xl);
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2xl);
}

.media-logo {
    opacity: 0.5;
    transition: var(--transition-fast);
    filter: grayscale(100%);
}

.media-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.media-logo img {
    height: 40px;
    width: auto;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-900);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--accent-orange);
}

.cta-buttons .btn-primary:hover {
    background: var(--accent-orange-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    padding: var(--space-3xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about {
    padding-right: var(--space-xl);
}

.footer-about .logo {
    margin-bottom: var(--space-md);
}

.footer-about .logo-text {
    color: var(--white);
}

.footer-about p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-contact p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-contact i {
    color: var(--accent-orange);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: var(--space-xs);
}

/* Popular Searches in Footer */
.footer-searches {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-searches h4 {
    color: var(--accent-orange);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.search-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    transition: var(--transition-fast);
}

.search-tag:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-fast);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: var(--whatsapp-green);
}

.call-btn {
    background: var(--primary-blue);
}

/* Floating CTA Bar */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: var(--space-md);
    display: none;
    z-index: 998;
}

.floating-cta-content {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto;
}

.floating-cta .btn {
    flex: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-about {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input-group {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .search-input-group:last-of-type {
        border-bottom: none;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-features {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: span 2;
    }
    
    .floating-cta {
        display: block;
    }
    
    .floating-buttons {
        bottom: 100px;
    }
    
    .qa-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-card {
        padding: var(--space-md);
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-buttons {
        right: var(--space-md);
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }
.text-accent { color: var(--accent-orange); }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   MOBILE BOTTOM NAVIGATION (App-like)
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 8px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.mobile-bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.65rem;
    padding: 4px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
    transition: transform 0.2s;
}

.mobile-nav-item span {
    font-weight: 500;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #3b82f6;
}

.mobile-nav-item:hover i,
.mobile-nav-item.active i {
    transform: scale(1.1);
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #3b82f6;
    border-radius: 0 0 3px 3px;
}

.mobile-nav-item .nav-badge {
    position: absolute;
    top: -2px;
    right: 5px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: 600;
}

/* Mobile Header Improvements */
@media (max-width: 768px) {
    /* Make header sticky and compact */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9998;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    /* Add body padding for fixed header */
    body {
        padding-top: 60px;
        padding-bottom: 70px;
    }
    
    /* Show mobile bottom nav */
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Hide floating buttons on mobile (replaced by bottom nav) */
    .floating-cta {
        display: none !important;
    }
    
    .floating-buttons {
        bottom: 80px;
    }
    
    /* Mobile menu button */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        background: #f3f4f6;
        border-radius: 8px;
        color: #374151;
        font-size: 1.2rem;
        cursor: pointer;
    }
    
    /* Hide desktop nav actions on mobile */
    .nav-actions {
        display: none;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9997;
    }
    
    .mobile-menu-overlay.show {
        display: block;
    }
    
    /* Mobile slide menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        padding: 20px;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .nav-menu.show {
        right: 0;
    }
    
    .nav-menu .nav-item {
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .nav-menu .nav-link {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        font-size: 1rem;
    }
    
    /* Hide mega menu on mobile */
    .nav-menu .mega-menu {
        display: none !important;
    }
}

/* ============================================
   MOBILE COMPACT HEADER (Alternative style)
   ============================================ */
.mobile-header {
    display: none;
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        z-index: 9998;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }
    
    .mobile-header .logo {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
    }
    
    .mobile-header .logo img {
        height: 32px;
    }
    
    .mobile-header .logo-text {
        font-size: 1.3rem;
        font-weight: 700;
        color: #1e3a5f;
    }
    
    .mobile-header .logo-text span {
        color: #f59e0b;
    }
    
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-header-btn {
        width: 38px;
        height: 38px;
        border: none;
        background: #f3f4f6;
        border-radius: 50%;
        color: #374151;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .mobile-header-btn .badge {
        position: absolute;
        top: -2px;
        right: -2px;
        background: #ef4444;
        color: #fff;
        font-size: 0.6rem;
        padding: 2px 5px;
        border-radius: 10px;
    }
}

/* ============================================
   ADMIN PANEL STICKY HEADER
   ============================================ */
.admin-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Portal header sticky */
.portal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

/* ============================================
   FIXED: STICKY HEADER & FLOATING BUTTONS
   ============================================ */

/* Desktop Sticky Header */
@media (min-width: 769px) {
    .header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
}

/* Mobile Fixed Header */
@media (max-width: 768px) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9998 !important;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    body {
        padding-top: 60px !important;
        padding-bottom: 70px !important;
    }
    
    .nav-container {
        padding: 10px 15px !important;
    }
    
    .logo-text {
        font-size: 1.3rem !important;
    }
}

/* ============================================
   SMALLER FLOATING BUTTONS WITH MINIMIZE
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 100px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 998;
    transition: all 0.3s ease;
}

.floating-buttons.minimized .floating-btn:not(.minimize-btn) {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.floating-btn {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem !important;
    color: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #25D366;
}

.call-btn {
    background: #3b82f6;
}

.minimize-btn {
    background: #6b7280;
    width: 35px !important;
    height: 35px !important;
    font-size: 0.9rem !important;
}

.minimize-btn i {
    transition: transform 0.3s;
}

.floating-buttons.minimized .minimize-btn i {
    transform: rotate(180deg);
}

/* Chat Widget Non-Overlapping */
.chat-widget,
#chat-widget,
.live-chat-widget {
    bottom: 170px !important;
    right: 15px !important;
}

.chat-widget-btn,
.chat-toggle-btn {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem !important;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 85px;
        right: 12px;
    }
    
    .floating-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .minimize-btn {
        width: 32px !important;
        height: 32px !important;
    }
    
    .chat-widget,
    #chat-widget,
    .live-chat-widget {
        bottom: 145px !important;
        right: 12px !important;
    }
    
    .chat-widget-btn,
    .chat-toggle-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ============================================
   FOOTER DISCLAIMER - BCI RULES
   ============================================ */
.footer-disclaimer {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.footer-disclaimer h4 {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #9ca3af;
    margin-bottom: 12px;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-disclaimer strong {
    color: #d1d5db;
}

@media (max-width: 768px) {
    .footer-disclaimer {
        padding: 20px 15px;
    }
    
    .footer-disclaimer h4 {
        font-size: 0.9rem;
    }
    
    .footer-disclaimer p {
        font-size: 0.75rem;
    }
}

/* ============================================
   FIX: CHAT WIDGET & FLOATING BUTTONS Z-INDEX
   ============================================ */

/* Chat Widget - Make Clickable */
.nd-chat-widget {
    position: fixed !important;
    bottom: 180px !important;
    right: 15px !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.nd-chat-toggle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
}

/* Floating Buttons - Fix Clickability */
.floating-buttons {
    position: fixed !important;
    bottom: 100px !important;
    right: 15px !important;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    pointer-events: auto !important;
}

.floating-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    width: 45px !important;
    height: 45px !important;
}

.minimize-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    background: #6b7280 !important;
    width: 35px !important;
    height: 35px !important;
    border: none !important;
}

/* Minimized State */
.floating-buttons.minimized .whatsapp-btn,
.floating-buttons.minimized .call-btn {
    transform: scale(0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.floating-buttons.minimized .minimize-btn i {
    transform: rotate(180deg) !important;
}

@media (max-width: 768px) {
    .nd-chat-widget {
        bottom: 160px !important;
        right: 12px !important;
    }
    
    .nd-chat-toggle {
        width: 42px !important;
        height: 42px !important;
    }
    
    .floating-buttons {
        bottom: 85px !important;
        right: 12px !important;
    }
}
