/* Base Styles */
:root {
  --primary-color: #1a365d;
  --secondary-color: #c9a55c;
  --text-color: #333;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --border-color: #dee2e6;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn:hover {
  background-color: #b08d3e;
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
}

.underline {
  height: 3px;
  width: 70px;
  background-color: var(--secondary-color);
  margin: 0 auto 20px;
}

section {
  padding: 80px 0;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.logo p {
  font-size: 12px;
  color: var(--secondary-color);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: #fff;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  padding-bottom: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--secondary-color);
}

.nav-menu a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {

  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  margin-top: 60px;
  padding-top: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  background-color: #f9f9f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Team Section */
.team {
  background-color: #fff;
  position: relative;
}

.team-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.team-member {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-img-container {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-img {
  transform: scale(1.05);
}

.team-info {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-info h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-info .position {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 16px;
}

.team-info .bio {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.read-more-btn {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  align-self: center;
}

.read-more-btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: white;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-30px);
  transition: all 0.4s ease;
  position: relative;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-color);
}

.modal-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 3px solid var(--secondary-color);
}

.modal-title {
  flex-grow: 1;
}

.modal-title h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.modal-title p {
  color: var(--secondary-color);
  font-weight: bold;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-body {
  padding: 30px;
}

.modal-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
}

/* Responsive adjustments for team section */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .modal-header {
    flex-direction: column;
    text-align: center;
  }

  .modal-img {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Contact Section */
.contact {
  background-color: #f9f9f9;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.office-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.office h3,
.email-contact h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.office h3:after,
.email-contact h3:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.office-details {
  display: flex;
  margin-bottom: 15px;
}

.office-icon {
  color: var(--secondary-color);
  font-size: 20px;
  margin-right: 15px;
  min-width: 25px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-logo p {
  color: var(--secondary-color);
  font-size: 14px;
}

.footer-links h3,
.footer-social h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after,
.footer-social h3:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: #ccc;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .office-locations {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    background-color: var(--primary-color);
    width: 100%;
    flex-direction: column;
    padding: 20px 0;
    transition: var(--transition);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links h3:after,
  .footer-social h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }
}
