* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
}


/* =========================
   NAVBAR
========================= */

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 10px 0;
}

.navbar .container {
  width: 90%;
  height: 50px;
  /* margin: auto; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* position: relative; */
  
}

.logo {
  height: 50px;
  border-radius: 6px;
  position: absolute;
  left: 70px;
}

.code {
  color: #f97316;
  position: absolute;
  left: 150px;
  font-size: 1.5rem;
}

.sank {
  color: #6b21a8;
  position: absolute;
  left: 240px;
  font-size: 1.5rem;
}

/* Nav Links Desktop */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  position: absolute;
  right: 70px;
  top: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f97316;
}

/* ===== Hamburger Menu (Hidden on Desktop) ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #6b21a8;
  user-select: none;
}

/* ===== Responsive ===== */




/* =========================
   HERO
========================= */

.hero {
    padding: 70px 0;
    background: linear-gradient(90deg, #f97316, #6b21a8);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 45px;
    align-items: center;
}


/* BADGE */

.course-badge {
    display: inline-block;
    color: #7b2cbf;
    background: #fff;
    border: 1px solid #f1d8ff;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
}


/* HERO TEXT */

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    color: #f0eae7;
    margin-bottom: 18px;
}

.hero h1 span {
    display: block;
    color: #7b2cbf;
}

.hero-content > p {
    max-width: 650px;
    font-size: 15px;
    color: #fdf9f9;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 9px 19px;

    border-radius: 7px;
    border: none;

    font-size: 13px;
    font-weight: bold;

    transition: 0.3s;
}

.btn-primary {
    color: #fff;

    background: linear-gradient(
        100deg,
        #ff6a00,
        #6d239f
    );

    box-shadow: 0 6px 12px rgba(109, 35, 159, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);

    background: linear-gradient(
        100deg,
        #f45b00,
        #5c168c
    );
}

.btn-outline {
    color: #6d239f;
    border: 1px solid #6d239f;
    background: #fff;
}

.btn-outline:hover {
    color: white;
    background: #6d239f;
}


/* HERO INFO */

.hero-info {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}

.hero-info div {
    display: flex;
    flex-direction: column;
}

.hero-info strong {
    font-size: 13px;
    color :#fcfafa
}

.hero-info small {
    color: #fcfafa;
    font-size: 11px;
}


/* =========================
   COURSE CARD
========================= */

.course-card {
    background: #fff;

    padding: 30px 25px;

    border-radius: 15px;

    border-top: 3px solid #ff6a00;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.web-icon {
    width: 75px;
    height: 75px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff3e9;

    font-size: 38px;
}

.course-card h2 {
    margin-top: 14px;

    color: #7b2cbf;

    font-size: 21px;
}

.course-card > p {
    color: #777;
    font-size: 13px;
}


/* COURSE DETAILS */

.course-details {
    display: flex;

    justify-content: center;

    gap: 30px;

    padding: 12px 0;

    margin: 15px 0;

    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.course-details div {
    display: flex;
    flex-direction: column;
}

.course-details strong {
    color: #7b2cbf;
    font-size: 12px;
}

.course-details span {
    color: #777;
    font-size: 11px;
}


/* PRICE */

.price-box {
    margin: 15px 0;

    text-align: left;
}

.price-box > div {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 7px 0;
}

.price-box span {
    font-size: 13px;
    font-weight: bold;
}

.price-box del {
    color: #777;
    font-size: 16px;
}

.price-box strong {
    color: #7b2cbf;
    font-size: 29px;
}

.offer-text {
    color: #ff641c;

    font-weight: bold;

    font-size: 11px;
}

.full-btn {
    width: 100%;
    margin-top: 15px;
}




/* =========================
   SECTIONS
========================= */

.section {
    padding: 70px 0;
    background: #fff;
}

.section.gray {
    background: #fff8f3;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-heading > span,
.project-section > .container > div > span,
.pricing-card span {
    color: #f26522;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.section-heading h2 {
    color: #7b2cbf;
    font-size: 32px;
    margin: 7px 0;
}

.section-heading p {
    color: #666;
    font-size: 14px;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    color: #7b2cbf;
    font-size: 28px;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}


/* MENTOR */

.mentor-card {
    display: flex;
    align-items: center;
    gap: 18px;

    background: #fff;

    padding: 22px;

    border-radius: 15px;

    border-top: 3px solid #ff6a00;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.mentor-image img {
    width: 85px;
    height: 85px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #fff0e7;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 40px;
}

.mentor-title {
    color: #ff6a00;
    font-size: 11px;
    font-weight: bold;
}

.mentor-card h3 {
    color: #7b2cbf;
    margin: 3px 0;
}

.mentor-card p {
    color: #777;
    font-size: 12px;
}


/* =========================
   AUDIENCE
========================= */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.audience-card {
    background: #fff;

    padding: 20px;

    border-radius: 14px;

    border-top: 3px solid #ff6a00;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.06);

    transition: 0.3s;
}

.audience-card:hover {
    transform: translateY(-4px);
}

.audience-card div {
    font-size: 27px;
    margin-bottom: 8px;
}

.audience-card p {
    color: #333;
    font-size: 13px;
}


/* =========================
   LEARNING
========================= */

.learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.learning-card {
    display: flex;
    align-items: center;
    gap: 15px;

    background: #fff;

    padding: 17px 20px;

    border-radius: 12px;

    border: 1px solid #eee;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.04);

    transition: 0.3s;
}

.learning-card:hover {
    border-color: #dca8ff;
    transform: translateY(-2px);
}

.learning-card > b {
    color: #ff641c;
    font-size: 13px;
}

.learning-card h3 {
    color: #7b2cbf;
    font-size: 15px;
}

.learning-card p {
    color: #777;
    font-size: 12px;
}


/* =========================
   BENEFITS
========================= */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit-card {
    background: #fff;

    padding: 25px;

    text-align: center;

    border-radius: 14px;

    border-top: 3px solid #7b2cbf;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.06);
}

.benefit-card span {
    font-size: 30px;
}

.benefit-card h3 {
    color: #7b2cbf;
    font-size: 14px;
    margin-top: 8px;
}


/* =========================
   MINI PROJECT
========================= */

.project-section {
    padding: 75px 0;

    background: #2c1835;

    color: #fff;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.project-section h2 {
    font-size: 40px;
    line-height: 1.15;
    margin: 10px 0 15px;
}

.project-section h2 strong {
    display: block;
    color: #ff7b22;
}

.project-section p {
    color: #ddd;
    font-size: 14px;
}

.project-section ul {
    list-style: none;
    margin-top: 20px;
}

.project-section li {
    margin: 8px 0;
    color: #fff;
}


/* CODE WINDOW */

.code-window {
    background: #151019;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.3);
}

.window-header {
    padding: 10px 15px;

    background: #211925;

    color: #ff7b22;

    font-size: 12px;
}

.code-window pre {
    padding: 20px;

    overflow-x: auto;
}

.code-window code {
    color: #eee;
    font-size: 12px;
    line-height: 1.8;
}


/* =========================
   PRICING
========================= */

.pricing-section {
    padding: 70px 0;
    background: #fff8f3;
}

.pricing-card {
    background: #fff;

    padding: 35px 40px;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    border-top: 3px solid #ff6a00;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.07);
}

.pricing-card h2 {
    color: #7b2cbf;
    font-size: 28px;
    margin: 8px 0;
}

.pricing-card p {
    color: #666;
    font-size: 14px;
}

.pricing {
    text-align: center;
    min-width: 200px;
}

.pricing .old-price {
    text-decoration: line-through;
    color: #888;
}

.pricing .currency {
    font-size: 25px;
}
.pricing .amount {
    font-size: 25px;    
}

.pricing .btn {
    margin-top: 10px;
}

.apply-btns {
  display: inline-block;
  background: linear-gradient(90deg, #f97316, #6b21a8);
  color: #fff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  margin-left: 8%;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}


/* ===== FOOTER SECTION ===== */
.footer {
  background: linear-gradient(90deg, #f97316, #6b21a8);
  color: #fff;
  padding: 60px 10% 30px;

}

/* Footer Container Grid */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

/* Individual Footer Box */
.footer-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #fff;
  border-left: 4px solid #fff;
  padding-left: 10px;
}

.footer-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color:#fff;
  text-decoration: none;

}
.footer-box p a {
  color: #fff;
  text-decoration: none;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #f0e6ff;
  transition: all 0.3s ease;
}

.footer-box ul li a:hover {
  color: #ffe6d1;
  padding-left: 6px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 5px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  transition: transform 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.15);
  background: #f97316;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 40px;
  padding-top: 15px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #f0e6ff;
  letter-spacing: 0.3px;
}

/* ===== Responsive Design ===== */

/* =========================================================
   NEW RESPONSIVE SYSTEM
   Mobile-first behavior overrides old fixed positioning.
========================================================= */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- NAVBAR ---------- */
.navbar .container {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.logo {
  position: static;
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
}

.code,
.sank {
  position: static;
  margin: 0;
  line-height: 1;
}

.code {
  margin-left: 10px;
}

.sank {
  margin-left: 6px;
}

.nav-menu {
  margin-left: auto;
}

.nav-links {
  position: static;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  color: #6b21a8;
  cursor: pointer;
  padding: 5px;
}

/* ---------- GENERAL ---------- */
.container {
  width: min(92%, 1100px);
}

.hero,
.section,
.project-section,
.pricing-section {
  overflow: hidden;
}

/* ---------- TABLET ---------- */
@media (max-width: 900px) {
  .container {
    width: min(92%, 760px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 1100;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 13px 15px;
    border-radius: 9px;
    text-align: center;
  }

  .nav-links a:hover {
    background: #fff3e9;
  }

  .hero {
    padding: 55px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-info {
    justify-content: center;
  }

  .course-card {
    width: min(100%, 500px);
    margin: 0 auto;
  }

  .about-grid,
  .project-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-content {
    text-align: center;
  }

  .mentor-card {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learning-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-content {
    text-align: center;
  }

  .project-section ul {
    display: inline-block;
    text-align: left;
  }

  .code-window {
    width: 100%;
  }

  .pricing-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 28px;
  }

  .pricing-card p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing {
    width: 100%;
  }

  .apply-btns {
    margin-left: 0;
  }

  .footer {
    padding: 50px 5% 25px;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
  .container {
    width: min(92%, 500px);
  }

  .navbar {
    padding: 8px 0;
  }

  .navbar .container {
    min-height: 46px;
  }

  .logo {
    width: 42px;
    height: 42px;
  }

  .code,
  .sank {
    font-size: 1.2rem;
  }

  .menu-toggle {
    font-size: 28px;
  }

  .hero {
    padding: 42px 0;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.12;
  }

  .hero-content > p {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .hero-info strong {
    font-size: 11px;
  }

  .hero-info small {
    font-size: 9px;
  }

  .course-card {
    padding: 25px 18px;
  }

  .course-card h2 {
    font-size: 20px;
    line-height: 1.35;
  }

  .section,
  .pricing-section {
    padding: 50px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 27px;
    line-height: 1.25;
  }

  .section-heading p {
    line-height: 1.6;
  }

  .about-content h2 {
    font-size: 25px;
  }

  .mentor-card {
    flex-direction: column;
    text-align: center;
    padding: 22px 16px;
  }

  .audience-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .learning-card {
    padding: 16px;
    gap: 11px;
  }

  .learning-card h3 {
    font-size: 14px;
    line-height: 1.4;
  }

  .learning-card p {
    line-height: 1.5;
  }

  .project-section {
    padding: 55px 0;
  }

  .project-section h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .project-section p {
    line-height: 1.7;
  }

  .project-section ul {
    margin-top: 18px;
  }

  .code-window pre {
    padding: 15px;
  }

  .code-window code {
    font-size: 10px;
    line-height: 1.65;
  }

  .pricing-card {
    padding: 28px 18px;
    gap: 25px;
  }

  .pricing-card h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .pricing-card p {
    font-size: 13px;
    line-height: 1.7;
  }

  .pricing .amount {
    font-size: 32px;
  }

  .apply-btns {
    display: block;
    width: 100%;
    margin: 12px 0 0;
    padding: 11px 18px;
  }

  .footer {
    padding: 45px 6% 22px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-box {
    text-align: center;
  }

  .footer-box h3 {
    display: inline-block;
    text-align: left;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 28px;
  }

  .footer-bottom p {
    font-size: 11px;
    line-height: 1.6;
  }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 380px) {
  .code,
  .sank {
    font-size: 1.05rem;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .hero-info {
    gap: 6px;
  }

  .hero-info strong {
    font-size: 10px;
  }

  .hero-info small {
    font-size: 8px;
  }
}
