:root {
  --college-dark: #10263f;
  --college-darker: #0a1a2b;
  --college-primary: #1d4e7a;
  --college-primary-soft: #eaf1f8;
  --college-accent: #c8a24a;
  --college-accent-dark: #a9822f;
  --college-text: #22303d;
  --college-muted: #5b6b7a;
  --college-border: #dfe5eb;
  --college-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--college-text);
  background-color: #f6f8fa;
  line-height: 1.65;
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, var(--college-dark), var(--college-darker));
  box-shadow: 0 2px 14px rgba(10, 26, 43, .18);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: .2px;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--college-accent);
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(
      115deg,
      rgba(10, 26, 43, .94) 0%,
      rgba(16, 38, 63, .88) 55%,
      rgba(29, 78, 122, .82) 100%
    ),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: var(--college-white);
  padding: 130px 0;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--college-accent),
    rgba(200, 162, 74, 0)
  );
}

.college-logo {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--college-accent), var(--college-accent-dark));
  color: var(--college-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 25px;
  margin: 0 auto 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.college-logo-small {
  width: 40px;
  height: 40px;
  font-size: 14px;
  margin: 0;
  border-radius: 10px;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -.5px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .35);
}

.hero .lead {
  color: rgba(255, 255, 255, .88);
  max-width: 720px;
  margin-inline: auto;
}

/* Buttons */
.btn-college {
  background-color: var(--college-primary);
  border-color: var(--college-primary);
  color: var(--college-white);
  font-weight: 600;
}

.btn-college:hover,
.btn-college:focus {
  background-color: #164064;
  border-color: #164064;
  color: var(--college-white);
}

.btn-warning {
  background-color: var(--college-accent);
  border-color: var(--college-accent);
  color: var(--college-darker);
  font-weight: 700;
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: var(--college-accent-dark);
  border-color: var(--college-accent-dark);
  color: var(--college-white);
}

/* Sections */
section {
  scroll-margin-top: 80px;
}

.section-title {
  color: var(--college-dark);
  font-weight: 800;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: var(--college-accent);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.text-muted {
  color: var(--college-muted) !important;
}

/* Cards */
.card {
  border: 1px solid var(--college-border);
  border-radius: 14px;
  background-color: var(--college-white);
}

.card.border-0 {
  border: 0;
}

.shadow,
.shadow-sm {
  box-shadow: 0 6px 22px rgba(16, 38, 63, .07) !important;
}

.course-card {
  border: 1px solid var(--college-border);
  border-radius: 16px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 78, 122, .28);
  box-shadow: 0 16px 34px rgba(16, 38, 63, .13);
}

.course-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--college-primary-soft);
  color: var(--college-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 15px;
}

/* Feature list */
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--college-white);
  border: 1px solid var(--college-border);
}

.feature-item i {
  color: var(--college-primary);
  font-size: 20px;
  margin-top: 3px;
}

/* Forms */
.form-control,
.form-select {
  border-color: var(--college-border);
  border-radius: 10px;
  padding: .7rem .9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--college-primary);
  box-shadow: 0 0 0 .2rem rgba(29, 78, 122, .15);
}

/* Footer */
.footer {
  background: linear-gradient(90deg, var(--college-dark), var(--college-darker));
  color: var(--college-white);
  padding: 50px 0 0;
}

.footer h2,
.footer h3 {
  color: var(--college-white);
}

.footer-link {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color .2s ease;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--college-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 30px;
  padding: 18px 0;
  background: rgba(0, 0, 0, .18);
}

/* WhatsApp button */
.whatsapp-chat {
  background-color: #1faa55;
  box-shadow: 0 8px 22px rgba(31, 170, 85, .32);
}

.whatsapp-chat:hover {
  background-color: #178f47;
  box-shadow: 0 12px 28px rgba(31, 170, 85, .42);
}

.whatsapp-chat::before {
  background-color: rgba(31, 170, 85, .35);
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    padding: 90px 0;
  }

  .college-logo {
    width: 72px;
    height: 72px;
    font-size: 21px;
  }

  .section-title::after {
    width: 42px;
  }
}