/* =========================================================
   RESET & ROOT VARIABLES
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #eef1f6;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.35);
  --primary: #1f3c88;      /* Academic Navy */
  --accent: #8b1e3f;       /* Institutional Maroon */
  --text-main: #1f2933;
  --text-muted: #4b5563;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 45px rgba(0,0,0,0.12);
}

/* =========================================================
   BODY & GLOBAL
========================================================= */
body {
  font-family: "Georgia", "Times New Roman", serif;
  background: linear-gradient(135deg, #f7f9fc, #e9edf3);
  color: var(--text-main);
  line-height: 1.75;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   NAVBAR (GLASSY & SENIOR)
========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.navbar nav a {
  margin-left: 26px;
  font-weight: 600;
  color: var(--primary);
  position: relative;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
  width: 100%;
}

/* =========================================================
   HERO / PAGE HEADER
========================================================= */
.page-hero {
  padding: 100px 60px 70px;
  background: linear-gradient(to right, #ffffff, #f1f4f9);
  border-bottom: 1px solid #dde3ec;
}

.page-hero h1 {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-hero p {
  max-width: 850px;
  font-size: 18px;
  color: var(--text-muted);
}

/* =========================================================
   CONTENT WRAPPER
========================================================= */
.content-wrapper {
  max-width: 1150px;
  margin: auto;
  padding: 70px 60px;
}

/* =========================================================
   GLASS CARDS (CORE DESIGN)
========================================================= */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 38px;
  margin-bottom: 45px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card h2,
.card h3 {
  color: var(--primary);
  margin-bottom: 14px;
}

.card p {
  color: var(--text-main);
  margin-bottom: 14px;
}

/* =========================================================
   GRID SYSTEM
========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* =========================================================
   LINKS & CALL TO ACTION
========================================================= */
.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover {
  text-decoration: underline;
}

/* =========================================================
   BUTTONS (SENIOR STYLE)
========================================================= */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 35px;
}

.btn {
  padding: 13px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: #162c5b;
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

/* =========================================================
   REVEAL ANIMATION (SUBTLE & PROFESSIONAL)
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--glass-border);
  text-align: center;
  padding: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
/* ===========================
   NAVBAR LINK STYLE
=========================== */
.nav-links a {
  position: relative;
  padding: 6px 0;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.3s ease;
}

/* Hover underline (subtle) */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--accent),
    var(--primary)
  );
  border-radius: 4px;
  transition: width 0.4s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===========================
   ACTIVE PAGE HIGHLIGHT
=========================== */
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  width: 100%;
}
.breadcrumbs {
  max-width: 1150px;
  margin: 20px auto 0;
  padding: 0 60px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumbs span {
  margin: 0 6px;
}

.breadcrumbs .current {
  color: var(--accent);
  font-weight: 600;
}
.navbar {
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--glass-bg);
    position: absolute;
    right: 20px;
    top: 70px;
    padding: 20px;
    border-radius: 10px;
  }

  .nav-links.open {
    display: flex;
  }
}

.navbar.shrink {
  padding: 10px 60px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.section-nav {
  position: sticky;
  top: 90px;
  background: var(--glass-bg);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.section-nav a {
  display: block;
  padding: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.section-nav a.active {
  color: var(--accent);
}
.menu-toggle {
  display: none;             /* hidden on desktop */
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}

/* Mobile view */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;          /* visible on mobile */
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 30px;
    top: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border-radius: 12px;
    padding: 20px;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    margin: 10px 0;
  }
}
.contact-form label {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.icon-buttons {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.contact-form input,
.contact-form textarea {
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,60,136,0.15);
}
.contact-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.icon-buttons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.card hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 20px 0;
}
/* ===== PROFILE HERO WITH IMAGE ===== */
.profile-hero {
  display: flex;
  align-items: center;
  gap: 40px;
}

.profile-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;       /* professional, not circular */
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.profile-intro h1 {
  margin-bottom: 8px;
}

.profile-intro p {
  color: var(--text-muted);
  font-size: 18px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .profile-hero {
    flex-direction: column;
    text-align: center;
  }
}
