/*
Theme Name: Hamdan Law Office
Theme URI: https://hamdan-office.com
Author: Hamdan Office
Author URI: https://hamdan-office.com
Description: قالب ووردبريس احترافي لمكاتب المحاماة والاستشارات القانونية - مصمم خصيصاً لمكتب حمدان للمحاماة مع دعم كامل للعربية و RTL. يتميز بتصميم أنيق بألوان الأزرق الداكن والذهبي، قسم البطل المتحرك، بطاقات الخدمات، عدادات الإحصائيات، نموذج الاتصال، وتكامل مع المدونة.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hamdan-law
Tags: one-column, custom-colors, custom-logo, featured-images, full-width-template, rtl-language-support, theme-options, translation-ready, blog, attorney, law, lawyer, legal
*/

/* ============================================
   CSS Variables & Base Styles
   ============================================ */
:root {
    --navy: #1B2A4A;
    --navy-light: #243656;
    --navy-dark: #0F1B33;
    --gold: #C49A3C;
    --gold-light: #D4AA5C;
    --gold-dark: #A67D2E;
    --brown: #8B6914;
    --brown-light: #A67D2E;
    --brown-dark: #6B5010;
    --cream: #F5F0E8;
    --cream-dark: #EDE5D8;
    --white: #ffffff;
    --text-dark: #2D2D2D;
    --text-muted: #555555;
    --text-light: #888888;
    --border-color: #E5E5E5;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

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

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

ul, ol {
    list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Selection */
::selection {
    background-color: rgba(196, 154, 60, 0.2);
    color: var(--navy);
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-right a,
.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.top-bar-right a:hover,
.top-bar-right span:hover {
    color: var(--gold);
}

.top-bar-right svg {
    width: 14px;
    height: 14px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-left .separator {
    color: var(--gold);
}

.top-bar-left .schedule-text {
    color: rgba(255,255,255,0.6);
}

.top-bar-left .schedule-time {
    color: var(--gold);
    font-weight: 600;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

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

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

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

/* Desktop Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--gold);
    background: rgba(196,154,60,0.05);
}

/* Header CTA */
.header-cta .btn-gold {
    background: var(--gold);
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.header-cta .btn-gold:hover {
    background: var(--gold-dark);
    box-shadow: 0 8px 25px rgba(196,154,60,0.3);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--navy);
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu-header {
    background: var(--navy);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-header .logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-header .logo-wrap img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.mobile-menu-header .logo-wrap span {
    color: var(--white);
    font-weight: 700;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-close:hover {
    color: var(--gold);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-nav {
    padding: 1.5rem;
}

.mobile-menu-nav a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.mobile-menu-nav a:hover {
    background: var(--cream);
}

.mobile-menu-contact {
    padding: 1.25rem 1.5rem;
    background: rgba(245,240,232,0.5);
    border-top: 1px solid var(--border-color);
}

.mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.mobile-menu-contact svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.mobile-menu-contact .btn-gold {
    display: block;
    text-align: center;
    background: var(--gold);
    color: var(--white);
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    margin-top: 0.75rem;
}

.mobile-menu-contact .btn-gold:hover {
    background: var(--gold-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(27,42,74,0.95), rgba(15,27,51,0.9), rgba(139,105,20,0.9));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 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='%23C49A3C'%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");
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0 6rem;
}

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

.hero-text {
    text-align: right;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(196,154,60,0.3);
    color: var(--gold);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .text-gold {
    color: var(--gold);
    background: linear-gradient(135deg, #C49A3C, #D4AA5C, #C49A3C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-buttons .btn-gold:hover {
    background: var(--gold-dark);
    box-shadow: 0 10px 30px rgba(196,154,60,0.3);
    transform: translateY(-2px);
}

.hero-buttons .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.hero-buttons .btn-outline svg,
.hero-buttons .btn-gold svg {
    width: 20px;
    height: 20px;
}

.hero-trust-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.trust-badge span {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    animation: float 6s ease-in-out infinite;
}

.hero-circle-outer {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(196,154,60,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle-middle {
    width: 280px;
    height: 280px;
    border: 1px solid rgba(196,154,60,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle-inner {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(196,154,60,0.2), rgba(196,154,60,0.05));
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-circle-inner svg {
    width: 80px;
    height: 80px;
    color: var(--gold);
    filter: drop-shadow(0 4px 8px rgba(196,154,60,0.3));
}

.hero-float-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(196,154,60,0.1);
}

.hero-float-card .float-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--navy);
}

.hero-float-card .float-label {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
}

.hero-float-card.float-top {
    top: -8px;
    right: 0;
    animation: floatY1 3.5s ease-in-out infinite;
}

.hero-float-card.float-bottom {
    bottom: -8px;
    left: 0;
    animation: floatY2 3s ease-in-out infinite;
}

.hero-float-card.float-side {
    top: 50%;
    transform: translateY(-50%);
    left: -32px;
    background: var(--gold);
    color: var(--white);
}

.hero-float-card.float-side .float-value {
    color: var(--white);
}

.hero-float-card.float-side .float-label {
    color: rgba(255,255,255,0.8);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ============================================
   Section Common Styles
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-badge.has-bg {
    background: rgba(196,154,60,0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-title .text-gold {
    color: var(--gold);
}

.section-divider {
    width: 4rem;
    height: 4px;
    background: linear-gradient(to left, var(--gold), var(--gold-dark));
    margin: 0 auto;
    border-radius: 2px;
}

.section-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================
   Services Overview (Why Choose Us)
   ============================================ */
.services-overview {
    background: var(--white);
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-overview-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    height: 100%;
}

.service-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-overview-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: rgba(196,154,60,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.service-overview-card:hover .card-icon {
    background: var(--gold);
    transform: scale(1.1);
}

.service-overview-card .card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
    transition: var(--transition);
}

.service-overview-card:hover .card-icon svg {
    color: var(--white);
}

.service-overview-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.service-overview-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: rgba(245,240,232,0.4);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-image-frame {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(196,154,60,0.3);
    border-radius: var(--radius-2xl);
}

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

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,42,74,0.5), transparent);
}

.about-exp-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.about-exp-badge .exp-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.about-exp-badge .exp-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.about-success-badge {
    position: absolute;
    top: -16px;
    left: 32px;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.about-success-badge .success-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.about-success-badge .success-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text h2 .text-gold {
    color: var(--gold);
}

.about-text .text-divider {
    width: 5rem;
    height: 6px;
    background: linear-gradient(to left, var(--gold), var(--gold-dark));
    margin-bottom: 1.5rem;
    border-radius: 3px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
}

.about-features {
    margin: 2rem 0 2.5rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.about-feature-item .check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(196,154,60,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-item .check-icon svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.about-feature-item span {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.about-cta .btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.about-cta .btn-navy:hover {
    background: var(--navy-light);
    box-shadow: 0 10px 30px rgba(27,42,74,0.2);
    transform: translateY(-2px);
}

.about-cta .btn-navy svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Services Detail Section
   ============================================ */
.services-detail {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

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

.service-card .service-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: rgba(27,42,74,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--navy);
    transform: scale(1.1);
}

.service-card .service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--navy);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--gold);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-card .service-line {
    width: 3rem;
    height: 4px;
    background: rgba(196,154,60,0.3);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    transition: var(--transition);
}

.service-card:hover .service-line {
    width: 5rem;
    background: var(--gold);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, var(--navy-dark), var(--navy), var(--navy-light));
}

.stats-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C49A3C' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.stats-content {
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

/* ============================================
   Blog Section
   ============================================ */
.blog-section {
    background: rgba(245,240,232,0.3);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

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

.blog-card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-card-meta svg {
    width: 14px;
    height: 14px;
}

.blog-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover h3 {
    color: var(--gold);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.blog-card-link:hover {
    color: var(--gold-dark);
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, var(--brown), var(--gold-dark), var(--gold));
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-content h2 .text-navy {
    color: var(--navy);
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-buttons .btn-navy:hover {
    background: var(--navy-light);
    box-shadow: 0 10px 30px rgba(27,42,74,0.3);
    transform: translateY(-2px);
}

.cta-buttons .btn-navy svg {
    width: 20px;
    height: 20px;
}

.cta-buttons .btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
}

.cta-buttons .btn-white-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.cta-buttons .btn-white-outline svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    max-width: 1050px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: rgba(245,240,232,0.5);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    direction: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196,154,60,0.15);
}

.contact-form textarea {
    resize: none;
    height: 140px;
}

.contact-form input[type="email"] {
    direction: ltr;
    text-align: right;
}

.contact-form .btn-submit {
    width: 100%;
    background: var(--gold);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.05rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .btn-submit:hover {
    background: var(--gold-dark);
    box-shadow: 0 8px 25px rgba(196,154,60,0.3);
}

.contact-form .btn-submit svg {
    width: 20px;
    height: 20px;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--navy);
    color: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: var(--navy-light);
}

.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(196,154,60,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-card:hover .info-icon {
    background: var(--gold);
}

.contact-info-card .info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: var(--transition);
}

.contact-info-card:hover .info-icon svg {
    color: var(--white);
}

.contact-info-card h4 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.contact-map-placeholder {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-map-placeholder svg {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-map-placeholder p {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.contact-map-placeholder span {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--navy);
    color: var(--white);
}

.footer-main {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 2.5rem;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-about .footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.footer-about .footer-logo-text .logo-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-about .footer-logo-text .logo-sub {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
}

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

.footer-social {
    display: flex;
    gap: 0.75rem;
}

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

.footer-social a:hover {
    background: var(--gold);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

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

.footer-links ul li a:hover {
    color: var(--gold);
}

.footer-links ul li a .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(196,154,60,0.5);
    flex-shrink: 0;
}

.footer-contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-info .contact-item a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-info .contact-item a:hover {
    color: var(--gold);
}

.footer-contact-info .contact-item .ci-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-info .contact-item .ci-icon svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.footer-contact-info .contact-item .ci-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.15rem;
}

.footer-contact-info .contact-item .ci-value {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.footer-contact-info .contact-item .ci-value:hover {
    color: var(--gold);
}

.footer-bottom {
    background: var(--navy-dark);
    padding: 1rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* ============================================
   WhatsApp Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: pulseGold 2s infinite;
}

.whatsapp-float a:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.scroll-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.scroll-to-top a:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

.scroll-to-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatY1 {
    0%, 100% { transform: translateY(-8px); }
    50% { transform: translateY(8px); }
}

@keyframes floatY2 {
    0%, 100% { transform: translateY(8px); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   WordPress Specific Styles
   ============================================ */

/* Blog Page */
.blog-page-header {
    background: var(--navy);
    padding: 4rem 0;
    text-align: center;
}

.blog-page-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
}

.blog-page-header p {
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 0;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.single-post-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1rem;
}

.single-post-content .post-meta {
    color: var(--text-light);
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
}

.single-post-content .post-content {
    line-height: 1.9;
    color: var(--text-dark);
}

.single-post-content .post-content p {
    margin-bottom: 1.5rem;
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 6rem 0;
}

.error-404 h1 {
    font-size: 8rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.error-404 h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.error-404 p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    .header-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .mobile-menu {
        display: block;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        display: none;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .services-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image img {
        height: 400px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-buttons .btn-gold,
    .hero-buttons .btn-outline {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .services-overview-grid {
        grid-template-columns: 1fr;
    }
    .about-text h2 {
        font-size: 2rem;
    }
    .about-image img {
        height: 350px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .cta-content h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: auto;
        padding-top: 5rem;
    }
    .hero-content {
        padding: 5rem 0 4rem;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-trust-badges {
        flex-direction: column;
    }
    .section {
        padding: 3.5rem 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .about-image img {
        height: 280px;
    }
    .about-exp-badge {
        bottom: -12px;
        left: -12px;
        padding: 1rem;
    }
    .about-exp-badge .exp-number {
        font-size: 1.75rem;
    }
}
