:root {
  --primary: #1f2937;
  --secondary: #c8a96b;
  --bg: #f7f5f0;
  --white: #ffffff;
  --text: #2b2b2b;
  --muted: #6b7280;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --green: #25d366;
  --blue: #2563eb;
  --dark: #0f172a;
  --border: rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
}

.navbar {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  z-index: 100;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 125px;
  padding: 14px 0;
  direction: ltr;
}

.menu-area {
  position: relative;
  width: 180px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  direction: ltr;
}

.menu-checkbox {
  display: none;
}

.menu-toggle {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  transition: 0.25s ease;
  user-select: none;
}

.menu-toggle:hover {
  transform: translateY(-2px);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  transition: 0.25s ease;
}

.menu-checkbox:checked + .menu-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-checkbox:checked + .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-checkbox:checked + .menu-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 240px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  padding: 10px;
  border: 1px solid var(--border);
  display: none;
  z-index: 500;
  direction: rtl;
}

.menu-checkbox:checked ~ .dropdown-menu {
  display: block;
  animation: fadeDown 0.25s ease;
}

.dropdown-menu a {
  display: block;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  transition: 0.25s;
}

.dropdown-menu a:hover {
  background: rgba(200, 169, 107, 0.12);
  color: var(--secondary);
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-center {
  flex: 1;
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.4px;
}

.logo-area {
  width: 220px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-logo {
  width: 185px;
  height: 185px;
  object-fit: contain;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-logo:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(20, 25, 35, 0.58), rgba(20, 25, 35, 0.58)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1600&auto=format&fit=crop")
      center/cover no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 60px 0;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero p {
  font-size: 20px;
  max-width: 760px;
  margin: 0 auto 26px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 80px 0;
}

.section-light {
  background: #fcfbf8;
}

.section-title {
  font-size: 38px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 22px;
}

.section-subtitle,
.section-text {
  text-align: center;
  color: var(--muted);
  max-width: 900px;
  margin: auto;
  font-size: 17px;
}

.services-list {
  display: grid;
  gap: 24px;
  margin-top: 35px;
}

.service-card {
  position: relative;
  background: var(--white);
  padding: 30px 26px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary), var(--primary));
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(200, 169, 107, 0.12);
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 14px;
}

.service-card h3 {
  color: var(--primary);
  font-size: 25px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 16px;
}

.service-card ul {
  margin-top: 10px;
  padding-right: 22px;
  color: var(--muted);
}

.service-card li {
  margin-bottom: 8px;
}

.service-whatsapp-btn {
  display: inline-block;
  margin-top: 18px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.service-whatsapp-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.project-card {
  background: var(--white);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 22px;
}

.project-card p {
  color: var(--muted);
}

.project-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.project-icon.pdf {
  background: #dc2626;
}

.project-icon.drive {
  background: var(--blue);
}

.project-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  transition: 0.25s;
}

.project-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.drive-btn {
  background: var(--blue);
}

.drive-card {
  border: 2px dashed rgba(37, 99, 235, 0.18);
}

.projects-hint {
  text-align: center;
  color: var(--secondary);
  font-weight: 700;
  margin-top: 14px;
}

.projects-scroll-wrap {
  margin-top: 24px;
}

.projects-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  direction: ltr;
}

.projects-scroll::-webkit-scrollbar {
  display: none;
}

.project-scroll-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: calc((100% - 44px) / 3);
  scroll-snap-align: start;
}

.drive-standalone {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.drive-single-card {
  width: min(420px, 100%);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 35px;
}

.contact-card {
  background: var(--white);
  border-radius: 22px;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(31, 41, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--primary);
}

.contact-card h3 {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--secondary);
  font-weight: 700;
}

.whatsapp-card .contact-icon {
  color: var(--green);
}

.footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 18px 0;
  margin-top: 30px;
}

.floating-btn {
  position: fixed;
  right: 20px;
  z-index: 1001;
  text-decoration: none;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.floating-whatsapp {
  bottom: 80px;
  background: var(--green);
}

.floating-call {
  bottom: 20px;
  background: var(--dark);
}

.logo-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.logo-modal.active {
  display: flex;
}

.logo-modal-image {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.logo-modal-close {
  position: absolute;
  top: 20px;
  left: 25px;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  font-weight: bold;
  border: 0;
  background: transparent;
}

@media (max-width: 992px) {
  .project-scroll-card {
    flex: 0 0 calc((100% - 22px) / 2);
    min-width: calc((100% - 22px) / 2);
  }
}

@media (max-width: 768px) {
  .nav-content {
    min-height: 95px;
    padding: 10px 0;
  }

  .menu-area {
    width: 80px;
  }

  .logo-area {
    width: 130px;
  }

  .site-logo {
    width: 125px;
    height: 125px;
  }

  .brand-center {
    font-size: 28px;
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .dropdown-menu {
    width: 210px;
  }

  .hero {
    min-height: 70vh;
  }

  .section-title {
    font-size: 30px;
  }

  .floating-btn {
    right: 14px;
  }

  .projects-scroll {
    gap: 16px;
  }

  .project-scroll-card {
    flex: 0 0 calc(100% - 24px);
    min-width: calc(100% - 24px);
  }
}