html {
    scroll-behavior: smooth;
}
RESET
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}


.hero-section {
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.hero {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* caption container (center) */
.caption-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    /* so buttons stay clickable */
    width: min(90%, 900px);
    padding: 18px 26px;
    border-radius: 14px;
    backdrop-filter: blur(6px) saturate(120%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.caption {
    color: #ff5d00;
    font-size: clamp(18px, 2.6vw, 34px);
    line-height: 1.1;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.2px;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(14px) scale(0.99);
}

/* small subline */
.subline {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
}

/* animate caption */
.caption-animate {
    animation: slideUpFade 600ms cubic-bezier(.2, .9, .2, 1) both;
}

.subline-animate {
    animation: slideUpFade 700ms cubic-bezier(.2, .9, .2, 1) both;
    animation-delay: 80ms;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

/* nav buttons */
.hero-section .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.28);
    border: none;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 200ms ease;
    z-index: 20;
    pointer-events: auto;
}

.hero-section .btn:hover {
    background: rgba(255, 255, 255, 1);
}

.btn1 {
    left: 24px;
}

.btn2 {
    right: 24px;
}

.hero-section .btn i {
    font-size: 18px;
    color: #111;
    transition: 150ms;
}

.hero-section .btn:hover i {
    color: #000;
}

/* smaller screen tweaks */
@media (max-width: 520px) {
    .caption-wrap {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .hero-section .btn {
        height: 44px;
        width: 44px;
    }
}

/* TOP BAR */

.top-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 20px;
    background: #fafafa;
}

.top-bar a {
    color: #ff5d00;
    text-decoration: none;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* LEFT SIDE */
.contact-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-box img {
    width: 32px;
}

.text-block .label,
.text-block .value {
    font-size: 14px;
    line-height: 16px;
}

.icon-box {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon1 {
    width: 30px;
    height: auto;
}

/* TALK WITH US TEXT BOX */
.text-box {
    display: flex;
    flex-direction: column;
    line-height: 16px;
}

.text-block {
    display: flex;
    flex-direction: column;
    line-height: 16px;
}

.label {
    font-size: 13px;
    color: #444;
}

.value {
    font-size: 15px;
    color: #ff6a00;
    font-weight: 600;
    text-decoration: none;
}



/* Right side links */
.right-links {
    font-size: 15px;
    font-weight: 600;
    color: #ff6a00;
    margin-left: 350px;
}

@media (max-width: 768px) {

    /* ICONS ek line me */
    .top-contact {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 25px;
        width: 100%;
    }

    /* Text hide on mobile */
    .text-block {
        display: none;
    }

    /* Icons size adjust */
    .contact-box img {
        width: 40px;
    }
}

/* ---------------------- */
/* NAVBAR */
/* ---------------------- */

.navbar {
    width: 100%;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo img {
    width: 110px;

}

nav {
    padding: 6px 40px;
}

.logo img {
    height: 70px;
}

nav ul {
    gap: 15px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #0d1b3d;
    font-size: 16px;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #ff5d00;
}

.hamburger {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

/* ---------------------- */
/* RESPONSIVE NAV */
/* ---------------------- */
@media(max-width:900px) {

    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-left {
        justify-content: center;
    }

    .navbar {
        padding: 5px 40px;
    }

    .nav-links {
        position: absolute;
        top: 110px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
        gap: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        display: none;
    }

    .nav-links.active {
        display: flex;
        z-index: 99;
    }

    .hamburger {
        display: block;
    }
}



body {
    background: #fff;
    text-align: center;
}

h1 {
    margin-top: 40px;
    font-size: 32px;
}

/* CARDS SECTION */
.trusted-card {
    position: relative;
    top: -128px;
    background-color: #fff;
    width: 84%;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
        rgba(0, 0, 0, 0.12) 0px -12px 30px,
        rgba(0, 0, 0, 0.12) 0px 4px 6px,
        rgba(0, 0, 0, 0.17) 0px 12px 13px,
        rgba(0, 0, 0, 0.09) 0px -3px 5px;

    /* GRID added here */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card style */
.cards {
    width: 100%;
    height: 210px;
    background: #FFF4E6;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: 0.3s;
}

.c1 {
    background: #FFDDBE;
}

.c2 {
    background: #FFD2D2;
}

.c3 {
    background: #CCE9FF;
}

.c4 {
    background: #E1D6FF;
}


.cards h2 {
    font-size: 28px;
}

.cards p {
    font-size: 14px;
    color: #444;
    margin-top: 5px;
}

.icon {
    position: absolute;
    bottom: 15px;
    width: 60px;
    opacity: 0;
    transform: scale(.5);
    transition: .3s;
}

.cards:hover .icon {
    opacity: 1;
    transform: scale(1);
}

.cards:hover {
    transform: translateY(-6px);
}

/* ------------ ABOUT SECTION ------------ */

.section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 8%;
    flex-wrap: wrap;
    gap: 55px;
}

.left {
    width: 48%;
    min-width: 300px;
    position: relative;
}

/* Dots Position - Rocket ke according */
.dots-left,
.dots-right {
    position: absolute;
    opacity: 0.99;
    width: 140px;
    pointer-events: none;
    z-index: -1;
}

.dots-left {
    top: -75px;
    left: -140px;
    height: 350px;
    width: 350px;
}

.dots-right {
    bottom: -95px;
    right: -85px;
    height: 300px;
    width: 300px;
}

.rocket {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.about-us .left {
    position: relative;
}

.video-box {
    position: absolute;
    top: -15px;
    left: 90%;
    transform: translateX(-50%);
    width: 210px;
    background: #fff;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    z-index: 10;
}

.video-box img {
    width: 100%;
    border-radius: 12px;
    display: block;
    height: 120px;
}




.enroll-card {
    background: white;
    position: absolute;
    bottom: -25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.enroll-card img {
    width: 40px;
}

.right {
    width: 35%;
    min-width: 350px;
    text-align: left;

}

.right h2 {
    font-size: 15px;
    color: #777;
}

.right h1 {
    font-size: 32px;
    line-height: 40px;

}

.highlight {
    color: #ff5d00;
    border-bottom: 4px solid #ff5d00;
}

.right p {
    margin-top: 15px;
    color: #444;
    width: 95%;
}

.checklist {
    margin-top: 20px;
    font-size: 18px;
    line-height: 35px;
}

.tick {
    color: #00e38b;
}

@media(max-width:900px) {
    .section {
        text-align: center;
    }

    .right {
        text-align: center;
    }

    .enroll-card {
        left: 50%;
        transform: translateX(-50%);
    }

    .video-box {
        right: 0;
    }
}

@media(max-width:425px) {

    .top-bar {
        flex-direction: row;
        text-align: center;
        gap: 10px;
    }

    .right-links {
        margin-left: 0px;
    }
}


.faculties {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 10%;
}

.faculties-content {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.text-section {
    flex: 1 1 45%;
}

.text-section h1 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.text-section .highlight {
    color: #ff5d00;
}

.subtext {
    margin-top: 15px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.cta-btn {
    margin-top: 25px;
    background: #ff5d00;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #cc662aab;
}

.image-section {
    flex: 1 1 45%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.image-section img {
    width: 200px;
    border-radius: 50%;
    border: 4px solid #ddd;
}

.bubble {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.teacher-bubble {
    top: 4%;
    left: -43%;
    width: 250px;
}

.student-bubble {
    top: 0;
    right: -23%;
    width: 150px;
}
/* ================= COURSES (BOOTSTRAP SAFE) ================= */
.custom-courses{
  width:100%;
  background:white;
  padding:40px 12px;
  display:flex;
  justify-content:center;
}

/* isolate from bootstrap */
.custom-courses *{
  box-sizing:border-box;
  font-family:"Poppins",sans-serif;
}

.custom-courses ul{
  list-style:none;
  padding:0;
  margin:0;
}

.custom-courses img{
  max-width:unset;
  display:block;
}

.custom-courses button{
  all:unset;
  cursor:pointer;
}

/* wrapper */
.courses-wrapper{
  width:100%;
  max-width:1200px;
}

.courses-wrapper h2{
  font-size:32px;
  font-weight:700;
  margin-bottom:32px;
  color:#222;
  text-align: center;
}

.courses-wrapper h2 span{
  color:#ff6b00;
}

/* grid */
.course-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

/* card */
.course-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:28px;
  border-radius:22px;
  position:relative;
  overflow:hidden;
  transition:.35s ease;
  box-shadow: -1px 7px 5px rgba(0, 0, 0, .18);;
}

.course-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 38px rgba(0,0,0,.18);
}

.course-card:last-child{
  grid-column:1 / -1;
}

/* left */
.course-left{flex:1}

.course-level{
  font-size:12px;
  text-transform:uppercase;
  color:#555;
  margin-bottom:6px;
}

.course-title{
  font-size:23px;
  font-weight:700;
  color:#222;
  margin-bottom:14px;
}

/* list */
.course-desc li{
  font-size:14px;
  color:#333;
  margin-bottom:7px;
  padding-left:18px;
  position:relative;
}

.course-desc li::before{
  content:"✔";
  position:absolute;
  left:0;
  color:#ff6b00;
}

.two-column-list{
  column-count:2;
  column-gap:26px;
}

/* button */
.course-btn{
  padding:10px 24px;
  background:linear-gradient(135deg,#ffb000,#ff8c00);
  color:#fff;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  display:inline-block;
  transition:.3s;
}

.course-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.2);
}

/* right image */
.course-right{
  flex:0 0 320px;
  display:flex;
  justify-content:center;
}

.course-img img{
  width:100%;
  max-height:300px;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

/* backgrounds */
.card-language{background:linear-gradient(120deg,#ffe7b5,#ffd18c)}
.card-iit{background:linear-gradient(120deg,#ffd3b5,#ffb28d)}
.card-coding{background:linear-gradient(120deg,#cbffe3,#90f0c5)}
.card-curricular{background:linear-gradient(120deg,#d7ddff,#b7c6ff)}


.rounded-circle {
    border-radius: 50% !important;
    height: 100px;
    width: 120px;
}
/* responsive */
@media(max-width:1024px){
  .course-list{grid-template-columns:1fr}
  .course-card:last-child{grid-column:auto}
}

@media(max-width:768px){
  .course-card{flex-direction:column}
  .course-title{font-size:19px}
  .two-column-list{column-count:1}
}

@media(max-width:480px){
  .course-btn{width:100%; text-align:center}
}




/* Background image */
.contact-section {
    width: 100%;
    padding: 70px 0;
    background: url('assets/pexels-pixabay-207456.jpg') center/cover no-repeat;
    position: relative;
}

/* Dark overlay for readability */
.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}

.contact-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
    padding: 20px;
 border-radius: 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 25px rgba(0,0,0,0.35);
}

/* Google Map */
.map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}

/* Glass Contact Form */
.contact-form {
    padding: 30px;
    
    color: white;
}

.contact-form h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.contact-form p {
    margin-bottom: 20px;
    opacity: 0.85;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.15);
    color: white;
    backdrop-filter: blur(6px);
    font-size: 15px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #ff5d00;
    border: none;
    font-size: 16px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-col h3 {
    margin-bottom: 18px;
    font-size: 22px;
    color: #ff5d00;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 10px 0;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ff5d00;
}

.footer-logo {
    width: 130px;
    margin-bottom: 10px;
    background-color: white;
}

.footer-col p {
    line-height: 1.6;
    margin: 8px 0;
}

.footer-col i {
    margin-right: 8px;
    color: #ff5d00;
}

.social-icons a {
    margin-right: 12px;
    font-size: 22px;
    color: #fff;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #bbb;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #444;
    color: #ff5d00;
    font-size: 14px;
}


/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .map iframe {
        height: 320px;
    }
}



/* -------------------------------
   Responsive
-------------------------------- */
@media (max-width: 900px) {
  .slider .cards-grid {
    grid-auto-columns: 270px;
  }
}

@media (max-width: 600px) {
  .slider .cards-grid {
    grid-auto-columns: 85%;
  }
}




@media (max-width: 900px) {
    .faculties-content {
        flex-direction: column;
        text-align: center;
    }

    .image-section {
        flex-direction: column;
        gap: 20px;
    }

    .bubble {
        position: static;
    }
}

/* Tablet view */
@media (min-width: 720px) and (max-width: 1080px) {
    .trusted-card {
        grid-template-columns: repeat(4, 1fr);
    }

    .cards {
        height: 150px;
    }
}

/* Mobile view */
@media (max-width: 719px) {
    .trusted-card {
        grid-template-columns: repeat(1, 1fr);
    }

}

@media (max-width: 768px) {
    .teacher {
        position: relative;
    }

    .teacher-bubble {
        position: absolute;
        top: 10%;
        left: -93%;
        width: 250px;
    }

    .student {
        position: relative;
    }

    .student-bubble {
        position: absolute;
        top: 10%;
        left: -85%;
        width: 250px;
    }

    .section {
        display: flex;
        flex-direction: row;
    }
    .left{
        width: 100%;
    }
    .right{
        width: 100%;
    }
    .top-bar{
        flex-direction: row;
    }
}

@media (max-width: 425px) {
    .teacher {
        position: relative;
    }

    .teacher-bubble {
        position: absolute;
        top: 10%;
        left: -50%;
        width: 164px;
    }

    .student {
        position: relative;
    }

    .student-bubble {
        position: absolute;
        top: 10%;
        left: -50%;
        width: 164px;
    }

}