/* SBS Skill Master - Master CSS (Red, Green & White Theme) */
:root {
  /* Brand Theme Colors */
  --primary: #dc2626;          /* Red */
  --primary-dark: #b91c1c;     /* Deep Red */
  --primary-light: #fee2e2;    /* Light Red Soft */
  --accent: #16a34a;           /* Green */
  --accent-hover: #15803d;     /* Deep Green */
  --accent-soft: #dcfce7;      /* Light Green Soft */
  --secondary-accent: #0f172a; 

  /* Legacy Layout Framework Colors */
  --navy: #1e293b;
  --orange: #dc2626;
  --ink: #0f172a;
  --body-color: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --card: #ffffff;

  /* Elevation & Borders */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.65;
}
a { text-decoration: none; color: inherit; }
.container { width: min(1160px, 92%); margin: auto; }

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { color: var(--muted); }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 280px;
  height: 50px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  border-radius: 6px;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.main-nav .nav-cta {
  color: #fff !important;
  background: var(--primary) !important;
  border-radius: 10px;
  padding: 11px 18px;
  margin-left: 8px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
  transition: var(--transition);
}
.main-nav .nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.25);
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

/* Hero Section (Home & Pages) */
.hero {
  background: linear-gradient(125deg, #0f172a 0%, #1e293b 60%, #15803d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  right: -160px;
  top: -140px;
  background: rgba(220, 38, 38, 0.15);
}
.hero-grid {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 45px;
  padding: 65px 0;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #86efac;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.hero h1 { max-width: 720px; color: #ffffff; }
.hero h1 span { color: #f87171; }
.hero p { color: #e2e8f0; font-size: 18px; max-width: 650px; }

.page-hero {
  background: linear-gradient(120deg, #0f172a, #991b1b);
  color: #fff;
  padding: 65px 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #f1f5f9; max-width: 760px; font-size: 17px; }
.breadcrumbs { font-size: 13px; color: #cbd5e1; margin-bottom: 14px; }

/* Buttons & Interactive Elements */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.28);
}
.btn-accent:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }

/* Home & Internship Page Grid Components */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16);
}
.hero-card img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.hero-badge {
  margin: -45px 18px 4px;
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 17px;
  box-shadow: var(--shadow);
}
.hero-badge strong { display: block; }
.hero-badge span { font-size: 13px; color: var(--muted); }

.trust { padding: 22px 0; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-item { text-align: center; font-size: 14px; font-weight: 700; color: #46536b; }

.section { padding: 80px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 750px; margin: 0 auto 40px; }
.section-head p { font-size: 16px; }

/* Cards & Courses */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card img { width: 100%; height: 220px; object-fit: cover; }
.course-body { padding: 28px; }
.tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.tag.green { background: var(--accent-soft); color: var(--accent); }
.course-body ul { padding-left: 19px; color: var(--muted); }
.course-body li { margin: 7px 0; }
.link-arrow { color: var(--primary); font-weight: 800; }
.link-arrow:hover { color: var(--accent); }

/* Features & Split Rows */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: var(--transition);
}
.feature:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 16px;
  font-size: 20px;
}
.icon.green { background: var(--accent-soft); color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; }
.image-panel img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 22px;
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  margin: 12px 0;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checklist li:before,
.checklist li i {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

/* Internship Specific Layout Elements */
.internship-steps, .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card, .intern-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
}
.step-card.green, .intern-box.green { border-top-color: var(--accent); }

.cta-band {
  background: linear-gradient(110deg, #0f172a, #991b1b);
  color: #fff;
  border-radius: 26px;
  padding: 48px;
}
.cta-band p { color: #e2e8f0; }
.cta-band .actions { margin-top: 18px; }

/* Contact Form Grid */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: 14px; }
.form-group input, .form-group select, .form-group textarea {
  font: inherit;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  outline: none;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; }
.contact-card { background: var(--bg); padding: 30px; border-radius: 22px; }

/* Footer */
.site-footer { background: #0b1320; color: #cbd5e1; padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand img { width: 240px; height: auto; object-fit: contain; margin-bottom: 16px; display: block; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer a { display: block; margin: 8px 0; color: #94a3b8; font-size: 14px; transition: var(--transition); }
.site-footer a:hover { color: #ffffff; }
.site-footer p { font-size: 14px; color: #94a3b8; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 13px;
  color: #64748b;
}
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { display: inline; margin: 0; color: #64748b; }
.footer-legal-links a:hover { color: #cbd5e1; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: #16a34a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.05); }

/* Responsive Queries */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 5%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid, .split, .contact-layout, .cards, .features, .grid-3, .internship-steps, .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card { max-width: 580px; margin: auto; }
}
@media (max-width: 600px) {
  .hero-grid { padding: 45px 0; }
  .hero-card img { height: 260px; }
  .form-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}
/* --- Course Curriculum Grid Fix (Data Analytics & Digital Marketing) --- */
.module-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
  gap: 26px !important;
  align-items: stretch !important;
  margin-top: 24px;
}

.module-card {
  background: #ffffff !important;
  border: 1px solid var(--line, #e2e8f0) !important;
  border-radius: var(--radius, 16px) !important;
  padding: 28px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  border-top: 4px solid var(--primary, #dc2626) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.module-card.green-top {
  border-top-color: var(--accent, #16a34a) !important;
}

.module-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09) !important;
}

.module-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}

.module-card-header h3 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ink, #0f172a) !important;
}

.module-card p {
  font-size: 14px !important;
  color: var(--muted, #64748b) !important;
  margin-bottom: 14px !important;
}

.module-card .checklist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-top: auto !important; /* Content evenly align karega */
}

.module-card .checklist li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin: 8px 0 !important;
  font-size: 14px !important;
  color: var(--body-color, #334155) !important;
  line-height: 1.5 !important;
}

.module-card .checklist li i {
  color: var(--accent, #16a34a) !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

/* Card Icons */
.card-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 10px !important;
  background: var(--primary-light, #fee2e2) !important;
  color: var(--primary, #dc2626) !important;
  display: grid !important;
  place-items: center !important;
  font-size: 20px !important;
}

.card-icon.green {
  background: var(--accent-soft, #dcfce7) !important;
  color: var(--accent, #16a34a) !important;
}

@media (max-width: 768px) {
  .module-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}
/* Home Page "Not Just a Certificate" Section Image Adjustment */
.split .image-panel {
  height: 100%;
  display: flex;
}

.split .image-panel img {
  width: 100%;
  height: 100%;
  min-height: 560px; /* Text ke barabar lambi vertical height */
  max-height: 640px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .split .image-panel img {
    min-height: 320px;
    height: 340px;
  }
}
/* Enroll navigation button */
.main-nav .nav-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  margin-left: 8px;
  border-radius: 10px;
  background: #15803d;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  animation: enroll-blink 1.6s ease-in-out infinite;
}
@keyframes enroll-blink {
  0%, 100% { background: #15803d; box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.35); }
  50% { background: #166534; box-shadow: 0 0 0 6px rgba(21, 128, 61, 0); }
}
.main-nav .nav-enroll:hover,
.main-nav .nav-enroll:focus-visible {
  animation: none;
  background: #166534;
  color: #fff;
}
.main-nav .nav-enroll:focus-visible {
  outline: 3px solid #15803d;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .main-nav .nav-enroll { animation: none; }
}
/* Allow space for both navigation buttons on smaller screens. */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 5%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .main-nav .nav-enroll { margin-left: 0; }
}
