/* =====================================================
   RANA TYPING
   Main Stylesheet
   ===================================================== */

:root {

  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #eef1e9;

  --text: #172018;
  --text-soft: #667066;

  --primary: #173d2b;
  --primary-light: #2f684b;

  --accent: #d7a84f;
  --accent-light: #f2dfb5;

  --border: #dfe4dc;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;

  --shadow: 0 20px 60px rgba(24, 45, 31, 0.10);

  --container: 1180px;

  --transition: 250ms ease;
}


/* =====================================================
   RESET
   ===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}


/* =====================================================
   HEADER
   ===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(247, 248, 244, 0.92);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(223, 228, 220, 0.7);
}

.nav-container {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: var(--primary);
  color: white;

  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;

  box-shadow: 0 8px 20px rgba(23, 61, 43, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1;
}

.brand-text strong {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand-text small {
  margin-top: 4px;

  color: var(--text-soft);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.main-nav a {
  position: relative;

  color: #485249;

  font-size: 13px;
  font-weight: 600;

  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  background: var(--accent);

  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-button {
  padding: 11px 19px;

  border-radius: 100px;

  background: var(--primary);
  color: white;

  font-size: 13px;
  font-weight: 700;

  transition: var(--transition);
}

.nav-button:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
}

.menu-toggle {
  display: none;

  border: 0;
  background: transparent;

  width: 42px;
  height: 42px;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 24px;
  height: 2px;

  margin: 5px auto;

  background: var(--primary);

  transition: var(--transition);
}


/* =====================================================
   HERO
   ===================================================== */

.hero {
  position: relative;
  overflow: hidden;

  padding: 100px 0 110px;
}

.hero-background {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(215, 168, 79, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(47, 104, 75, 0.10),
      transparent 30%
    );

  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  gap: 80px;

  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 7px 12px;

  border: 1px solid var(--border);
  border-radius: 100px;

  background: rgba(255,255,255,0.7);

  color: var(--primary);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);
}

.hero h1 {
  max-width: 720px;

  margin-top: 25px;

  font-family: "Manrope", sans-serif;
  font-size: clamp(45px, 6vw, 76px);

  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero-description {
  max-width: 620px;

  margin-top: 28px;

  color: var(--text-soft);

  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 35px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 52px;

  padding: 0 22px;

  border-radius: 100px;

  font-size: 14px;
  font-weight: 700;

  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(23, 61, 43, 0.2);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: white;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;

  gap: 35px;

  margin-top: 55px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-family: "Manrope", sans-serif;
  color: var(--primary);
  font-size: 16px;
}

.trust-item span {
  margin-top: 3px;

  color: var(--text-soft);

  font-size: 11px;
}


/* HERO CARD */

.hero-card-wrap {
  position: relative;

  min-height: 520px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;

  width: min(100%, 430px);
  min-height: 500px;

  padding: 30px;

  border-radius: 35px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #1b4933,
      #0e2c1e
    );

  color: white;

  box-shadow: 0 35px 80px rgba(23, 61, 43, 0.25);
}

.hero-card::before {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  top: -100px;
  right: -100px;

  border-radius: 50%;

  background: rgba(215, 168, 79, 0.15);
}

.hero-card::after {
  content: "R";

  position: absolute;

  right: -30px;
  bottom: -90px;

  font-family: "Manrope", sans-serif;
  font-size: 300px;
  font-weight: 800;

  line-height: 1;

  color: rgba(255,255,255,0.035);
}

.card-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mini-logo {
  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: var(--accent);
  color: var(--primary);

  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.hero-card-main {
  position: relative;
  z-index: 2;

  margin-top: 95px;
}

.small-label {
  color: var(--accent);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-card h2 {
  margin-top: 15px;

  font-family: "Manrope", sans-serif;

  font-size: 60px;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-card h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-card-main p {
  max-width: 280px;

  margin-top: 25px;

  color: rgba(255,255,255,0.68);

  font-size: 13px;
  line-height: 1.7;
}

.card-location {
  position: absolute;
  z-index: 2;

  left: 30px;
  bottom: 30px;

  color: rgba(255,255,255,0.8);

  font-size: 11px;
  line-height: 1.7;
}

.card-location span {
  color: var(--accent);
  margin-right: 5px;
}

.floating-badge {
  position: absolute;

  right: -5px;
  bottom: 45px;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 11px 16px;

  border: 1px solid var(--border);
  border-radius: 100px;

  background: white;

  color: var(--primary);

  box-shadow: var(--shadow);

  font-size: 12px;
  font-weight: 700;
}

.floating-badge span {
  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--accent-light);
}


/* =====================================================
   QUICK STRIP
   ===================================================== */

.quick-strip {
  border-block: 1px solid var(--border);
  background: white;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-grid > div {
  display: grid;
  grid-template-columns: 40px 1fr;

  align-items: center;

  padding: 25px;

  border-right: 1px solid var(--border);
}

.quick-grid > div:last-child {
  border-right: 0;
}

.quick-icon {
  grid-row: span 2;

  color: var(--primary);
  font-size: 23px;
}

.quick-grid strong {
  font-size: 13px;
}

.quick-grid small {
  color: var(--text-soft);
  font-size: 10px;
}


/* =====================================================
   GENERAL SECTIONS
   ===================================================== */

.section {
  padding: 120px 0;
}

.section-label {
  display: inline-block;

  color: var(--primary);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-heading h2,
.center-heading h2 {
  margin-top: 15px;

  font-family: "Manrope", sans-serif;

  font-size: clamp(35px, 4.2vw, 55px);

  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading h2 span,
.center-heading h2 span {
  color: var(--primary);
}

.center-heading {
  max-width: 720px;
  margin: 0 auto 65px;

  text-align: center;
}

.center-heading p {
  max-width: 600px;

  margin: 20px auto 0;

  color: var(--text-soft);
}


/* =====================================================
   ABOUT
   ===================================================== */

.about-section {
  background: white;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;

  gap: 100px;

  align-items: start;
}

.about-copy {
  max-width: 650px;
}

.about-copy p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.about-copy .large-text {
  color: var(--text);
  font-size: 21px;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 18px;

  color: var(--primary);

  font-size: 13px;
  font-weight: 800;
}

.text-link span {
  transition: var(--transition);
}

.text-link:hover span {
  transform: translateX(5px);
}


/* =====================================================
   SERVICES
   ===================================================== */

.services-section {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 16px;
}

.service-card {
  position: relative;

  min-height: 280px;

  padding: 28px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: white;

  overflow: hidden;

  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-7px);

  border-color: rgba(47, 104, 75, 0.3);

  box-shadow: var(--shadow);
}

.service-number {
  position: absolute;

  top: 20px;
  right: 22px;

  color: #c6cdc5;

  font-size: 10px;
  font-weight: 800;
}

.service-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin-bottom: 35px;

  border-radius: 14px;

  background: var(--surface-soft);
  color: var(--primary);

  font-size: 21px;
}

.service-card h3 {
  font-family: "Manrope", sans-serif;

  font-size: 18px;
  line-height: 1.2;
}

.service-card p {
  margin-top: 12px;

  color: var(--text-soft);

  font-size: 12px;
  line-height: 1.7;
}

.service-arrow {
  position: absolute;

  right: 24px;
  bottom: 22px;

  color: var(--primary);

  font-size: 20px;

  transition: var(--transition);
}

.service-card:hover .service-arrow {
  transform: translate(4px, -4px);
}


/* =====================================================
   PROCESS
   ===================================================== */

.process-section {
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;

  align-items: start;

  max-width: 1000px;
  margin: auto;
}

.process-step {
  text-align: center;
}

.process-circle {
  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  margin: 0 auto 25px;

  border-radius: 50%;

  background: var(--primary);
  color: white;

  font-family: "Manrope", sans-serif;
  font-weight: 800;

  box-shadow: 0 12px 25px rgba(23, 61, 43, 0.18);
}

.process-step h3 {
  font-size: 16px;
}

.process-step p {
  margin-top: 10px;

  color: var(--text-soft);

  font-size: 12px;
}

.process-line {
  height: 1px;

  margin-top: 35px;

  background: var(--border);
}


/* =====================================================
   HIGHLIGHT
   ===================================================== */

.highlight-section {
  padding: 0 0 120px;

  background: white;
}

.highlight-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding: 55px 65px;

  border-radius: var(--radius-lg);

  background: var(--primary);
  color: white;

  overflow: hidden;
}

.highlight-box h2 {
  max-width: 700px;

  margin-top: 10px;

  font-family: "Manrope", sans-serif;

  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.highlight-box h2 span {
  color: var(--accent);
}

.highlight-box .section-label {
  color: var(--accent);
}

.btn-light {
  flex-shrink: 0;

  background: white;
  color: var(--primary);
}

.btn-light:hover {
  transform: translateY(-3px);
}


/* =========================================
   PREMIUM RANA TYPING GALLERY
========================================= */

.premium-gallery {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  border-radius: 30px;
  background: #111;
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}


/* Slide */

.premium-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease,
    visibility 1.2s ease;

  z-index: 1;
}


/* Active slide */

.premium-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}


/* Image */

.premium-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #111;

  transform: scale(1);
  transition: transform 6s ease;
}


/* Slow cinematic zoom */

.premium-slide.active img {
  transform: scale(1);
}


/* Dark overlay */

.premium-slide::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.38) 45%,
      rgba(0, 0, 0, 0.05) 100%
    );

  z-index: 2;
}


/* Bottom gradient */

.premium-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.65),
      transparent
    );

  z-index: 2;
}


/* =========================================
   TEXT
========================================= */

.slide-content {
  position: absolute;
  left: 70px;
  bottom: 100px;

  max-width: 600px;

  color: white;

  z-index: 4;

  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity 1s ease 0.35s,
    transform 1s ease 0.35s;
}


.premium-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}


.slide-content span {
  display: inline-block;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;

  margin-bottom: 14px;

  opacity: 0.85;
}


.slide-content h3 {
  margin: 0 0 12px;

  font-size: clamp(28px, 4vw, 52px);

  line-height: 1.05;

  font-weight: 700;

  letter-spacing: -1px;
}


.slide-content p {
  margin: 0;

  font-size: 16px;

  opacity: 0.85;
}


/* =========================================
   ARROWS
========================================= */

.gallery-arrow {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 52px;
  height: 52px;

  border-radius: 50%;

  border: 1px solid rgba(255,255,255,0.35);

  background: rgba(0,0,0,0.25);

  color: white;

  font-size: 22px;

  cursor: pointer;

  z-index: 10;

  backdrop-filter: blur(10px);

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}


.gallery-arrow:hover {
  background: rgba(255,255,255,0.2);

  transform:
    translateY(-50%)
    scale(1.08);
}


.gallery-prev {
  left: 25px;
}


.gallery-next {
  right: 25px;
}


/* =========================================
   DOTS
========================================= */

.premium-gallery-dots {
  position: absolute;

  bottom: 34px;
  right: 55px;

  display: flex;

  gap: 8px;

  z-index: 10;
}


.gallery-dot {
  width: 8px;
  height: 8px;

  padding: 0;

  border: none;

  border-radius: 50%;

  background: rgba(255,255,255,0.45);

  cursor: pointer;

  transition:
    width 0.35s ease,
    background 0.35s ease;
}


.gallery-dot.active {
  width: 30px;

  border-radius: 20px;

  background: white;
}


/* =========================================
   PROGRESS BAR
========================================= */

.gallery-progress {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 3px;

  background: rgba(255,255,255,0.18);

  z-index: 12;
}


.gallery-progress-bar {
  width: 0%;
  height: 100%;

  background: white;

  animation: galleryProgress 5s linear infinite;
}


@keyframes galleryProgress {

  from {
    width: 0%;
  }

  to {
    width: 100%;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .premium-gallery {
    height: 480px;
    border-radius: 22px;
  }


  .slide-content {
    left: 28px;
    right: 28px;
    bottom: 80px;
  }


  .slide-content h3 {
    font-size: 30px;
  }


  .slide-content p {
    font-size: 14px;
  }


  .gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }


  .gallery-prev {
    left: 15px;
  }


  .gallery-next {
    right: 15px;
  }


  .premium-gallery-dots {
    left: 50%;
    right: auto;

    transform: translateX(-50%);

    bottom: 25px;
  }

}

/* =====================================================
   FAQ
   ===================================================== */

.faq-section {
  background: white;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;

  gap: 100px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 22px 0;

  border: 0;

  background: transparent;

  text-align: left;

  color: var(--text);

  cursor: pointer;

  font-size: 14px;
  font-weight: 700;
}

.faq-plus {
  font-size: 22px;
  font-weight: 400;

  transition: var(--transition);
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;

  grid-template-rows: 0fr;

  transition: grid-template-rows 300ms ease;
}

.faq-answer p {
  overflow: hidden;

  color: var(--text-soft);

  font-size: 13px;

  padding: 0;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 22px;
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact-section {
  padding: 110px 0;

  background: var(--surface-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;

  gap: 90px;

  align-items: center;
}

.contact-content h2 {
  margin-top: 15px;

  font-family: "Manrope", sans-serif;

  font-size: clamp(40px, 5vw, 62px);

  line-height: 1;

  letter-spacing: -0.05em;
}

.contact-content h2 span {
  display: block;

  color: var(--primary);
}

.contact-content > p {
  max-width: 600px;

  margin-top: 25px;

  color: var(--text-soft);
}

.contact-details {
  margin-top: 40px;

  display: grid;

  gap: 22px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;

  gap: 15px;
}

.contact-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 12px;

  background: white;

  color: var(--primary);
}

.contact-detail div {
  display: flex;
  flex-direction: column;
}

.contact-detail small {
  color: var(--text-soft);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.contact-detail strong {
  margin-top: 3px;

  font-size: 13px;
  line-height: 1.6;
}

.contact-card {
  padding: 38px;

  border-radius: var(--radius-lg);

  background: var(--primary);
  color: white;

  box-shadow: 0 30px 60px rgba(23, 61, 43, 0.2);
}

.contact-card-top {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-card h3 {
  margin-top: 65px;

  font-family: "Manrope", sans-serif;

  font-size: 38px;
  line-height: 1;
}

.contact-card > p {
  margin-top: 15px;

  color: rgba(255,255,255,0.7);

  font-size: 13px;
}

.contact-button {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 25px;
  padding: 15px 18px;

  border-radius: 12px;

  background: white;
  color: var(--primary);

  font-size: 12px;
  font-weight: 800;

  transition: var(--transition);
}

.contact-button:hover {
  transform: translateY(-2px);
}

.whatsapp-button {
  background: var(--accent);
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  padding: 70px 0 25px;

  background: #102b1e;
  color: white;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(180px, 1fr));

  gap: 30px;
}

.brand-footer .brand-text strong {
  color: white;
}

.footer-brand > p {
  max-width: 270px;

  margin-top: 20px;

  color: rgba(255,255,255,0.55);

  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 10px;

  color: var(--accent);

  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links p {
  color: rgba(255,255,255,0.6);

  font-size: 12px;

  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  margin-top: 60px;
  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,0.1);

  color: rgba(255,255,255,0.45);

  font-size: 10px;
}

.footer-bottom a:hover {
  color: white;
}


/* =====================================================
   MOBILE CTA
   ===================================================== */

.mobile-cta {
  display: none;
}


/* =====================================================
   SCROLL REVEAL
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1050px) {

  .main-nav {
    gap: 17px;
  }

  .hero-grid {
    gap: 45px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-grid > div:nth-child(2) {
    border-right: 0;
  }

  .quick-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 820px) {

  .site-header {
    position: sticky;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-button {
    display: none;
  }

  .main-nav {
    position: absolute;

    top: 78px;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 10px 4% 20px;

    background: rgba(247,248,244,0.98);

    border-bottom: 1px solid var(--border);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition: var(--transition);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 0;

    border-bottom: 1px solid var(--border);
  }

  .hero {
    padding: 75px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-wrap {
    min-height: 450px;
  }

  .hero-card {
    min-height: 440px;
  }

  .hero-card-main {
    margin-top: 70px;
  }

  .two-column,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .process-line {
    width: 1px;
    height: 35px;

    margin: -10px auto;
  }

  .highlight-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
  }

  .gallery-large {
    grid-row: auto;
  }

}


@media (max-width: 560px) {

  .container {
    width: min(91%, 1180px);
  }

  .nav-container {
    min-height: 70px;
  }

  .main-nav {
    top: 70px;
  }

  .hero {
    padding: 55px 0 70px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 20px;
    margin-top: 40px;
  }

  .hero-card-wrap {
    min-height: 400px;
  }

  .hero-card {
    min-height: 390px;
    padding: 25px;
  }

  .hero-card h2 {
    font-size: 50px;
  }

  .floating-badge {
    right: 0;
    bottom: 20px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .quick-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading h2,
  .center-heading h2 {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 245px;
  }

  .highlight-section {
    padding-bottom: 80px;
  }

  .highlight-box {
    padding: 38px 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
  }

  .contact-section {
    padding: 80px 0;
  }

  .contact-card {
    padding: 30px;
  }

  .contact-card h3 {
    margin-top: 45px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;

    z-index: 1500;

    left: 10px;
    right: 10px;
    bottom: 10px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    padding: 5px;

    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 15px;

    background: rgba(16,43,30,0.96);

    box-shadow: 0 15px 40px rgba(0,0,0,0.18);

    backdrop-filter: blur(15px);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 11px;

    border-radius: 10px;

    color: white;

    font-size: 11px;
    font-weight: 800;
  }

  .mobile-cta a:last-child {
    background: var(--accent);
    color: var(--primary);
  }

  .footer {
    padding-bottom: 100px;
  }

}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* =========================================
   AVAILABLE CSC & DIGITAL SERVICES
========================================= */

.csc-section {
  background: #f7f7f8;
}


/* CSC ID */

.csc-id-box {
  display: inline-flex;

  align-items: center;
  gap: 14px;

  margin-top: 22px;
  padding: 12px 20px;

  border-radius: 14px;

  background: #111;
  color: white;

  box-shadow:
    0 12px 30px rgba(0,0,0,0.15);
}


.csc-id-box span {
  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1.5px;

  opacity: 0.7;

  text-transform: uppercase;
}


.csc-id-box strong {
  font-size: 18px;

  letter-spacing: 1px;

  font-weight: 700;
}


/* CSC Grid */

.csc-services-grid {
  margin-top: 45px;
}


/* Service Card */

.csc-services-grid .service-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


.csc-services-grid .service-card:hover {
  transform: translateY(-7px);

  box-shadow:
    0 20px 45px rgba(0,0,0,0.10);
}


/* Service Icon */

.csc-services-grid .service-icon {
  font-size: 30px;

  margin-bottom: 15px;
}


/* Bottom Note */

.csc-note {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  margin-top: 40px;

  padding: 22px 25px;

  border-radius: 18px;

  background: white;

  border: 1px solid rgba(0,0,0,0.08);
}


.csc-note strong {
  font-size: 16px;
}


.csc-note span {
  font-size: 14px;

  color: #666;

  line-height: 1.5;
}


/* Mobile */

@media (max-width: 768px) {

  .csc-id-box {
    flex-direction: column;

    align-items: flex-start;

    gap: 5px;

    padding: 14px 18px;
  }


  .csc-id-box strong {
    font-size: 17px;
  }


  .csc-note {
    flex-direction: column;

    align-items: flex-start;

    gap: 8px;
  }

}


.map-container {
  width: 100%;
  margin-top: 20px;
}

.map-container h3 {
  margin-bottom: 12px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .map-container iframe {
    height: 250px;
  }
}


.visitor-counter {
  text-align: center;
  padding: 25px 15px;
  margin-top: 30px;
  border-top: 1px solid #ddd;
}

.visitor-counter p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
}


.back-to-top {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}


/* =====================================================
   RANA TYPING — PREMIUM CORPORATE REDESIGN
   Add this block at the VERY END of styles.css
   ===================================================== */

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf2f8;
  --text: #18263a;
  --text-soft: #64748b;
  --primary: #17365d;
  --primary-light: #28568a;
  --accent: #c49a48;
  --accent-light: #f5e8c9;
  --border: #dce4ee;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 16px 45px rgba(23, 54, 93, 0.10);
  --transition: 240ms ease;
}

/* General appearance */

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

::selection {
  background: var(--primary);
  color: #fff;
}

section[id] {
  scroll-margin-top: 90px;
}

.section-label {
  color: var(--primary-light);
}

/* Header and navigation */

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(220, 228, 238, 0.9);
  box-shadow: 0 4px 22px rgba(23, 54, 93, 0.04);
}

.brand-mark {
  background: linear-gradient(145deg, #234d7b, #102641);
  box-shadow: 0 8px 20px rgba(23, 54, 93, 0.20);
}

.main-nav a {
  color: #40516a;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a::after {
  background: var(--accent);
}

.nav-button,
.btn-primary {
  background: linear-gradient(135deg, #234d7b, #142e4e);
  box-shadow: 0 7px 18px rgba(23, 54, 93, 0.12);
}

.nav-button:hover,
.btn-primary:hover {
  background: var(--primary-light);
}

/* Hero section */

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 65%, #edf2f8 100%);
}

.hero-background {
  background:
    radial-gradient(circle at 82% 20%,
      rgba(196, 154, 72, 0.17), transparent 28%),
    radial-gradient(circle at 12% 80%,
      rgba(40, 86, 138, 0.11), transparent 32%);
}

.eyebrow {
  border-color: #d8e2ef;
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary);
}

.eyebrow-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 154, 72, 0.15);
}

.hero h1 span {
  color: var(--primary);
}

.hero-card {
  background: linear-gradient(145deg, #234d7b 0%, #17365d 55%, #102641 100%);
  box-shadow: 0 30px 70px rgba(23, 54, 93, 0.22);
}

.hero-card::before {
  background: rgba(196, 154, 72, 0.19);
}

.hero-card h2 em,
.small-label {
  color: #e5c47d;
}

.mini-logo {
  background: var(--accent);
  color: #142e4e;
}

.floating-badge {
  border-color: #e5eaf1;
  box-shadow: 0 14px 35px rgba(23, 54, 93, 0.14);
  animation: rt-float 4s ease-in-out infinite;
}

.floating-badge span {
  background: var(--accent-light);
  color: var(--primary);
}

@keyframes rt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Quick services strip */

.quick-strip {
  background: #fff;
  border-color: var(--border);
}

.quick-icon {
  color: var(--primary-light);
}

.quick-grid strong {
  color: var(--primary);
}

/* Section headings */

.section-heading h2 span,
.center-heading h2 span,
.contact-content h2 span {
  color: var(--primary-light);
}

/* Service cards — main services and CSC */

.services-section,
.csc-section {
  background: var(--bg);
}

.service-card {
  border-color: var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(23, 54, 93, 0.035);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 154, 72, 0.8);
  box-shadow: 0 18px 38px rgba(23, 54, 93, 0.11);
}

.service-number {
  color: #a0aec0;
}

.service-icon {
  background: #edf2f8;
  color: var(--primary);
  border-radius: 14px;
}

.service-card h3 {
  color: var(--primary);
}

.service-card p {
  color: var(--text-soft);
}

.service-arrow {
  color: var(--accent);
}

.csc-id-box {
  background: linear-gradient(135deg, #17365d, #102641);
  border: 1px solid rgba(196, 154, 72, 0.45);
  border-radius: 14px;
}

.csc-services-grid .service-card:hover {
  box-shadow: 0 18px 38px rgba(23, 54, 93, 0.11);
}

.csc-note {
  border-color: var(--border);
  box-shadow: 0 8px 25px rgba(23, 54, 93, 0.04);
}

/* Process section */

.process-circle {
  background: linear-gradient(145deg, #28568a, #17365d);
  box-shadow: 0 12px 25px rgba(23, 54, 93, 0.17);
}

.process-line {
  background: #cbd6e4;
}

/* Highlight banner */

.highlight-box {
  background: linear-gradient(120deg, #17365d, #102641);
  box-shadow: 0 22px 50px rgba(23, 54, 93, 0.13);
}

.highlight-box h2 span {
  color: #e5c47d;
}

.highlight-box .section-label {
  color: #e5c47d;
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--accent-light);
}

/* Gallery */

.premium-gallery {
  border: 1px solid rgba(23, 54, 93, 0.12);
  box-shadow: 0 25px 65px rgba(23, 54, 93, 0.15);
}

.gallery-arrow {
  background: rgba(16, 38, 65, 0.48);
  border-color: rgba(255, 255, 255, 0.55);
}

.gallery-arrow:hover {
  background: rgba(196, 154, 72, 0.85);
  color: #102641;
}

.gallery-dot.active,
.gallery-progress-bar {
  background: #e5c47d;
}

/* FAQ */

.faq-section {
  background: #fff;
}

.faq-list {
  border-top-color: var(--border);
}

.faq-item {
  border-bottom-color: var(--border);
}

.faq-question {
  color: var(--primary);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-plus {
  color: var(--accent);
}

/* Contact */

.contact-section {
  background: linear-gradient(135deg, #edf2f8, #f7f9fc);
}

.contact-icon {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 5px 16px rgba(23, 54, 93, 0.06);
}

.contact-card {
  background: linear-gradient(145deg, #234d7b, #102641);
  box-shadow: 0 24px 55px rgba(23, 54, 93, 0.18);
}

.contact-card .mini-logo {
  background: var(--accent);
}

.contact-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 220ms ease, background 220ms ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
}

.whatsapp-button {
  background: #d8b568;
  color: #102641;
}

.map-container h3 {
  color: #fff;
}

.map-container iframe {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* Footer */

.footer {
  background: linear-gradient(135deg, #102641, #0b1b2e);
}

.footer-links strong {
  color: #e5c47d;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.back-to-top {
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  padding: 10px 17px;
  color: #fff;
}

.back-to-top:hover {
  border-color: var(--accent);
  color: #e5c47d;
}

/* Visitor counter */

.visitor-counter {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.visitor-counter p {
  color: rgba(255, 255, 255, 0.72);
}

/* Mobile navigation */

@media (max-width: 820px) {
  .main-nav {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 16px 25px rgba(23, 54, 93, 0.08);
  }

  .main-nav a {
    border-bottom-color: var(--border);
  }
}

/* Keyboard focus and reduced-motion accessibility */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.dropdown{
  position: relative;
}

.dropdown-btn{
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #40516a;
}

.dropdown-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 220px;
  background: white;

  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  overflow: hidden;
  z-index: 999;
}

.dropdown-menu.show{
  display: block;
}

.dropdown-menu a{
  display: block;
  padding: 12px 15px;
}

.dropdown-menu a:hover{
  background: #f5f5f5;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #e5c47d;
  padding-left: 5px;
}

/* ================================
   HERO CARD MOBILE OVERLAP FIX
================================ */

.hero-card {
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.hero-card-main {
  min-width: 0;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
}

.hero-card-main p {
  position: static;
  height: auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.7;
  margin: 16px 0 20px;
}

.card-location {
  position: static;
  height: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.8;
  margin-top: 20px;
}

/* ================================
   ANDROID APP DOWNLOAD SECTION
================================ */

.app-download-section {
  box-sizing: border-box;
  width: 100%;
  padding: 30px 16px 96px;
  text-align: center;
}

.app-download-content {
  max-width: 600px;
  margin: 0 auto;
}

.app-download-content h2 {
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.app-download-content p {
  line-height: 1.7;
  margin: 12px 0 20px;
}

.app-download-button {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 24px;
  border-radius: 8px;
  background: #15803d;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.app-download-button:hover {
  background: #166534;
}

/* ================================
   SMALL SCREEN ADJUSTMENTS
================================ */

@media (max-width: 600px) {
  .hero-card {
    width: 100%;
    max-width: 100%;
  }

  .hero-card-main p,
  .card-location {
    font-size: 14px;
    line-height: 1.8;
  }

  .app-download-section {
    padding: 24px 16px 96px;
  }

  .app-download-button {
    padding: 14px 18px;
  }
}
