@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
--bg: #f5f7fa;
--surface: #ffffff;
--surface-2: #eef2f6;
--text: #17202a;
--muted: #66717d;
--border: #e1e6eb;
--accent: #16a085;
--accent-dark: #0d806a;
--accent-soft: rgba(22, 160, 133, 0.11);
--header: rgba(255, 255, 255, 0.88);
--shadow: 0 18px 45px rgba(25, 40, 55, 0.09);
--radius: 22px;
}

body.dark {
--bg: #0d1117;
--surface: #151b23;
--surface-2: #1d2630;
--text: #f2f5f7;
--muted: #a6b0ba;
--border: #293440;
--accent: #27c7a5;
--accent-dark: #19a989;
--accent-soft: rgba(39, 199, 165, 0.13);
--header: rgba(13, 17, 23, 0.88);
--shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

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

body {
font-family: "Cairo", sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.8;
transition: background 0.25s ease, color 0.25s ease;
}

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

a {
color: inherit;
text-decoration: none;
}

button {
font: inherit;
}

.container {
width: min(1120px, calc(100% - 36px));
margin-inline: auto;
}

/* Header */

.site-header {
position: sticky;
top: 0;
z-index: 1000;
background: var(--header);
backdrop-filter: blur(18px);
border-bottom: 1px solid var(--border);
}

.header-inner {
min-height: 76px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}

.logo {
display: flex;
flex-direction: column;
line-height: 1.25;
flex-shrink: 0;
}

.logo-main {
font-size: 1.05rem;
font-weight: 800;
}

.logo-sub {
color: var(--accent);
font-size: 0.72rem;
font-weight: 600;
}

.main-nav {
display: flex;
align-items: center;
justify-content: center;
gap: 24px;
}

.main-nav a {
color: var(--muted);
font-size: 0.9rem;
font-weight: 600;
transition: color 0.2s ease;
}

.main-nav a:hover {
color: var(--accent);
}

.header-controls {
display: flex;
gap: 8px;
align-items: center;
}

.header-controls button {
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
border-radius: 12px;
min-width: 42px;
height: 40px;
padding: 0 10px;
cursor: pointer;
transition: 0.2s ease;
}

.header-controls button:hover {
border-color: var(--accent);
color: var(--accent);
}

/* Hero */

.hero {
position: relative;
overflow: hidden;
min-height: 650px;
display: flex;
align-items: center;
background:
radial-gradient(circle at 15% 20%, var(--accent-soft), transparent 34%),
var(--bg);
}

.hero-glow {
position: absolute;
width: 520px;
height: 520px;
border-radius: 50%;
background: var(--accent-soft);
filter: blur(80px);
left: -250px;
top: 80px;
}

.hero-content {
position: relative;
padding: 90px 0;
max-width: 900px;
}

.hero-badge,
.eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--accent);
background: var(--accent-soft);
border: 1px solid rgba(22, 160, 133, 0.18);
border-radius: 999px;
padding: 6px 14px;
font-size: 0.8rem;
font-weight: 700;
}

.hero-badge span:first-child {
font-size: 0.65rem;
}

.hero h1 {
max-width: 850px;
font-size: clamp(2.4rem, 6vw, 4.8rem);
line-height: 1.15;
letter-spacing: -1.5px;
margin: 22px 0 20px;
font-weight: 800;
}

.hero-text {
max-width: 780px;
color: var(--muted);
font-size: clamp(1rem, 2vw, 1.2rem);
line-height: 2;
}

.hero-buttons {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 32px;
}

.btn {
min-height: 52px;
padding: 11px 22px;
border-radius: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 9px;
font-weight: 700;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
transform: translateY(-2px);
}

.primary-btn,
.whatsapp-btn {
color: white;
background: var(--accent);
box-shadow: 0 12px 25px rgba(22, 160, 133, 0.2);
}

.primary-btn:hover,
.whatsapp-btn:hover {
background: var(--accent-dark);
}

.secondary-btn {
background: var(--surface);
border: 1px solid var(--border);
}

.hero-stats {
display: flex;
gap: 0;
margin-top: 55px;
width: fit-content;
border: 1px solid var(--border);
background: var(--surface);
border-radius: 18px;
overflow: hidden;
box-shadow: var(--shadow);
}

.hero-stats div {
min-width: 145px;
padding: 14px 20px;
text-align: center;
border-inline-start: 1px solid var(--border);
}

.hero-stats div:first-child {
border-inline-start: 0;
}

.hero-stats strong {
display: block;
font-size: 1rem;
font-weight: 800;
}

.hero-stats span {
display: block;
color: var(--muted);
font-size: 0.72rem;
}

/* General Sections */

.section {
padding: 100px 0;
}

.section-heading {
max-width: 720px;
margin: 0 auto 50px;
text-align: center;
}

.section-heading .eyebrow {
margin-bottom: 15px;
}

.section-heading h2,
.about-content h2,
.contact-box h2 {
font-size: clamp(1.8rem, 4vw, 2.8rem);
line-height: 1.35;
margin-bottom: 15px;
font-weight: 800;
}

.section-heading p,
.about-content p,
.contact-box p {
color: var(--muted);
}

/* Services */

.services {
background: var(--surface);
}

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

.service-card {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-image {
aspect-ratio: 3 / 2;
overflow: hidden;
background: var(--surface-2);
}

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

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

.service-content {
position: relative;
padding: 22px;
}

.service-number {
color: var(--accent);
font-size: 0.72rem;
font-weight: 800;
}

.service-content h3 {
font-size: 1.12rem;
margin: 3px 0 7px;
}

.service-content p {
color: var(--muted);
font-size: 0.88rem;
}

/* Video */

.video-section {
background: var(--bg);
}

.video-card {
width: min(900px, 100%);
margin: auto;
padding: 10px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 24px;
box-shadow: var(--shadow);
}

.video-card video {
width: 100%;
display: block;
border-radius: 17px;
background: #000;
aspect-ratio: 16 / 9;
}

/* About */

.about {
background: var(--surface);
}

.about-grid {
display: grid;
grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
align-items: center;
gap: 70px;
}

.about-image {
width: min(390px, 100%);
margin: auto;
padding: 15px;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 28px;
box-shadow: var(--shadow);
}

.about-image img {
width: 100%;
aspect-ratio: 1;
object-fit: contain;
border-radius: 18px;
}

.about-content .eyebrow {
margin-bottom: 16px;
}

.about-content p {
margin-bottom: 17px;
}

.text-link {
display: inline-flex;
align-items: center;
gap: 10px;
margin-top: 12px;
color: var(--accent);
font-weight: 800;
}

.text-link:hover {
gap: 15px;
}

/* Contact */

.contact {
background:
radial-gradient(circle at 80% 50%, var(--accent-soft), transparent 35%),
var(--bg);
}

.contact-box {
display: flex;
align-items: center;
justify-content: space-between;
gap: 35px;
padding: 45px;
border-radius: 28px;
background: var(--surface);
border: 1px solid var(--border);
box-shadow: var(--shadow);
}

.contact-box h2 {
margin-bottom: 8px;
}

.whatsapp-btn {
flex-shrink: 0;
min-width: 210px;
}

.social-links {
display: flex;
justify-content: center;
gap: 12px;
margin-top: 25px;
}

.social-links a {
padding: 9px 18px;
border: 1px solid var(--border);
border-radius: 12px;
color: var(--muted);
background: var(--surface);
font-size: 0.85rem;
font-weight: 600;
transition: 0.2s ease;
}

.social-links a:hover {
color: var(--accent);
border-color: var(--accent);
}

/* Footer */

.site-footer {
border-top: 1px solid var(--border);
background: var(--surface);
padding: 30px 0;
}

.footer-inner {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}

.footer-inner strong {
font-weight: 800;
}

.footer-inner p {
color: var(--muted);
font-size: 0.8rem;
margin-top: 2px;
}

/* English mode */

html[dir="ltr"] .hero,
html[dir="ltr"] body {
direction: ltr;
}

html[dir="ltr"] .main-nav {
direction: ltr;
}

html[dir="ltr"] .hero-stats div {
border-inline-start: 1px solid var(--border);
}

html[dir="ltr"] .hero-stats div:first-child {
border-inline-start: 0;
}

/* Mobile */

@media (max-width: 900px) {
.header-inner {
min-height: 68px;
}

.main-nav {
display: none;
}

.hero {
min-height: auto;
}

.hero-content {
padding: 75px 0;
}

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

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

.about-image {
width: min(330px, 80%);
}

.contact-box {
flex-direction: column;
align-items: stretch;
text-align: center;
padding: 35px 25px;
}

.whatsapp-btn {
width: 100%;
}
}

@media (max-width: 600px) {
.container {
width: min(100% - 24px, 1120px);
}

.header-inner {
gap: 10px;
}

.logo-main {
font-size: 0.9rem;
}

.logo-sub {
font-size: 0.62rem;
}

.header-controls button {
min-width: 38px;
height: 36px;
padding: 0 8px;
}

#languageToggle {
font-size: 0.72rem;
}

.hero-content {
padding: 60px 0;
}

.hero h1 {
font-size: 2.35rem;
letter-spacing: -0.8px;
}

.hero-text {
font-size: 0.95rem;
}

.hero-buttons {
flex-direction: column;
}

.btn {
width: 100%;
}

.hero-stats {
width: 100%;
display: grid;
grid-template-columns: repeat(3, 1fr);
}

.hero-stats div {
min-width: 0;
padding: 12px 5px;
}

.hero-stats strong {
font-size: 0.85rem;
}

.hero-stats span {
font-size: 0.61rem;
}

.section {
padding: 70px 0;
}

.section-heading {
margin-bottom: 35px;
}

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

.service-content {
padding: 18px;
}

.contact-box {
border-radius: 22px;
}

.footer-inner {
flex-direction: column;
text-align: center;
}
}
