/* =====================================================
   אורית בן אלי - משרד עורכי דין
   Main Stylesheet
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --primary-dark: #0d0d0d;
    --gold: #c9a85c;
    --gold-light: #d4b86a;
    --gold-dark: #b8943f;
    --cream: #faf8f5;
    --cream-dark: #f0ede8;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --success: #28a745;
    --error: #dc3545;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
    --shadow: 0 4px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 50px rgba(0,0,0,0.12);
    --shadow-gold: 0 10px 30px rgba(201, 168, 92, 0.3);
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Border Radius */
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --radius-full: 50px;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Header */
    --header-height: 80px;
}

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

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

body {
    font-family: 'Heebo', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
    list-style: none;
}

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

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

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

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Frank Ruhl Libre', serif;
    line-height: 1.3;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(201,168,92,0.15);
    color: var(--gold-dark);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 16px;
}

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

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Frank Ruhl Libre', serif;
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-o {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--white);
    position: absolute;
    right: 12px;
    font-style: italic;
}

.logo-b {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--gold);
    position: absolute;
    left: 12px;
    font-style: italic;
}

.header-scrolled .logo-o {
    color: var(--primary);
}

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

.logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.header-scrolled .logo-name {
    color: var(--primary);
}

.logo-title {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
}

.header-scrolled .logo-title {
    color: var(--text-light);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

header.header-scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 35px;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
    padding: 8px 0;
}

.header-scrolled nav a {
    color: var(--text);
}

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

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

/* CTA Button */
.cta-btn {
    background: var(--gold);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.cta-btn:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
}

.header-scrolled .cta-btn:hover {
    color: var(--gold-dark);
    border-color: var(--gold-dark);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

.header-scrolled .mobile-toggle span {
    background: var(--primary);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--gold);
    color: var(--primary);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-outline {
    background: transparent;
    color: var(--gold-dark);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--gold);
    transition: var(--transition);
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 120px 0 100px;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text h1 span {
    color: var(--gold);
}

.hero-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
}

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

/* Hero Image */
.hero-image {
    position: relative;
}

.attorney-photo {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(201,168,92,0.2) 0%, rgba(201,168,92,0.05) 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.attorney-photo::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}

.attorney-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
}

.photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: -30px;
    right: 40px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ===== SECTION BASE ===== */
.section {
    padding: var(--section-padding) 0;
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-light {
    background: var(--white);
}

.section-cream {
    background: var(--cream);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

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

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

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

.about-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge-number {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.85rem;
    margin-top: 4px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

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

.about-feature i {
    width: 40px;
    height: 40px;
    background: rgba(201,168,92,0.15);
    color: var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.about-feature span {
    font-weight: 500;
    color: var(--text);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,168,92,0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-dark);
    font-weight: 600;
    margin-top: 20px;
    font-size: 0.9rem;
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(-5px);
}

/* ===== WHY CHOOSE US ===== */
.why-us {
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c9a85c' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.why-us .section-tag {
    background: rgba(201,168,92,0.2);
}

.why-us .section-title {
    color: var(--white);
}

.why-us .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.why-item {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.why-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.why-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* ===== SUCCESS STATS ===== */
.success-stats {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 60px 0;
}

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

.stats-item {
    text-align: center;
    color: var(--primary);
}

.stats-number {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stats-label {
    font-size: 1rem;
    font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--cream);
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.testimonial-info h4 {
    font-weight: 600;
    color: var(--primary);
    font-family: 'Heebo', sans-serif;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Google Reviews Widget */
.google-reviews {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 40px;
    border: 2px solid var(--cream-dark);
}

.google-reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.google-logo {
    height: 30px;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-rating .rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.google-rating .stars {
    color: #fbbc04;
    font-size: 1.2rem;
}

.google-rating .review-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.google-reviews-btn {
    margin-top: 20px;
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--cream-dark);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: right;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--gold-dark);
}

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

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

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

.faq-answer-content {
    padding: 0 30px 24px;
    color: var(--text-light);
    line-height: 1.8;
}

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

/* ===== CERTIFICATES SECTION ===== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.certificate-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--cream-dark);
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-icon img {
    max-width: 100%;
    max-height: 100%;
}

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

.certificate-item h4 {
    font-size: 1rem;
    color: var(--primary);
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
}

.certificate-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* ===== BLOG SECTION ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,168,92,0.2);
}

.blog-image {
    height: 200px;
    background: var(--cream-dark);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-content {
    padding: 28px;
}

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

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--gold);
}

.blog-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.blog-link i {
    transition: var(--transition);
}

.blog-card:hover .blog-link i {
    transform: translateX(-5px);
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 0;
}

.map-container {
    position: relative;
}

.map-wrapper {
    height: 450px;
    width: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info-card {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 350px;
    z-index: 10;
}

.map-info-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.map-info-item i {
    width: 40px;
    height: 40px;
    background: rgba(201,168,92,0.15);
    color: var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-info-item p {
    color: var(--text);
    font-size: 0.95rem;
}

.map-info-item a {
    color: var(--gold-dark);
}

.map-info-item a:hover {
    text-decoration: underline;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(201,168,92,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-item-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-family: 'Heebo', sans-serif;
}

.contact-item-text p,
.contact-item-text a {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
}

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

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
}

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

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Calendly Widget */
.calendly-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-dark);
}

.calendly-section h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
    font-family: 'Heebo', sans-serif;
}

.calendly-inline-widget {
    min-width: 100%;
    height: 650px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
}

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

.footer-brand .logo-o,
.footer-brand .logo-name {
    color: var(--white);
}

.footer-brand .logo-title {
    color: rgba(255,255,255,0.6);
}

.footer-brand p {
    margin-top: 20px;
    line-height: 1.8;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-family: 'Heebo', sans-serif;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--gold);
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--gold);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

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

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ===== BLOG PAGE STYLES ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    color: var(--gold);
}

/* Blog Article Page */
.article-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    padding: 60px 0;
}

.article-main {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
}

.article-header {
    margin-bottom: 40px;
}

.article-category {
    display: inline-block;
    background: rgba(201,168,92,0.15);
    color: var(--gold-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 24px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--gold);
}

.article-featured-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

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

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-right: 30px;
}

.article-content li {
    margin-bottom: 10px;
    list-style: disc;
}

.article-content blockquote {
    background: var(--cream);
    padding: 30px;
    border-right: 4px solid var(--gold);
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cream-dark);
    font-family: 'Heebo', sans-serif;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.sidebar-cta h4 {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.2);
}

.sidebar-cta p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.recent-posts-list li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cream-dark);
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts-list a {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.recent-posts-list a:hover {
    color: var(--gold-dark);
}

.recent-posts-list span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

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

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

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-services {
        display: none;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

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

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-info-card {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        margin: -50px 24px 0;
    }
    
    .article-container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --header-height: 70px;
    }
    
    .nav-wrapper {
        padding: 0 16px;
    }

    nav ul {
        display: none;
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 30px;
        gap: 0;
        box-shadow: var(--shadow);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        border-bottom: 1px solid var(--cream-dark);
    }

    nav ul a {
        display: block;
        padding: 16px 0;
        color: var(--text) !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .cta-btn {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-badge {
        position: relative;
        bottom: auto;
        left: auto;
        display: inline-block;
        margin-top: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .article-main {
        padding: 30px 20px;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        right: 20px;
        left: 20px;
        bottom: -50px;
    }
}

/* ===== MILUIM BANNER ===== */
.miluim-banner {
    background: linear-gradient(135deg, #4a5f31 0%, #6b8c42 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.miluim-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.miluim-badge-img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.miluim-text {
    text-align: center;
    color: var(--white);
}

.miluim-text h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-family: 'Heebo', sans-serif;
}

.miluim-text p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== EXTERNAL LINKS ===== */
.external-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--cream-dark);
}

.external-links p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.external-links a {
    display: inline-block;
    background: var(--cream);
    color: var(--gold-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 5px;
    transition: var(--transition);
    border: 1px solid var(--gold);
}

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

/* ===== CERTIFICATES GALLERY ===== */
.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.certificate-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certificate-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background: #fafafa;
    padding: 20px;
}

.certificate-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    padding: 15px 20px 5px;
    font-family: 'Heebo', sans-serif;
}

.certificate-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0 20px 20px;
}

/* ===== REAL TESTIMONIALS ===== */
.real-testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.real-testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.real-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.real-testimonial-card img {
    width: 100%;
    height: auto;
    display: block;
}

.testimonial-text-overlay {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.testimonial-text-overlay p {
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

@media (max-width: 768px) {
    .certificates-gallery,
    .real-testimonials {
        grid-template-columns: 1fr;
    }
    
    .certificate-card img {
        height: 280px;
    }
    
    .miluim-content {
        flex-direction: column;
        text-align: center;
    }
    
    .miluim-badge-img {
        width: 80px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    header, footer, .whatsapp-float, .contact-form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        padding: 30px 0;
    }
}

/* ===== ADDITIONAL STYLES FOR NEW FEATURES ===== */

/* Miluim Badge */
.miluim-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(201,168,92,0.3);
}

.miluim-badge span {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}

/* External Links */
.external-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,168,92,0.15);
    color: var(--gold-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.external-link:hover {
    background: var(--gold);
    color: var(--primary);
}

/* Certificates Gallery */
.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-item img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    cursor: pointer;
}

.cert-item h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'Heebo', sans-serif;
}

.cert-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.miluim-cert {
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, rgba(201,168,92,0.1) 0%, var(--white) 100%);
}

/* Real Testimonials */
.testimonials-real {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-image-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-image-card img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.testimonial-overlay {
    padding: 20px;
    background: var(--cream);
}

.testimonial-overlay p {
    font-style: italic;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
}

/* Responsive for new elements */
@media (max-width: 1024px) {
    .certificates-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certificates-gallery {
        grid-template-columns: 1fr;
    }
    
    .testimonials-real {
        grid-template-columns: 1fr;
    }
    
    .miluim-badge {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== MILUIM BANNER ===== */
.miluim-banner {
    background: linear-gradient(135deg, #4a5d23 0%, #6b8e23 100%);
    padding: 20px 0;
}

.miluim-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.miluim-badge-img {
    height: 100px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.miluim-text {
    text-align: center;
    color: var(--white);
}

.miluim-text h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-family: 'Heebo', sans-serif;
}

.miluim-text p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== EXTERNAL LINKS ===== */
.external-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--cream-dark);
}

.external-links p {
    margin-bottom: 10px;
    color: var(--text);
}

.external-links a {
    display: inline-block;
    background: rgba(201,168,92,0.15);
    color: var(--gold-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin: 5px;
    transition: var(--transition);
}

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

/* ===== CERTIFICATES GALLERY ===== */
.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

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

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certificate-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: var(--cream);
    padding: 20px;
}

.certificate-info {
    padding: 20px;
    text-align: center;
}

.certificate-info h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'Heebo', sans-serif;
}

.certificate-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cert-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(201,168,92,0.1);
    padding: 12px 24px;
    border-radius: var(--radius-full);
}

.cert-badge i {
    color: var(--gold);
    font-size: 1.2rem;
}

.cert-badge span {
    font-weight: 500;
    color: var(--text);
}

/* ===== REAL TESTIMONIALS ===== */
.real-testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

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

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

.testimonial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 20px 20px;
    opacity: 0;
    transition: var(--transition);
}

.testimonial-image-card:hover .testimonial-overlay {
    opacity: 1;
}

.testimonial-overlay p {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 768px) {
    .miluim-content {
        flex-direction: column;
        text-align: center;
    }
    
    .miluim-badge-img {
        height: 80px;
    }
    
    .certificates-gallery {
        grid-template-columns: 1fr;
    }
    
    .certificate-card img {
        height: 250px;
    }
    
    .real-testimonials {
        grid-template-columns: 1fr;
    }
    
    .cert-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== FOOTER LEGAL LINKS ===== */
.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .footer-legal-links {
        gap: 15px;
    }
    
    .footer-legal-links a {
        font-size: 0.8rem;
    }
}

/* ===== LOGO IMAGE SUPPORT ===== */
.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.header-scrolled .logo-image {
    height: 45px;
}

footer .logo-image {
    height: 45px;
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
}

/* ===== CERTIFICATES GALLERY - 3 COLUMNS ===== */
.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .certificates-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .certificates-gallery {
        grid-template-columns: 1fr;
    }
}

/* ===== REAL TESTIMONIALS - 3 COLUMNS ===== */
.real-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .real-testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .real-testimonials {
        grid-template-columns: 1fr;
    }
}

/* ===== SUCCESS HIGHLIGHTS ===== */
.success-highlights {
    background: linear-gradient(135deg, rgba(201,168,92,0.1) 0%, rgba(201,168,92,0.05) 100%);
    border-radius: var(--radius);
    padding: 30px;
    margin: 30px 0;
}

.success-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.success-item:last-child {
    margin-bottom: 0;
}

.success-item i {
    color: var(--success);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.success-item span {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== BLOG IMAGE FIX ===== */
.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* =====================================================
   ACCESSIBILITY WIDGET (תפריט נגישות)
   תקן ישראלי 5568 / WCAG 2.1 AA
   ===================================================== */

.a11y-skip-link {
    position: absolute;
    right: 8px;
    top: -100px;
    background: var(--primary);
    color: var(--gold);
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 100000;
    transition: top 0.2s ease;
    text-decoration: none;
}
.a11y-skip-link:focus {
    top: 12px;
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.a11y-toggle {
    position: fixed;
    right: 20px;
    bottom: 95px;
    z-index: 9998;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e5fbf 0%, #0d3a82 100%);
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 6px 22px rgba(13, 58, 130, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    font-size: 1.7rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.a11y-toggle:hover,
.a11y-toggle:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(13, 58, 130, 0.6);
    outline: 3px solid #ffd23f;
    outline-offset: 3px;
}
.a11y-toggle .a11y-toggle-text {
    display: none;
}
body.a11y-active .a11y-toggle {
    background: linear-gradient(135deg, #2db04a 0%, #1e7d32 100%);
    box-shadow: 0 6px 22px rgba(30, 125, 50, 0.5);
}

.a11y-panel {
    position: fixed;
    right: 20px;
    bottom: 165px;
    z-index: 9999;
    width: 360px;
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 200px);
    background: #fff;
    color: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 12px 50px rgba(0,0,0,0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    direction: rtl;
}
.a11y-panel.a11y-panel-open {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.a11y-panel[hidden] { display: none; }

.a11y-panel-header {
    background: linear-gradient(135deg, #0d3a82 0%, #1e5fbf 100%);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.a11y-panel-header h2 {
    font-size: 1.15rem;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.a11y-close {
    background: rgba(255,255,255,0.18);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.a11y-close:hover,
.a11y-close:focus-visible {
    background: rgba(255,255,255,0.35);
    outline: 2px solid #ffd23f;
}

.a11y-panel-body {
    padding: 18px 20px 20px;
    overflow-y: auto;
    flex: 1;
}

.a11y-section { margin-bottom: 18px; }
.a11y-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d3a82;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e8eef9;
}

.a11y-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.a11y-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.a11y-size-row { justify-content: center; }

.a11y-btn {
    background: #f4f7fc;
    color: #1a1a1a;
    border: 2px solid #e1e8f3;
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;
    font-family: inherit;
}
.a11y-btn i { font-size: 1.15rem; color: #0d3a82; }
.a11y-btn:hover,
.a11y-btn:focus-visible {
    background: #e8eef9;
    border-color: #0d3a82;
    transform: translateY(-1px);
    outline: none;
}
.a11y-btn-active {
    background: #0d3a82;
    color: #fff;
    border-color: #0d3a82;
}
.a11y-btn-active i { color: #ffd23f; }

.a11y-btn-square {
    width: 44px;
    height: 44px;
    flex-direction: row;
    padding: 0;
}
.a11y-size-display {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    color: #0d3a82;
}

.a11y-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 2px solid #e8eef9;
}
.a11y-btn-reset {
    background: #fff4e6;
    border-color: #ffb74d;
    flex-direction: row;
    padding: 10px;
}
.a11y-btn-reset i { color: #e67e22; }
.a11y-btn-reset:hover { background: #ffe0b2; }
.a11y-btn-statement {
    background: #fff;
    border-color: #d0d7e3;
    flex-direction: row;
    padding: 10px;
}

.a11y-credit {
    font-size: 0.72rem;
    color: #666;
    text-align: center;
    margin: 12px 0 0;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .a11y-toggle { width: 52px; height: 52px; font-size: 1.4rem; right: 14px; bottom: 86px; }
    .a11y-panel { right: 10px; left: 10px; width: auto; bottom: 148px; }
}

/* ===== A11Y APPLIED STATES ===== */
:root {
    --a11y-font-scale: 1;
    --a11y-line-height: 1.7;
    --a11y-letter-spacing: 0px;
}
body { font-size: calc(1rem * var(--a11y-font-scale)); }
body p, body li, body td, body th, body label, body input, body textarea, body select, body button, body a, body span, body div {
    line-height: var(--a11y-line-height);
    letter-spacing: var(--a11y-letter-spacing);
}
body h1 { font-size: calc(2.5rem * var(--a11y-font-scale)); }
body h2 { font-size: calc(2rem * var(--a11y-font-scale)); }
body h3 { font-size: calc(1.5rem * var(--a11y-font-scale)); }
body h4 { font-size: calc(1.2rem * var(--a11y-font-scale)); }

body.a11y-contrast-high,
body.a11y-contrast-high * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}
body.a11y-contrast-high a,
body.a11y-contrast-high a * { color: #ffd23f !important; text-decoration: underline !important; }
body.a11y-contrast-high img { filter: contrast(1.2) brightness(0.95); }

body.a11y-contrast-dark,
body.a11y-contrast-dark *:not(.a11y-panel):not(.a11y-panel *):not(.a11y-toggle):not(.a11y-toggle *):not(.a11y-skip-link) {
    background-color: #1a1a1a !important;
    color: #f0f0f0 !important;
}
body.a11y-contrast-dark a:not(.a11y-btn):not(.a11y-skip-link) { color: #ffd23f !important; }

body.a11y-contrast-light,
body.a11y-contrast-light *:not(.a11y-panel):not(.a11y-panel *):not(.a11y-toggle):not(.a11y-toggle *) {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #000 !important;
}
body.a11y-contrast-light a:not(.a11y-btn):not(.a11y-skip-link) { color: #003e9c !important; text-decoration: underline !important; }

body.a11y-grayscale { filter: grayscale(100%); }

body.a11y-highlight-links a:not(.a11y-btn):not(.a11y-toggle):not(.a11y-skip-link):not(.a11y-close) {
    background: #ffeb3b !important;
    color: #000 !important;
    text-decoration: underline !important;
    padding: 2px 4px;
    border-radius: 3px;
    box-shadow: 0 0 0 2px #f57c00;
}

body.a11y-readable-font,
body.a11y-readable-font *:not(.fa):not(.fas):not(.fab):not(.far) {
    font-family: Arial, "Open Sans Hebrew", "Arial Hebrew", sans-serif !important;
    font-weight: 500 !important;
}

body.a11y-big-cursor,
body.a11y-big-cursor * {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path fill='%23000' stroke='%23fff' stroke-width='2' d='M6 4l30 18-13 3 7 16-5 2-7-16-12 9z'/></svg>") 6 4, auto !important;
}

body.a11y-pause-animations,
body.a11y-pause-animations *,
body.a11y-pause-animations *::before,
body.a11y-pause-animations *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
}

body.a11y-underline-headings h1,
body.a11y-underline-headings h2,
body.a11y-underline-headings h3,
body.a11y-underline-headings h4 {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 3px solid #ffd23f;
    outline-offset: 2px;
}
