/* ===== NISHLAB CREATIONS - GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --gold: #F5A623;
  --gold-dark: #d4891a;
  --navy: #0D1B2A;
  --navy-light: #1a2f47;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --text-dark: #1a1a2e;
  --text-gray: #666;
  --border: #e0e0e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a { color: var(--white); transition: color 0.2s; }
.topbar a:hover { color: var(--gold); }

.topbar-social { display: flex; gap: 12px; }
.topbar-social a { font-size: 15px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  padding: 0 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: var(--navy);
}

.nav-logo-text span {
  color: var(--gold);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
  border-radius: 4px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  z-index: 999;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background: var(--light-bg);
  color: var(--gold);
}

.btn-enroll {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 5px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.btn-enroll:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn-primary:hover { background: var(--gold-dark); }

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

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover { background: var(--navy-light); }

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-gray);
  font-size: 15px;
}

.section-title .underline {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== COURSE CARDS ===== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 25px;
}

.course-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0,0,0,0.09);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.course-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #eee;
}

.course-card-body {
  padding: 18px;
}

.course-card-body h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: var(--navy);
}

.course-card-body .duration {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 14px;
}

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-view:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== FEATURES BAR ===== */
.features-bar {
  background: var(--navy);
  padding: 35px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--white);
}

.feature-icon {
  font-size: 36px;
  color: var(--gold);
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* ===== STATS ===== */
.stats-section {
  padding: 60px 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 10px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-item h3 {
  font-size: 44px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.stat-item p {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 6px;
  font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 70px 0;
  background: var(--light-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.07);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.author-info p {
  font-size: 12px;
  color: var(--text-gray);
}

.testimonial-text {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 15px;
}

.stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-text h2 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  color: var(--white);
}

.footer-logo-text span { color: var(--gold); display: block; }

.footer-about-text {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--gold); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact { list-style: none; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.footer-contact li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 5px;
  font-size: 13px;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }

.newsletter-form button {
  padding: 11px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: var(--gold-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ===== ENQUIRY FORM WIDGET ===== */
.enquiry-widget {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  max-width: 340px;
  width: 100%;
}

.enquiry-widget h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 5px;
}

.enquiry-widget p {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.form-group { margin-bottom: 14px; }

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group select:focus { border-color: var(--gold); }

.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23666'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--navy-light); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  font-size: 38px;
  margin-bottom: 15px;
}

.page-hero h1 span { color: var(--gold); }

.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.45); }

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 0;
  }
  
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; display: block; }
  .dropdown-menu { position: static; box-shadow: none; display: none; padding-left: 15px; }
  .dropdown.open .dropdown-menu { display: block; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 26px; }
}

/* ===== UTILITY ===== */
.section-pad { padding: 70px 0; }
.bg-light { background: var(--light-bg); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.badge { background: var(--gold); color: var(--white); padding: 4px 12px; border-radius: 30px; font-size: 12px; font-weight: 700; font-family: 'Montserrat', sans-serif; display: inline-block; }
