/* ===================================================
   URS MANAGEMENT — Company Profile CSS
   Theme: Premium Gold & Navy Islamic Entrepreneurship
   =================================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold-light: #f5d980;
  --gold: #c9a227;
  --gold-dark: #a07c15;
  --navy: #0d1b2a;
  --navy-mid: #162233;
  --navy-light: #1e2f44;
  --cream: #f9f6ef;
  --cream-dark: #f0ebe0;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --white: #ffffff;
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(13, 27, 42, .12);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, .25);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, .4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(245, 217, 128, .5);
}

.btn-ghost:hover {
  background: rgba(245, 217, 128, .1);
  border-color: var(--gold-light);
}

.btn-partner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.btn-partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, .4);
}

/* ---------- SECTION COMMON ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
  padding: 6px 18px;
  background: rgba(201, 162, 39, .1);
  border-radius: 50px;
  border: 1px solid rgba(201, 162, 39, .3);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--gold-dark);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(13, 27, 42, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, .3);
  padding: 0;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: var(--transition);
}

#navbar.scrolled .nav-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo {
  width: 70px;
  height: 44px;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}

.nav-brand-text span {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, .85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, #0a1829 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201, 162, 39, .08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201, 162, 39, .06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(201, 162, 39, .04) 0%, transparent 70%);
  pointer-events: none;
}

/* Geometric background lines */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 162, 39, .04) 0, rgba(201, 162, 39, .04) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(-45deg, rgba(201, 162, 39, .04) 0, rgba(201, 162, 39, .04) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(201, 162, 39, .4);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  background: rgba(201, 162, 39, .08);
  animation: fadeSlideDown .8s ease both;
}

.hero-logo {
  width: 240px;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  margin: 0 auto 28px;
  animation: fadeScale .9s ease .1s both;
  filter: drop-shadow(0 8px 32px rgba(201, 162, 39, .4));
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.05;
  margin-bottom: 8px;
  animation: fadeSlideUp .9s ease .2s both;
}

.hero-title span {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 28px;
  animation: fadeSlideUp .9s ease .3s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeSlideUp .9s ease .4s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp .9s ease .5s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .4);
  font-size: 0.7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: pulse 2s ease infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201, 162, 39, .5), transparent);
}

/* ---------- STATS ---------- */
#stats {
  background: var(--navy);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(201, 162, 39, .1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  background: var(--navy-mid);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--navy-light);
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
  letter-spacing: .04em;
}

/* ---------- ABOUT ---------- */
#about {
  padding: 100px 0;
  background: var(--cream);
}

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

.about-text p {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p strong {
  color: var(--navy);
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.value-pill {
  background: var(--navy);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
  transform: translateX(0);
}

.about-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-gold);
}

.ac-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.ac-title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.ac-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ac2 {
  margin-left: 24px;
}

.ac3 {
  margin-left: 0;
}

/* ---------- SERVICES ---------- */
#services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  border-color: rgba(201, 162, 39, .3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.service-card.featured {
  background: var(--navy);
  color: var(--white);
  grid-column: span 1;
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.svc-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(201, 162, 39, .15) 0%, rgba(201, 162, 39, .05) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 162, 39, .2);
}

.service-card.featured .svc-icon-wrap {
  background: rgba(201, 162, 39, .15);
  border-color: rgba(201, 162, 39, .3);
}

.svc-icon {
  font-size: 1.6rem;
}

.service-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card.featured h3 {
  color: var(--white);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card.featured p {
  color: rgba(255, 255, 255, .65);
}

.svc-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.service-card.featured .svc-link {
  color: var(--gold-light);
}

.svc-link:hover {
  gap: 8px;
}

/* ---------- PARTNERSHIPS ---------- */
#partnerships {
  padding: 100px 0;
  background: var(--navy);
}

#partnerships .section-label {
  background: rgba(201, 162, 39, .1);
}

#partnerships .section-title {
  color: var(--white);
}

#partnerships .section-desc {
  color: rgba(255, 255, 255, .55);
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.partner-card {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid rgba(201, 162, 39, .15);
  transition: var(--transition);
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.partner-card:hover {
  border-color: rgba(201, 162, 39, .4);
  box-shadow: 0 16px 48px rgba(201, 162, 39, .15);
  transform: translateY(-4px);
}

.partner-logo-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(201, 162, 39, .2) 0%, rgba(201, 162, 39, .08) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(201, 162, 39, .3);
}

.partner-emoji {
  font-size: 2.4rem;
}

.partner-info {
  flex: 1;
}

.partner-info h3 {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.partner-tagline {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.partner-desc {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.partner-features {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.partner-features li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 500;
}

/* ---------- QUOTE ---------- */
#quote {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(255, 255, 255, .1) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(0, 0, 0, .05) 0%, transparent 40%);
  pointer-events: none;
}

.quote-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.quote-ornament {
  font-family: var(--ff-heading);
  font-size: 7rem;
  line-height: .8;
  color: rgba(255, 255, 255, .25);
  margin-bottom: -20px;
}

blockquote {
  font-family: var(--ff-heading);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 24px;
  font-style: italic;
}

cite {
  font-size: 0.95rem;
  color: var(--navy-mid);
  font-style: normal;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- CONTACT ---------- */
#contact {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}

#contact .section-label {
  display: inline-block;
}

#contact .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid var(--gold);
}

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

.contact-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.contact-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

#contact .btn-ghost {
  color: var(--navy);
  border-color: var(--navy);
}

#contact .btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- FOOTER ---------- */
#footer {
  background: var(--navy);
  padding: 56px 0 36px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-name {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .04em;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, .55);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .35);
}

.footer-verse {
  font-family: 'Playfair Display', serif;
  font-size: 1rem !important;
  color: rgba(201, 162, 39, .6) !important;
  direction: rtl;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: .4;
  }

  50% {
    opacity: .9;
  }
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .partner-card {
    flex-direction: column;
  }

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

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

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .ac2 {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(201, 162, 39, .2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}