/* ==========================================================
   BASE STYLES – NURATHINK LIGHT + DARK HYBRID
========================================================== */
body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #f7fafe 0%, #ffffff 100%);
  background-attachment: fixed;
  background-size: cover;
  color: #0a1a27;
}

/* ==========================================================
   TOP MARQUEE (dark, theme-matched, hides on scroll)
========================================================== */
.top-marquee{
  --marquee-h: 42px;
  background: linear-gradient(135deg, #06111c 0%, #0a1a27 100%);
  color:#ffffff;
  font-size: 0.95rem;
  line-height: 1;
  max-height: var(--marquee-h);
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-marquee .container{
  height: var(--marquee-h);
}

.top-marquee .marquee-left{
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.top-marquee .marquee-left i{
  color:#21d3a6;
}

.top-marquee .marquee-track marquee{
  color: #ffffff;
}

.top-marquee a{
  color:#ffffff;
  text-decoration: underline;
}

.top-marquee .top-marquee-close{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-radius: 6px;
  transition: background .2s ease, transform .2s ease;
}

.top-marquee .top-marquee-close:hover{
  background: rgba(255,255,255,0.12);
  transform: scale(1.02);
}

.top-marquee .top-marquee-close i{
  font-size: 1rem;
}

/* Hide while scrolling / after manual close */
.top-marquee.is-hidden{
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
}

.top-marquee.is-closed{
  display:none;
}

/* When marquee is visible, push fixed navbar down; when hidden, navbar touches top */
body.has-marquee .navbar{
  top: var(--marquee-h);
  transition: top .25s ease;
}

/* Mobile tweaks */
@media (max-width: 575.98px){
  .top-marquee{ --marquee-h: 38px; font-size: 0.9rem; }
  .top-marquee .d-none.d-sm-inline{ display:none !important; }
}


/* ==========================================================
   NAVBAR
========================================================== */
.navbar {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Logo */
.brand-logo {
  height: 64px;
  /* position: absolute; */
  /* background-color: #06111c; */
  padding: 8px;
  /* border-radius: 50%; */
  top: 7px;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

/* ==========================================================
   NAV LINKS
========================================================== */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #0a1a27;
  font-size: 17px;
  padding: 8px 16px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #21d3a6;
  opacity: 0;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #21d3a6;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
  opacity: 1;
}

.navbar-nav .nav-link.active {
  color: #21d3a6;
  font-weight: 600;
}

/* Dropdown */
.navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  animation: fadeIn 0.25s ease;
}

.dropdown-item {
  font-weight: 500;
  padding: 10px 20px;
  color: #0a1a27;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.dropdown-item:hover {
  background: rgba(33, 211, 166, 0.1);
  color: #21d3a6;
}

/* FIX: Mobile submenu always open */
.offcanvas .submenu {
  display: none !important;
}
.offcanvas .submenu.show {
  display: block !important;
}


/* ==========================================================
   CONTACT SECTION (RIGHT SIDE)
========================================================== */
.navbar .contact-links a {
  color: #0a1a27;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar .contact-links a:hover {
  color: #21d3a6;
}

.navbar .contact-links i {
  color: #21d3a6;
  background: rgba(33, 211, 166, 0.12);
  padding: 8px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.navbar .contact-links a:hover i {
  background: #21d3a6;
  color: #fff;
}

/* ==========================================================
   TOGGLER (MOBILE)
========================================================== */
.navbar-toggler {
  border: none;
  outline: none;
  font-size: 1.6rem;
  color: #21d3a6;
  transition: 0.3s;
}

.navbar-toggler:hover {
  color: #0fae82;
}

/* ==========================================================
   HERO SECTION – Clean Flat Style (Unified Lighting)
========================================================== */
.hero-section {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  padding: 98px 0 0px;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0a1a27;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.hero-title span {
  color: #21d3a6;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons .btn {
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-buttons .btn-outline-primary {
  border: 1.8px solid #21d3a6;
  color: #21d3a6;
}

.hero-buttons .btn-outline-primary:hover {
  background: #21d3a6;
  color: #fff;
}

/* Hero Image */
.hero-image {
  max-width: 90%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.hero-image:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    text-align: center;
    padding: 90px 0 70px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    margin: 0 auto 1.8rem;
  }
  .hero-image {
    max-width: 100%;
    margin-top: 30px;
  }
}

/* ==========================================================
   HERO GALLERY STRIP – NURATHINK DARK FUTURISTIC
========================================================== */
.hero-gallery-section {
  background: linear-gradient(135deg, #06111c 0%, #071826 60%, #0a1a27 100%);
  padding: 55px 0;
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}

/* Subtle top glow to visually separate from Hero */
.hero-gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.hero-gallery-section marquee {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.hero-gallery-item {
  display: inline-block;
  margin: 0 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-gallery-item img {
  width: 150px;
  height: 100px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  padding: 6px;
}

.hero-gallery-item:hover img {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 20px rgba(33,211,166,0.45);
  background: #f4f8fc;
}

/* Ensure fallback text is visible on dark gallery background */
.hero-gallery-section .text-dark {
  color: #dffef3 !important;
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero-gallery-item img {
    width: 110px;
    height: 75px;
    padding: 4px;
  }
}


/* ==========================================================
   CARDS
========================================================== */
.card,
.course-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover,
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-body h5,
.course-card h5 {
  font-weight: 600;
  color: #0a1a27;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.95rem;
  color: #555;
}

.course-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}

/* ==========================================================
   BUTTONS
========================================================== */
.btn {
  background: #21d3a6;
  border: none;
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #0fae82;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 211, 166, 0.35);
}


/* ==========================================================
   FOOTER – NURATHINK DARK NEON
========================================================== */
footer {
  background: linear-gradient(135deg, #06111c 0%, #0a1a27 60%, #06352c 100%);
  color: #ffffff;
  padding: 50px 0 20px;
  text-align: center;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.1);
}

footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #21d3a6;
}

.social-links a {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 10px;
  font-size: 1.3rem;
  transition: 0.3s;
}

.social-links a:hover {
  color: #06111c;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

/* ==========================================================
   RESPONSIVE NAVBAR & GLOBAL
========================================================== */
@media (max-width: 991px) {
  .navbar .contact-links {
    display: none;
  }

  .brand-logo {
    height: 60px;
  }
}

/* ==========================================================
   ANIMATIONS
========================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   GLOBAL LIGHTING UTILITY
========================================================== */
.light-surface {
  background: linear-gradient(135deg, #f7fafe 0%, #ffffff 100%);
}
