@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
   font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
:root {
  --card-width-mobile: 78%;
  --card-width-desktop: 340px;
  --card-gap: 1rem;
  --transition-speed: 350ms;
  --carousel-speed: 350ms;
  

}

/* Navbar */
.custom-navbar {
  background: #fff;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  margin-top: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


/* Slider height */
#heroSlider {
  height: 110vh;
}

.bg-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
}

/* Background Images */
.slide1 {
  background-image: url("http://localhost/OnlineDegree/Assets/images/degree/banner4.jpg");

}
.slide2 {
  background-image: url("http://localhost/OnlineDegree/Assets/images/degree/banner1.jpg");
}
.slide3 {
  background-image: url("http://localhost/OnlineDegree/Assets/images/degree/Banner3.png");
}

/* Sticky form positioning */
.form-wrapper {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: -40px;
}

.sticky-form {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  position: sticky;
  top: 120px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.customdata{
    font-size: 12px;
}

/* Features Section */
.bg-gray {
  background: #f9f7f4;
}

.features-section {
  padding: 40px 0;
  margin-top: -125px;
  height: 130px;
}

.feature-box {
  display: flex;
  align-items: center;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.icon-circle i {
  font-size: 32px;
  color: #000;
}

.feature-box h5 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}


/* Slider Styles */
/* HEADER */
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-right: 1.5rem;
}

.carousel-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* CAROUSEL */
.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--carousel-speed) ease;
  will-change: transform;
}

/* CARD */
.carousel-card {
  flex: 0 0 var(--card-width-mobile);
  max-width: var(--card-width-desktop);
  margin-right: var(--card-gap);
  border-radius: 1.5rem;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.carousel-card.blue   { background: #dbeafe; }
.carousel-card.purple { background: #e0e7ff; }
.carousel-card.peach  { background: #fed7c3; }
.carousel-card.green  { background: #bbf7d0; }

/* MEDIA */
.card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
}

.blue   .card-media { background-image: linear-gradient(135deg,#60a5fa,#a855f7); }
.purple .card-media { background-image: linear-gradient(135deg,#a855f7,#f97316); }
.peach  .card-media { background-image: linear-gradient(135deg,#fb7185,#f97316); }
.green  .card-media { background-image: linear-gradient(135deg,#22c55e,#3b82f6); }

/* FOOTER */
.card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,0.1);
}

/* DESKTOP */
@media (min-width: 768px) {
  .carousel-card {
    flex-basis: var(--card-width-desktop);
  }
}


/* courses */
.degree-tabs .nav-link {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    color: #555;
    background: #f1f1f1;
    margin: 0 8px;
}

.degree-tabs .nav-link.active {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
}

.degree-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.degree-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.card-img {
    position: relative;
    height: 180px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 50px;
    color: #fff;
}

.badge.popular {
    top: 12px;
    left: 12px;
    background: #ef4444;
}

.badge.demand {
    top: 12px;
    left: 12px;
    background: #22c55e;
}

.badge.flex {
    bottom: 12px;
    right: 12px;
    background: #3b82f6;
}

.card-body {
    padding: 20px;
}

.card-body h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.price {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 800;
    color: #4f46e5;
}




/* degree online */
/* =========================
   SECTION
========================= */
.degree-section {
    padding: 40px 0;
}
.degree-title {
    font-weight: 800;
}

/* =========================
   TABS
========================= */
.degree-tabs .nav-link {
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    background: #e5e7eb;
    color: #444;
    margin: 0 6px;
}
.degree-tabs .nav-link.active {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
}

/* =========================
   SLIDER
========================= */
.degree-slider {
    overflow: hidden;
}
.degree-slider__track {
    display: flex;
    transition: transform 0.6s ease;
}
.degree-slide {
    min-width: 50%;
    padding: 14px;
}

/* =========================
   CARD
========================= */
.degree-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: 0.3s;
}
.degree-card:hover {
    transform: translateY(-8px);
}

/* Image */
.degree-card__image {
    position: relative;
    height: 220px;
}
.degree-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   BADGES
========================= */
.degree-badge {
    position: absolute;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 14px;
}
.degree-badge--popular {
    top: 14px;
    left: 14px;
    background: #ffd400;
}
.degree-badge--demand {
    top: 14px;
    left: 14px;
    background: #22c55e;
    color: #fff;
}
.degree-badge--flex {
    bottom: 14px;
    left: 14px;
    background: #dcd7ff;
    color: #3730a3;
}

/* =========================
   BODY
========================= */
.degree-card__body {
    padding: 20px;
}
.degree-card__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}
.degree-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
}
.degree-card__price {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 800;
    color: #4f46e5;
}

/* =========================
   ENROLL BUTTON
========================= */
.degree-enroll-btn {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff7a18, #ff5a00);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.degree-enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,90,0,0.45);
}

/* =========================
   DOTS
========================= */
.degree-dots {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}
.degree-dot {
    width: 10px;
    height: 10px;
    background: #c7c7c7;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
}
.degree-dot.active {
    width: 20px;
    border-radius: 12px;
    background: #4f46e5;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 575px) {
    .degree-slide { min-width: 100%; }
}


/* degree */
    .section-wrapper {
      padding: 80px 0;
      background:#F2DFB4
    }

    .section-title {
      font-size: 40px;
      font-weight: 600;
      text-align: center;
      margin-bottom: 50px;
    }

    .feature-card {
      background: #fff;
      border-radius: 14px;
      padding: 30px;
      height: 100%;
      box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    }

    .icon-box {
      width: 52px;
      height: 52px;
      background: #f1f1f1;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }

    .icon-box i {
      font-size: 24px;
      color: #000;
    }

    .feature-title {
      font-size: 18px;
      font-weight: 600;
      line-height: 1.4;
    }

    .feature-text {
      font-size: 14px;
      color: #666;
      margin-top: 6px;
    }

    .cta-btn {
      background: #f26522;
      color: #fff;
      padding: 14px 36px;
      border-radius: 30px;
      border: none;
      font-weight: 500;
      margin-top: 40px;
    }

    .cta-btn:hover {
      background: #e35418;
    }

    /* advaces */
    /* Section */
.adv-section{
  padding:39px 0 100px;
}

/* Heading */
.adv-heading{
  font-family:'Playfair Display', serif;
  font-size:42px;
  font-weight:700;
  margin-bottom:55px;
}

/* Card */
.adv-card{
  background:#f7f6f4;
  border-radius:22px;
  padding:24px 25px 48px;
  height:100%;
}

/* Icon circle */
.adv-icon{
  width:64px;
  height:64px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:28px;
}

.adv-icon img{
  width:30px;
}

/* Icon bg colors */
.bg-pink{background:#f7b6c8;}
.bg-blue{background:#a7dbf3;}
.bg-yellow{background:#ffd400;}
.bg-green{background:#b9cd3a;}

/* Card title */
.adv-title{
  font-family:'Playfair Display', serif;
  font-size:17px;
  font-weight:700;
  margin-bottom:14px;
}

/* Card text */
.adv-text{
  font-family:'Inter', sans-serif;
  font-size:15px;
  color:#4a4a4a;
  line-height:1.75;
}


/* Footer */
.footer-section {
  background: linear-gradient(135deg, #0d6efd, #084298);
  padding: 60px 0 25px;
  color: #fff;
}

.footer-section h3 {
  font-weight: 700;
}

.footer-section label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.footer-section .form-control,
.footer-section .form-select {
  border-radius: 30px;
  padding: 10px 15px;
  border: none;
}

.footer-section .form-control:focus,
.footer-section .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(255,255,255,.25);
}

.footer-card {
  background: rgba(255,255,255,0.12);
  padding: 30px;
  border-radius: 20px;
}

.footer-section .form-check-label {
  font-size: 14px;
}

.footer-section .btn {
  border-radius: 30px;
  font-weight: 600;
  padding: 10px 35px;
}

.footer-image img {
  max-width: 100%;
  border-radius: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.3);
  margin-top: 35px;
  padding-top: 12px;
  text-align: center;
  font-size: 14px;
}
