/* ═══════════════════════════════════════════
   DEVELOPSY GLOBAL — SHARED STYLESHEET
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --font-sora: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-dm: 'DM Sans', 'Segoe UI', Arial, sans-serif;
}

:root {
  --blue: #007EFF;
  --blue-dark: #005FCC;
  --blue-light: #E8F3FF;
  --blue-mid: #C2DEFF;
  --white: #FFFFFF;
  --off-white: #F5F9FF;
  --text-dark: #0A1628;
  --text-mid: #3B5073;
  --text-soft: #7A93B3;
  --border: #D4E6FF;
  --shadow: rgba(0,126,255,0.12);
  --green: #10B981;
  --orange: #F59E0B;
  --red: #EF4444;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-dm);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Icon Styles */
.fa, .fas, .far, .fab { margin-right: 4px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; z-index: 1001;
}

.logo-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #00C6FF 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 17px;
  color: #fff; flex-shrink: 0; overflow: hidden;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }

.logo-name {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 19px; color: var(--text-dark); letter-spacing: -0.3px;
}
.logo-name span { color: var(--blue); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 500;
  color: var(--text-mid); transition: color .2s;
  position: relative; cursor: pointer; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { transform: scaleX(1); }

.btn-nav {
  background: var(--blue) !important; color: #fff !important;
  padding: 9px 24px !important; border-radius: 50px !important;
  font-weight: 600 !important; font-size: 14px !important;
  transition: transform .2s, box-shadow .2s !important;
}
.btn-nav:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0,126,255,0.4) !important;
}
.btn-nav::after { display: none !important; }

/* Hamburger Button */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; cursor: pointer; border: none; background: none;
  padding: 8px; z-index: 1001; width: 40px; height: 40px; position: relative;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); border-radius: 2px; transition: all 0.3s ease;
}
/* Hide X icon but keep click functionality */
.hamburger.open span {
  opacity: 0;
  visibility: hidden;
}

/* Mobile Menu with BLUR EFFECT */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,22,40,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999; justify-content: center; align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu.open { display: flex; }

.mobile-menu-container {
  background: #fff; border-radius: 24px; padding: 24px 20px;
  width: 75%; max-width: 280px; text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2); animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.mobile-menu-container a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-size: 16px; font-weight: 600;
  color: var(--text-dark); padding: 12px 16px; border-radius: 14px;
  transition: all 0.2s; border: 1px solid var(--border);
  margin-bottom: 8px; background: #fff;
}
.mobile-menu-container a i { font-size: 18px; color: var(--blue); width: 24px; }
.mobile-menu-container a:hover { background: var(--blue-light); border-color: var(--blue); transform: translateY(-1px); }
.mobile-menu-container .btn-nav-mob { background: var(--blue); color: #fff !important; border: none; margin-bottom: 12px; }
.mobile-menu-container .btn-nav-mob i { color: #fff; }
.mobile-menu-container .btn-nav-mob:hover { background: var(--blue-dark); }
.close-menu-btn {
  background: transparent; border: 1px solid var(--border); border-radius: 12px;
  font-size: 13px; color: var(--text-soft); padding: 10px; margin-top: 6px;
  cursor: pointer; width: 100%; font-weight: 500; transition: all 0.2s;
}
.close-menu-btn:hover { background: #f5f5f5; color: var(--red); border-color: var(--red); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue); color: #fff; padding: 14px 32px;
  border-radius: 50px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,126,255,0.45); }

.btn-ghost {
  background: transparent; border: 2px solid var(--blue); color: var(--blue);
  padding: 13px 30px; border-radius: 50px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all .2s; font-family: 'Sora', sans-serif;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); border: 1px solid var(--blue-mid);
  border-radius: 50px; padding: 5px 14px; font-size: 11px;
  font-weight: 700; color: var(--blue); letter-spacing: .8px;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-family: 'Sora', sans-serif; font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; color: var(--text-dark); letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 14px;
}
.section-title span { color: var(--blue); }
.section-sub {
  font-size: 16px; color: var(--text-mid);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ── REVIEW CARDS ── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.review-card {
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: 22px; padding: 30px 26px;
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.review-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px var(--shadow); }
.stars { color: #FFC107; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.review-text {
  font-size: 14px; line-height: 1.75; color: var(--text-mid);
  margin-bottom: 22px; font-style: italic; flex: 1;
}
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.reviewer-avatar {
  width: 42px; height: 42px; min-width: 42px; min-height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #00C6FF);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px;
  color: #fff; flex-shrink: 0; overflow: hidden;
  position: relative;
}
.reviewer-avatar img {
  position: absolute; inset: 0;
  width: 42px !important; height: 42px !important;
  max-width: 42px !important; max-height: 42px !important;
  object-fit: cover; border-radius: 50%;
  display: block;
}
.reviewer-name { font-weight: 700; font-size: 14px; color: var(--text-dark); }
.reviewer-role { font-size: 12px; color: var(--text-soft); }

/* ── FOOTER ── */
footer {
  background: var(--text-dark); padding: 60px 5% 32px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; max-width: 1100px; margin: 0 auto;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-name { color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.75; margin-top: 14px; max-width: 260px; }
.footer-col h4 {
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  color: #fff; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  text-decoration: none; font-size: 13px; color: rgba(255,255,255,0.6);
  transition: color .2s; cursor: pointer;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px; margin: 28px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; }
.footer-bottom a { color: var(--blue); text-decoration: none; }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  animation: fadeInFallback 0.8s ease 0.2s forwards;
}
.fade-in.visible { opacity: 1; transform: translateY(0); animation: none; }
@keyframes fadeInFallback { to { opacity: 1; transform: translateY(0); } }

/* ── LAZY IMAGE ── */
img[loading="lazy"] { opacity: 0; transition: opacity 0.4s ease; }
img[loading="lazy"].loaded { opacity: 1; }

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-primary, .btn-ghost { padding: 12px 24px; font-size: 14px; }
  .mobile-menu-container { width: 85%; padding: 20px 16px; }
  .mobile-menu-container a { padding: 10px 14px; font-size: 15px; }
}
