/* Global Variables & Reset */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --accent-color: #0dcaf0;

    /* Base Colors - Light Mode Default */
    --bg-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.95);
    --section-bg: #f8f9fa;
    --input-bg: #ffffff;
    --input-border: #dddddd;
    --border-color: rgba(0, 0, 0, 0.05);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 12px;

    /* White constant for text on dark/primary backgrounds */
    --white: #ffffff;
}

body.dark-mode {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --card-bg: #1e1e1e;
    --header-bg: rgba(25, 25, 25, 0.95);
    --section-bg: #181818;
    --input-bg: #2c2c2c;
    --input-border: #444444;
    --border-color: rgba(255, 255, 255, 0.05);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.header {
    background-color: var(--header-bg);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    object-fit: contain;
    animation: floating-logo 3s ease-in-out infinite;
}

/* Navbar Layout */
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links .btn-primary {
    color: #fff;
    padding: 10px 25px;
}

.nav-links .btn-primary:hover::after {
    width: 0;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    position: relative;
    height: 100vh;
    background: url('../images/clinic.jpg') no-repeat center center/cover;
    display: flex;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    /* Override default section margin */
    padding: 0;
    border-radius: 0;
    /* Full width */
    max-width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(33, 37, 41, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Improve legibility */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--white);
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.platform-switcher {
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.05), transparent);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 420px));
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin-top: 40px;
}

.platform-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: var(--transition);
}

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

.platform-card.highlighted {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 202, 240, 0.08));
    border-color: rgba(13, 110, 253, 0.22);
}

.platform-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.18);
}

.platform-card h3 {
    font-size: 1.45rem;
    color: var(--text-color);
}

.platform-card p {
    color: var(--text-light);
    min-height: 70px;
    max-width: 36ch;
}

.platform-card .btn-primary,
.platform-card .btn-secondary {
    align-self: center;
}

.platform-secondary-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.platform-secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats {
    background-color: var(--card-bg);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item .counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
}

/* General Section Styles */
.section {
    padding: 80px 0;
    background: var(--section-bg);
    max-width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Services Section */
.bg-light {
    background-color: var(--section-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 20px;
}

/* Service Card Rotating Border Animation */
.service-card {
    background: var(--card-bg);
    /* Fallback */
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    /* border: 1px solid var(--border-color); Removed to let pseudo border shine */
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    z-index: 1;
    /* Create stacking context */
    padding: 5px;
    /* Creates the "Frame" effect */
}

/* The Rotating Gradient */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            transparent,
            transparent,
            var(--primary-color));
    animation: rotate-border 4s linear infinite;
    z-index: -2;
    opacity: 1;
    /* Always visible */
    transition: opacity 0.3s ease;
}

/* The Background Mask (Inner Card) */
.service-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    /* Constant border thickness */
    background: var(--card-bg);
    z-index: -1;
    border-radius: var(--radius);
}

/* Hover Effect: Show Gradient */
.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    inset: 3px;
    /* Thicken the border on hover */
}

/* Highlight Card Update */
.highlight-card {
    /* border: 2px solid var(--primary-color); REMOVED static border */
    transform: scale(1.02);
}

/* Ensure D_TOOL (Highlight Card) shows the border by default if desired, 
   OR just let it be same as others. User complained it was "fixed".
   Let's make it consistent: All show on hover. 
   If we want D_TOOL distinct, we can keep the scale. 
*/

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px auto 0;
    position: relative;
    z-index: 5;
    color: var(--white);
    font-size: 1.5rem;
    border: 4px solid var(--card-bg);
    box-shadow: var(--shadow-sm);
}

/* Image Container - Framed */
.service-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
    border-radius: 8px 8px 0 0;
    /* Slightly smaller radius to fit inside */
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.1);
}

.service-card-link {
    cursor: pointer;
}

.service-card-link:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.3);
    outline-offset: 4px;
}

.service-card h3 {
    text-align: center;
    margin: 15px 0 10px;
    color: var(--dark-bg);
}

.service-desc {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-features {
    padding: 20px;
    background-color: var(--section-bg);
    border-top: 1px solid var(--border-color);
}

.service-features li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--primary-color);
}

.service-features li:last-child {
    margin-bottom: 0;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ffc107;
    color: #000;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    z-index: 10;
}

/* Highlight Card */
.highlight-card {
    /* border: 2px solid var(--primary-color); Removed static border */
    transform: scale(1.02);
}

.highlight-card:hover {
    transform: scale(1.05) translateY(-10px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.restaurant-badge {
    background: linear-gradient(135deg, #ffb347, #ff7b54);
    color: var(--white);
}

#restaurant-solutions {
    display: none !important;
}

.restaurant-suite {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 32%),
        radial-gradient(circle at bottom right, rgba(13, 202, 240, 0.08), transparent 28%);
}

.restaurant-product-page {
    background:
        radial-gradient(circle at top center, rgba(13, 110, 253, 0.08), transparent 24%),
        var(--bg-color);
}

.restaurant-page-main {
    padding-top: 110px;
}

.restaurant-page-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.restaurant-back-link {
    padding-inline: 22px;
    white-space: nowrap;
}

.restaurant-page-hero {
    padding-top: 30px;
}

.restaurant-page-hero .section-title {
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
}

.restaurant-page-title {
    font-size: 2.8rem;
    line-height: 1.25;
}

.restaurant-page-overview {
    margin-top: 34px;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
}

.restaurant-page-stage-block {
    margin-top: 28px;
}

.restaurant-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 36px;
}

.restaurant-copy,
.restaurant-panel {
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.restaurant-copy {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.restaurant-promo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.8;
    margin-bottom: 18px;
}

.restaurant-summary {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 26px;
}

.restaurant-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.restaurant-feature-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 14px;
    padding: 16px 18px;
    min-height: 112px;
    border-radius: 18px;
    background: rgba(13, 110, 253, 0.05);
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.restaurant-feature-item i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 10px 18px rgba(13, 110, 253, 0.18);
}

.restaurant-feature-item span {
    font-weight: 600;
    line-height: 1.8;
}

.restaurant-panel {
    padding: 32px 28px;
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.06), rgba(13, 202, 240, 0.03));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.restaurant-panel-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.restaurant-panel-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.restaurant-panel-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: 0 12px 22px rgba(13, 110, 253, 0.22);
    flex-shrink: 0;
}

.restaurant-panel h3 {
    font-size: 1.55rem;
    margin-bottom: 18px;
}

.restaurant-panel-note {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 18px;
}

.restaurant-reasons {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
}

.restaurant-reasons li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.8;
}

.restaurant-reasons li::before {
    content: '';
    width: 10px;
    height: 10px;
    margin-top: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.1);
    flex-shrink: 0;
}

.restaurant-cta {
    width: 100%;
    line-height: 1.7;
    margin-top: 18px;
}

.restaurant-showcase-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.restaurant-showcase-intro p {
    color: var(--text-light);
    max-width: 760px;
}

.restaurant-showcase-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(13, 202, 240, 0.09);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.restaurant-showcase {
    display: grid;
    gap: 24px;
}

.restaurant-stage {
    position: relative;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.08), rgba(13, 202, 240, 0.02));
    border: 1px solid rgba(13, 110, 253, 0.1);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.restaurant-stage::before,
.restaurant-stage::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.restaurant-stage::before {
    width: 240px;
    height: 240px;
    top: -110px;
    right: -70px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.22), transparent 70%);
}

.restaurant-stage::after {
    width: 220px;
    height: 220px;
    bottom: -120px;
    left: -60px;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.18), transparent 72%);
}

.restaurant-stage-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.restaurant-screen-frame {
    position: relative;
    z-index: 1;
    width: min(100%, 960px);
    margin: 0 auto;
    padding: 14px 14px 18px;
    background: linear-gradient(180deg, #0f172a, #14213d);
    border-radius: 26px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
}

.restaurant-screen-topbar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    padding-inline: 6px;
}

.restaurant-screen-topbar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

.restaurant-screen-topbar span:first-child {
    background: #ff6b6b;
}

.restaurant-screen-topbar span:nth-child(2) {
    background: #ffd166;
}

.restaurant-screen-topbar span:nth-child(3) {
    background: #4cd964;
}

.restaurant-screen-frame img {
    width: 100%;
    border-radius: 18px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.restaurant-stage-copy {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    margin: -24px auto 0;
    padding: 24px 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
}

.restaurant-stage-copy h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.restaurant-stage-copy p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.9;
}

.restaurant-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

.restaurant-module-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.restaurant-module-card i {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.restaurant-module-card span {
    display: block;
    font-weight: 700;
    line-height: 1.7;
}

.restaurant-module-card:hover,
.restaurant-module-card.active {
    transform: translateY(-6px);
    border-color: rgba(13, 110, 253, 0.32);
    box-shadow: var(--shadow-md);
}

.restaurant-module-card.active {
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.1), rgba(13, 202, 240, 0.07));
}

.restaurant-gallery-intro,
.restaurant-gallery {
    display: none;
}

.restaurant-gallery-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.restaurant-gallery-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.restaurant-gallery-intro p {
    color: var(--text-light);
    max-width: 760px;
}

.restaurant-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.restaurant-shot {
    background: var(--card-bg);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.restaurant-shot:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.restaurant-shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.45s ease;
}

.restaurant-shot:hover img {
    transform: scale(1.04);
}

.restaurant-shot-body {
    padding: 20px;
}

.restaurant-shot-body h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.restaurant-shot-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.restaurant-suite .restaurant-gallery-intro,
.restaurant-suite .restaurant-gallery {
    display: none !important;
}

/* Why Us Section */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
}

.text-primary {
    color: var(--primary-color);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(13, 110, 253, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.about-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.bg-dark {
    background-color: #212529;
}

.text-white {
    color: var(--white);
}

.text-white p {
    color: rgba(255, 255, 255, 0.7);
}

.text-white h2 {
    color: var(--white);
}

.contact-wrapper {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    flex: 2;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 40px;
    color: var(--white);
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
}

.contact-form {
    flex: 3;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* Footer */
footer {
    background-color: #1a1e21;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .restaurant-page-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .restaurant-page-title {
        font-size: 2.3rem;
    }

    .restaurant-overview {
        grid-template-columns: 1fr;
    }

    .restaurant-panel {
        max-width: 720px;
    }

    .restaurant-showcase-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .restaurant-stage-copy {
        width: 100%;
    }

    .split-layout {
        flex-direction: column-reverse;
        /* Text on top is usually better on mobile */
    }

    .split-layout .image-content {
        margin-bottom: 30px;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 15px;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        gap: 15px;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    body.dark-mode .nav-links {
        background-color: var(--card-bg);
        border-bottom: 1px solid #333;
    }

    .hamburger {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .platform-card {
        padding: 24px 20px;
    }

    .platform-card p {
        min-height: auto;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-right: auto;
        margin-left: auto;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stats {
        margin-top: 0;
        border-radius: 0;
        padding: 40px 0;
    }

    .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .restaurant-page-main {
        padding-top: 135px;
    }

    .restaurant-page-actions {
        gap: 12px;
    }

    .restaurant-back-link {
        width: 100%;
        padding-inline: 18px;
    }

    .restaurant-copy,
    .restaurant-panel {
        padding: 24px 20px;
    }

    .restaurant-feature-list,
    .restaurant-gallery,
    .restaurant-module-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-gallery-intro h3 {
        font-size: 1.5rem;
    }

    .restaurant-stage {
        padding: 22px 16px;
    }

    .restaurant-stage-copy {
        margin-top: 16px;
        padding: 20px 18px;
    }

    .restaurant-stage-copy h3 {
        font-size: 1.45rem;
    }

    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .restaurant-page-title {
        font-size: 1.9rem;
    }

    .restaurant-promo {
        font-size: 1.15rem;
    }

    .restaurant-shot-body {
        padding: 18px;
    }

    .restaurant-showcase-hint {
        white-space: normal;
    }
}

/* Settings Group & Dark Mode Extras */
.settings-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

.icon-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LTR Support */
html[dir="ltr"] body {
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

html[dir="ltr"] .nav-links li a::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .service-features li {
    flex-direction: row;
}

html[dir="ltr"] .feature-item {
    flex-direction: row;
}

html[dir="ltr"] .restaurant-feature-item,
html[dir="ltr"] .restaurant-reasons li {
    flex-direction: row;
}

html[dir="ltr"] .settings-group {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="ltr"] .contact-info {
    text-align: left;
}

/* RTL Specific (Deault) */
html[dir="rtl"] .nav-links li a::after {
    right: 0;
    left: auto;
}

.icon-btn:hover {
    background: var(--accent-color);
    color: #fff;
    transform: rotate(15deg);
    border-color: var(--accent-color);
}

.phone-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

.phone-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Dark Mode Application */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .service-card,
body.dark-mode .feature-item,
body.dark-mode .contact-wrapper,
body.dark-mode .navbar {
    background-color: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .section.bg-light {
    background-color: var(--section-bg);
}

body.dark-mode input,
body.dark-mode textarea {
    background-color: var(--input-bg);
    color: var(--text-color);
    border-color: var(--input-border);
}

body.dark-mode .text-primary {
    color: var(--accent-color) !important;
}

body.dark-mode .restaurant-copy,
body.dark-mode .restaurant-shot {
    background-color: var(--card-bg);
}

body.dark-mode .restaurant-panel {
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.12), rgba(13, 202, 240, 0.06));
}

body.dark-mode .restaurant-feature-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .restaurant-stage-copy {
    background: rgba(18, 18, 18, 0.88);
}

body.dark-mode .restaurant-stage-badge {
    background: rgba(30, 30, 30, 0.82);
    color: var(--accent-color);
}

body.dark-mode .restaurant-module-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Navbar adjustments for dark mode */
body.dark-mode header {
    background: linear-gradient(135deg, #1a1a1a, #000);
}

@keyframes floating-logo {
    0% {
        transform: translateY(0px);
        filter: drop-shadow(0 5px 15px rgba(13, 110, 253, 0.2));
    }

    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 15px 25px rgba(13, 110, 253, 0.4));
    }

    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 5px 15px rgba(13, 110, 253, 0.2));
    }
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--section-bg);
    overflow: hidden;
}

.partners-marquee {
    position: relative;
    margin-top: 40px;
}

.partners-grid {
    display: grid;
    gap: 18px;
}

.partners-row {
    --partners-gap: 22px;
    padding: 8px 0;
    direction: ltr;
    overflow: hidden;
    mask-image: linear-gradient(to left, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: var(--partners-gap);
    width: max-content;
    will-change: transform;
    animation: partners-scroll var(--partners-duration, 28s) linear infinite;
}

.partners-row.reverse .partners-track {
    animation-name: partners-scroll-reverse;
}

.partners-row:hover .partners-track {
    animation-play-state: paused;
}

.partners-group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--partners-gap);
}

.partner-logo {
    background: var(--card-bg);
    border-radius: 22px;
    padding: 10px 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    min-width: 188px;
    width: 188px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 110, 253, 0.1);
    flex: 0 0 auto;
}

.partner-logo:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 34px rgba(13, 110, 253, 0.12);
    border-color: rgba(13, 110, 253, 0.22);
}

.partner-logo img {
    max-width: 100%;
    max-height: 86px;
    object-fit: contain;
    opacity: 0.95;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.partner-logo:hover img {
    transform: scale(1.04);
    opacity: 1;
}

@keyframes partners-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-1 * (var(--partners-group-width, 0px) + var(--partners-gap, 22px))), 0, 0);
    }
}

@keyframes partners-scroll-reverse {
    from {
        transform: translate3d(calc(-1 * (var(--partners-group-width, 0px) + var(--partners-gap, 22px))), 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 768px) {
    .partner-logo {
        min-width: 150px;
        width: 150px;
        height: 94px;
        padding: 8px 10px;
    }

    .partner-logo img {
        max-height: 70px;
    }
}
