:root {
  --primary: #1d2b53;
  --primary-light: #2a3f6e;
  --accent: #ff6b35;
  --accent-hover: #e55a2b;
  --bg-light: #fff4f8;
  --bg-white: #ffffff;
  --text-dark: #1d2b53;
  --text-light: #ffffff;
  --text-muted: #666;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', sans-serif;
  --container: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
}

.section-title.white-color h2 {
  color: var(--text-light);
}

.section-title p {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 1.05rem;
}

.ptb-100 {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher .globe-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 30px 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.lang-switcher select option {
  color: var(--text-dark);
  background: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  margin-left: 12px;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ===== ABOUT ===== */
.about-area {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

/* ===== SERVICES ===== */
.services-area {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

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

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

.service-card .image {
  height: 220px;
  overflow: hidden;
}

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

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

.service-card .content {
  padding: 24px;
}

.service-card .content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

/* ===== VIDEO ===== */
.video-area {
  background: var(--primary);
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper h5 {
  color: rgba(255,255,255,0.8);
  text-align: center;
  margin-top: 20px;
  font-weight: 400;
  font-size: 0.95rem;
}

.video-embed {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.video-embed img {
  display: block;
  width: 100%;
  height: auto;
}

.video-embed::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  background: rgba(0,0,0,0.7);
  border-radius: 14px;
  transform: translate(-50%,-50%);
  transition: background 0.2s;
}

.video-embed::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%,-50%);
  z-index: 1;
}

.video-embed:hover::after {
  background: var(--accent);
}

/* ===== TEAM ===== */
.team-area {
  background: var(--bg-white);
}

.team-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.member-card {
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 12px 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

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

.member-avatar-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 14px;
  position: relative;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.member-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-initials {
  display: none;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.member-avatar-wrap.fallback .avatar-initials {
  display: flex;
}

.member-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.member-card .member-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Memorial ribbon (Khalil) */
.member-card.memorial::before {
  content: '';
  position: absolute;
  top: 8px;
  right: -24px;
  width: 80px;
  height: 22px;
  background: #111;
  transform: rotate(45deg);
  z-index: 1;
}

.team-content .sub-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-content h2 {
  font-size: 1.8rem;
  margin: 12px 0 20px;
}

.team-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ===== FAQ ===== */
.faq-area {
  background: var(--bg-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq-list dt {
  margin-bottom: 2px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg-light);
  border: none;
  padding: 16px 20px;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #f0e6ec;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  transition: var(--transition);
  color: var(--primary);
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer.open {
  max-height: 200px;
  padding: 12px 20px 16px;
}

.faq-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== WORKING PROCESS ===== */
.working-process-area {
  background: var(--bg-light);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.process-content .sub-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-content h2 {
  font-size: 1.8rem;
  margin: 12px 0 32px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-step {
  display: flex;
  gap: 16px;
}

.process-step .number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.process-step .text h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.process-step .text p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.process-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== BLOG / NEWS ===== */
.blog-area {
  background: var(--bg-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

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

.blog-card .image {
  height: 200px;
  overflow: hidden;
}

.blog-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card .content {
  padding: 20px;
}

.blog-card .meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card .meta i {
  margin-right: 4px;
}

.blog-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== PARTNERS ===== */
.partner-area {
  background: var(--bg-light);
}

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

.partners img {
  height: 50px;
  opacity: 0.6;
  transition: var(--transition);
  filter: grayscale(100%);
}

.partners img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--primary);
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

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

.contact-info p svg {
  flex-shrink: 0;
}

.contact-info a {
  color: var(--text-light);
  opacity: 0.85;
}

.contact-info a:hover {
  opacity: 1;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 12px;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer {
  background: #0f1a33;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255,255,255,0.8);
}

.footer a:hover {
  color: #fff;
}

/* ===== CONTACT PAGE ===== */
.contact-page {
  padding-top: 120px;
  min-height: 100vh;
}

.contact-page-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-page-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  color: var(--text-muted);
}

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

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
}

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

/* ===== PRIVACY PAGE ===== */
.privacy-page {
  padding-top: 120px;
  min-height: 100vh;
}

.privacy-page .privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-page h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.privacy-page .updated {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.privacy-page h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
}

.privacy-page p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-light);
  padding: 24px;
}

.error-page h1 {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid,
  .faq-grid,
  .process-grid,
  .contact-grid,
  .contact-page-content,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .process-image {
    order: -1;
  }

  .team-members {
    order: -1;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 10px;
  }

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

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

  .team-members {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .member-avatar-wrap {
    width: 74px;
    height: 74px;
  }

  .member-avatar {
    width: 74px;
    height: 74px;
  }

  .avatar-initials {
    width: 74px;
    height: 74px;
  }

  .partners {
    gap: 24px;
  }

  .partners img {
    height: 36px;
  }

  .ptb-100 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .lang-switcher select {
    padding: 6px 28px 6px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .navbar .logo img {
    height: 32px;
  }

  .team-members {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .member-card {
    padding: 14px 8px;
  }

  .member-avatar-wrap {
    width: 65px;
    height: 65px;
    margin-bottom: 10px;
  }

  .member-avatar {
    width: 65px;
    height: 65px;
  }

  .avatar-initials {
    width: 65px;
    height: 65px;
    font-size: 0.9rem;
  }

  .member-card.memorial::before {
    width: 60px;
    height: 18px;
    right: -18px;
    top: 6px;
  }
}
