:root {
  /* Colors - Blue Rock Theme */
  --bg-body: #ffffff;
  --bg-alt: #f8fafc; /* Very light blue-gray */
  --bg-card: #ffffff;
  --text-main: #334155; /* Slate 700 */
  --text-heading: #0f172a; /* Slate 900 */
  --text-muted: #64748b; /* Slate 500 */
  --border-color: #e2e8f0;
  
  /* Accents */
  --accent-primary: #0891b2; /* Cyan 600 */
  --accent-secondary: #0ea5e9; /* Sky 500 */
  --accent-light: #ecfeff;
  --accent-dark: #155e75;
  
  --gradient-primary: linear-gradient(135deg, #0891b2 0%, #0ea5e9 100%);
  --gradient-soft: linear-gradient(180deg, rgba(240,249,255,0) 0%, rgba(224,242,254,0.3) 100%);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-blue: 0 10px 30px -5px rgba(8, 145, 178, 0.25);
  
  /* Fonts */
  --font-sans: 'Lato', 'Roboto', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--spacing-sm) 0;
  line-height: 1.2;
  font-family: var(--font-serif);
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

h1 { font-size: 4rem; font-weight: 700; }
h2 { font-size: 3rem; margin-bottom: var(--spacing-md); }
h3 { font-size: 2rem; font-family: var(--font-sans); font-weight: 700; }
h4 { font-size: 1.25rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-primary); }

p {
  margin: 0 0 var(--spacing-md) 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 65ch;
}

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

a:hover {
  color: var(--accent-primary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Full screen sections */
section {
  min-height: 100vh;
  padding: var(--spacing-xl) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

section:nth-child(even) {
  background: var(--bg-alt);
}

.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Masonry-ish grid for gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: var(--spacing-sm);
}
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-row: span 1; grid-column: span 1; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  section { padding: var(--spacing-lg) 0; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Components */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-heading);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-primary);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-dark);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px; /* Pill shape */
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(8, 145, 178, 0.4);
}

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

.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* Cards (Programs) */
.card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-image-container {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.program-features {
  list-style: none;
  padding: 0;
  margin: var(--spacing-sm) 0;
  flex-grow: 1;
}

.program-features li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.program-features li::before {
  content: '•';
  color: var(--accent-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Hero Section Specifics */
.hero {
  height: 100vh;
  padding: 0;
  margin: 0;
  background: #000; /* Fallback */
  color: white;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.6));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: var(--spacing-md);
}

.hero h1 {
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: var(--spacing-md);
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
}

/* About Section */
.about-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

.about-img-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.about-img-grid img:nth-child(1) { margin-top: 2rem; }
.about-img-grid img:nth-child(2) { margin-bottom: 2rem; }


/* Schedule Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.schedule-table th {
  background: var(--accent-primary);
  color: white;
  text-align: left;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.schedule-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:nth-child(even) {
  background: var(--accent-light);
}

/* Contact/Footer */
.footer-wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}
.footer-wave svg {
  width: 100%;
  height: 100px;
}

.contact-section {
  background: var(--text-heading);
  color: white;
  padding-top: var(--spacing-xl);
}

.contact-section h2, .contact-section p, .contact-section .form-label {
  color: white;
}

.contact-section .form-input, .contact-section .form-textarea {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: white;
}
.contact-section .form-input:focus, .contact-section .form-textarea:focus {
  border-color: var(--accent-primary);
  background: rgba(255,255,255,0.15);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  transition: all 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
  background: white;
}

/* Utils */
.circle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

.placeholder-image {
  background-color: #cbd5e1;
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
