/* ===============================
   RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #f5f7fb;
    color: #222;
}

/* ===============================
   HEADER
================================ */
.header {
    background: linear-gradient(90deg, #0b1d3a, #1e3c72);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 24px;
    font-size: 15px;
}

.nav a:hover {
    text-decoration: underline;
}

/* ===============================
   HERO
================================ */
.hero {
    background: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #0b1d3a;
}

.hero p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.hero input {
    width: 100%;
    max-width: 480px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    margin: 0 auto;
    display: block;
}

/* ===============================
   BRANCH / SCHEME / SEMESTER SECTION
================================ */
.branches {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.branch-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.branch-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.branch-card h3 {
    font-size: 20px;
    color: #0b1d3a;
    margin-bottom: 6px;
}

.branch-card p {
    color: #555;
    margin-bottom: 16px;
}

.branch-card a {
    display: inline-block;
    padding: 10px 18px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
}

.branch-card a:hover {
    background: #1e4ed8;
}

/* ===============================
   FOOTER (ONLY ONE)
================================ */
.site-footer {
    background: #0b1d3a;
    color: #e5e7eb;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    background: #081528;
    text-align: center;
    padding: 14px;
    font-size: 13px;
    color: #cbd5e1;
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {

    .header {
        padding: 12px 16px;
        flex-direction: column;
        gap: 10px;
    }

    .logo span {
        font-size: 20px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 30px 16px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .branches {
        padding: 30px 16px;
    }

    .branch-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .branch-card {
        padding: 20px;
    }

    .branch-card a {
        width: 100%;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* ===============================
   FOOTER
================================ */
.site-footer {
    background: #0b1d3a;
    color: #e5e7eb;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    background: #081528;
    text-align: center;
    padding: 14px;
    font-size: 13px;
    color: #cbd5e1;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.subject-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #000;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.subject-code {
    font-size: 14px;
    color: #555;
    font-weight: bold;
    margin-bottom: 6px;
}

.subject-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.subject-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.subject-card button {
    background: #ffd000;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
/* ===== SUBJECT PAGE STYLES (AI / CSE / ECE) ===== */

.subject-container {
  max-width: 800px;
  margin: 80px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  text-align: center;
}

.subject-container h1 {
  font-size: 28px;
  color: #0b1d3a;
  margin-bottom: 10px;
}

.subject-container p {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
}

.fix-btn {
  display: inline-block;
  padding: 14px 26px;
  background: #2563eb;
  color: #ffffff;
  font-size: 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.fix-btn:hover {
  background: #1e4ed8;
}
/* ===== PAYMENT FORM STYLES ===== */

.fix-container {
  max-width: 420px;
  margin: 80px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.fix-container h2 {
  margin-bottom: 6px;
  color: #0b1d3a;
}

.fix-container p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.fix-container form {
  display: flex;
  flex-direction: column;
}

.fix-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.pay-btn {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.pay-btn:hover {
  background: #1e4ed8;
}
