/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables
   2. Reset & Base Styles
   3. Typography
   4. Utility Classes
   5. Layout & Container
   6. Navigation
   7. Mobile Menu
   8. Buttons
   9. Hero Section
   10. Section Headers
   11. Features & Cards
   12. Philosophy Card
   13. Profile/Bio Section
   14. Forms
   15. Contact Section
   16. CTA Banner
   17. Footer
   18. Responsive - Tablet (768px)
   19. Responsive - Desktop (1024px)
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  /* Brand Colors */
  --brand-primary: #0b647a;
  --brand-primary-dark: #085061;
  --brand-secondary: #75b845;
  --brand-accent: #63c5c9;

  /* Background Colors */
  --bg-light: #f9fafb;
  --white: #ffffff;

  /* Text Colors */
  --text-dark: #111827;
  --text-main: #374151;
  --text-muted: #6b7280;

  /* Typography */
  --font-header: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  /* Spacing & Sizing */
  --radius: 0.5rem;
  --radius-large: 1rem;
  --container-max: 80rem;

  /* Shadows */
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Compatibility Aliases */
  --primary: var(--brand-primary);
  --primary-dark: var(--brand-primary-dark);
  --secondary: var(--brand-secondary);
  --accent: var(--brand-accent);
  --text-gray: var(--text-muted);
  --shadow: var(--shadow-md);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3 {
  font-family: var(--font-header);
  line-height: 1.2;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ============================================
   4. UTILITY CLASSES
   ============================================ */
/* Text Colors */
.text-brand {
  color: var(--brand-primary);
}

.text-primary {
  color: var(--brand-primary);
}

.text-secondary {
  color: var(--brand-secondary);
}

.text-accent {
  color: var(--brand-accent);
}

/* Text Alignment */
.text-center {
  text-align: center;
}

.align-left {
  text-align: left;
}

/* Background Colors */
.bg-white {
  background-color: var(--white);
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-primary {
  background: rgba(11, 100, 122, 0.1);
  color: var(--brand-primary);
}

.bg-secondary {
  background: rgba(117, 184, 69, 0.1);
  color: var(--brand-secondary);
}

.bg-accent {
  background: rgba(99, 197, 201, 0.1);
  color: var(--brand-accent);
}

.bg-primary-faint {
  background: rgba(11, 100, 122, 0.1);
}

.bg-secondary-faint {
  background: rgba(117, 184, 69, 0.1);
}

.bg-accent-faint {
  background: rgba(99, 197, 201, 0.1);
}

/* Brand Background Colors (solid) */
.brand-primary {
  background: var(--brand-primary);
}

.brand-secondary {
  background: var(--brand-secondary);
}

.brand-accent {
  background: var(--brand-accent);
}

/* Spacing */
.section-spacer {
  padding: 5rem 0;
}

/* ============================================
   5. LAYOUT & CONTAINER
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.features-bg .container {
  padding: 0 0.75rem;
}

.bg-white .container {
  padding: 0 0.75rem;
}

.grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* ============================================
   6. NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f1f1f1;
  height: 80px;
}

.nav-container,
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 150px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.nav-logo img,
.logo-img {
  max-height: 150px;
  width: 180px;
  display: block;
  padding: 4px;
  margin-top: 10px;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin: 0;
}

.brand-subtext {
  font-size: 0.65rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-top: -4px;
}

/* Desktop Navigation */
.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
  font-weight: 700;
}

/* Mobile Toggle */
.menu-toggle-mobile,
.nav-toggle-mobile,
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

/* ============================================
   7. MOBILE MENU
   ============================================ */
.nav-links-mobile {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1rem 0;
  z-index: 999;
}

.nav-links-mobile.open {
  display: flex;
}

.nav-links-mobile a {
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  border-bottom: 1px solid #f1f1f1;
  transition: background 0.2s;
}

.nav-links-mobile a:hover {
  background: var(--bg-light);
  color: var(--brand-primary);
}

.nav-links-mobile .btn {
  margin: 1rem 1.5rem;
  text-align: center;
  color: var(--white);
}

/* ============================================
   8. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: var(--white);
  color: var(--brand-primary);
  font-weight: 600;
}

.btn-white:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

.btn-large,
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* ============================================
   9. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  background: var(--white);
  margin-top: 150px;
  overflow: hidden;
}

.hero-layout {
  position: relative;
  padding: 2rem 0;
}

.hero-text-content {
  text-align: center;
}

.hero-grid {
  display: block;
  padding: 6rem 0 3rem;
}

.hero-content {
  margin-bottom: 2rem;
  text-align: center;
}

/* Hero Typography */
.category-label,
.section-tag {
  display: block;
  color: var(--brand-secondary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.hero-headline {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Image */
.hero-visual {
  height: 15rem;
  width: 100%;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: var(--brand-primary);
  opacity: 0.1;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  height: 300px;
  margin: 0 1rem;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: var(--brand-primary);
  opacity: 0.1;
}

.hero-decoration {
  display: none;
}

/* ============================================
   10. SECTION HEADERS
   ============================================ */
.section-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 3rem;
}

.accent-divider,
.accent-line {
  display: block;
  width: 4rem;
  height: 4px;
  background: var(--brand-secondary);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.accent-divider.align-left {
  margin-left: 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.section-title.align-left {
  text-align: left;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 1rem auto;
}

/* ============================================
   11. FEATURES & CARDS
   ============================================ */
.features-bg {
  background: #f3f4f6;
}

.features-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Feature Item (with indicator) */
.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.feature-inner {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.feature-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  transition: width 0.3s ease;
  opacity: 0.1;
}

.feature-item:hover .feature-indicator {
  width: 5px;
}

/* Feature Card (with border) */
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-left: 4px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card.border-primary {
  border-left-color: var(--brand-primary);
}

.feature-card.border-secondary {
  border-left-color: var(--brand-secondary);
}

.feature-card.border-accent {
  border-left-color: var(--brand-accent);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Icon Circle */
.icon-circle,
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Feature List (Bullet Points) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* Two Cards Layout */
.grid-layout.two-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   12. PHILOSOPHY CARD
   ============================================ */
.philosophy-card {
  background: var(--white);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
}

.card-image img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.card-body {
  padding: 2.5rem;
}

.status-badge {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--text-dark);
}

.status-badge span {
  margin-right: 0.5rem;
  color: var(--brand-primary);
}

/* ============================================
   13. PROFILE/BIO SECTION
   ============================================ */
.bio-section {
  padding: 5rem 0;
  background: var(--white);
}

.profile-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.profile-image {
  position: relative;
  height: 250px;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
}

.profile-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.profile-overlay p {
  opacity: 0.9;
  font-size: 0.875rem;
}

.profile-content {
  padding: 2rem;
}

.content-highlight {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.profile-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
}

.stat-item .material-symbols-outlined {
  font-size: 1.5rem;
}

/* ============================================
   14. FORMS
   ============================================ */
.form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-lg);
}

.input-group,
.form-group {
  margin-bottom: 1.2rem;
}

.input-label,
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.input-field {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

.form-select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  background: var(--white);
}

/* ============================================
   15. CONTACT SECTION
   ============================================ */
.contact-layout {
  display: block;
}

.contact-info {
  background: var(--white);
  padding: 1.0rem;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.contact-lead {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-detail .material-symbols-outlined {
  color: var(--brand-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.contact-detail p {
  color: var(--text-muted);
  font-size: 0.9rem;
  word-break: break-word;
}

.contact-detail a {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  word-break: break-all;
}

.contact-detail a:hover {
  color: var(--brand-primary);
}

/* ============================================
   16. CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--brand-primary);
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* ============================================
   17. FOOTER
   ============================================ */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid #eee;
  background: var(--white);
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.footer-logo img {
  height: 2rem;
  filter: grayscale(1);
}

.footer-logo span {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ============================================
   18. RESPONSIVE - TABLET (768px)
   ============================================ */
@media (min-width: 768px) {
  /* Navigation */
  .nav-toggle-mobile,
  .mobile-toggle {
    display: none;
  }

  .nav-links-desktop {
    display: flex;
  }

  .nav-links-mobile {
    display: none !important;
  }

  /* Layout */
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Two Cards Layout - Tablet */
  .grid-layout.two-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero */
  .hero-headline {
    font-size: 3.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-image-container {
    height: 450px;
  }

  /* Philosophy Card */
  .philosophy-card {
    flex-direction: row;
    min-height: 350px;
  }

  .card-image {
    width: 50%;
    flex-shrink: 0;
  }

  .card-image img {
    height: 100%;
    min-height: 350px;
  }

  /* Profile Card */
  .profile-image {
    height: 350px;
  }

  .profile-content {
    padding: 2.5rem;
  }

  .profile-stats {
    flex-direction: row;
    gap: 2rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact */
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .contact-info {
    padding: 2rem;
  }

  .contact-detail h4 {
    font-size: 1rem;
  }

  .contact-detail p {
    font-size: 1rem;
  }

  .contact-detail a {
    word-break: normal;
  }

  .contact-detail .material-symbols-outlined {
    font-size: 1.5rem;
  }
}

/* ============================================
   19. RESPONSIVE - DESKTOP (1024px)
   ============================================ */
@media (min-width: 1024px) {
  /* Hero Grid (About page) */
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .hero-content {
    margin-bottom: 0;
    text-align: left;
  }

  .hero-image-container {
    height: 100%;
    min-height: 400px;
  }

  .hero-image-container img {
    object-position: center;
  }

  /* Profile Card */
  .profile-card {
    flex-direction: row;
  }

  .profile-image {
    width: 40%;
    height: auto;
    min-height: 400px;
  }

  .profile-image img {
    object-position: center top;
  }

  .profile-content {
    width: 60%;
    padding: 3rem;
  }

  /* Hero */
  .hero-layout {
    display: flex;
    align-items: center;
    min-height: 450px;
    padding: 0;
  }

  .hero-text-content {
    text-align: left;
    width: 50%;
    padding-right: 4rem;
  }

  .hero-description {
    margin-left: 0;
  }

  .hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
  }

  .hero-decoration {
    display: block;
    position: absolute;
    right: 50%;
    top: 0;
    height: 100%;
    width: 150px;
    color: var(--white);
    transform: translateX(50%);
    z-index: 15;
  }

  /* Layout */
  .grid-layout {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact */
  .contact-layout {
    gap: 4rem;
  }

  /* Navigation */
  .brand-name {
    display: block;
  }
}


.success-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #0B647A; /* Your brand color */
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
