/* 
 * Vital-Bliss College - Global Styles
 * Theme: Blue (Primary), Red (Accent), White
 * Font: 'Poppins', sans-serif (Modern, Professional)
 */

:root {
  /* Colors */
  --primary-blue: #0A2463;
  /* Deep Royal Blue */
  --secondary-blue: #3E92CC;
  /* Lighter Blue for gradients/hovers */
  --accent-red: #D83121;
  /* Vibrant Red */
  --accent-red-hover: #b92b1b;
  --text-dark: #1F2421;
  --text-light: #666666;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --light-gray: #E5E7EB;

  /* Typography */
  --font-main: 'Poppins', sans-serif;
  --font-heading: 'Poppins', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;

  /* Box Shadow */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue);
}

.text-accent {
  color: var(--accent-red);
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-red);
  margin: 0.5rem auto 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #081d4f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--accent-red);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Top Bar */
/* Header & Navigation */
header {
  height: var(--header-height);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.logo img {
  height: 50px;
  /* Adjust based on actual logo */
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-red);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-blue);
}

/* Animation Utilities */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    /* Hidden */
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.nav-open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    display: block;
    text-align: center;
  }
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}