/* ===================== VARIABLES ===================== */
/* Change colors here to customize the site theme */
:root {
  --maroon: #7b1e28;        /* Main brand color */
  --dark-maroon: #5a141c;   /* Darker accent color */
  --light-gray: #f5f5f5;    /* Light background color */
  --mid-gray: #e1e1e1;      /* Medium gray (borders) */
  --dark-text: #222;         /* Main text color */

  --bg-gradient: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f6f6 35%,
    #f0f0f0 70%,
    #ffffff 100%
  ); /* Page background gradient */
}

/* ===================== RESET / BASE ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif; /* Change font here */
}

body {
  color: var(--dark-text);
  background: var(--bg-gradient);
  line-height: 1.6;
}

/* ===================== NAVBAR ===================== */
/* Navbar container styling */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  border-bottom: 1px solid var(--mid-gray);
  z-index: 1000;
}

/* Inner content for spacing and alignment */
.navbar-inner {
  max-width: 1300px;
  margin: auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo text styling */
.logo {
  font-weight: 800;
  font-size: 24px;
  color: var(--maroon);
  text-decoration: none; /* Remove underline */
}

/* Navbar links */
.nav-links a {
  margin-left: 2rem; /* Space between links */
  text-decoration: none;
  color: #555; /* Default link color */
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--maroon); /* Hover color */
}

/* ===================== HERO / CAROUSEL ===================== */
.hero {
  height: 90vh; /* Full-screen height */
  position: relative;
  overflow: hidden;
  margin-top: 20px; /* Adjust if navbar overlaps */
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover; /* Cover entire slide */
  background-position: center;
  opacity: 0; /* Hide inactive slides */
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1; /* Show active slide */
}

/* Overlay to darken images for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* Hero text content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

/* Hero heading and subheading */
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
  margin-bottom: 1rem;
}

/* Highlighted word inside hero heading */
.hero-content .highlight {
  color: var(--maroon); /* Change color here */
}


.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 6rem 2rem; /* Space above/below sections */
}

.section.light {
  background: white;
}

.section.gray {
  background: var(--light-gray);
}

/* Container max width */
.container {
  max-width: 1300px;
  margin: auto;
}

.container.narrow {
  max-width: 800px;
}

/* Section headings */
.section h2 {
  color: var(--maroon);
  margin-bottom: 1.5rem;
}

/* Lead paragraph for emphasis */
.lead {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* ===================== CONTACT SECTION ===================== */
/* Contact summary bar at top of section */
.contact-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  background: linear-gradient(135deg, #ffffff, #f3f3f3);
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  margin: 3rem 0;
  text-decoration-skip-ink: none; /* Prevents underline breaks */
}

/* Labels like Phone, Email, Location */
.contact-summary strong {
  display: block;
  color: var(--maroon);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* Values like actual phone/email/location */
.contact-summary span {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--maroon)
}

/* Make links clickable */
.contact-summary a {
  color: var(--maroon);
  text-decoration: none;
}

.contact-summary a:hover {
  text-decoration: underline;
}

/* Grid for individual contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Contact cards */
.contact-card {
  background: linear-gradient(135deg, #ffffff, #f7f7f7);
  padding: 1.0rem;
  border-radius: 20px;
  border-left: 6px solid var(--maroon);
  box-shadow: 0 25px 55px rgba(0,0,0,0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for cards */
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.14);
}

/* Card headings with icon */
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--maroon);
  margin-bottom: 1.2rem;
}

.contact-card i {
  width: 22px;
  height: 22px;
}

/* Each person inside a contact card */
.contact-person {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.contact-person:first-of-type {
  border-top: none; /* No top border for first person */
  padding-top: 0;
  margin-top: 0;
}

/* Person's name */
.contact-person .name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
}

/* Person's email/phone */
.contact-person .email {
  font-size: 0.9rem;
  color: var(--maroon);
  font-weight: 500;
  /*word-break: break-all; /* prevents overflow for long emails */
  background: rgba(123, 30, 40, 0.08); /* subtle background for clarity */
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  width: fit-content; /* shrink to content */
  text-decoration-skip-ink: none;
}


.contact-person .email:hover {
  text-decoration: underline;
}

/* ===================== EMPLOYMENT ===================== */
.employment-contact {
  margin-top: 1.5rem;
  font-weight: 600;
}

.employment-contact .email {
  font-size: 0.9rem;
  color: var(--maroon);
  font-weight: 500;
  word-break: break-all; /* prevents overflow */
  background: rgba(123, 30, 40, 0.08);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  width: fit-content;
  text-decoration-skip-ink: none;
}

/* ===================== FOOTER ===================== */
.footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 2.5rem;
  font-size: 0.9rem;
}

/* ===================== RESPONSIVE / MOBILE ===================== */
@media (max-width: 768px) {

  /* Hide navbar links on small screens */
  .nav-links {
    display: none;
  }

  /* Reduce hero height on mobile */
  .hero {
    height: 70vh;
  }

  /* Reduce padding on cards & summary bar for small screens */
  .contact-card {
    padding: 2rem;
  }

  .contact-summary {
    padding: 2rem;
  }
}


