/* =============================================
   INFINITECH PYTHON INSTITUTE — style.css
   Color Palette:
     Primary Orange : #E8821A
     Golden Yellow  : #F5B942
     Dark Charcoal  : #1E1208
     Warm Cream     : #FAF7F2
   ============================================= */

/* ---------- Google Font + Reset ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --primary   : #E8821A;
  --primary-d : #c96b0e;
  --accent    : #F5B942;
  --dark      : #1E1208;
  --dark-2    : #2d1e0d;
  --cream     : #FAF7F2;
  --cream-2   : #F3EDE3;
  --muted     : #7A6652;
  --border    : #E5D9C8;
  --white     : #ffffff;
  --radius    : 12px;
  --shadow-sm : 0 2px 8px rgba(232,130,26,.10);
  --shadow    : 0 6px 20px rgba(232,130,26,.14);
  --shadow-lg : 0 12px 40px rgba(232,130,26,.16);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--dark); line-height: 1.6; }
img  { max-width: 100%; }
a    { text-decoration: none; color: inherit; }

/* ---------- Utilities ---------- */
.section-title      { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--dark); line-height: 1.2; }
.section-title span { color: var(--primary); }
.section-subtitle   { color: var(--muted); font-size: 1.05rem; margin-top: .5rem; }
.section-label      { display: inline-block; background: rgba(232,130,26,.12); color: var(--primary); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 100px; margin-bottom: 1rem; }
.btn-primary-custom {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: #fff;
  padding: .75rem 1.8rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn-primary-custom:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.btn-outline-custom {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--dark);
  padding: .75rem 1.8rem; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem;
  border: 2px solid var(--border); cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline-custom:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* =============================================
   NAVBAR
   ============================================= */
#mainNav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: .75rem 0;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
 
}
#mainNav.scrolled {
  background: rgba(250,247,242,.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
#mainNav .navbar-brand img { height: 52px; width: auto; }
#mainNav .nav-link {
  font-size: .92rem; font-weight: 500; color: var(--dark) !important;
  padding: .6rem .8rem !important; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
#mainNav .nav-link:hover { color: var(--primary) !important; background: rgba(232,130,26,.07); }
#mainNav .nav-link.active { color: var(--primary) !important; }
.navbar-toggler { border: none; outline: none; box-shadow: none !important; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E8821A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* =============================================
   HERO
   ============================================= */
#home {
  min-height: 100vh;
  background: linear-gradient(135deg, #FAF7F2 0%, #F5E9D8 55%, #FAF7F2 100%);
  display: flex; align-items: center;
  padding-top: 90px; overflow: hidden; position: relative;
}
#home::before {
  content: '';
  position: absolute; top: -180px; right: -180px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,185,66,.22) 0%, transparent 70%);
  pointer-events: none;
}
#home::after {
  content: '';
  position: absolute; bottom: -120px; left: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,130,26,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(232,130,26,.10); border: 1px solid rgba(232,130,26,.25);
  color: var(--primary); padding: .35rem .9rem; border-radius: 100px;
  font-size: .8rem; font-weight: 600; margin-bottom: 1.4rem;
}
.hero-heading { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 800; line-height: 1.1; color: var(--dark); }
.hero-heading span { color: var(--primary);font-size: 70px; }
.hero-sub { font-size: 1.08rem; color: var(--muted); margin: 1.2rem 0 2rem; max-width: 500px; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.hero-stat span { font-size: .82rem; color: var(--muted); font-weight: 500; }

.gradient-shine {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(
        90deg,
        #ff8c00,
        #ff4d4d,
        #ff00cc,
        #7b2cff,
        #00aaff
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}
.gradient-shine{
    letter-spacing: 1px;
    filter: drop-shadow(0 2px 8px rgba(255,140,0,0.4));
}




.give{font-size: 30px; font-weight: 900;}
.custom{
  /* border: 1px solid #000; */
  border-radius: 20px;
  padding: 15px 100px;

  background-color: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  align-items: center;
  gap: .5rem;
}
.custom:hover{background-color: var(--primary-d);}
/* Code window mock */
.code-window {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  animation: floatUpDown 4s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.code-window-bar {
  background: var(--cream-2);
  padding: .7rem 1rem;
  display: flex; align-items: center; gap: .45rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.code-body { padding: 1.5rem; font-family: 'Courier New', monospace; font-size: .88rem; line-height: 1.8; }
.code-comment { color: #999; }
.code-kw  { color: var(--primary); font-weight: 600; }
.code-fn  { color: #c678dd; }
.code-str { color: #98c379; }
.code-num { color: var(--accent); }

/* =============================================
   ABOUT
   ============================================= */
#about { padding: 100px 0; background: var(--white); }


.about h2{font-weight: 700 !important;}
.about-img{border-radius:14px;box-shadow:var( --shadow-sm);width:80%;height: 450px; margin: auto;margin-left: 35px;}
.about ul{list-style:none;padding:0}
.about ul li{padding:.5rem 0 .5rem 1.8rem;position:relative}
.about ul li::before{content:"\2713";position:absolute;left:0;color:#fff;background:var(--primary);width:1.2rem;height:1.2rem;border-radius:50%;font-size:.75rem;display:flex;align-items:center;justify-content:center;top:.7rem}
.about p{font-size: 15px; color: var(--muted);}



/* =============================================
   COURSE
   ============================================= */
#course { padding: 100px 0; background: var(--cream); }
.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(232,130,26,.35);
}
.course-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(232,130,26,.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.course-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--dark); }
.course-card p  { font-size: .85rem; color: var(--muted); margin: 0; }

/* =============================================
   REVIEWS
   ============================================= */
#reviews { padding-top: 100px; background: var(--white); }
.review-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  height: 100%;
}
.review-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin: 0 auto 1rem;
  display: block;
}
.review-name   { font-weight: 700; font-size: 1rem; color: var(--dark); }
.review-course { font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.stars { color: var(--accent); font-size: 1rem; margin-bottom: .8rem; }
.review-text { font-size: .9rem; color: var(--muted); line-height: 1.6; font-style: italic; }
.review-text::before { content: '\201C'; color: var(--primary); font-size: 2rem; line-height: 0; vertical-align: -0.5rem; margin-right: .2rem; }
.review-text::after  { content: '\201D'; color: var(--primary); font-size: 2rem; line-height: 0; vertical-align: -0.5rem; margin-left: .2rem; }

/* =============================================
   PLACEMENTS
   ============================================= */
#placements { padding: 100px 0; background: var(--cream); }
.placement-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.8rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.placement-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.placement-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin: 0 auto .9rem; display: block;
}
.placement-name    { font-weight: 700; font-size: 1rem; color: var(--dark); }
.placement-company { font-size: .85rem; color: var(--primary); font-weight: 600; margin: .2rem 0; }
.placement-package {
  display: inline-block;
  background: rgba(245,185,66,.18); color: var(--dark-2);
  padding: .25rem .8rem; border-radius: 100px;
  font-size: .82rem; font-weight: 700; margin-top: .4rem;
}

/* Carousel custom */
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.carousel-track-wrap { overflow: hidden; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform .4s ease; }
.carousel-track .slide { min-width: 280px; flex: 0 0 280px; }

/* =============================================
   CONTACT
   ============================================= */
#contact { padding: 100px 0; background: var(--white); }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.8rem; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(232,130,26,.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-icon-label { font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: .15rem; }
.contact-icon-val   { color: var(--muted); font-size: .92rem; }
.social-circle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--border) !important;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.social-circle:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Map */
.map-wrap{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);height: 200px;}
.map-wrap iframe{width:100%;border:0;display:block;height: 200px;}

/* Form */
.form-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-control-custom {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--dark);
  font-family: 'Inter', sans-serif; font-size: .95rem;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control-custom:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,130,26,.15); }
.form-control-custom::placeholder { color: var(--muted); }
.form-label-custom { display: block; font-weight: 600; font-size: .88rem; color: var(--dark); margin-bottom: .4rem; }
.form-error { color: #e53e3e; font-size: .8rem; margin-top: .3rem; display: none; }
.form-error.show { display: block; }
.shake { animation: shake .45s ease-in-out; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-8px); }
  40%,80% { transform: translateX(8px); }
}
.success-msg {
  display: none; background: #d4edda; border: 1px solid #c3e6cb;
  color: #155724; padding: 1rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; margin-top: 1rem;
}
.success-msg.show { display: block; }
/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark); color: rgba(255,255,255,.75);
  padding: 20px 40px;
  text-align: center;
}
.footer-bottom{
  text-align: center;
}
.footer-bottom .social-circle{
  border: none !important;
}

/* =============================================
   SCROLL-TO-TOP
   ============================================= */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
#scrollTop.show { opacity: 1; pointer-events: auto; }
#scrollTop:hover { transform: scale(1.1); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
  #home { padding-top: 100px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .code-window { max-width: 400px; margin: 2.5rem auto 0; }
  .about-img-wrap { max-width: 500px; margin: 0 auto 2.5rem; }
  .nav-link {
    color: #0A1628 !important;
    border-bottom: 1px solid #f3f4f6;
    padding: 0.65rem 0;
  }
  #navCollapse{
    background-color: rgba(250,247,242,.92);
  }
  .about-img{
    height: 400px;
  }
  .hero-heading span{
    font-size: 35px !important;
  }
  .give{font-size: 1.08rem;font-weight: 700;margin-top: 10px;}
}
@media (max-width: 575px) {
  .form-card { padding: 1.5rem; }
  .hero-heading { font-size: 2rem; }
  .carousel-track .slide { min-width: 260px; flex-basis: 260px; }
}
