/* ═══════════════════════════════════════════════════════
   GEDU – Orange & Yellow Brand Theme
   ═══════════════════════════════════════════════════════ */

:root {
  --primary:        #F97316;   /* orange-500  */
  --primary-dark:   #EA580C;   /* orange-600  */
  --primary-light:  #FED7AA;   /* orange-200  */
  --secondary:      #EAB308;   /* yellow-500  */
  --secondary-dark: #CA8A04;   /* yellow-600  */
  --secondary-light:#FEF08A;   /* yellow-200  */
  --accent:         #FDE047;   /* yellow-300  */
  --dark:           #1C1917;   /* stone-900   */
  --text:           #44403C;   /* stone-700   */
  --text-light:     #78716C;   /* stone-500   */
  --bg-light:       #FFFBEB;   /* yellow-50   */
  --bg-white:       #FFFFFF;
  --border:         #FED7AA;   /* orange-200  */
}

/* ── Base ── */
* { box-sizing: border-box; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── Navbar ── */
.navbar-brand .brand-text { font-weight: 800; font-size: 1.5rem; }
.brand-g { color: var(--primary); }
.brand-edu { color: var(--secondary-dark); }

.navbar-gedu {
  background: var(--dark) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
  padding: 0.6rem 0;
}
.navbar-gedu .nav-link {
  color: #e7e5e4 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.navbar-gedu .nav-link:hover,
.navbar-gedu .nav-link.active {
  background: var(--primary);
  color: #fff !important;
}
.btn-navbar-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  font-weight: 700;
  border-radius: 25px;
  padding: 0.4rem 1.2rem !important;
}
.btn-navbar-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  color: #fff !important;
}

/* ── Buttons ── */
.btn-primary-gedu {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 0.65rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}
.btn-primary-gedu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,.4);
  color: #fff;
  text-decoration: none;
}
.btn-secondary-gedu {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  border: none;
  padding: 0.65rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}
.btn-secondary-gedu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234,179,8,.4);
  color: #fff;
  text-decoration: none;
}
.btn-outline-gedu {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.6rem 1.7rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all .2s;
  display: inline-block;
}
.btn-outline-gedu:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* ── Section headings ── */
.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: .6rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .5rem;
}
.section-subtitle { color: var(--text-light); font-size: 1.05rem; margin-bottom: 2rem; }
.title-underline {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: .5rem 0 1.5rem;
}
.title-underline-center { margin: .5rem auto 1.5rem; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, var(--dark) 0%, #292524 50%, #1c1917 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(234,179,8,.1) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,.2);
  border: 1px solid var(--primary);
  color: var(--accent);
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle { color: #d6d3d1; font-size: 1.1rem; margin-bottom: 2rem; }

/* Hero search bar */
.hero-search-bar {
  background: #fff;
  border-radius: 50px;
  padding: .5rem .5rem .5rem 1.5rem;
  display: flex;
  align-items: center;
  max-width: 580px;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.hero-search-bar input {
  border: none; outline: none; flex: 1;
  font-size: 1rem; background: transparent;
}
.hero-search-bar .btn-search {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; border: none;
  border-radius: 40px;
  padding: .55rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.hero-stats { margin-top: 2.5rem; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.hero-stat-label { color: #a8a29e; font-size: .85rem; }

/* ── Service cards ── */
.services-section { padding: 5rem 0; background: var(--bg-light); }
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(249,115,22,.08);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card h5 { text-align: center; width: 100%; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(249,115,22,.18);
}
.service-icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.service-icon-wrap i { font-size: 1.8rem; color: var(--primary-dark); }
.service-card h5 { font-weight: 700; color: var(--dark); margin-bottom: .5rem; text-align: center; width: 100%; }
.service-card p { color: var(--text-light); font-size: .95rem; margin: 0; text-align: center; width: 100%; }

/* ── Stats strip ── */
.stats-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.stat-item { text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 900; color: #fff; }
.stat-label { color: rgba(255,255,255,.85); font-size: .95rem; margin-top: .2rem; }
.stat-divider {
  width: 1px; height: 50px;
  background: rgba(255,255,255,.3);
  margin: auto;
}

/* ── Cards (universities / courses) ── */
.card-gedu {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  background: #fff;
}
.card-gedu:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(249,115,22,.15);
}
.card-gedu .card-img-top {
  height: 180px; object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}
.card-gedu .card-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex; align-items: center; justify-content: center;
}
.card-gedu .card-img-placeholder i { font-size: 3rem; color: var(--primary-dark); }
.card-gedu .card-body { padding: 1.3rem; }
.card-gedu .card-title { font-weight: 700; color: var(--dark); font-size: 1.05rem; }
.card-gedu .card-text { color: var(--text-light); font-size: .9rem; }
.badge-level {
  font-size: .75rem; font-weight: 600;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 20px;
  padding: .25rem .7rem;
}
.badge-field {
  font-size: .75rem; font-weight: 600;
  background: var(--secondary-light);
  color: var(--secondary-dark);
  border-radius: 20px;
  padding: .25rem .7rem;
}

/* ── Testimonials ── */
.testimonials-section { padding: 5rem 0; background: var(--dark); }
.testimonial-card {
  background: #292524;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(249,115,22,.2);
}
.testimonial-card .quote-icon { font-size: 2rem; color: var(--primary); opacity: .6; }
.testimonial-card p { color: #d6d3d1; font-style: italic; line-height: 1.7; }
.testimonial-card .student-name { font-weight: 700; color: #fff; }
.testimonial-card .student-uni { color: var(--accent); font-size: .9rem; }

/* ── Counselors ── */
.counselors-section { padding: 5rem 0; background: var(--bg-light); }
.counselor-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform .25s;
}
.counselor-card:hover { transform: translateY(-4px); }
.counselor-photo {
  width: 90px; height: 90px;
  object-fit: cover; border-radius: 50%;
  border: 3px solid var(--primary);
  margin-bottom: 1rem;
}
.counselor-photo-placeholder {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.counselor-photo-placeholder i { font-size: 2.5rem; color: #fff; }
.counselor-card h6 { font-weight: 700; color: var(--dark); }
.counselor-card span { color: var(--text-light); font-size: .85rem; }

/* ── Blog ── */
.blog-section { padding: 5rem 0; }
.blog-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(249,115,22,.15);
}
.blog-card .blog-img {
  height: 200px; object-fit: cover; width: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}
.blog-card .blog-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex; align-items: center; justify-content: center;
}
.blog-card .blog-img-placeholder i { font-size: 3rem; color: var(--primary-dark); }
.blog-card .blog-body { padding: 1.3rem; }
.blog-category {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 20px;
  margin-bottom: .5rem;
}
.blog-card h5 { font-weight: 700; color: var(--dark); font-size: 1rem; line-height: 1.4; }
.blog-card p { color: var(--text-light); font-size: .9rem; }

/* ── Why Malaysia section ── */
.why-section { padding: 5rem 0; background: linear-gradient(135deg, #fff 60%, var(--bg-light)); }
.why-point { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.why-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.why-icon i { color: #fff; font-size: 1.2rem; }
.why-point h6 { font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.why-point p { color: var(--text-light); font-size: .9rem; margin: 0; }

/* ── Page header ── */
.page-header {
  background: linear-gradient(135deg, var(--dark), #292524);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(249,115,22,.15) 0%, transparent 60%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-weight: 800; color: #fff; font-size: 2.2rem; }
.page-header p { color: #a8a29e; font-size: 1rem; margin-bottom: 0; }
.breadcrumb-gedu .breadcrumb-item { color: #78716c; }
.breadcrumb-gedu .breadcrumb-item a { color: var(--primary); }
.breadcrumb-gedu .breadcrumb-item.active { color: var(--accent); }
.breadcrumb-gedu .breadcrumb-item + .breadcrumb-item::before { color: #57534e; }

/* ── Filters sidebar ── */
.filter-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}
.filter-card h6 { font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(249,115,22,.25);
}
.form-control, .form-select {
  border-color: var(--border);
  border-radius: 10px;
}

/* ── Detail page ── */
.detail-header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.detail-logo {
  width: 100px; height: 100px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: .5rem;
}
.info-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: .35rem .9rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
}
.info-badge i { font-size: .9rem; }
.info-badge-yellow {
  background: var(--secondary-light);
  color: var(--secondary-dark);
}

/* ── Contact ── */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  padding: 2.5rem;
  color: #fff;
}
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { color: #fff; font-size: 1.1rem; }
.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(249,115,22,.1);
  border: 1px solid var(--border);
}

/* ── Footer ── */
.footer-main {
  background: var(--dark);
  padding: 4rem 0 2rem;
  color: #a8a29e;
}
.footer-brand .brand-text { font-size: 1.6rem; font-weight: 800; }
.footer-main h6 { color: #fff; font-weight: 700; margin-bottom: 1.2rem; font-size: .95rem; }
.footer-main a { color: #a8a29e; text-decoration: none; display: block; margin-bottom: .5rem; font-size: .9rem; }
.footer-main a:hover { color: var(--accent); text-decoration: none; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  margin-right: .4rem;
  color: #a8a29e;
  font-size: 1rem;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: .85rem;
  text-align: center;
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.whatsapp-float i { font-size: 1.7rem; color: #fff; }

/* ── Carousel controls ── */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary);
  border-radius: 50%;
  padding: 1.2rem;
  background-size: 60%;
}
.carousel-indicators [data-bs-target] {
  background-color: var(--primary);
  border-radius: 3px;
}

/* ── Utilities ── */
.bg-gedu-primary { background: var(--primary) !important; }
.bg-gedu-secondary { background: var(--secondary) !important; }
.bg-gedu-light { background: var(--bg-light) !important; }
.text-gedu-primary { color: var(--primary) !important; }
.text-gedu-secondary { color: var(--secondary-dark) !important; }
.border-gedu { border-color: var(--border) !important; }

/* ── Responsive tweaks ── */
@media (max-width: 767px) {
  .hero-section { padding: 3rem 0; min-height: auto; }
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .stat-value { font-size: 1.8rem; }
  .stats-section .col-6 + .col-6 { border-left: 1px solid rgba(255,255,255,.2); }
}

/* ── Search results highlight ── */
.search-count { color: var(--text-light); font-size: .95rem; }
.no-results {
  text-align: center;
  padding: 4rem 0;
}
.no-results i { font-size: 4rem; color: var(--primary-light); }
