/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

/* CSS Variables */
:root {
  --dark-brown: #1a1a2e;
  --charcoal: #2D2D2D;
  --gold: #CCA876;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #666666;
  --dark-gray: #333333;
  --border-color: #e0e0e0;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  color: #b39761;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
  color: var(--dark-brown);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.8rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Top Bar */
.top-bar {
  background-color: var(--dark-brown);
  color: var(--white);
  padding: 0.75rem 0;
  font-size: 0.95rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.top-bar a {
  color: var(--white);
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: var(--gold);
}

/* Header & Navigation */
header {
  background-color: var(--white);
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 48px;
  z-index: 99;
}

header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-brown);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  color: var(--dark-brown);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--gold);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown > a::after {
  content: ' \f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  margin-left: 0.3rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--dark-brown);
  min-width: 250px;
  list-style: none;
  border-top: 3px solid var(--gold);
  padding-top: 0.5rem;
  margin-top: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: var(--gold);
  color: var(--dark-brown);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark-brown);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.7)), url('../images/hero-slide.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 4rem 2rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.4rem;
  color: var(--gold);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Hero Banner (Inner Pages) */
.hero-banner {
  background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.7)), url('../images/hero-about.jpg');
  background-size: cover;
  background-position: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.hero-banner h1 {
  color: var(--white);
  font-size: 2.8rem;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
section {
  padding: 5rem 2rem;
}

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

/* Stats Bar */
.stats-bar {
  background-color: var(--charcoal);
  color: var(--white);
  padding: 3rem 2rem;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--white);
  margin-bottom: 0;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 3rem auto 0;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(204, 168, 118, 0.2);
  border-color: var(--gold);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-card h4 {
  color: var(--dark-brown);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 3rem auto 0;
}

.team-card {
  background-color: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.team-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.team-card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card-content {
  padding: 2rem;
  text-align: center;
}

.team-card h3 {
  color: var(--dark-brown);
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
}

.team-card .role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: block;
}

.team-card .contact-info {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.team-card a {
  color: var(--gold);
  word-break: break-all;
}

/* Internship Callout */
.internship-callout {
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--charcoal) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-left: 5px solid var(--gold);
  text-align: center;
  max-width: 1400px;
  margin: 4rem auto;
  border-radius: 4px;
}

.internship-callout h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.internship-callout p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Contact Form */
.consultation-form {
  background-color: var(--light-gray);
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 3rem auto;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 5px rgba(204, 168, 118, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background-color: var(--gold);
  color: var(--dark-brown);
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.btn:hover {
  background-color: #b39761;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(204, 168, 118, 0.4);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1400px;
  margin: 3rem auto;
}

.two-column-content h3 {
  margin-top: 0;
}

.sidebar {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.sidebar h4 {
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 0.5rem 0;
  color: var(--medium-gray);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.sidebar li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold);
  margin-right: 0.75rem;
  font-size: 0.85rem;
}

/* Quote Section */
.quote-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--charcoal) 100%);
  color: var(--white);
  margin: 4rem 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.quote-section p {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Map Section */
.map-section {
  max-width: 1400px;
  margin: 0 auto 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Contact Info */
.contact-info-section {
  max-width: 1400px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-box {
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.contact-box h4 {
  color: var(--dark-brown);
  margin-bottom: 1rem;
}

.contact-box p {
  color: var(--medium-gray);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-box a {
  display: block;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--dark-brown);
  color: var(--white);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 1rem;
}

.footer-section a {
  color: #cccccc;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-section li i {
  color: var(--gold);
  margin-right: 0.75rem;
  min-width: 20px;
}

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

/* Individual Team Member Page */
.team-member-hero {
  background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), url('../../images/hero-about.jpg');
  background-size: cover;
  background-position: center;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.team-member-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
}

.team-member-content {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.team-member-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.team-member-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-member-info h2 {
  margin-top: 0;
}

.team-member-role {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: block;
}

.team-member-bio {
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.team-member-contact {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.team-member-contact h4 {
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1rem;
}

.contact-detail strong {
  color: var(--dark-brown);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-detail a {
  color: var(--gold);
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    gap: 0;
    border-bottom: 2px solid var(--gold);
  }

  nav.active ul li {
    padding: 0.5rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .hero-content p {
    font-size: 1.1rem;
  }

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

  .top-bar-content {
    flex-direction: column;
    gap: 1rem;
  }

  .top-bar-left, .top-bar-right {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }

  header .container {
    flex-wrap: wrap;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-member-layout {
    grid-template-columns: 1fr;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background-color: var(--light-gray);
    border-top: none;
    border-left: 3px solid var(--gold);
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  nav.active .dropdown-menu {
    display: block;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .quote-section p {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

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

  .hero-content p {
    font-size: 0.95rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .consultation-form {
    padding: 2rem 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
  }

  .map-section iframe {
    height: 300px;
  }

  .service-card,
  .team-card-content,
  .contact-box,
  .team-member-contact {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .top-bar,
  header,
  nav,
  footer {
    display: none;
  }

  body {
    background-color: var(--white);
  }

  section {
    page-break-inside: avoid;
  }
}
