/*
 * Kitchen Yard - Cloud Kitchen Website
 * Design System & Core Styles
 * Version: 1.0
 */

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-teal), var(--accent-teal-light));
    border-radius: 10px;
    border: 2px solid var(--primary-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-teal);
}

body {
    font-family: 'TheYearofHandicrafts', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ============================================
   DESIGN SYSTEM VARIABLES
   ============================================ */
:root {
    /* Primary Colors */
    --primary-dark: #2c4a5a;
    --primary-teal: #40a89c;
    --primary-light: #f7f9fa;
    --bg-dark: #2c4a5a;
    --bg-light: #ffffff;

    /* Accent Colors (from brand patterns) */
    --accent-pink: #d65d87;
    --accent-orange: #e8a87c;
    --accent-purple: #c38bb4;
    --accent-blue: #5a9db8;
    --accent-teal-light: #e8f4f2;

    /* Text Colors */
    --text-primary: #2c4a5a;
    --text-secondary: #5a7a8a;
    --text-light: #ffffff;
    --text-muted: #8a9ca8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2c4a5a 0%, #40a89c 100%);
    --gradient-teal: linear-gradient(135deg, #40a89c 0%, #5ab8ac 100%);
    --gradient-hero: linear-gradient(180deg, rgba(44, 74, 90, 0.95) 0%, rgba(44, 74, 90, 0.85) 100%);

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(44, 74, 90, 0.1);
    --shadow-medium: 0 8px 30px rgba(44, 74, 90, 0.15);
    --shadow-strong: 0 15px 50px rgba(44, 74, 90, 0.2);
    --shadow-glow: 0 0 40px rgba(64, 168, 156, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Container */
    --container-max: 1400px;
    --container-padding: 2rem;
}

/* ============================================
   CUSTOM FONT
   ============================================ */
@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'TheYearofHandicrafts', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-light {
    background-color: var(--bg-light);
}

.section-teal {
    background-color: var(--primary-teal);
    color: var(--text-light);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(44, 74, 90, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-medium);
    padding: var(--space-sm) 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    transition: var(--transition-normal);
    filter: brightness(0) invert(1);
    /* White logo filter */
}

.header.scrolled .logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-teal);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-pattern {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
    filter: brightness(0) invert(1);
    /* White patterns */
}

.hero-pattern-1 {
    top: 10%;
    right: 5%;
    width: 200px;
}

.hero-pattern-2 {
    bottom: 15%;
    left: 5%;
    width: 180px;
}

.hero-pattern-3 {
    top: 50%;
    right: 80%;
    width: 120px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--space-2xl);
}

.hero-logo {
    width: 200px;
    margin-bottom: var(--space-lg);
    animation: fadeInDown 1s ease;
    filter: brightness(0) invert(1);
    /* White hero logo */
}

.hero-title {
    color: var(--text-light);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title span {
    color: var(--primary-teal);
    display: block;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stat {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.hero-stat:hover::before {
    left: 100%;
}

.hero-stat:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-teal);
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    display: block;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-teal);
    color: var(--text-light);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(64, 168, 156, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

.btn-light {
    background: var(--text-light);
    color: var(--primary-dark);
    border: none;
    font-weight: 700;
}

.btn-light:hover {
    background: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-5px) scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    color: var(--text-light);
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   WHY SECTION (لماذا Kitchen Yard)
   ============================================ */
.why-section {
    background: var(--bg-dark);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('../includes/images/pattrens/1-10.png') repeat;
    opacity: 0.03;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.why-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 168, 156, 0.15), transparent);
    transition: 0.6s;
}

.why-card:hover::before {
    left: 100%;
}

.why-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-teal);
    box-shadow: 0 25px 60px rgba(64, 168, 156, 0.25), var(--shadow-glow);
}

.why-card-number {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(64, 168, 156, 0.2);
    line-height: 1;
}

.why-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-top: var(--space-lg);
}

.why-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-teal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.why-card:hover .why-card-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(64, 168, 156, 0.4);
}

.why-card-icon svg {
    width: 30px;
    height: 30px;
    color: var(--text-light);
}

.why-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
}

.why-card-subtitle {
    color: var(--primary-teal);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.why-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.why-card li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.why-card li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-teal);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ============================================
   COMPARISON TABLE SECTION
   ============================================ */
.comparison-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1a3540 100%);
    padding: var(--space-3xl) 0;
}

.comparison-section .section-header h2 {
    color: var(--primary-teal);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-light);
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: right;
    border-bottom: 1px solid rgba(44, 74, 90, 0.1);
}

.comparison-table thead {
    background: var(--primary-teal);
}

.comparison-table th {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table th:first-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table th:last-child {
    border-radius: var(--radius-md) 0 0 0;
    background: var(--primary-dark);
}

.comparison-table tbody tr {
    transition: var(--transition-fast);
}

.comparison-table tbody tr:hover {
    background: var(--accent-teal-light);
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(64, 168, 156, 0.05);
}

.comparison-table tbody tr:nth-child(even):hover {
    background: var(--accent-teal-light);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(64, 168, 156, 0.1);
}

.comparison-table td:last-child {
    background: rgba(64, 168, 156, 0.15);
    color: var(--primary-dark);
    font-weight: 500;
}

.comparison-table .logo-cell {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.comparison-table .logo-cell img {
    height: 30px;
}

/* Kitchen Yard logo in comparison - white filter */
.comparison-table th.logo-cell img {
    filter: brightness(0) invert(1);
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-section {
    background: var(--bg-light);
    padding: var(--space-3xl) 0;
}

.clients-section .section-header h2 {
    color: var(--primary-dark);
}

.clients-section .section-header p {
    color: var(--text-secondary);
}

.clients-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to left, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, black 5%, black 95%, transparent);
    padding: var(--space-xl) 0;
}

.clients-track {
    display: flex;
    gap: var(--space-xl);
    animation: scroll-logos 40s linear infinite;
    width: max-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.client-logo {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(64, 168, 156, 0.15);
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(44, 74, 90, 0.08);
}

.client-logo:hover {
    transform: scale(1.15) translateY(-10px);
    box-shadow: 0 25px 60px rgba(64, 168, 156, 0.2);
    border-color: var(--primary-teal);
    background: linear-gradient(135deg, white 0%, rgba(64, 168, 156, 0.05) 100%);
}

.client-logo img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: all 0.4s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) drop-shadow(0 5px 15px rgba(64, 168, 156, 0.3));
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
   SERVICES SECTION (ماذا نوفر)
   ============================================ */
.services-section {
    background: var(--bg-light);
    padding: var(--space-3xl) 0;
    position: relative;
}

.services-section .section-header h2 {
    color: var(--primary-dark);
}

.services-section .section-header p {
    color: var(--text-secondary);
}

/* Pricing Grid - Compact 3-Column Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    padding-top: 20px;
    overflow: hidden;
}

.pricing-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    padding-top: calc(var(--space-xl) + 10px);
    box-shadow: var(--shadow-medium);
    border: 2px solid transparent;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: visible;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 168, 156, 0.1), transparent);
    transition: 0.6s;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-teal);
}

.pricing-card-featured {
    background: var(--primary-teal);
    color: var(--text-light);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.pricing-card-featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-card-featured h3,
.pricing-card-featured p,
.pricing-card-featured li {
    color: var(--text-light);
}

.pricing-card-featured .price-from,
.pricing-card-featured .price-period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card-featured .price-number {
    color: var(--text-light);
}

.pricing-card-featured .pricing-card-header h3 {
    color: var(--text-light);
}

.pricing-card-dark {
    background: var(--primary-dark);
    color: var(--text-light);
}

.pricing-card-dark h3,
.pricing-card-dark p,
.pricing-card-dark li {
    color: var(--text-light);
}

.pricing-card-dark .price-from,
.pricing-card-dark .price-period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card-dark .price-number {
    color: var(--primary-teal);
}

.pricing-card-header {
    margin-bottom: var(--space-lg);
}

.pricing-card-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.pricing-card-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.pricing-card-price {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(64, 168, 156, 0.2);
}

.price-from {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-teal);
    line-height: 1;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pricing-card-features {
    list-style: none;
    text-align: right;
    flex: 1;
    margin-bottom: var(--space-lg);
}

.pricing-card-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(64, 168, 156, 0.1);
    font-size: 0.95rem;
    position: relative;
    padding-right: 1.25rem;
}

.pricing-card-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

.pricing-card-features li:last-child {
    border-bottom: none;
}

.pricing-card-featured .pricing-card-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card-featured .pricing-card-features li::before {
    color: var(--text-light);
}

.pricing-card-dark .pricing-card-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card-dark .pricing-card-features li::before {
    color: var(--primary-teal);
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Legacy Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 168, 156, 0.1), transparent);
    transition: 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 60px rgba(44, 74, 90, 0.2);
}

.service-card.dark {
    background: var(--primary-dark);
    color: var(--text-light);
}

.service-card.dark h3 {
    color: var(--text-light);
}

.service-card.dark p,
.service-card.dark li {
    color: rgba(255, 255, 255, 0.85);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: var(--transition-bounce);
    position: relative;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(64, 168, 156, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(64, 168, 156, 0);
    }
}

.service-card.dark .service-card-icon {
    background: rgba(255, 255, 255, 0.1);
}

.service-card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--primary-teal);
}

.service-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.service-card li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 1rem;
}

.service-card li svg {
    width: 24px;
    height: 24px;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.service-card.dark li svg {
    color: var(--primary-teal);
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location-section {
    background: var(--bg-dark);
    padding: var(--space-3xl) 0;
    position: relative;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url('../includes/images/pattrens/1-08.png') no-repeat;
    background-size: contain;
    opacity: 0.05;
}

.location-section .section-header h2 {
    color: var(--primary-teal);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.location-map {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.location-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.location-info {
    color: var(--text-light);
}

.location-address {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-light);
}

.location-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.location-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
}

.location-features li svg {
    width: 24px;
    height: 24px;
    color: var(--primary-teal);
}

.qr-code {
    background: var(--bg-light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: inline-block;
}

.qr-code img {
    width: 150px;
    height: 150px;
}

.qr-code p {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-top: var(--space-sm);
    text-align: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #2d9a8e 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../includes/images/pattrens/1-11.png') repeat;
    opacity: 0.05;
}

.contact-section .section-header h2 {
    color: var(--text-light);
}

.contact-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.contact-form {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid rgba(44, 74, 90, 0.1);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    direction: rtl;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(64, 168, 156, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-info-card {
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-card h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.contact-method-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-light);
}

.contact-method-text h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-method-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: #25D366;
    color: var(--text-light);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    margin-top: var(--space-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    /* White logo */
    transition: var(--transition-normal);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-teal);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-teal {
    color: var(--primary-teal);
}

.text-white {
    color: var(--text-light);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-sm);
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mb-3 {
    margin-bottom: var(--space-lg);
}

/* ============================================
   FORM ALERTS
   ============================================ */
.form-alert {
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}