/* ============================================= */
/* 🎨 ACADEMICS PAGE - SYNCHRONIZED THEME       */
/* Blue, Orange, Amber & Magenta Theme          */
/* ============================================= */

/* ============================================= */
/* ROOT VARIABLES                               */
/* ============================================= */
:root {
    --blue: #2196F3;
    --blue-light: #BBDEFB;
    --blue-dark: #1565C0;

    --orange: #FF9800;
    --orange-light: #FFE0B2;
    --orange-dark: #EF6C00;

    --amber: #FFC107;
    --amber-light: #FFECB3;
    --amber-dark: #FF8F00;

    --magenta: #E91E63;
    --magenta-light: #F8BBD0;
    --magenta-dark: #C2185B;

    /* Gradient Combinations */
    --gradient-main: linear-gradient(135deg, var(--blue), var(--magenta), var(--amber), var(--orange));
    --gradient-animated: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));

    /* Background Colors */
    --white: #ffffff;
    --bg: #FAFBFC;
    --muted: #F5F7FA;
    --card: #ffffff;

    /* Text Colors */
    --text: #1A237E;
    --text-light: #5C6BC0;

    /* Shadow & Border Radius */
    --shadow: 0 4px 20px rgba(33, 150, 243, 0.15);
    --shadow-magenta: 0 4px 20px rgba(233, 30, 99, 0.25);
    --radius: 16px;
}


/* ============================================= */
/* ANIMATED GRADIENT KEYFRAMES                  */
/* ============================================= */
@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderColorSlide {
    0% { border-color: var(--blue); }
    25% { border-color: var(--magenta); }
    50% { border-color: var(--amber); }
    75% { border-color: var(--orange); }
    100% { border-color: var(--blue); }
}

@keyframes shadowColorSlide {
    0% { box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4); }
    25% { box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4); }
    75% { box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4); }
    100% { box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4); }
}

@keyframes textColorSlide {
    0% { color: var(--blue); }
    25% { color: var(--magenta); }
    50% { color: var(--amber-dark); }
    75% { color: var(--orange); }
    100% { color: var(--blue); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes logoSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/* ============================================= */
/* RESET & BASE STYLES                          */
/* ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 70px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================= */
/* TOP HEADER / TOPBAR                          */
/* ============================================= */
.topbar {
    background: linear-gradient(135deg, #ffffff 0%, #FFFEF5 100%);
    padding: 14px 16px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange)) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 20px rgba(233, 30, 99, 0.15);
}


/* ============================================= */
/* BRAND CONTAINER                              */
/* ============================================= */
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-container {
    position: relative;
    flex-shrink: 0;
}

.brand img.logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 14px;
    border: 3px solid;
    animation: borderColorSlide 4s ease infinite;
    background: white;
    padding: 4px;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: conic-gradient(var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
    border-radius: 50%;
    z-index: 1;
    animation: logoSpin 4s linear infinite;
    opacity: 0.5;
    filter: blur(10px);
}


/* ============================================= */
/* SCHOOL NAME CONTAINER                        */
/* ============================================= */
.brand .name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand .name h1 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.brand .name .location {
    font-size: 11px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.brand .name .location i {
    color: var(--magenta);
    font-size: 10px;
    animation: iconBounce 2s ease infinite;
}

.brand .name .tagline {
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    animation: textColorSlide 4s ease infinite;
}

.brand .name .tagline i {
    font-size: 8px;
    color: var(--amber);
    animation: iconBounce 1.5s ease infinite;
}


/* ============================================= */
/* NAVIGATION BAR - Warm Animated Gradient      */
/* ============================================= */
.navbar {
  background: linear-gradient(270deg, var(--blue), var(--amber), var(--orange), var(--amber), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 6s ease infinite;
  padding: 0;
  position: sticky;
  top: 74px;
  z-index: 999;
}

.nav-inner {
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.nav-toggle {
  width: auto;
  background: transparent;
  color: #ffffff;
  border: none;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.nav-toggle i { 
  font-size: 18px;
}

/* ============================================= */
/* SIDE MENU - Opens from Right Side            */
/* ============================================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  /* height hata do */
  /* height: 100vh; */

  /* jitni height chahiye utni hi le, aur max screen se kam rakho */
  max-height: calc(100vh - 60px);  /* 60px ya jitna gap neeche chahiye utna rakh lo */

  background: linear-gradient(180deg, var(--blue), var(--magenta), var(--orange));
  background-size: 100% 200%;
  animation: gradientSlide 6s ease infinite;
  z-index: 1001;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.side-menu.open {
  right: 0;
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.side-menu-header span {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.close-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:active {
  background: rgba(255,255,255,0.3);
  transform: scale(0.95);
}

.side-menu-content {
  flex: 1;
  padding: 15px 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.side-menu-content a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
  text-decoration: none;
}

.side-menu-content a:active {
  background: rgba(255,255,255,0.15);
  padding-left: 30px;
}

.side-menu-content a i {
  width: 24px;
  font-size: 16px;
  text-align: center;
}

/* Login Button Style */
.side-menu-content .login-btn {
  margin: 20px;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 25px;
  padding: 14px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.side-menu-content .login-btn:active {
  background: rgba(255,255,255,0.35);
  padding-left: 24px;
}

/* ============================================= */
/* OVERLAY                                       */
/* ============================================= */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================= */
/* ANIMATION FOR MENU ITEMS                     */
/* ============================================= */
.side-menu-content a {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
}

.side-menu.open .side-menu-content a {
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open .side-menu-content a:nth-child(1) { transition-delay: 0.05s; }
.side-menu.open .side-menu-content a:nth-child(2) { transition-delay: 0.1s; }
.side-menu.open .side-menu-content a:nth-child(3) { transition-delay: 0.15s; }
.side-menu.open .side-menu-content a:nth-child(4) { transition-delay: 0.2s; }
.side-menu.open .side-menu-content a:nth-child(5) { transition-delay: 0.25s; }
.side-menu.open .side-menu-content a:nth-child(6) { transition-delay: 0.3s; }

/* ============================================= */
/* MAIN CONTENT STYLES (ACADEMICS)              */
/* ============================================= */
main.page-content {
    flex: 1;
    width: 100%;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    font-family: "Poppins", system-ui, sans-serif;
    color: var(--text);
    line-height: 1.6;
}


/* ============================================= */
/* ACADEMICS HEADER WITH BACKGROUND IMAGE       */
/* ============================================= */
.page header {
    margin-bottom: 24px;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;
    height: 280px;
    
    /* 🎯 Content ko neeche left mein lao */
    display: flex;
    align-items: flex-end;        /* 👈 Neeche */
    justify-content: flex-start;  /* 👈 Left side */
    
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.page header span {
    color: white;
    font-size: 1.1rem;
    text-align: left;             /* 👈 Left align text */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    max-width: 600px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page header {
        min-height: 180px;
        height: 200px;
    }
    
    .page header span {
        font-size: 0.9rem;
    }
}

/* ============================================= */
/* TABS & CONTENT NAVIGATION                    */
/* ============================================= */
.content-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.content-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex-shrink: 0;
    font-family: inherit;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    background: var(--card);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.tab-btn:focus-visible {
    outline: 3px solid var(--magenta-light);
    outline-offset: 2px;
}

.tab-btn.active {
    background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
    background-size: 400% 400%;
    animation: gradientSlide 4s ease infinite;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.35);
}

.tab-btn:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.2);
}


/* ============================================= */
/* SUB TAB BUTTONS                              */
/* ============================================= */
.sub-tab-btn {
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 10px 18px;
    background: var(--muted);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sub-tab-btn.active {
    background: var(--text);
    color: #ffffff;
    border-color: var(--text);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.sub-tab-btn:hover:not(.active) {
    border-color: var(--magenta);
    color: var(--magenta);
}


/* ============================================= */
/* CARDS                                        */
/* ============================================= */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    border-left: 4px solid;
    animation: borderColorSlide 6s ease infinite;
}

.section-content {
    display: block;
}

.hidden-section {
    display: none;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.4rem;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--blue), var(--magenta));
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    margin: 4px 0 0;
    font-size: 0.9rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.content-area {
    margin-top: 16px;
}


/* ============================================= */
/* INFO CARD                                    */
/* ============================================= */
.info-card {
    border-radius: 12px;
    border: 1px solid var(--muted);
    padding: 20px;
    background: linear-gradient(135deg, #FFFEF8 0%, #FFF9E8 100%);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange));
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h3 i {
    animation: textColorSlide 4s ease infinite;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.9rem;
}


/* ============================================= */
/* ACTION BUTTONS                               */
/* ============================================= */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-btn {
    cursor: pointer;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
    background-size: 400% 400%;
    animation: gradientSlide 4s ease infinite;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.45);
}

.primary-btn:active {
    transform: scale(0.95);
}

.ghost-btn {
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 25px;
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ghost-btn:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    transform: translateY(-2px);
}

.ghost-btn:active {
    transform: scale(0.95);
}


/* ============================================= */
/* FADE ANIMATIONS                              */
/* ============================================= */
.fade-enter {
    opacity: 0;
    transform: translateY(15px);
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}


/* ============================================= */
/* FOOTER */
/* ============================================= */

footer {
  background: linear-gradient(135deg, #1A237E, #0D1442);
  color: #fff;
  padding: 24px 16px;
}

.map {
  margin-bottom: 20px;
}

.map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.foot-card {
  background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
  background-size: 400% 400%;
  animation: gradientSlide 6s ease infinite;
  color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.foot-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.foot-card p {
  font-size: 13px;
  margin: 6px 0;
  opacity: 0.95;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.socials a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.socials a:nth-child(1) {
  background: linear-gradient(135deg, #3b5998, #4267B2);
}

.socials a:nth-child(2) {
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.socials a:nth-child(3) {
  background: linear-gradient(135deg, #FF0000, #CC0000);
}

.socials a:nth-child(4) {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.socials a:active {
  transform: scale(0.9);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  margin-top: 20px;
}

/* NEW: links in copyright */
.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  margin: 0 4px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .divider {
  color: rgba(255,255,255,0.5);
}

.footer-text {
  line-height: 1.6;
}

.copyright a {
  color: #ffffff;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}
footer {
  padding-bottom: 80px; /* adjust to height of bottom bar */
}


/* ============================================= */
/* QUICK ACTIONS BAR                            */
/* ============================================= */
.quick-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber), var(--orange)) 1;
}

.quick-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--text-light);
    padding: 6px 12px;
    position: relative;
}

.quick-actions a i {
    font-size: 22px;
}

.quick-actions a:nth-child(1) i {
    color: var(--blue);
}

.quick-actions a:nth-child(2) i {
    color: var(--magenta);
    animation: iconBounce 2s ease infinite;
}

.quick-actions a:nth-child(3) i {
    color: var(--amber-dark);
}

.quick-actions a:nth-child(4) i {
    color: var(--orange);
}

.quick-actions a:active {
    background: var(--muted);
    border-radius: 8px;
}


/* ============================================= */
/* BACK TO TOP BUTTON                           */
/* ============================================= */
#backToTop {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 1000;
    background: linear-gradient(270deg, var(--blue), var(--magenta), var(--amber), var(--orange), var(--blue));
    background-size: 400% 400%;
    animation: gradientSlide 4s ease infinite;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4);
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.3s ease;
}

#backToTop.show {
    display: flex;
}

#backToTop:hover {
    transform: scale(1.1);
}

#backToTop:active {
    transform: scale(0.95);
}


/* ============================================= */
/* MOBILE RESPONSIVE                            */
/* ============================================= */
@media (max-width: 768px) {
    .page {
        padding: 16px 12px 30px;
    }

    .page header {
        padding: 40px 16px;
        border-radius: 12px;
    }

    .page header h1 {
        font-size: 1.6rem;
    }

    .page header span {
        font-size: 0.85rem;
    }

    /* Swipeable Tabs */
    .content-nav {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Section Header */
    .section-header {
        gap: 12px;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    /* Button Row Grid */
    .button-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .sub-tab-btn {
        width: 100%;
        padding: 12px 10px;
        font-size: 12px;
        text-align: center;
        justify-content: center;
    }

    /* Cards */
    .card {
        padding: 16px;
        border-radius: 12px;
    }

    .info-card {
        padding: 16px;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    /* Action Buttons */
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    /* Footer */
    footer {
        padding: 20px 12px;
    }

    .map iframe {
        height: 160px;
    }

    .socials a {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}


/* ============================================= */
/* TABLET & DESKTOP                             */
/* ============================================= */
@media (min-width: 769px) {
    .topbar {
        padding: 16px 24px;
    }

    .brand img.logo {
        width: 75px;
        height: 75px;
    }

    .brand .name h1 {
        font-size: 22px;
    }

    .brand .name .location {
        font-size: 13px;
    }

    .brand .name .tagline {
        font-size: 12px;
    }

    .navbar {
        top: 107px;
    }

    .page {
        padding: 30px 24px 50px;
    }

    .page header {
        padding: 60px 40px;
    }

    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .button-row {
        display: flex;
    }

    .action-buttons {
        flex-direction: row;
    }

    .primary-btn,
    .ghost-btn {
        width: auto;
    }

    footer {
        padding: 30px 24px;
    }

    .foot-card {
        padding: 20px;
    }

    .map iframe {
        height: 220px;
    }
}
/* ============================================= */
/* 🖥️ DESKTOP / LAPTOP LAYOUT (MIN-WIDTH:1024px) */
/* ============================================= */
@media (min-width: 1024px) {

  /* GLOBAL */
  body {
    font-size: 16px;
    line-height: 1.8;
    padding-bottom: 0;          /* desktop pe bottom quick-bar ka gap nahi chahiye */
  }

  main.page-content {
    width: 100%;
  }

  .page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px 60px;
  }

  /* TOPBAR / NAVBAR */
  .topbar {
    padding: 18px 8%;
  }

  .brand img.logo {
    width: 80px;
    height: 80px;
  }

  .brand .name h1 {
    font-size: 26px;
  }

  .brand .name .location {
    font-size: 14px;
  }

  .brand .name .tagline {
    font-size: 12px;
  }

  .navbar {
    padding: 0 8%;
    top: 104px;                 /* header ke neeche thoda gap */
  }

  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .nav-toggle {
    font-size: 16px;
    padding: 16px 20px;
  }

  /* HEADER / HERO (BACKGROUND IMAGE) */
  .page header {
    max-width: 1200px;
    margin: 0 auto 32px;
    height: 360px;
    padding: 70px 60px;
    border-radius: 20px;
  }

  .page header span {
    font-size: 1rem;
    max-width: 720px;
  }

  /* TABS */
  .content-nav {
    justify-content: center;
    margin-bottom: 24px;
  }

  .tab-btn {
    font-size: 14px;
    padding: 12px 22px;
  }

  /* SECTION HEADER & CONTENT */
  .section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
    max-width: 550px;
  }

  .button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .sub-tab-btn {
    font-size: 13px;
    padding: 10px 18px;
  }

  /* CARDS / CONTENT AREA */
  .card {
    padding: 24px;
  }

  .content-area {
    margin-top: 20px;
  }

  .info-card {
    padding: 24px;
  }

  .info-card h3 {
    font-size: 1.2rem;
  }

  .info-card p {
    font-size: 0.95rem;
  }

  /* ACTION BUTTONS */
  .action-buttons {
    flex-direction: row;
  }

  .primary-btn,
  .ghost-btn {
    font-size: 15px;
    padding: 12px 26px;
    width: auto;
  }

  /* FOOTER: map + card side-by-side, neeche copyright */
  footer {
    padding: 40px 8% 30px;
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: 30px;
    align-items: stretch;
  }

  .map {
    margin-bottom: 0;
  }

  .map iframe {
    height: 260px;
  }

  .foot-card {
    align-self: stretch;
  }

  .copyright {
    grid-column: 1 / -1;
    margin-top: 24px;
    font-size: 13px;
  }

  /* Desktop pe bottom quick-actions bar hide */
  .quick-actions {
    display: none;
  }

  /* Back to top button desktop position */
  #backToTop {
    right: 30px;
    bottom: 30px;
  }
}
.developer-credit {
  display: flex;
  justify-content: center;   /* center me rakhega */
  align-items: center;       /* vertical alignment perfect */
  gap: 6px;
  font-size: 14px;
  color: #fff;
}

.developer-credit a {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.developer-credit img {
  height: 20px;
  width: auto;
}
/* ============================================= */
/* END OF ACADEMICS THEME                       */
/* ============================================= */