/* =============================================
   Virtual Ejaris — Design System
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
    --primary: #0b2540;
    --primary-light: #132a44;
    --secondary: #c9a227;
    --secondary-dark: #b28f20;
    --accent: #c9a227;
    --accent-dark: #9b751a;
    --indigo: #6b82d1;
    --emerald: #10b981;
    --amber: #f59e0b;
    --surface: #ffffff;
    --surface-alt: #f7f8fb;
    --card: #ffffff;
    --text: #071933;
    --text-secondary: #5b6b7a;
    --text-light: #7b8a98;
    --border: #e6e9ef;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --gradient-primary: linear-gradient(135deg, #0b2540, #c9a227);
    --gradient-hero: linear-gradient(135deg, rgba(11,37,64,0.85), rgba(201,162,39,0.12));
    --gradient-cta: linear-gradient(135deg, #0b2540, #132a44);
    --glass: rgba(255,255,255,0.75);
    --glass-border: rgba(255,255,255,0.25);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

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

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

ul { list-style: none; }

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* ---- Header & Navigation ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    transition: box-shadow .3s;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}
.nav-wrap .logo img,
.nav-logo {
    max-width: 120px;
    height: auto;
}
.navbar { flex: 1; }
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links > li > a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: color .3s, background .3s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--secondary);
}
/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s;
    list-style: none;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: .85rem;
    color: var(--text);
    transition: background .2s, color .2s;
}
.dropdown li a:hover {
    background: var(--surface-alt);
    color: var(--secondary);
}
.dropdown li a i {
    color: var(--secondary);
    width: 18px;
    text-align: center;
}
/* Nav CTA buttons */
.nav-cta {
    display: flex;
    gap: 8px;
    align-items: center;
}
.nav-cta .btn {
    padding: 8px 18px;
    font-size: 0.82rem;
    border-radius: var(--radius-full);
}
/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform .3s;
}
/* Sidebar */
.sidebar {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    overflow-y: auto;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
    padding: 20px;
}
.sidebar.active { right: 0; }
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.sidebar-header .logo img { max-width: 100px; }
.close-btn {
    background: none; border: none;
    font-size: 1.3rem;
    color: var(--text);
    cursor: pointer;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    transition: background .2s;
}
.close-btn:hover { background: var(--surface-alt); }
.sidebar-links {
    list-style: none;
    padding: 0; margin: 0;
}
.sidebar-links li a {
    display: block;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid rgba(0,0,0,.05);
    transition: color .2s, padding-left .2s;
}
.sidebar-links li a:hover {
    color: var(--secondary);
    padding-left: 6px;
}
.sidebar-links li.sub a {
    padding-left: 20px;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.sidebar-links li.sub a i {
    color: var(--secondary);
    width: 20px;
    margin-right: 6px;
}
.sidebar-cta {
    display: block;
    margin-top: 20px;
    text-align: center;
}
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s;
}
.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .navbar, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .nav-wrap .logo img, .nav-logo { max-width: 90px; }
    .nav-wrap { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 576px) {
    .nav-wrap .logo img, .nav-logo { max-width: 75px; }
    .nav-wrap { padding-top: 6px; padding-bottom: 6px; }
}

.section-alt {
    background-color: var(--surface-alt);
}

/* ---- Section Title ---- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(99,102,241,0.1));
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(14,165,233,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14,165,233,0.4);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(244,63,94,0.3);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244,63,94,0.4);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--secondary);
    padding: 10px 20px;
}

.btn-ghost:hover {
    background: rgba(14,165,233,0.08);
}

/* ---- Header / Navbar ---- */
header,
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition);
}

header.scrolled,
.site-header.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    max-width: 140px;
    height: auto;
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-links li a {
    padding: 8px 12px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary);
    background: rgba(14,165,233,0.06);
}

/* Services dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 1100;
    list-style: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    border-radius: 0;
}

.dropdown li a:hover {
    background: rgba(14,165,233,0.06);
    color: var(--secondary);
}

.dropdown li a i {
    width: 18px;
    text-align: center;
    color: var(--secondary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-cta .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    width: 36px;
    height: 36px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    margin: 5px auto;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile Sidebar ---- */
.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: var(--shadow-xl);
    z-index: 1002;
    padding: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.close-btn {
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.close-btn:hover {
    background: var(--surface-alt);
}

.sidebar-links li {
    margin-bottom: 4px;
}

.sidebar-links li a {
    display: block;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.sidebar-links li a:hover,
.sidebar-links li a.active {
    background: rgba(14,165,233,0.06);
    color: var(--secondary);
}

.sidebar-links li.sub a {
    padding-left: 36px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.sidebar-links li.sub a i {
    font-size: 0.85rem;
    margin-right: 6px;
    color: var(--secondary);
}

.sidebar .sidebar-cta {
    margin-top: 24px;
    display: block;
    text-align: center;
    width: 100%;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ---- Page Hero Banner ---- */
.page-hero {
    margin-top: 80px;
    padding: 80px 0;
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14,165,233,0.15), transparent 70%);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    position: relative;
    z-index: 1;
}

/* Breadcrumbs */
.breadcrumbs {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumbs a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs .separator {
    font-size: 0.75rem;
}

.breadcrumbs .current {
    color: var(--secondary);
}

/* ---- Hero Slider ---- */
.hero {
    margin-top: 80px;
    height: 620px;
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.slide-content .section-badge {
    margin-bottom: 16px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

.slide-content h1 {
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.slide-content .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
    width: 28px;
    border-radius: 5px;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* ---- Stats Bar ---- */
.stats-bar {
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stat-item {
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background var(--transition);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: var(--surface-alt);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---- Service Cards ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

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

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-image .service-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.service-body {
    padding: 24px;
}

.service-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-body .price {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.service-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.know-more {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.know-more:hover {
    gap: 8px;
}

/* ---- About Section ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 2px solid var(--glass-border);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

/* Feature list */
.feature-list {
    margin: 24px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--emerald);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ---- CTA Banner ---- */
.cta-banner {
    padding: 80px 0;
    background: var(--gradient-cta);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14,165,233,0.12), transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ---- Testimonials ---- */
.testimonial-card {
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 4rem;
    font-family: Georgia, serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-card .quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-top: 16px;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-image {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background-image: var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    flex-shrink: 0;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.client-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.client-role {
    color: var(--text-light);
    font-size: 0.85rem;
}

.stars {
    color: var(--amber);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

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

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(99,102,241,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--secondary);
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text p, .contact-text a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-text a:hover {
    color: var(--secondary);
}

/* Contact Form */
.contact-form-card {
    background: var(--card);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fff;
    color: var(--text);
}

.form-feedback {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}
.form-feedback.success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.form-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

/* ---- Blog ---- */
.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-posts {
    display: grid;
    gap: 32px;
}

.blog-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

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

.blog-card-image {
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-card-body {
    padding: 28px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.post-meta i {
    color: var(--secondary);
    margin-right: 4px;
}

.blog-card-body h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    transition: color var(--transition);
}

.blog-card:hover .blog-card-body h2 {
    color: var(--secondary);
}

.blog-card-body p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more i {
    transition: transform var(--transition);
    font-size: 0.8rem;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-widget {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--surface-alt);
}

.search-form {
    display: flex;
    gap: 0;
}

.search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.search-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.search-form button {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 0 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: opacity var(--transition);
}

.search-form button:hover {
    opacity: 0.9;
}

.popular-posts li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--surface-alt);
    cursor: pointer;
    transition: all var(--transition);
}

.popular-posts li:last-child {
    border-bottom: none;
}

.popular-posts li:hover {
    padding-left: 4px;
}

.popular-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.4;
}

.popular-post-content .post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Blog Post Single */
.blog-article {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}

.blog-article h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.blog-article .post-meta {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-article-content p {
    margin-bottom: 18px;
}

.blog-article-content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
}

.pagination a:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.pagination .active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* ---- Content Blocks (About page SEO content) ---- */
.content-block {
    margin-bottom: 48px;
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.content-block p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
    text-align: justify;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(99,102,241,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--secondary);
}

.feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---- FAQ Accordion ---- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.faq-question i {
    transition: transform var(--transition);
    color: var(--secondary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ---- Footer ---- */
footer {
    background: var(--primary);
    color: #fff;
    padding: 60px 0 24px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-col p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}

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

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    z-index: 999;
    transition: all var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.55); }
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Glass cards ---- */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201,162,39,0.12), rgba(11,37,64,0.08));
    border-radius: var(--radius-md);
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 520px;
        margin-top: 72px;
    }
    .slide-content h1 {
        font-size: 2.2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .section {
        padding: 72px 0;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        order: -1;
    }
    .page-hero {
        margin-top: 72px;
        padding: 60px 0;
    }
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .cta-banner h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .blog-article {
        padding: 28px 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 440px;
    }
    .slide-content h1 {
        font-size: 1.8rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
    .section-header h2 {
        font-size: 1.7rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-number {
        font-size: 2rem;
    }
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }
    .page-hero h1 {
        font-size: 1.8rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Footer ---- */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,.8);
    padding: 60px 0 0;
    font-size: 0.9rem;
}
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .footer-col.brand p {
    margin-top: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,.6);
    font-size: 0.85rem;
}
.site-footer .footer-col h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.site-footer .footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--secondary);
}
.site-footer .footer-links {
    list-style: none; padding: 0; margin: 0;
}
.site-footer .footer-links li {
    margin-bottom: 10px;
}
.site-footer .footer-links a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .3s, padding-left .3s;
    font-size: 0.88rem;
}
.site-footer .footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}
.site-footer .footer-links.contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255,255,255,.6);
}
.site-footer .footer-links.contact i {
    color: var(--secondary);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

/* Social Icons */
.site-footer .social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.site-footer .social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
}
.site-footer .social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.site-footer .social a:nth-child(1):hover { background: #1877f2; border-color: #1877f2; }
.site-footer .social a:nth-child(2):hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.site-footer .social a:nth-child(3):hover { background: #0a66c2; border-color: #0a66c2; }
.site-footer .social a:nth-child(4):hover { background: #1d1d1f; border-color: #333; }

/* Footer Bottom */
.site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,.4);
}
.site-footer .footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
}
.site-footer .footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }
    .site-footer .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
