/* ================= ROOT VARIABLES ================= */
:root {
  --primary-color: #1e3a8a; /* Deep blue for primary elements */
  --secondary-color: #395c94; /* Lighter blue for accents */
  --accent-color: #f59e0b; /* Warm amber for highlights */
  --background-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); /* Light, professional gradient */
  --text-color: #1e293b; /* Dark text for light background */
  --text-muted: #64748b; /* Muted dark text */
  --card-bg: rgba(255, 255, 255, 0.9); /* Semi-transparent white for cards */
  --card-border: rgba(0, 0, 0, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --font-family: 'Poppins', sans-serif;
}

/* ================= GLOBAL STYLES ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--background-gradient);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
}

.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
}

/* ================= HEADER ================= */
.logo{
  width: 60px;
}
.site-header {
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white overlay */
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.8rem;
  color: var(--accent-color) !important;
  font-weight: 800;
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  background: var(--text-color);
}

.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='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================= HERO ================= */
.hero-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(59, 130, 246, 0.2) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  position: relative;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-color);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: var(--accent-color);
  color: #1e293b;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.hero-btn-primary:hover {
  background: #d97706;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--text-color);
  padding: 1rem 2rem;
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.hero-btn-secondary:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ================= STATS ================= */
.stats-section {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  margin: 2rem auto;
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stats-section h3 {
  font-size: 2.5rem;
  color: var(--accent-color);
  font-weight: 800;
}

.stats-section p {
  font-weight: 500;
  color: var(--text-muted);
}

/* ================= ABOUT ================= */
.about-section {
  padding: 4rem 0;
  text-align: center;
}

.about-section h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ================= DEGREE ================= */
.degree-section {
  padding: 4rem 0;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  margin: 2rem auto;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.degree-section h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.degree-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.degree-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.degree-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.degree-card h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.degree-card p {
  color: var(--text-muted);
  flex-grow: 1;
}

.degree-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ================= HOW IT WORKS ================= */
.how-section {
  padding: 4rem 0;
}

.how-section h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.how-section i {
  color: var(--accent-color);
}

.how-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ================= WHY ================= */
.why-section {
  padding: 4rem 0;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  margin: 2rem auto;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.why-section h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.why-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-section p:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* ================= FAQ ================= */
.faq-section {
  padding: 4rem 0;
}

.faq-section h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.accordion-button {
  background: transparent;
  color: var(--text-color);
  font-weight: 600;
  border: none;
  padding: 1.5rem;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: var(--secondary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  color: var(--text-muted);
  padding: 1.5rem;
}

/* ================= FOOTER ================= */
.site-footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.site-footer p {
  color: var(--text-muted);
  margin: 0;
}

.site-footer a {
  color: var(--secondary-color);
  font-weight: 500;
}

/* ================= LEGAL PAGES ================= */
.legal-section {
  padding: 5rem 0;
}

.legal-section h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.legal-section .last-updated {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.legal-section p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ================= BCA PAGE STYLES ================= */

.bca-page {
  background: transparent;
}

/* Header */
.bca-header {
  max-width: 900px;
  margin: 0 auto;
}

.bca-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 0.8rem;
}

.bca-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Semester Grid */
.bca-semester-grid {
  margin-top: 2.5rem;
}

.bca-sem-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.bca-sem-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* Semester Text */
.bca-sem-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.bca-sem-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

/* FAQ */
.bca-faq {
  max-width: 900px;
  margin: 5rem auto 0;
}

.bca-faq h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.bca-faq h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2rem;
}

.bca-faq p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}


/* =========================
   BCA SEMESTER 1 PAGE
========================= */

.bca1-page-section {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #f8fafc, #eef2f7);
}

/* Header */
.bca1-header {
  max-width: 900px;
  margin: 0 auto;
}

.bca1-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-color);
}

.bca1-desc {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Subject Card */
.bca1-subject-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
}

.bca1-subject-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.bca1-subject-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

/* Year Links */
.bca1-year-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bca1-year-link {
  display: block;
  padding: 0.65rem 0.9rem;
  background: rgba(30, 58, 138, 0.06);
  border-radius: 8px;
  font-weight: 500;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.bca1-year-link:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateX(6px);
}
.subject-code {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}


/* ================= MCA PAGE STYLES ================= */

.mca-page {
  background: transparent;
}

/* Header */
.mca-header {
  max-width: 900px;
  margin: 0 auto;
}

.mca-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 0.8rem;
}

.mca-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Semester Grid */
.mca-semester-grid {
  margin-top: 2.5rem;
}

.mca-sem-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.mca-sem-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* Semester Text */
.mca-sem-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.mca-sem-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

/* FAQ */
.mca-faq {
  max-width: 900px;
  margin: 5rem auto 0;
}

.mca-faq h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.mca-faq h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2rem;
}

.mca-faq p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}



.contact-hero-section {
  padding: 7rem 0 4rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.12),
    rgba(59, 130, 246, 0.18)
  );
}

.contact-hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-hero-section p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Main Section */
.contact-main-section {
  padding: 4rem 0;
}

/* Info Card */
.contact-info-card {
  /* background: var(--card-bg); */
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info-card p {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.contact-info-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Form Card */
.contact-form-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.contact-form-card .form-control {
  padding: 0.9rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--card-border);
}

.contact-form-card .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.15rem rgba(245, 158, 11, 0.25);
}

/* Button */
.contact-submit-btn {
  background: var(--accent-color);
  color: #1e293b;
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.contact-submit-btn:hover {
  background: #d97706;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero-section h1 {
    font-size: 2.4rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 2rem;
  }
}

/* Responsive */
@media (max-width: 576px) {
  .bca1-title {
    font-size: 2.1rem;
  }
}




/* Responsive */
@media (max-width: 768px) {
  .bca-title,.mca-title {
    font-size: 2.2rem;
  }

  .bca-sem-card,.mca-sem-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .bca-title,.mca-title {
    font-size: 2rem;
  }

  .bca-desc,.mca-desc {
    font-size: 1rem;
  }
}


/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .ab_action{
    gap: 0px;
  }

  .stats-section .row {
    gap: 0px;
  }

  .degree-card {
    margin-bottom: 2rem;
  }

  .why-section .col-md-3 {
    margin-bottom: 0px;
    margin-top: 10px;
  }

  .how-section .col-md-4 {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .stats-section h3 {
    font-size: 2rem;
  }

  .degree-section h2,
  .how-section h2,
  .why-section h2,
  .faq-section h2 {
    font-size: 2rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .navbar-nav .nav-link {
    margin: 0 0.5rem;
  }
}