@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --primary-color: #0b1d3a;
  --primary-light: #163666;
  --secondary-color: #d4af37;
  --secondary-dark: #b5952f;
  --text-dark: #333333;
  --text-light: #f4f4f4;
  --bg-light: #ffffff;
  --bg-gray: #f8f9fa;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-5 { padding: 5rem 0; }
.bg-gray { background-color: var(--bg-gray); }

.btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--secondary-color);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-dark);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
}

/* Navbar */
.navbar {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.navbar-brand:hover {
  color: var(--text-light);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--text-light);
}

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 29, 58, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  color: var(--secondary-color);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Cards Layout (Generic) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  max-width: 400px;
  margin: 0 auto;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Modal Popup */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.modal-content {
  position: relative;
  background-color: transparent;
  width: 90%;
  max-width: 500px;
  transform: scale(0.7);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 4px solid var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,1);
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-banner {
  width: 100%;
  height: auto;
  display: block;
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 60px;
  font-weight: 200;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
}

.close-modal:hover {
  color: var(--secondary-color);
  transform: rotate(90deg) scale(1.1);
}

/* Aims & Goals Sections */
.aims-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.aim-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid var(--secondary-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.aim-card:hover {
  transform: translateX(10px);
}

.aim-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.goals-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.goal-box {
  background: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: 15px;
}

.goal-box h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 10px;
}

.goal-list {
  list-style: none;
}

.goal-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.goal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 1rem 0;
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .goals-section {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
  }

  .close-modal {
    top: 20px;
    right: 20px;
    font-size: 50px;
  }
}
