/* ==========================================
   MOBILE RESPONSIVE STYLESHEET
   Consolidated from style.css + mobile.css
   Covers: 1400px → 320px breakpoints
   ========================================== */

/* ===== BASE RESPONSIVE SETTINGS ===== */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

/* ===== HIDE MOBILE-ONLY ELEMENTS ON DESKTOP ===== */
.hero-company-name-top,
.hero-company-name-bottom {
  display: none;
}

/* ===== BOOK ICON HIDDEN STATE ===== */
.book-icon-link {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.book-icon-link.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* ===== HAMBURGER MENU BUTTON ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background: #E1AB79;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ===== FULLSCREEN OVERLAY NAVIGATION ===== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(23, 69, 72, 0.98);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar */
.mobile-nav-container::-webkit-scrollbar {
  width: 6px;
}
.mobile-nav-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
.mobile-nav-container::-webkit-scrollbar-thumb {
  background: rgba(225, 171, 121, 0.3);
  border-radius: 3px;
}
.mobile-nav-container::-webkit-scrollbar-thumb:hover {
  background: rgba(225, 171, 121, 0.5);
}

/* ===== MOBILE NAV HEADER ===== */
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(225, 171, 121, 0.2);
}

.mobile-nav-title {
  color: #E1AB79;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: #E1AB79;
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.mobile-nav-close:hover {
  transform: rotate(90deg);
}

/* ===== MOBILE NAV MENU ===== */
.mobile-nav-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
  display: block;
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 300;
  text-decoration: none;
  padding: 20px 0;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-link:hover {
  color: #E1AB79;
  padding-left: 20px;
}

/* ===== SUBMENU ===== */
.mobile-nav-item.has-submenu > .mobile-nav-link::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.mobile-nav-item.submenu-open > .mobile-nav-link::after {
  transform: rotate(45deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 30px;
}

.mobile-nav-item.submenu-open .mobile-submenu {
  max-height: 500px;
  padding-bottom: 10px;
}

.mobile-submenu-link {
  display: block;
  color: #C9C9C9;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
  color: #E1AB79;
  padding-left: 10px;
}

/* ===== MOBILE NAV FOOTER ===== */
.mobile-nav-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(225, 171, 121, 0.2);
}

.mobile-nav-footer p {
  color: #E1AB79;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  margin: 0;
}


/* ============================================================
   BREAKPOINT: 1600px — Large Desktops
   ============================================================ */
@media (max-width: 1600px) {
  .services-charter-container {
    max-width: 96%;
  }
}


/* ============================================================
   BREAKPOINT: 1400px — Wide Desktops
   ============================================================ */
@media (max-width: 1400px) {
  .services-charter-container {
    max-width: 98%;
    grid-template-columns: 42% 58%;
    gap: 18px;
  }

  .services-charter-left {
    padding: 35px 25px;
  }

  .charter-title {
    font-size: 26px;
  }

  .charter-description {
    font-size: 13px;
  }

  .services-grid {
    gap: 10px;
  }

  .service-card img {
    height: 85px;
  }

  .service-card-title {
    font-size: 10px;
    min-height: 48px;
    padding: 9px 7px;
  }

  .service-number {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}


/* ============================================================
   BREAKPOINT: 1200px — Standard Desktops / Small Laptops
   ============================================================ */
@media (max-width: 1200px) {

  /* Header */
  .header-inner {
    padding: 0 20px;
  }

  .logo-wrap {
    width: 140px;
    height: 100px;
    margin-left: -30px;
  }

  .right-logo img {
    max-width: 140px;
  }

  .desktop-nav a {
    font-size: 0.85rem;
    margin-left: 15px;
  }

  /* Hero */
  .swinging-emblem {
    width: 180px;
  }

  .text-en-img,
  .text-ar-img,
  .text-3d {
    width: 220px;
  }

  /* Logo animated */
  .logo-wrap.right-logo {
    width: 180px;
    height: 120px;
  }

  .logo-animated-icon {
    width: 68px;
    height: 68px;
  }

  .logo-animated-icon img {
    width: 58px;
    height: 58px;
  }

  .logo-animated-item:nth-child(1) .logo-animated-icon img {
    margin-left: -140px;
  }

  .logo-animated-item:nth-child(2) .logo-animated-icon img {
    margin-left: -35px;
  }

  .logo-animated-item:nth-child(3) .logo-animated-icon img {
    margin-right: -48px;
  }

  /* Services charter */
  .services-charter-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .services-charter-left {
    padding: 35px 25px;
  }

  .charter-title {
    font-size: 26px;
  }

  .charter-description {
    font-size: 13px;
  }

  .services-grid {
    gap: 10px;
  }

  .service-card img {
    height: 85px;
  }

  .service-card-title {
    font-size: 10px;
    min-height: 48px;
  }

  /* Contact */
  .contact-container {
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
  }

  .contact-left {
    padding-right: 20px;
  }

  .contact-right {
    padding: 40px;
  }

  /* Photo wall grid */
  .photo-wall,
  .grid {
    column-count: 3 !important;
  }
}


/* ============================================================
   BREAKPOINT: 992px — Tablets (Landscape)
   ============================================================ */
@media (max-width: 992px) {

  /* Services charter — stack vertically */
  .services-charter-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-charter-left {
    padding: 40px 30px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .charter-title {
    font-size: 28px;
  }

  .charter-description {
    font-size: 14px;
  }

  .service-card img {
    height: 95px;
  }

  .service-card-title {
    font-size: 11px;
    min-height: 52px;
  }

  .service-number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  /* Contact */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-left {
    padding-right: 0;
  }

  .contact-main-title {
    font-size: 2.5rem;
  }

  .contact-right {
    padding: 40px 35px;
  }

  /* Engagement model */
  .em-section {
    flex-direction: column;
    padding: 60px 8%;
  }

  .em-text,
  .em-image {
    width: 100%;
  }

  .engagementmodel-header h3 {
    padding-left: 20px;
  }
  .engagementmodel-header small {
    padding-left: 10px;
  }

  /* Scroll to top */
  .scroll-to-top {
    bottom: 14px;
    right: 17px;
    width: 55px;
    height: 55px;
  }

  .scroll-to-top svg {
    width: 26px;
    height: 26px;
  }
}


/* ============================================================
   BREAKPOINT: 900px — Small Tablets / Large Phones (Landscape)
   ============================================================ */
@media (max-width: 900px) {

  /* Horizon sections */
  .horizon-section,
  .horizon-section2 {
    flex-direction: column;
    padding: 60px 8%;
  }

  .horizon-text,
  .horizon-image,
  .horizon-image2 {
    width: 100%;
  }

  .horizon-image,
  .horizon-image2 {
    height: 400px;
    margin-top: 40px;
  }

  .horizon-image.reveal {
    transition-delay: 0.15s;
  }

  /* SC sections */
  .sc-section,
  .sc-section2.reverse {
    flex-direction: column;
    padding: 60px 8%;
  }

  .sc-text,
  .sc-image,
  .sc-text2,
  .sc-image2 {
    width: 100%;
  }

  .sc-image {
    height: 400px;
    margin-top: 40px;
  }

  .sc-image.reveal {
    transition-delay: 0.15s;
  }

  /* Modenmodus */
  .modenmodus-grid {
    grid-template-columns: 1fr;
  }

  .modenmodus-text {
    padding-left: 0;
  }

  /* Foldable / very wide phones */
  .logo-wrap {
    width: 130px;
    height: 90px;
  }

  .text-en-img,
  .text-ar-img,
  .text-3d {
    width: 180px;
  }

  .swinging-emblem {
    width: 140px;
  }
}


/* ============================================================
   BREAKPOINT: 860px — Tablet Portrait
   ============================================================ */
@media (max-width: 860px) {
  .photo-wall,
  .grid {
    column-count: 2 !important;
  }
}


/* ============================================================
   BREAKPOINT: 768px — Mobile (Tablet Portrait / Large Phone)
   ============================================================ */
@media (max-width: 768px) {

  /* ── Header ── */
  .site-header {
    position: relative;
    z-index: 1000;
  }

  .header-inner {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .logo-wrap {
    width: 120px;
    height: 80px;
    margin-left: 0;
  }

  /* Hide right logo + desktop nav; show hamburger + overlay */
  .logo-wrap.right-logo,
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-nav-overlay {
    display: flex;
  }

  /* Book icon - move right on mobile */
  .book-icon-link {
    right: 70px;
    will-change: opacity, visibility, z-index;
  }

  /* ── Logo animated ── */
  .logo-wrap.right-logo {
    margin-right: -50px;
    margin-top: -20px;
    width: 160px;
    height: 110px;
  }

  .logo-animated-icon {
    width: 58px;
    height: 58px;
  }

  .logo-animated-icon img {
    width: 50px;
    height: 50px;
  }

  .logo-animated-item:nth-child(1) .logo-animated-icon img {
    margin-left: -120px;
  }

  .logo-animated-item:nth-child(2) .logo-animated-icon img {
    margin-left: -30px;
  }

  .logo-animated-item:nth-child(3) .logo-animated-icon img {
    margin-right: -40px;
  }

  /* ── Hero ── */
  .hero {
    height: 60vh;
    min-height: 500px;
    position: relative;
  }

  .hero-company-name-top {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
  }

  .hero-company-name-top span {
    color: #E1AB79;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .hero-company-name-bottom {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
  }

  .hero-company-name-bottom .arabic-large {
    color: #E1AB79;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 5px;
  }

  .hero-company-name-bottom .arabic-small {
    color: #E1AB79;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
  }

  .hero-center-row {
    flex-direction: row;
    gap: 5px;
    top: 35%;
    transform: translate(-50%, -50%);
    width: 70%;
    position: absolute;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .hero-text.left {
    margin: 0;
    justify-content: center;
    flex: 0 0 auto;
    margin-right: -70px;
    padding-top: 60px;
  }

  .hero-text.right {
    margin: 0;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: -70px;
    padding-top: 40px;
  }

  .text-en-img,
  .text-ar-img,
  .text-3d {
    width: 150px;
    margin: 0;
    padding: 0;
  }

  .emblem-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .swinging-emblem {
    width: 130px;
  }

  .hero-map {
    background-size: 300%;
  }

  /* ── Footer ── */
  .site-footer {
    flex-direction: column;
    padding: 20px 15px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
    text-align: center;
  }

  .footer-right {
    font-size: 12px;
  }

  /* ── General layout ── */
  .container {
    padding: 0 15px;
  }

  section {
    padding: calc(40px + 2vw) 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  /* ── Horizon sections ── */
  .horizon-text {
    padding: 0;
  }

  .horizon-text h2 {
    font-size: 28px;
  }

  /* ── Services charter ── */
  .services-charter {
    padding: 50px 15px;
  }

  .services-charter-left {
    padding: 30px 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .charter-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .charter-description {
    font-size: 13px;
  }

  .service-card img {
    height: 100px;
  }

  .service-card-title {
    font-size: 10.5px;
    min-height: 52px;
  }

  .services-charter-container {
    padding: 30px 20px;
  }

  .services-container {
    padding: 0 20px;
  }

  .services-header small {
    font-size: 24px;
    margin-left: 0;
  }

  .services-header h3 {
    font-size: 16px;
    margin-left: 0;
  }

  /* ── SC sections ── */
  .sc-section,
  .sc-section2.reverse {
    flex-direction: column;
    padding: 60px 8%;
  }

  .sc-text,
  .sc-image,
  .sc-text2,
  .sc-image2 {
    width: 100%;
  }

  /* ── Engagement model ── */
  .em-section,
  .em-section2.reverse {
    flex-direction: column;
    padding: 60px 8%;
  }

  .em-text,
  .em-image,
  .em-text2,
  .em-image2 {
    width: 100%;
  }

  /* ── Modenmodus ── */
  .modenmodus {
    padding: 40px 0;
  }

  .modenmodus-container {
    padding: 30px 20px;
  }

  .modenmodus-header h1 {
    font-size: 1.5rem;
  }

  /* ── Video ── */
  .video-strip {
    height: 100px;
  }

  /* ── Contact ── */
  .contact-main-section {
    padding: 60px 15px;
  }

  .contact-main-title {
    font-size: 2rem;
  }

  .contact-right {
    padding: 30px 25px;
  }

  .form-title {
    font-size: 1.75rem;
  }

  .office-icon {
    width: 45px;
    height: 45px;
  }

  .office-icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-section {
    padding: 40px 15px;
  }

  .contact-header h1 {
    font-size: 2.5rem;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    max-width: 100%;
  }

  .card-title {
    padding-left: 0px;
  }

  /* ── Profile ── */
  .profile-section {
    padding: 40px 5%;
  }

  .profile-content {
    flex-direction: column;
  }

  .profile-text h1 {
    font-size: 32px;
  }

  .profile-image img {
    width: 100%;
    max-width: 420px;
  }

  .profile-intro-section {
    padding: 40px 20px;
  }

  .profile-container {
    grid-template-columns: 1fr;
  }

  .profile-title {
    font-size: 42px;
  }

  /* ── CS Slider ── */
  .cs-section {
    padding: 20px 0 40px 0;
    min-height: auto;
    position: relative;
  }

  .cs-slider,
  .cs-viewport {
    position: relative;
    bottom: auto;
    min-height: 350px;
  }

  .cs-section-title {
    font-size: 22px;
    line-height: 1.3;
    padding: 0 15px;
  }

  .cs-section-title h2 {
    font-size: 26px;
  }

  .cs-slide {
    padding: 40px 30px;
  }

  .cs-slide__title {
    font-size: 16px;
  }

  .cs-slide__text {
    font-size: 12px;
  }

  .cs-slide__num {
    display: none;
  }

  .cs-dot {
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
  }

  .cs-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    margin-top: 0;
    top: 530px;
  }

  .cs-progress {
    bottom: 5px;
    position: absolute;
  }

  .cs-arrow {
    width: 32px;
    height: 32px;
  }

  /* ── Sponsors ── */
  .sponsor-title {
    font-size: 1.5rem;
  }

  .sponsor-logo-item {
    width: 140px;
    height: 100px;
  }

  .sponsor-track {
    gap: 40px;
    animation-duration: 120s;
  }

  /* ── Book ── */
  #book {
    width: 100%;
    height: auto;
    aspect-ratio: 2048 / 1240;
    object-fit: contain;
  }

  .stf__block {
    top: 20px;
  }

  /* ── Scroll to top ── */
  .scroll-to-top {
    bottom: 14px;
    right: 17px;
    width: 55px;
    height: 55px;
  }

  .scroll-to-top svg {
    width: 24px;
    height: 24px;
  }

  /* ── FAB ── */
  .fab-container {
    bottom: 20px;
    right: 20px;
  }

  .fab-toggle {
    width: 56px;
    height: 56px;
  }

  .fab-icon-wrapper {
    width: 46px;
    height: 46px;
  }

  .fab-text {
    font-size: 13px;
    padding: 8px 14px;
  }

  /* ── Nav text ── */
  .mobile-nav-link {
    font-size: 20px;
  }

  /* ── Responsive images ── */
  .profile-image img,
  .horizon-image,
  .horizon-image2,
  .sc-image,
  .sc-image2,
  .em-image,
  .em-image2 {
    width: 100%;
    height: auto;
  }

  /* ── Touch targets ── */
  a,
  input,
  select,
  textarea {
    min-height: 44px;
    min-width: 44px;
  }

  .mobile-menu-toggle {
    min-height: 48px;
    min-width: 48px;
  }

  .mobile-nav-close {
    min-height: 48px;
    min-width: 48px;
  }

  /* ── Text scaling ── */
  h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.2;
  }

  h2 {
    font-size: clamp(1.3rem, 4.5vw, 2.2rem);
    line-height: 1.3;
  }

  h3 {
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    line-height: 1.4;
  }

  p {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.6;
  }

  .mobile-nav-link {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }

  .mobile-submenu-link {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }
}


/* ============================================================
   BREAKPOINT: 600px — Small Tablets / Medium Phones
   (441px–600px range also covered here)
   ============================================================ */
@media (min-width: 441px) and (max-width: 600px) {
  html {
    font-size: 15px;
  }

  .logo-wrap {
    width: 105px;
    height: 75px;
  }

  .hero {
    height: 55vh;
    min-height: 420px;
  }

  .hero-center-row {
    width: 72%;
  }

  .text-en-img,
  .text-ar-img,
  .text-3d {
    width: 135px;
  }

  .swinging-emblem {
    width: 110px;
  }

  .profile-title {
    font-size: 38px;
  }

  .contact-header h1 {
    font-size: 2.2rem;
  }

  .mobile-nav-link {
    font-size: 22px;
  }

  .cs-slide {
    padding: 35px 25px;
  }

  .cs-slide__title {
    font-size: 20px;
  }

  section {
    padding: 50px 0;
  }

  .container {
    padding: 0 12px;
  }
}


/* ============================================================
   BREAKPOINT: 480px — Small Phones
   ============================================================ */
@media (max-width: 480px) {

  /* Header */
  .logo-wrap {
    width: 100px;
    height: 70px;
  }

  /* Hero */
  .hero {
    height: 50vh;
    min-height: 400px;
  }

  .text-en-img,
  .text-ar-img,
  .text-3d {
    width: 140px;
  }

  .swinging-emblem {
    width: 100px;
  }

  /* Footer */
  .footer-left,
  .footer-right {
    font-size: 11px;
  }

  /* Services charter */
  .services-charter {
    padding: 40px 12px;
  }

  .services-charter-left {
    padding: 25px 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .charter-title {
    font-size: 22px;
  }

  .charter-description {
    font-size: 13px;
  }

  .service-card img {
    height: 140px;
  }

  .service-card-title {
    font-size: 12px;
    min-height: 60px;
  }

  .service-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* Contact */
  .contact-main-title {
    font-size: 1.75rem;
  }

  .contact-right {
    padding: 25px 20px;
  }

  .form-input,
  .form-textarea {
    padding: 12px 16px;
    font-size: 14px;
  }

  .form-submit-btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  /* Profile */
  .profile-title {
    font-size: 36px;
  }

  /* CS Slider */
  .cs-slide__title {
    font-size: 18px;
  }

  .cs-slide__text {
    font-size: 12px;
  }

  /* Scroll to top */
  .scroll-to-top {
    bottom: 14px;
    right: 17px;
    width: 50px;
    height: 50px;
  }

  .scroll-to-top svg {
    width: 22px;
    height: 22px;
  }
}


/* ============================================================
   BREAKPOINT: 440px — Small-Medium Phones (375px–440px)
   ============================================================ */
@media (min-width: 375px) and (max-width: 440px) {
  html {
    font-size: 14.5px;
  }

  .logo-wrap {
    width: 95px;
    height: 70px;
  }

  .hero {
    height: 75vh;
    min-height: 380px;
  }

  .hero-center-row {
    width: 75%;
    gap: 3px;
  }

  .text-en-img,
  .text-ar-img,
  .text-3d {
    width: 120px;
  }

  .swinging-emblem {
    width: 95px;
  }

  .hero-company-name-top span {
    font-size: 13px;
  }

  .hero-company-name-bottom .arabic-large {
    font-size: 32px;
  }

  .hero-company-name-bottom .arabic-small {
    font-size: 14px;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .profile-title {
    font-size: 32px;
  }

  .mobile-nav-link {
    font-size: 20px;
  }

  .cs-slide {
    padding: 30px 20px;
  }

  .cs-slide__title {
    font-size: 18px;
  }
}


/* ============================================================
   BREAKPOINT: 374px — Extra Small Phones
   ============================================================ */
@media (max-width: 374px) {
  html {
    font-size: 14px;
  }

  .logo-wrap {
    width: 80px;
    height: 60px;
  }

  .hero {
    height: 45vh;
    min-height: 350px;
  }

  .hero-center-row {
    width: 80%;
    gap: 2px;
  }

  .text-en-img,
  .text-ar-img,
  .text-3d {
    width: 100px;
  }

  .swinging-emblem {
    width: 80px;
  }

  .hero-company-name-top span {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .hero-company-name-bottom .arabic-large {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .hero-company-name-bottom .arabic-small {
    font-size: 12px;
  }

  .contact-header h1 {
    font-size: 1.8rem;
  }

  .profile-title {
    font-size: 28px;
  }

  .mobile-nav-link {
    font-size: 18px;
    padding: 15px 0;
  }

  .mobile-submenu-link {
    font-size: 14px;
  }

  .mobile-nav-container {
    padding: 15px;
  }

  .mobile-nav-title {
    font-size: 12px;
  }

  .cs-slide {
    padding: 25px 15px;
  }

  .cs-slide__title {
    font-size: 16px;
  }

  .container {
    padding: 0 10px;
  }

  section {
    padding: 40px 0;
  }

  .header-inner {
    padding: 8px 10px;
  }

  body {
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}


/* ============================================================
   TABLET PORTRAIT RANGE: 601px–768px
   ============================================================ */
@media (min-width: 601px) and (max-width: 768px) {
  html {
    font-size: 15.5px;
  }

  .logo-wrap {
    width: 115px;
    height: 80px;
  }

  .hero {
    height: 58vh;
    min-height: 450px;
  }

  .hero-center-row {
    width: 70%;
  }

  .text-en-img,
  .text-ar-img,
  .text-3d {
    width: 150px;
  }

  .swinging-emblem {
    width: 125px;
  }

  .profile-title {
    font-size: 40px;
  }

  .contact-header h1 {
    font-size: 2.3rem;
  }

  .mobile-nav-link {
    font-size: 24px;
  }

  .cs-slide {
    padding: 38px 28px;
  }

  section {
    padding: 60px 0;
  }
}


/* ============================================================
   PHOTO WALL / MASONRY GRID — 520px
   ============================================================ */
@media (max-width: 520px) {
  .photo-wall,
  .grid {
    column-count: 1 !important;
  }
}


/* ============================================================
   LANDSCAPE MODE — Short viewports
   ============================================================ */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    height: 100vh;
  }

  .logo-wrap {
    height: 60px;
  }

  .mobile-nav-link {
    font-size: 22px;
    padding: 15px 0;
  }

  .mobile-nav-header {
    margin-bottom: 30px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: 90vh;
  }

  section {
    padding: 30px 0;
  }

  .hero-company-name-top {
    top: 50px;
  }

  .hero-company-name-bottom {
    bottom: 150px;
  }

  .mobile-nav-link {
    padding: 12px 0;
    font-size: 18px;
  }
}


/* ============================================================
   PROFILE HERO PAGE — MOBILE FIXES
   ============================================================ */

/* ── Tablet: 1024px ── */
@media (max-width: 1024px) {
  .profile-hero {
    padding: 120px 40px 60px;
  }

  .profile-hero-inner {
    gap: 50px;
  }

  .profile-photo-frame {
    width: 340px;
  }

  .profile-big-name {
    font-size: clamp(28px, 3.5vw, 46px);
  }

  .profile-tagline {
    font-size: 17px;
  }

  .profile-nav-btn {
    font-size: 11px;
    padding: 16px 24px;
  }
}

/* ── Small Tablet: 900px ── */
@media (max-width: 900px) {
  .profile-hero {
    padding: 100px 30px 60px;
    min-height: auto;
  }

  .profile-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .profile-photo-frame {
    width: 100%;
    max-width: 300px;
  }

  .profile-big-name {
    font-size: 32px;
  }

  .profile-tagline {
    font-size: 15px;
    margin-bottom: 30px;
  }
}

/* ── Mobile: 768px — Stack vertically ── */
@media (max-width: 768px) {
  .profile-hero {
    padding: 100px 24px 50px;
    min-height: auto;
    align-items: flex-start;
  }

  .profile-hero-inner {
    grid-template-columns: 1fr;   /* single column */
    gap: 32px;
    align-items: center;
  }

  /* Photo side — centered, smaller */
  .profile-photo-side {
    justify-content: center;
  }

  .profile-photo-frame {
    width: 220px;
    max-width: 100%;
    border-radius: 14px;
    margin: 0 auto;
  }

  .profile-photo-frame::before {
    inset: -10px;
    border-radius: 20px;
  }

  .profile-photo-frame::after {
    inset: -20px;
    border-radius: 26px;
  }

  /* Content side — centered on mobile */
  .profile-content-side {
    align-items: center;
    text-align: center;
  }

  .profile-eyebrow {
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
  }

  .profile-big-name {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 10px;
    text-align: center;
  }

  .profile-tagline {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: justify;
    max-width: 100%;
  }

  .profile-nav-links {
    max-width: 100%;
    width: 100%;
    gap: 10px;
  }

  .profile-nav-btn {
    font-size: 10px;
    padding: 15px 20px;
    letter-spacing: 2px;
  }

  /* Ebook button repositioned */
  .ebook-btn {
    bottom: auto;
    top: 15px;
    right: 65px;
    margin-top: 15px;
    padding: 6px 12px;
    font-size: 10px;
  }
}

/* ── Small Mobile: 480px ── */
@media (max-width: 480px) {
  .profile-hero {
    padding: 90px 18px 40px;
  }

  .profile-photo-frame {
    width: 180px;
  }

  .profile-big-name {
    font-size: clamp(22px, 6vw, 30px);
  }

  .profile-tagline {
    font-size: 13px;
    line-height: 1.65;
  }

  .profile-nav-btn {
    font-size: 9.5px;
    padding: 13px 16px;
    letter-spacing: 1.5px;
  }

  /* Blob glows — reduce on small screens */
  .blob-tl {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -60px;
  }

  .blob-bl {
    width: 220px;
    height: 220px;
  }

  .blob-tc {
    width: 250px;
    height: 180px;
  }
}

/* ── Extra Small: 374px ── */
@media (max-width: 374px) {
  .profile-hero {
    padding: 85px 14px 35px;
  }

  .profile-photo-frame {
    width: 160px;
  }

  .profile-big-name {
    font-size: 22px;
  }

  .profile-eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .profile-tagline {
    font-size: 12.5px;
  }

  .profile-nav-btn {
    font-size: 9px;
    padding: 12px 14px;
  }
}


/* ============================================================
   HIGH DPI / RETINA DISPLAYS
   ============================================================ */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  .hamburger-line {
    height: 2px;
  }

  .mobile-nav-overlay {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}


/* ============================================================
   SERVICES PAGE — MOBILE FIXES
   services.html specific responsive styles
   ============================================================ */

/* ── Services Charter Section ── */
@media (max-width: 768px) {

  .services-charter {
    padding: 30px 15px;
  }

  .services-charter-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .services-charter-left {
    padding: 24px 16px;
    border-radius: 0;
  }

  .charter-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .charter-description {
    font-size: 13px;
    line-height: 1.65;
  }

  .services-charter-right {
    padding: 16px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    border-radius: 8px;
    overflow: hidden;
  }

  .service-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
  }

  .service-card-title {
    font-size: 10px;
    padding: 8px 6px;
    min-height: 44px;
    line-height: 1.35;
  }

  .service-number {
    width: 26px;
    height: 26px;
    font-size: 12px;
    top: 6px;
    left: 6px;
  }
}

/* ── SC Sections (service detail rows) ── */
@media (max-width: 768px) {

  .sc-section,
  .sc-section2,
  .sc-section2.reverse {
    flex-direction: column !important;
    padding: 36px 16px;
    gap: 24px;
  }

  .sc-text,
  .sc-text2 {
    width: 100% !important;
    padding: 0 !important;
  }

  .sc-text h3,
  .sc-text2 h3 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }

  .sc-text p,
  .sc-text2 p {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .sc-text ul,
  .sc-text2 ul {
    margin-left: 18px !important;
    padding-left: 0;
  }

  .sc-text ul li,
  .sc-text2 ul li {
    font-size: 12.5px;
    line-height: 1.6;
    margin-bottom: 6px;
  }

  .sc-image,
  .sc-image2 {
    width: 100% !important;
    height: 220px !important;
    margin-top: 0 !important;
    border-radius: 8px;
    overflow: hidden;
  }

  .sc-image img,
  .sc-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
}

/* ── Bullet Slider (Service 4) ── */
@media (max-width: 768px) {

  .bullet-slider {
    margin-top: 16px;
    position: relative;
  }

  .slider-container {
    overflow: hidden;
    border-radius: 8px;
  }

  .slider-track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.35s ease;
  }

  .slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 16px;
    list-style: none;
  }

  .slide ul {
    margin-left: 16px !important;
    padding: 0;
  }

  .slide ul h2 {
    font-size: 14px !important;
    margin-bottom: 10px;
  }

  .slide ul li {
    font-size: 12.5px;
    line-height: 1.6;
    margin-bottom: 6px;
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(99, 30, 15, 0.75);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
  }

  .left-arrow  { left: -12px; }
  .right-arrow { right: -12px; }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .dot.active {
    background: #E1AB79;
  }
}

/* ── Small phones: single column service grid ── */
@media (max-width: 480px) {

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .service-card img {
    height: 70px;
  }

  .service-card-title {
    font-size: 9.5px;
    padding: 6px 5px;
    min-height: 40px;
  }

  .sc-section,
  .sc-section2,
  .sc-section2.reverse {
    padding: 28px 14px;
  }

  .sc-text h3,
  .sc-text2 h3 {
    font-size: 14px;
  }

  .sc-text p,
  .sc-text2 p {
    font-size: 12.5px;
  }

  .sc-text ul li,
  .sc-text2 ul li {
    font-size: 12px;
  }

  .sc-image,
  .sc-image2 {
    height: 180px !important;
  }
}

/* ── Extra small phones ── */
@media (max-width: 374px) {

  .charter-title {
    font-size: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .service-card img {
    height: 60px;
  }

  .service-card-title {
    font-size: 9px;
    padding: 5px 4px;
  }

  .sc-section,
  .sc-section2,
  .sc-section2.reverse {
    padding: 22px 12px;
  }

  .sc-text h3,
  .sc-text2 h3 {
    font-size: 13px;
  }

  .sc-image,
  .sc-image2 {
    height: 160px !important;
  }
}