/* ===================================================
   مكتب المستشار للمحاماة والاستشارات القانونية
   Modern, Luxurious RTL Legal Theme (Navy & Gold)
   =================================================== */

:root {
    --primary-navy: #0B132B;
    --secondary-navy: #1C2541;
    --navy-light: #2A3B5C;
    --gold-primary: #C5A059;
    --gold-light: #E0C078;
    --gold-dark: #9F7D3A;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #edd899 50%, #c5a059 100%);
    --bg-dark: #070B16;
    --bg-light: #F8F9FA;
    --bg-card: #FFFFFF;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-light: #F3F4F6;
    --border-color: #E5E7EB;
    --border-gold: rgba(197, 160, 89, 0.35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(11, 19, 43, 0.08);
    --shadow-lg: 0 16px 40px rgba(11, 19, 43, 0.14);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-heading: 'Cairo', serif;
}

/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    background-color: #FFFFFF;
    color: var(--text-dark);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* Typography Helpers */
.gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--gold-dark);
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid var(--border-gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.35;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 40px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-navy);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.5);
    color: #000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--primary-navy);
    font-weight: 800;
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: #FFFFFF;
    color: var(--primary-navy);
    border-color: #FFFFFF;
}

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

.btn-whatsapp:hover {
    background: #1EBE5D;
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-large {
    padding: 15px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ===================================================
   Top Bar
   =================================================== */
.top-bar {
    background: var(--primary-navy);
    color: #E2E8F0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-contacts a, .top-contacts span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #CBD5E1;
}

.top-contacts a:hover {
    color: var(--gold-light);
}

.top-contacts i {
    color: var(--gold-primary);
}

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

.top-social a {
    color: #CBD5E1;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.top-social a:hover {
    color: var(--primary-navy);
    background: var(--gold-primary);
}

/* ===================================================
   Header & Navigation
   =================================================== */
.main-header {
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-navy);
    color: var(--gold-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid var(--border-gold);
    box-shadow: 0 4px 10px rgba(11, 19, 43, 0.15);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.78rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-navy);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.highlight-link {
    color: var(--gold-dark);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 6px;
}

/* ===================================================
   Hero Section
   =================================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #070B16 0%, #0B132B 50%, #1C2541 100%);
    color: #FFFFFF;
    padding: 100px 0 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(42, 59, 92, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
}

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

.hero-text-wrapper {
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.28;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 1.2rem;
    color: #CBD5E1;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 45px;
}

.hero-features-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E2E8F0;
    font-size: 0.95rem;
    font-weight: 600;
}

.strip-item i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

/* ===================================================
   Stats Section
   =================================================== */
.stats-section {
    margin-top: -50px;
    position: relative;
    z-index: 5;
    padding-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.stat-card {
    padding: 35px 25px;
    text-align: center;
    border-left: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:last-child {
    border-left: none;
}

.stat-card:hover {
    background: #FAF8F5;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-title {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===================================================
   About Section
   =================================================== */
.about-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    align-items: center;
}

.about-image-card {
    position: relative;
}

.image-placeholder {
    height: 480px;
    background: linear-gradient(135deg, #1C2541 0%, #0B132B 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.lawyer-icon {
    font-size: 9rem;
    color: rgba(197, 160, 89, 0.4);
    margin-bottom: 20px;
}

.office-seal {
    position: absolute;
    bottom: 25px;
    background: rgba(197, 160, 89, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--gold-gradient);
    color: var(--primary-navy);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 140px;
    border: 2px solid #FFFFFF;
}

.exp-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
}

.about-p {
    color: #4B5563;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.about-check-list {
    margin: 25px 0 35px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-navy);
}

.check-item i {
    color: var(--gold-dark);
    font-size: 1.2rem;
}

/* ===================================================
   Services / Practice Areas
   =================================================== */
.services-section {
    padding: 90px 0;
    background: #F8FAFC;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #FFFFFF;
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gold-gradient);
    color: var(--primary-navy);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-points {
    border-top: 1px solid #F1F5F9;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-points li {
    font-size: 0.88rem;
    color: #4B5563;
    font-weight: 600;
    position: relative;
    padding-right: 18px;
}

.service-points li::before {
    content: '•';
    color: var(--gold-dark);
    font-size: 1.2rem;
    position: absolute;
    right: 0;
    top: -2px;
}

/* ===================================================
   Why Us Section
   =================================================== */
.why-us-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-desc {
    color: #4B5563;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-box {
    display: flex;
    gap: 16px;
}

.f-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--primary-navy);
    color: var(--gold-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.f-text h4 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.f-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.why-quote-card {
    background: linear-gradient(145deg, #0B132B 0%, #1C2541 100%);
    color: #FFFFFF;
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.quote-symbol {
    font-size: 3rem;
    color: var(--gold-primary);
    opacity: 0.5;
    margin-bottom: 15px;
}

.quote-text {
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    color: #E2E8F0;
    margin-bottom: 30px;
}

.quote-author strong {
    display: block;
    font-size: 1.2rem;
    color: var(--gold-light);
}

.quote-author span {
    font-size: 0.88rem;
    color: #94A3B8;
}

/* ===================================================
   Client Portal Section (Heroic CTA Card)
   =================================================== */
.portal-section {
    padding: 60px 0 100px;
}

.portal-card {
    background: linear-gradient(135deg, #070B16 0%, #0B132B 60%, #162447 100%);
    border-radius: 24px;
    padding: 60px;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.portal-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.portal-desc {
    color: #CBD5E1;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.portal-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.p-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: #E2E8F0;
}

.p-feat i {
    color: var(--gold-light);
    font-size: 1.15rem;
}

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

/* Mockup Card */
.mockup-card {
    background: #0F172A;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mockup-header {
    background: #1E293B;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.mockup-title {
    margin-right: auto;
    font-size: 0.8rem;
    color: #94A3B8;
}

.mockup-body {
    padding: 24px;
}

.mock-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.mock-user i {
    font-size: 2.2rem;
    color: var(--gold-primary);
}

.mock-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #F8FAFC;
}

.mock-id {
    font-size: 0.8rem;
    color: #94A3B8;
}

.mock-case {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.mock-case-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.mock-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.mock-badge.pending {
    background: rgba(245, 158, 11, 0.18);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.mock-desc {
    font-size: 0.82rem;
    color: #94A3B8;
}

.mock-whatsapp-btn {
    background: #25D366;
    color: #FFFFFF;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===================================================
   Consultation Request Section
   =================================================== */
.consultation-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    align-items: flex-start;
}

.form-info-text {
    color: #4B5563;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-quick-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.c-quick-item {
    display: flex;
    gap: 16px;
}

.c-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #FFFFFF;
    color: var(--primary-navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.c-quick-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.c-quick-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-box-col {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F1F5F9;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-navy);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--gold-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: #FAF8F5;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.form-submit-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===================================================
   Testimonials Section
   =================================================== */
.testimonials-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.t-card {
    background: #F8FAFC;
    padding: 35px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.t-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.t-stars {
    color: #F59E0B;
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
}

.t-text {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #374151;
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #E2E8F0;
    padding-top: 16px;
}

.t-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-navy);
    color: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.t-author h5 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.t-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===================================================
   Footer
   =================================================== */
.main-footer {
    background: #070B16;
    color: #E2E8F0;
    padding-top: 80px;
    border-top: 2px solid var(--gold-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand .logo-title {
    color: #FFFFFF;
}

.footer-about {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 18px 0 22px;
}

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

.footer-social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E8F0;
}

.footer-social-links a:hover {
    background: var(--gold-primary);
    color: var(--primary-navy);
}

.footer-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(-4px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-info p {
    color: #94A3B8;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.footer-contact-info i {
    color: var(--gold-primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    background: #04060C;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #64748B;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.legal-disclaimer {
    font-size: 0.78rem;
    color: #64748B;
}

/* ===================================================
   Floating WhatsApp & Scroll Top
   =================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 990;
    transition: var(--transition);
    animation: pulseWhatsapp 2.2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #FFFFFF;
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary-navy);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gold);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(-5px);
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary-navy);
    color: var(--gold-light);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--gold-primary);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

/* ===================================================
   Responsive Design (Media Queries)
   =================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-card:nth-child(2) {
        border-left: none;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .portal-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-contacts span {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .consultation-btn {
        display: none;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 72px);
        background: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    .nav-menu.open {
        right: 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-desc {
        font-size: 1.05rem;
    }
    .about-container,
    .why-us-grid,
    .consultation-wrapper {
        grid-template-columns: 1fr;
    }
    .experience-badge {
        top: 10px;
        right: 10px;
    }
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .features-list {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }
    .stat-card:last-child {
        border-bottom: none;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}
