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

:root {
  --primary: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary: #ef4444;
  --secondary-dark: #dc2626;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-links a.nav-highlight {
  background: var(--primary);
  color: white !important;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav-links a.nav-highlight:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  /* Gradient overlay for better contrast */
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
  /* Slightly brighter since we have a gradient now */
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  /* The "Pop" - multi-layered shadow for smoothness */
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}

.hero-content p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  margin-bottom: 20px;
}

.belief-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
  filter: brightness(0.9);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-main {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  white-space: nowrap;
}

.footer-logo .logo-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

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

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

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

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

/* Responsive */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  body {
    font-size: 1.1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  .hero-content div[style*="flex"] {
    gap: 10px !important;
    flex-direction: column;
    align-items: center;
  }

  .logo-main {
    font-size: 1.05rem;
  }

  .logo-sub {
    font-size: 0.65rem;
  }

  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    display: none;
    /* Hidden by default */
    border-top: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  /* Hamburger Animation */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer-content>div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }
}