/* ============================================================
   STYLE.CSS — UniBridge Index Page
   Fully Responsive: Desktop → Tablet → Mobile
   ============================================================ */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  background-color: whitesmoke;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 90px;
}

/* ══════════════════════════════════════
   HEADER / NAVBAR
   ══════════════════════════════════════ */

header {
  background-color: antiquewhite;
  filter: brightness(1.1);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header nav {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 10px;
  gap: 20px;
}

.nav-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-left img {
  width: 40px;
  height: 40px;
}

.nav-left h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #4f46e5, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-center {
  display: inline-flex;
  gap: 24px;
}

.nav-center a {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  position: relative;
  padding-bottom: 4px;
}

.nav-center a:hover { color: #4f46e5; }

.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #4f46e5;
  transition: width 0.3s ease;
}

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

.nav-right {
  display: inline-flex;
  gap: 12px;
}

.nav-right a {
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
}

.nav-right a:first-child {
  background: transparent;
  color: #4f46e5;
  border: 2px solid #4f46e5;
}

.nav-right a:first-child:hover {
  background: #4f46e5;
  color: #fff;
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Mobile menu dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 10px 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 12px;
}

.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  padding: 8px 0;
}

.mobile-menu a:hover { color: #4f46e5; }

.mobile-menu.open { display: flex; }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */

.hero {
  background: linear-gradient(135deg, #f0faf7, #eaf5ff);
  padding: 120px 20px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #e0ecff;
  color: #4f46e5;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 75px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #111;
}

.hero-content .highlight {
  background: linear-gradient(90deg, #4f46e5, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.3;
  color: #555;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-buttons .btn {
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.hero-buttons .primary { background: #4f46e5; color: #fff; }
.hero-buttons .primary:hover { background: #4338ca; transform: translateY(-5px); }

.hero-buttons .secondary { border: 2px solid #d1d5db; color: #111; }
.hero-buttons .secondary:hover { background: #f3f4f6; transform: translateY(-5px); }

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ══════════════════════════════════════
   FEATURES
   ══════════════════════════════════════ */

#features { padding: 80px 20px; }

#features h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
}

#features > p {
  margin: 0 auto 30px;
  max-width: 700px;
  font-size: 20px;
  color: #555;
  font-weight: 400;
  text-align: center;
}

.features-container {
  max-width: 1200px;
  padding: 20px;
  margin: 0 auto;
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 25px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.feature-card p { font-weight: 400; line-height: 1.6; color: #555; }
.feature-card h3 { font-weight: 600; }

.feature-card .bi {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  transition: transform 0.3s ease;
}

.feature-card:hover .bi { transform: scale(1.1); }

.bi-globe     { background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.bi-mortarboard { background: linear-gradient(135deg, #22c55e, #a3e635); }
.bi-file-earmark-text { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.bi-people    { background: linear-gradient(135deg, #f59e0b, #f97316); }

/* ══════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════ */

#how-it-works {
  min-height: 50vh;
  padding: 80px 20px;
  background: rgb(248, 248, 255);
  text-align: center;
}

#how-it-works > h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}

#how-it-works > p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.steps-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  cursor: pointer;
}

.step-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 25px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.step-card h3 { font-size: 20px; font-weight: 600; color: #111; margin-top: 5px; }

.step-card .step-number {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #4f46e5, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card > p { font-size: 16px; line-height: 1.6; color: #555; }

/* ══════════════════════════════════════
   WHY UNIBRIDGE
   ══════════════════════════════════════ */

#why-unibridge { padding: 90px 20px; }

.why-container { max-width: 1200px; margin: 0 auto; text-align: center; }

#why-unibridge h2 { font-size: 40px; margin-bottom: 15px; color: #111; }

.why-intro {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

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

.why-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.why-card i {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, #4f46e5, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}

.why-card h3 { font-size: 20px; margin-bottom: 10px; color: #111; }
.why-card p  { font-size: 16px; line-height: 1.7; color: #555; }

/* ══════════════════════════════════════
   CTA
   ══════════════════════════════════════ */

#cta {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.cta-container {
  max-width: 1100px;
  width: 100%;
  padding: 70px 40px;
  border-radius: 30px;
  background: linear-gradient(135deg, #4f46e5, #10b981);
  color: #fff;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

#cta h2 { font-size: 40px; font-weight: 700; margin-bottom: 15px; }

#cta p {
  max-width: 700px;
  margin: 0 auto 35px;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 999px;
  background: #facc15;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

#footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #cbd5e1;
  padding: 70px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 50px;
}

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #4f46e5, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about p { font-size: 15px; line-height: 1.7; color: #cbd5e1; }

.footer-links h4,
.footer-support h4,
.footer-contact h4 { font-size: 16px; margin-bottom: 15px; color: #f1f5f9; }

.footer-links ul,
.footer-support ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links a,
.footer-support a { color: #cbd5e1; font-size: 14px; transition: color 0.3s ease; }

.footer-links a:hover,
.footer-support a:hover { color: #4f46e5; }

.footer-contact p { font-size: 14px; margin-bottom: 8px; color: #cbd5e1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  text-align: center;
}

.footer-bottom p { font-size: 14px; color: #94a3b8; }


/* RESPONSIVE BREAKPOINTS*/

@media (max-width: 1024px) {
  .hero-content h1 { font-size: 56px; }
  .hero-container  { gap: 40px; }
}

@media (max-width: 768px) {

  body { padding-top: 70px; }

  /* Navbar */
  header { padding: 14px 16px; }

  .nav-center { display: none; }

  .nav-right { display: none; }

  .nav-hamburger { display: flex; }

  /* Hero — stack */
  .hero {
    padding: 60px 20px 60px;
    min-height: auto;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .hero-content h1    { font-size: 40px; }
  .hero-badge         { font-size: 12px; }
  .hero-content p     { font-size: 16px; margin: 0 auto 24px; }
  .hero-buttons       { justify-content: center; }
  .hero-buttons .btn  { padding: 12px 22px; font-size: 14px; }

  .hero-image img {
    max-width: 280px;
    transform: scale(1);
  }
  .hero-image img:hover { transform: scale(1.02); }

  /* Features */
  #features { padding: 60px 16px; }
  #features h2 { font-size: 28px; }
  #features > p { font-size: 16px; }

  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 10px;
  }

  /* How it works */
  #how-it-works { padding: 60px 16px; }
  #how-it-works > h2 { font-size: 28px; }
  #how-it-works > p  { font-size: 16px; }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Why */
  #why-unibridge { padding: 60px 16px; }
  #why-unibridge h2 { font-size: 28px; }
  .why-intro { font-size: 16px; }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .why-card { padding: 24px 16px; }

  /* CTA */
  #cta { padding: 60px 16px; }
  .cta-container { padding: 50px 20px; border-radius: 22px; }
  #cta h2 { font-size: 26px; }
  #cta p  { font-size: 15px; }

  /* Footer */
  #footer { padding: 50px 16px; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ── Small Mobile (max 480px) ── */
@media (max-width: 480px) {

  .hero-content h1 { font-size: 32px; }
  .hero-content p  { font-size: 15px; }
  .hero-buttons    { flex-direction: column; align-items: center; gap: 10px; }
  .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }

  .features-container  { grid-template-columns: 1fr; }
  .steps-container     { grid-template-columns: 1fr; }
  .why-grid            { grid-template-columns: 1fr; }

  .cta-container { padding: 36px 16px; }
  #cta h2 { font-size: 22px; }

  .footer-container { grid-template-columns: 1fr; gap: 24px; }

  .nav-left h2 { font-size: 18px; }
}