/********** DarkCV Luxury Arabic & Gold Theme **********/
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@300;400;500;700;900&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary: #D4AF37;
  /* Metallic Gold */
  --primary-hover: #F3E5AB;
  --primary-glow: rgba(212, 175, 55, 0.4);
  --secondary: #0F172A;
  /* Slate Deep Dark */
  --dark-bg: #090D16;
  --card-bg: rgba(17, 26, 46, 0.85);
  --glass-border: rgba(212, 175, 55, 0.22);
  --light: #F8FAFC;
  --text-muted: #CBD5E1;
  /* High contrast silver-slate */
  --accent-emerald: #00B87B;
  --accent-gold-gradient: linear-gradient(135deg, #FFE082 0%, #D4AF37 50%, #B8860B 100%);
  --badge-glow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.text-muted {
  color: var(--text-muted) !important;
}

body {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0, 184, 123, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, #090D16 0%, #06080E 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
}

/* Spinner */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
  background: var(--dark-bg) !important;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.spinner-border {
  color: var(--primary) !important;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
  transform: translateY(-3px);
}

/* Profile Sidebar */
.profile-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 30px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-gold-gradient);
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.avatar-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
  transition: transform 0.5s ease;
}

.avatar-wrapper:hover .avatar-img {
  transform: scale(1.03);
}

/* Institutional Logo Container */
.logo-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 12px 20px;
  margin: 15px auto;
  max-width: 260px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-container img {
  max-height: 65px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Pride Emblem / Badge */
.pride-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-gradient);
  color: #0B111E;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: var(--badge-glow);
  margin-top: 10px;
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  }

  100% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 10px #FFF;
  }
}

/* Titles and Headings */
.section-title {
  position: relative;
  font-size: 1.8rem;
  color: var(--primary);
  padding-bottom: 12px;
  margin-bottom: 30px;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-gold-gradient);
  border-radius: 4px;
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 65px;
  width: 10px;
  height: 4px;
  background: var(--accent-emerald);
  border-radius: 4px;
}

/* Section Card Container */
.content-section {
  padding: 35px;
  margin-bottom: 35px;
}

/* Biography Text */
.bio-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #E2E8F0;
  text-align: justify;
}

/* Education Badge Card */
.edu-card {
  background: rgba(212, 175, 55, 0.08);
  border-right: 4px solid var(--primary);
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.edu-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #090D16;
  font-size: 1.8rem;
  flex-shrink: 0;
}

/* Timeline (المسار الوظيفي) */
.timeline {
  position: relative;
  padding-right: 30px;
  border-right: 3px solid rgba(212, 175, 55, 0.3);
  margin-right: 15px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  right: -39px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--dark-bg);
  box-shadow: 0 0 10px var(--primary);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 22px;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateX(-5px);
}

/* Grid Cards (المناصب والمسؤوليات) */
.position-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.position-box:hover {
  background: rgba(17, 26, 46, 0.95);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
  transform: translateY(-5px);
}

.position-icon {
  font-size: 2rem;
  color: var(--primary);
}

/* Tribute & Legacy Box (وفاته وذكراه) */
.tribute-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 184, 123, 0.08) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
}

.tribute-quote {
  font-family: 'Amiri', serif;
  font-size: 1.4rem;
  line-height: 2;
  color: #F8FAFC;
  font-style: italic;
}

/* Personalities Slider Section */
.slider-section {
  position: relative;
  overflow: hidden;
}

.personality-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s ease;
  user-select: none;
}

.personality-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
  transform: scale(1.03) translateY(-4px);
}

.personalities-carousel .personality-img,
.personality-card .personality-img {
  width: 90px !important;
  height: 90px !important;
  max-width: 90px !important;
  max-height: 90px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 3px solid var(--primary);
  margin: 0 auto 10px !important;
  display: block !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease;
}

.personality-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
  line-height: 1.3;
}

.personality-badge {
  display: inline-block;
  font-size: 0.72rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 6px;
}

/* Temporary Hashtag Toast / Modal Overlay */
.hashtag-toast-container {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
  z-index: 999999;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}

.hashtag-toast-container.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.hashtag-toast {
  background: linear-gradient(135deg, #0B111E 0%, #17243B 100%);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 14px 35px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--primary-glow);
  display: flex;
  align-items: center;
  gap: 15px;
}

.hashtag-symbol {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

.hashtag-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.hashtag-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hashtag-close:hover {
  background: rgba(255, 0, 0, 0.5);
}

/* Institutional Footer */
.footer-section {
  background: #060911;
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-card {
  background: rgba(17, 26, 46, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  height: 100%;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

.footer-logo-wrapper {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 180px;
  height: 80px;
  margin-bottom: 15px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-card:hover .footer-logo-wrapper {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 8px 25px rgba(212, 175, 55, 0.4);
  border-color: var(--primary);
}

.footer-logo-img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-link-title {
  font-size: 1rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link-title:hover {
  color: var(--primary);
}

.footer-btn {
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 6px 18px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-btn:hover {
  background: var(--accent-gold-gradient);
  color: #090D16;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  display: none;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  font-size: 20px;
  left: 30px;
  bottom: 30px;
  transition: all 0.3s ease;
  z-index: 99;
  background: var(--accent-gold-gradient);
  color: #090D16 !important;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

/* Responsive Header Navbar */
.navbar-custom {
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: all 0.3s ease;
}

.navbar-custom .navbar-brand img {
  max-height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.navbar-custom .navbar-brand:hover img {
  transform: scale(1.04);
}

.navbar-custom .nav-link {
  color: #CBD5E1;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary);
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--accent-gold-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 70%;
}

.btn-contact-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 24px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact-custom:hover {
  background: var(--accent-gold-gradient);
  color: #090D16;
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow), 0 5px 15px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-contact-custom i {
  transition: transform 0.3s ease;
}

.btn-contact-custom:hover i {
  transform: translateX(-4px);
}

.navbar-toggler-custom {
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
}

.navbar-toggler-custom:focus {
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Hero Tribute Section (فخر المؤسسة) */
.hero-tribute-section {
  position: relative;
  padding: 60px 0 60px;
  overflow: hidden;
  text-align: center;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.18) 0%, transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.95) 0%, #06080E 100%);
}

.hero-tribute-section::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 2%;
  right: 2%;
  height: 4px;
  background: radial-gradient(ellipse at 50% 50%, #FFE58F 0%, #D4AF37 40%, rgba(212, 175, 55, 0.2) 75%, transparent 100%);
  box-shadow: 0 -2px 18px #D4AF37, 0 0 30px rgba(212, 175, 55, 0.8);
  border-radius: 50%;
  pointer-events: none;
}

.hero-emblem-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.hero-emblem-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-emblem-diamond {
  color: var(--primary);
  font-size: 0.9rem;
  filter: drop-shadow(0 0 6px var(--primary-glow));
}

.hero-title-main {
  font-size: clamp(3rem, 7vw, 5rem);
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE58F 35%, #D4AF37 80%, #997A15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle-text {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  line-height: 1.9;
  color: #CBD5E1;
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
}

/* Vertical Portrait Personality Cards (Matching Screenshot Mockup) */
.portrait-slider-container {
  padding: 20px 10px 40px;
  position: relative;
}

.portrait-card {
  position: relative;
  background: linear-gradient(180deg, rgba(45, 36, 22, 0.75) 0%, rgba(12, 18, 30, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  overflow: hidden;
  padding: 12px 10px 14px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 224, 130, 0.3);
}

.portrait-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 75px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 224, 130, 0.45) 0%, rgba(212, 175, 55, 0.2) 50%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}

.portrait-card:hover {
  border-color: #FFE082;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.65);
  transform: translateY(-8px) scale(1.03);
}

.portrait-img-wrapper {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 14px 14px 8px 8px;
  overflow: hidden;
  margin-bottom: 12px;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.3) 0%, rgba(8, 12, 22, 0.95) 80%);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.portrait-card:hover .portrait-img {
  transform: scale(1.07);
}

.portrait-name {
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 6px 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.portrait-card:hover .portrait-name {
  color: var(--primary);
}

.portrait-title {
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 600;
}

/* FOUC & CLS Layout Shift Prevention for Owl Carousels before JS load */
.hero-portrait-carousel:not(.owl-loaded),
.personalities-carousel:not(.owl-loaded) {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  gap: 15px;
}

.hero-portrait-carousel:not(.owl-loaded) > * {
  flex: 0 0 170px !important;
  width: 170px !important;
  max-width: 170px !important;
}

.personalities-carousel:not(.owl-loaded) > * {
  flex: 0 0 180px !important;
  width: 180px !important;
  max-width: 180px !important;
}

/* Custom Owl Carousel Nav & Dots styling for Gold Theme */
.portrait-slider-container .owl-nav button.owl-prev,
.portrait-slider-container .owl-nav button.owl-next {
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  background: rgba(17, 26, 46, 0.9) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  color: var(--primary) !important;
  font-size: 1.3rem !important;
  transition: all 0.3s ease !important;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.portrait-slider-container .owl-nav button.owl-prev:hover,
.portrait-slider-container .owl-nav button.owl-next:hover {
  background: var(--accent-gold-gradient) !important;
  color: #090D16 !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 20px var(--primary-glow);
}

.portrait-slider-container .owl-nav button.owl-prev {
  right: -20px;
}

.portrait-slider-container .owl-nav button.owl-next {
  left: -20px;
}

.portrait-slider-container .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.portrait-slider-container .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.portrait-slider-container .owl-dots .owl-dot.active span,
.portrait-slider-container .owl-dots .owl-dot:hover span {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  width: 28px;
  border-radius: 10px;
}

/* Responsive tweaks for navigation and hero */
@media (max-width: 991.98px) {
  .navbar-custom .nav-link::after {
    display: none;
  }
  
  .navbar-collapse {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-top: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  }
  
  .hero-title-main {
    font-size: 2.8rem;
  }
  
  .hero-subtitle-text {
    font-size: 1.05rem;
    padding: 0 15px;
  }
  
  .portrait-slider-container .owl-nav {
    display: none !important;
  }
}

/* Global Overflow-X Fix & Mobile Optimizations */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}

#main-content, main, footer, header {
  overflow-x: hidden;
  max-width: 100vw;
}

.row {
  margin-right: -10px;
  margin-left: -10px;
}

.row > [class*="col-"] {
  padding-right: 10px;
  padding-left: 10px;
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  .content-section {
    padding: 20px 14px !important;
    margin-bottom: 20px !important;
    border-radius: 16px !important;
  }

  .profile-card {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }

  .avatar-img {
    width: 160px !important;
    height: 160px !important;
  }

  .footer-card {
    padding: 14px 8px !important;
    border-radius: 14px !important;
  }

  .footer-logo-wrapper {
    max-width: 130px !important;
    height: 60px !important;
    padding: 6px 8px !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
  }

  .footer-logo-img {
    max-height: 44px !important;
  }

  .footer-link-title {
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
  }

  .footer-btn {
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
  }

  .section-title {
    font-size: 1.3rem !important;
    margin-bottom: 20px !important;
  }

  .bio-text {
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
  }

  .edu-card {
    padding: 14px 16px !important;
    gap: 14px !important;
  }

  .edu-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.4rem !important;
  }

  .timeline {
    padding-right: 20px !important;
    margin-right: 5px !important;
  }

  .timeline-item::before {
    right: -28px !important;
  }

  .tribute-box {
    padding: 20px 15px !important;
  }

  .tribute-quote {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
  }
}


.owl-nav{
  display: none;
}