@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

html {
  overflow-x: clip;
}


:root {
  --primary-color: #042254;
  --primary-hover: #0A3275;
  --secondary-color: #EAA30D;
  --accent-color: #e2a92e;
  --bg-color: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --section-padding: 6rem 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #818cf8);
  color: white;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.875rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1.5rem;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.125rem;
  }
}

/* Footer Colors & Visibility Overrides */
.footer-link {
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer-link:hover {
  color: #EAA30D !important;
}

.footer-social-icon {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}

.footer-social-icon:hover {
  background: #EAA30D !important;
  color: #020617 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(234, 163, 13, 0.25) !important;
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-bottom-link:hover {
  color: #EAA30D !important;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expandable-content.expanded .content-text {
  -webkit-line-clamp: unset;
}

.expandable-content.expanded .read-more-btn i {
  transform: rotate(180deg);
}

.solution-item {
  display: none;
}

.solution-item:nth-child(-n+3) {
  display: block;
}

/* ══════════════════════════════════════════════
   FLOATING ACTION BUTTONS
══════════════════════════════════════════════ */

.fab-container {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* ── WhatsApp ── */
.fab-whatsapp {
  background: #25D366;
}

.fab-whatsapp:hover {
  background: #20c05c;
}

.fab-whatsapp-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }

  70% {
    opacity: 0;
    transform: scale(1.6);
  }

  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* ── Back to Top ── */
.fab-top {
  background: var(--primary-color, #042254);
  opacity: 0;
  transform: translateY(12px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.fab-top--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fab-top:hover {
  background: var(--primary-hover, #0A3275);
  transform: translateY(-4px) scale(1);
}

@media (max-width: 480px) {
  .fab-container {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }
}

/* ══════════════════════════════════════════════
   HEADER NAVIGATION
══════════════════════════════════════════════ */


/* Dropdown centered position & bounce transition */
.nav-dropdown {
  left: 50%;
  transform: translateX(-50%) translateY(12px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s;
}

.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(6px) scale(1);
}

/* Dropdown caret arrow */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-left: 1px solid rgba(15, 23, 42, 0.05);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  z-index: -1;
}

/* Mobile drawer slide */
#mobile-nav-drawer {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-nav-drawer.active {
  transform: translateX(0);
}

/* Mobile accordion chevron */
.nav-has-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-has-dropdown .mob-dropdown {
  display: none;
}

.nav-has-dropdown.open .mob-dropdown {
  display: flex;
}

/* Prevent body scroll when drawer open */
body.drawer-open {
  overflow: hidden;
}

/* Hide main logo when drawer open to prevent double logos */
body.drawer-open .main-header-logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}




/* for scholar page */


/* =========================================================
   GLOBEEONE SCHOLARS HERO
========================================================= */

.scholar-service-card {
  position: absolute;
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 16px;

  width: 390px;
  min-height: 112px;

  padding: 18px 20px;

  background: rgba(255, 255, 255, 0.95);

  border: 1px solid rgba(255, 255, 255, 0.9);

  border-radius: 22px;

  box-shadow:
    0 15px 40px rgba(4, 34, 84, 0.10),
    0 4px 12px rgba(4, 34, 84, 0.05);

  backdrop-filter: blur(12px);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


/* Card hover */

.scholar-service-card:hover {
  box-shadow:
    0 22px 50px rgba(4, 34, 84, 0.16),
    0 6px 16px rgba(4, 34, 84, 0.08);
}


/* Card title */

.scholar-service-card h3 {
  color: #042254;

  font-size: 20px;
  line-height: 1.15;

  font-weight: 800;
}


/* Icon */

.scholar-card-icon {
  width: 64px;
  height: 64px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 42px;
}


/* Arrow */

.scholar-card-arrow {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9999px;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}


/* Arrow hover */

.scholar-service-card:hover .scholar-card-arrow {
  transform: translateX(4px);
}


/* =========================================================
   CARD POSITIONS
========================================================= */

/* University */

.scholar-card-1 {
  top: 10%;
  right: 1%;

  transform: rotate(1deg);
}

.scholar-card-1:hover {
  transform: translateY(-6px) rotate(1deg);
}


/* Education Loan */

.scholar-card-2 {
  top: 36%;
  left: 1%;

  border: 2px solid #EAA30D;

  transform: rotate(2deg);
}

.scholar-card-2:hover {
  transform: translateY(-6px) rotate(2deg);
}


/* Test Preparation */

.scholar-card-3 {
  top: 57%;
  right: -1%;

  transform: rotate(-2deg);
}

.scholar-card-3:hover {
  transform: translateY(-6px) rotate(-2deg);
}


/* Visa */

.scholar-card-4 {
  bottom: 7%;
  left: 10%;

  transform: rotate(1deg);
}

.scholar-card-4:hover {
  transform: translateY(-6px) rotate(1deg);
}


/* =========================================================
   LAPTOPS & TABLETS (Sync with 2xl breakpoint)
========================================================= */

@media (max-width: 1535px) {
  .scholar-service-card {
    width: 270px;
    min-height: 70px;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 14px;
  }

  .scholar-service-card h3 {
    font-size: 14px;
  }

  .scholar-card-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .scholar-card-1 { top: 0%; right: 2%; }
  .scholar-card-2 { top: 28%; left: 2%; }
  .scholar-card-3 { top: 56%; right: 0%; }
  .scholar-card-4 { bottom: 0%; left: 8%; }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1023px) {

  .scholar-service-card {
    position: relative;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 100%;
    min-height: 90px;
    padding: 16px 20px;
    gap: 16px;

    transform: none !important;
  }

  .scholar-card-icon {
    width: 56px;
    height: 56px;
    font-size: 32px;
  }

  .scholar-service-card h3 {
    font-size: 16px;
  }

  .scholar-service-card:hover {
    transform: translateY(-4px) !important;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  .scholar-card-icon {
    width: 50px;
    height: 50px;

    font-size: 30px;
  }

  .scholar-service-card {
    gap: 12px;

    padding: 14px 15px;

    border-radius: 17px;
  }

  .scholar-service-card h3 {
    font-size: 15px;
  }

  .scholar-card-arrow {
    width: 34px;
    height: 34px;

    font-size: 12px;
  }

}

/* scholar page completed */