/* ===================================================
   CodeCraft Academy – Main Stylesheet
   =================================================== */

:root {
  --blue-1: #1565c0;
  --blue-2: #1976d2;
  --blue-3: #2196f3;
  --blue-light: #e3f2fd;
  --dark-navy: #0d1b2a;
  --dark-2: #1a2a3a;
  --text-dark: #1a2533;
  --text-mid: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --off-white: #f8fafc;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: #fff;
}

/* ── Gradient text ── */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section spacing ── */
.section-pad { padding: 90px 0; }

.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-1);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
}

.section-text {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: .9rem;
}

/* ===================================================
   TOP BAR
   =================================================== */
.topbar {
  background: var(--dark-navy);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: .45rem 0;
}

.topbar-item {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  margin-right: .5rem;
}

.topbar-item i { margin-right: .3rem; color: var(--blue-3); }
.topbar-item:hover { color: #fff; }

/* ===================================================
   NAVBAR
   =================================================== */
#mainNav {
  background: var(--dark-navy);
  padding: .6rem 0;
  transition: all .3s ease;
  z-index: 1000;
}

#mainNav.scrolled {
  background: rgba(13,27,42,.97);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  padding: .4rem 0;
}

.navbar-brand img { transition: height .3s; }
#mainNav.scrolled .navbar-brand img { height: 44px; }

.nav-link {
  font-weight: 500;
  font-size: .92rem;
  color: rgba(255,255,255,.85) !important;
  padding: .5rem .85rem !important;
  border-radius: var(--radius-sm);
  transition: all .2s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.08);
}

.dropdown-menu {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  min-width: 230px;
}

.dropdown-item {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  border-radius: 6px;
  padding: .55rem 1rem;
  transition: all .2s;
}

.dropdown-item:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  border: none;
  font-weight: 600;
  font-size: .88rem;
  padding: .5rem 1.3rem !important;
  border-radius: 50px !important;
  color: #fff !important;
  transition: all .3s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(33,150,243,.4);
}

/* ===================================================
   HERO
   =================================================== */
.hero-section { position: relative; }

.hero-slide {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--dark-navy);
}

.slide-1 {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #0a3060 60%, #0d4f9e 100%),
              url('../img/hero-bg.jpg') center/cover no-repeat;
  background-blend-mode: overlay;
}

.slide-2 {
  background: linear-gradient(135deg, rgba(10,22,40,.92) 0%, rgba(13,59,110,.9) 50%, rgba(21,101,192,.88) 100%),
              url('../img/about.jpg') center/cover no-repeat;
}

.slide-3 {
  background: linear-gradient(135deg, rgba(5,14,26,.95) 0%, rgba(10,42,80,.9) 50%, rgba(21,101,192,.85) 100%),
              url('../img/about1.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-slide .container { position: relative; z-index: 2; height: 100%; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.3rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

.hero-btns .btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-3));
  border: none;
  font-weight: 600;
  border-radius: 50px;
  padding: .75rem 2rem;
  box-shadow: 0 8px 25px rgba(33,150,243,.35);
  transition: all .3s;
}

.hero-btns .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(33,150,243,.5);
}

.hero-btns .btn-outline-light {
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 600;
  transition: all .3s;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  margin: 0 4px;
}

.carousel-indicators button.active {
  background: var(--blue-3);
  width: 28px;
  border-radius: 5px;
}

/* ===================================================
   STATS BAND
   =================================================== */
.stats-band {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  padding: 0;
}

.stat-item {
  padding: 2.5rem 1.5rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.2);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  display: inline;
  line-height: 1;
}

.stat-plus {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  vertical-align: super;
}

.stat-label {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  margin-top: .5rem;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: .5px;
}

/* ===================================================
   ABOUT
   =================================================== */
.about-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-light), #fff);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.about-logo-display {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 10px 30px rgba(21,101,192,.25));
}

.about-badge {
  position: absolute;
  bottom: -18px;
  right: 30px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  color: #fff;
  border-radius: 14px;
  padding: .85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(33,150,243,.4);
}

.about-badge i { font-size: 1.5rem; }

.about-feature {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-dark);
}

.about-feature i {
  color: var(--blue-2);
  font-size: 1.1rem;
}

/* ===================================================
   COURSES
   =================================================== */
.course-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f0fe;
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-1), var(--blue-3));
  transform: scaleX(0);
  transition: transform .3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.course-card:hover::before { transform: scaleX(1); }

.course-card.featured {
  background: linear-gradient(135deg, #e3f2fd, #fff);
  border-color: var(--blue-3);
  box-shadow: 0 8px 30px rgba(33,150,243,.15);
}

.course-card.featured::before { transform: scaleX(1); }

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 50px;
}

.course-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--blue-light), #dbeafe);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all .3s;
}

.course-icon i {
  font-size: 1.8rem;
  color: var(--blue-2);
}

.course-card:hover .course-icon {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
}

.course-card:hover .course-icon i { color: #fff; }

.course-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--text-dark);
}

.course-card p {
  color: var(--text-mid);
  font-size: .9rem;
  line-height: 1.7;
  flex-grow: 1;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0;
}

.course-tags span {
  background: var(--blue-light);
  color: var(--blue-1);
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 50px;
}

.course-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue-2);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
  margin-top: auto;
}

.course-btn:hover { color: var(--blue-1); gap: .7rem; }

/* ===================================================
   WHY US
   =================================================== */
.why-section {
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
}

.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f4fd;
  transition: all .3s ease;
  height: 100%;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-3);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  transition: all .3s;
}

.why-card:hover .why-icon {
  transform: rotate(5deg) scale(1.05);
}

.why-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.why-card h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .6rem;
  color: var(--text-dark);
}

.why-card p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* ===================================================
   TECH MARQUEE
   =================================================== */
.tech-section { overflow: hidden; }

.tech-marquee-wrap {
  overflow: hidden;
  padding: 1rem 0 2rem;
}

.tech-marquee {
  display: flex;
  gap: 1.5rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.tech-marquee:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #e2ecf8;
  border-radius: var(--radius);
  padding: 1.2rem 1.8rem;
  min-width: 110px;
  cursor: default;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}

.tech-item:hover {
  border-color: var(--blue-3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33,150,243,.15);
}

.tech-item i {
  font-size: 2rem;
  color: var(--blue-2);
}

.tech-item span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e8f0fe;
  text-align: center;
}

.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1.2rem; gap: .2rem; display: flex; justify-content: center; }

.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-light);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: .95rem;
  color: var(--text-dark);
}

.testimonial-author small {
  color: var(--text-light);
  font-size: .82rem;
}

.testi-indicators {
  position: static;
  margin-top: 2rem;
}

.testi-indicators button {
  background: #cbd5e0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
}

.testi-indicators button.active {
  background: var(--blue-2);
  width: 24px;
  border-radius: 5px;
}

/* ===================================================
   CTA BAND
   =================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--dark-navy), #0a3060 60%, var(--blue-1));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '</>';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255,255,255,.04);
  font-family: 'Poppins', monospace;
  user-select: none;
}

.cta-band h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .8rem;
}

.cta-band p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.cta-band .btn-light {
  color: var(--blue-1);
  font-weight: 700;
  border-radius: 50px;
}

.cta-band .btn-outline-light {
  border-radius: 50px;
  font-weight: 600;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e8f0fe;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.ci-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon i { color: #fff; font-size: 1.1rem; }

.contact-info-item h6 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .35rem;
  font-size: .9rem;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-mid);
  font-size: .9rem;
  margin: 0;
  text-decoration: none;
  line-height: 1.6;
}

.contact-info-item a:hover { color: var(--blue-2); }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--blue-2) !important;
  font-weight: 600;
  font-size: .85rem;
  margin-top: .4rem;
}

.social-links { display: flex; gap: .6rem; flex-wrap: wrap; }

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all .3s;
}

.social-btn:hover {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  color: #fff;
  transform: translateY(-2px);
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e8f0fe;
}

.contact-form-card h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

.form-label {
  font-size: .87rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .4rem;
}

.form-control,
.form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  font-size: .9rem;
  transition: all .2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue-3);
  box-shadow: 0 0 0 3px rgba(33,150,243,.15);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  border: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all .3s;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0d47a1, var(--blue-2));
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(33,150,243,.35);
}

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--dark-navy); color: rgba(255,255,255,.75); }

.footer-top { padding: 70px 0 40px; }

.footer-desc {
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  margin-bottom: .5rem;
}

.footer-tagline {
  color: var(--blue-3);
  font-size: .9rem;
  font-weight: 500;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1.2rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(255,255,255,.08);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: .5rem; }

.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .88rem;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.footer-links a::before {
  content: '›';
  color: var(--blue-3);
  font-size: 1rem;
}

.footer-links a:hover { color: var(--blue-3); padding-left: 4px; }

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .9rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

.footer-contact i { color: var(--blue-3); margin-top: .1rem; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-contact a:hover { color: var(--blue-3); }

.footer-social { display: flex; gap: .5rem; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all .3s;
}

.footer-social a:hover {
  background: var(--blue-2);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 0;
}

.footer-bottom p {
  margin: 0;
  font-size: .83rem;
  color: rgba(255,255,255,.45);
}

.footer-tag {
  display: inline-block;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  font-size: .73rem;
  padding: .2rem .6rem;
  border-radius: 4px;
  margin: .15rem;
}

/* ===================================================
   FLOATING BUTTONS
   =================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: all .3s;
  z-index: 999;
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,.7); }
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all .3s;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover { transform: translateY(-3px); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 991px) {
  .section-pad { padding: 60px 0; }
  .hero-slide { height: 80vh; min-height: 500px; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .stat-item:not(:last-child)::after { display: none; }

  .navbar-collapse {
    background: var(--dark-2);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: .5rem;
  }

  .dropdown-menu { background: rgba(255,255,255,.05); border: none; }
}

@media (max-width: 767px) {
  .topbar .col-md-5 { display: none; }
  .hero-slide { height: 70vh; }
  .hero-title { font-size: 1.7rem; }
  .about-badge { right: 10px; bottom: -15px; }
  .cta-band h2 { font-size: 1.6rem; }
  .section-title { font-size: 1.6rem; }
  .footer-top { padding: 40px 0 20px; }
  .contact-form-card,
  .contact-info-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-btns .btn { display: block; width: 100%; margin-bottom: .5rem; }
  .hero-btns .btn.me-3 { margin-right: 0 !important; }
}
