/* ==============================
   BRAND GLOBAL VARIABLES
============================== */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-sub: 'Poppins', sans-serif;

  --primary: #F9D032;
  --primary-dark: #BB9C26;
  --light-yellow: #FBE384;
  --lighter-yellow: #FDECAD;

  --secondary: #471FB3;
  --secondary-dark: #24105A;
  --secondary-light: #B5A5E1;
  --secondary-lighter: #DAD2F0;

  --grad-yellow: linear-gradient(45deg, #E2A722, #F9D032, #FBE384);
  --grad-primary-secondary: linear-gradient(45deg, #F9D032, #471FB3);
}

/* Base */
body {
  font-family: var(--font-body);
  color: #222;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
}
p, span, li, a {
  font-family: var(--font-body);
}


/* ========== NAVBAR ========== */
.navbar {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.navbar-brand {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary) !important;
}

.nav-link {
  font-size: 0.95rem;
  font-family: var(--font-sub);
  color: #222;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary) !important;
}

.navbar .btn-outline-dark {
  border: 1px solid #444;
  color: #222;
}
.navbar .btn-primary {
  background: var(--primary);
  border: none;
  color: #000;
  font-weight: 600;
}
.navbar .btn-primary:hover {
  background: var(--primary-dark);
}

/* Dropdown */
.dropdown-menu {
  border-radius: 10px;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.1);
}
.dropdown-item:hover {
  background: var(--light-yellow);
}
/* ========== HERO SECTION ========== */
.hero-section {
  background: var(--grad-primary-secondary);
  padding: 80px 0;
  color: #fff;
  text-align: left;
}

.hero-section .hero-badge {
  display: inline-block;
  background: var(--primary);
  padding: 6px 15px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-family: var(--font-sub);
  font-weight: 600;
}

.hero-section .hero-title {
  font-size: 2.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 8px;
}

.hero-section .hero-title span {
  color: var(--light-yellow);
}

.hero-section .hero-subtitle {
  font-size: 1rem;
  margin-top: 12px;
  font-family: var(--font-body);
  opacity: .9;
}

.hero-section .btn-primary {
  background: var(--primary);
  border: none;
  color: #000;
  font-weight: 600;
  padding: 12px 26px;
}
.hero-section .btn-primary:hover {
  background: var(--primary-dark);
}

.hero-section .btn-outline-dark {
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 26px;
  font-weight: 600;
}

.hero-section .btn-outline-dark:hover {
  background: rgba(255,255,255,0.15);
}

.hero-img {
  max-width: 100%;
  border-radius: 8px;
}

/* Mobile */
@media (max-width:767px) {
  .hero-section .hero-title {
    font-size: 2rem;
  }
  .hero-section {
    text-align:center;
  }
}
/* ========== RECOMMENDED BY ========== */
.recommended-section {
  padding: 60px 0;
  background: var(--secondary-lighter);
  text-align: center;
}

.recommended-section .section-title {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-dark);
}

.recommended-section .section-subtitle {
  font-size: 1rem;
  color: #444;
  margin-top: 6px;
  font-family: var(--font-body);
}

.rec-logo {
  max-height: 60px;
  filter: grayscale(80%);
  transition: 0.3s ease;
}

.rec-logo:hover {
  filter: none;
  transform: scale(1.08);
}

.rec-text {
  font-size: 0.85rem;
  font-family: var(--font-sub);
  color: #222;
  margin-top: 6px;
  font-weight: 500;
}

/* Responsive */
@media (max-width:768px) {
  .rec-logo {
    max-height: 50px;
  }
}

/* ========== COURSES SECTION ========== */
.courses-section {
  padding: 80px 0;
  background: #fff;
}

.courses-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.courses-section .section-subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
}

/* Course Card */
.course-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  box-shadow: 0px 12px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
}

/* Highlighted Card */
.course-card.featured {
  background: var(--grad-yellow);
}

/* Course Tag */
.course-tag {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.course-tag.highlight {
  background: var(--secondary-dark);
}

/* Headings */
.course-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary-dark);
}

/* Text */
.course-card p {
  font-size: 0.95rem;
  color: #333;
}

/* List */
.course-card ul {
  padding-left: 0;
  list-style: none;
  margin: 15px 0;
}

.course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 500;
}

/* Buttons */
.course-card .btn-primary {
  background: var(--primary);
  border: none;
  color: #000;
  font-weight: 600;
}

.course-card .btn-dark {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  border: none;
}

/* Mobile */
@media (max-width:768px) {
  .courses-section {
    padding: 60px 0;
  }
}
/* ========== WHAT MAKES QUAD SPECIAL ========== */
.special-section {
  padding: 80px 0;
  background: var(--secondary-lighter);
}

.special-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.special-section .section-subtitle {
  font-size: 1rem;
  color: #444;
}

/* Card */
.special-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  box-shadow: 0px 12px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.special-card:hover {
  transform: translateY(-6px);
}

.special-card img {
  width: 48px;
  margin-bottom: 15px;
}

.special-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.special-card p {
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Link */
.special-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary);
  font-weight: 600;
}

/* Founder Card */
.founder-card {
  background: var(--grad-yellow);
}

.founder-names span {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  margin-right: 8px;
  font-weight: 600;
}

/* Mobile */
@media (max-width:768px) {
  .special-section {
    padding: 60px 0;
  }
}

/* ========== MASTERS & MENTORS ========== */
.mentors-section {
  padding: 80px 0;
  background: #fff;
}

.mentors-section .section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.mentors-section .section-title span {
  color: var(--primary);
}

.mentors-section .section-subtitle {
  font-size: 1rem;
  margin-top: 12px;
  color: #444;
}

/* Stats */
.mentor-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  background: var(--secondary-lighter);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.stat-box h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-box p {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Mentor Card */
.mentor-card {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.mentor-card:hover {
  transform: translateY(-6px);
}

.mentor-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.mentor-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.mentor-card p {
  font-size: 0.85rem;
  color: #555;
}

/* Mobile */
@media (max-width:768px) {
  .mentor-stats {
    margin-top: 30px;
  }
  .mentors-section {
    padding: 60px 0;
  }
}
/* ========== PLACEMENTS SECTION ========== */
.placements-section {
  padding: 80px 0;
  background: var(--secondary-lighter);
}

.placements-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.placements-section .section-subtitle {
  font-size: 1rem;
  color: #444;
}

/* Stats Box */
.placement-stat {
  background: #fff;
  border-radius: 18px;
  padding: 30px 15px;
  text-align: center;
  box-shadow: 0px 12px 30px rgba(0,0,0,0.08);
}

.placement-stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

.placement-stat p {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Company Logos */
.company-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.company-logos img {
  height: 40px;
  filter: grayscale(80%);
  transition: 0.3s ease;
}

.company-logos img:hover {
  filter: none;
  transform: scale(1.1);
}

/* Buttons */
.placements-section .btn-outline-dark {
  border: 1px solid #333;
  font-weight: 600;
}

/* Mobile */
@media (max-width:768px) {
  .placements-section {
    padding: 60px 0;
  }
}
/* ========== 1ST SEMESTER ACTIVITIES ========== */
.semester-section {
  padding: 80px 0;
  background: #fff;
}

.semester-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.semester-section .section-subtitle {
  font-size: 1rem;
  color: #555;
}

/* Activity Card */
.semester-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  box-shadow: 0px 12px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.semester-card:hover {
  transform: translateY(-6px);
}

.semester-card img {
  width: 50px;
  margin-bottom: 15px;
}

.semester-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.semester-card p {
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Mobile */
@media (max-width:768px) {
  .semester-section {
    padding: 60px 0;
  }
}
/* ========== COMPARE SECTION ========== */
.compare-section {
  padding: 80px 0;
  background: var(--secondary-lighter);
}

.compare-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.compare-section .section-subtitle {
  font-size: 1rem;
  color: #444;
}

/* Table */
.compare-table {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 12px 30px rgba(0,0,0,0.08);
}

.compare-table thead {
  background: var(--secondary);
  color: #fff;
}

.compare-table th,
.compare-table td {
  padding: 15px;
  font-size: 0.95rem;
  text-align: center;
  vertical-align: middle;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
}

/* Highlight Quad Column */
.highlight-col {
  background: var(--light-yellow);
  font-weight: 700;
  color: #000;
}

/* Mobile */
@media (max-width:768px) {
  .compare-section {
    padding: 60px 0;
  }
  .compare-table th,
  .compare-table td {
    font-size: 0.85rem;
  }
}
/* ========== INSTITUTES LIKE US ========== */
.institutes-section {
  padding: 80px 0;
  background: #fff;
}

.institutes-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.institutes-section .section-subtitle {
  font-size: 1rem;
  color: #555;
}

/* Institute Card */
.institute-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.institute-card:hover {
  transform: translateY(-6px);
  background: var(--light-yellow);
}

/* Mobile */
@media (max-width:768px) {
  .institutes-section {
    padding: 60px 0;
  }
}
/* ========== HOW TO JOIN QUAD ========== */
.join-section {
  padding: 80px 0;
  background: var(--secondary-lighter);
}

.join-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.join-section .section-subtitle {
  font-size: 1rem;
  color: #444;
}

/* Card */
.join-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 20px;
  height: 100%;
  text-align: center;
  box-shadow: 0px 12px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  position: relative;
}

.join-card:hover {
  transform: translateY(-6px);
}

/* Step Number */
.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

/* Text */
.join-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
}

.join-card p {
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Mobile */
@media (max-width:768px) {
  .join-section {
    padding: 60px 0;
  }
}
/* ========== 360 EXPERIENCE ========== */
.experience-section {
  padding: 90px 0;
  background: linear-gradient(
    135deg,
    #F9D032 0%,
    #FBE384 50%,
    #FEF6D6 100%
  );
}

.experience-section .section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.experience-section .section-title span {
  color: var(--secondary);
}

.experience-text {
  font-size: 1rem;
  margin: 15px 0;
  color: #333;
}

.experience-points {
  list-style: none;
  padding: 0;
}

.experience-points li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Image Box */
.experience-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 20px 40px rgba(0,0,0,0.15);
}

.experience-image img {
  width: 100%;
  display: block;
}

/* Play Button */
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(71, 31, 179, 0.6);
  color: #fff;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile */
@media (max-width:768px) {
  .experience-section {
    padding: 60px 0;
  }
}
/* ========== GALLERY SECTION ========== */
.gallery-section {
  padding: 90px 0;
  background: #fff;
}

.gallery-section .section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.gallery-section .section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: auto;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  transition: 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.04);
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-section {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img {
    height: 180px;
  }
}
/* ========== FAQ SECTION ========== */
.faq-section {
  padding: 90px 0;
  background: var(--secondary-lighter);
}

.faq-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.faq-section .section-subtitle {
  font-size: 1rem;
  color: #444;
  margin-bottom: 50px;
}

/* Accordion Styling */
.accordion-button {
  font-weight: 500;
  color: var(--secondary-dark);
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--primary);
}

.accordion-body {
  background: #fff;
  border-radius: 0 0 12px 12px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #333;
  padding: 15px 20px;
}

/* Mobile */
@media (max-width:768px) {
  .faq-section {
    padding: 60px 0;
  }
}
/* ========== FOOTER ========== */
.footer-section {
  padding: 60px 0;
  background: var(--secondary-dark);
  color: #fff;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-social a {
  color: #fff;
  margin-right: 12px;
  font-size: 1.2rem;
  transition: 0.3s;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-divider {
  border-color: rgba(255,255,255,0.2);
  margin: 30px 0 10px 0;
}



/* Mobile */
@media (max-width:768px) {
  .footer-section, .contact-form-section {
    padding: 50px 15px;
  }
}
