/* Brand Colors */
:root {
  /* Primary Brand Colors */
  --primary-dark: rgb(56, 59, 70);
  --primary-teal: rgb(39, 154, 147);
  --primary-coral: rgb(243, 92, 100);

  /* Extended Palette */
  --teal-light: rgb(69, 184, 177);
  --teal-dark: rgb(29, 124, 117);
  --coral-light: rgb(255, 122, 130);
  --coral-dark: rgb(213, 62, 70);

  /* Neutral Colors */
  --white: #ffffff;
  --light-grey: #f8f9fa;
  --medium-grey: #6c757d;
  --dark-grey: #343a40;
  --border-grey: #dee2e6;

  /* Typography */
  --font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-weight-light: 300;
  --font-weight-bold: 700;

  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 0 1rem;
  --border-radius: 8px;
  --border-radius-large: 12px;

  /* Shadows */
  --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-light);
  line-height: 1.6;
  color: var(--dark-grey);
  background-color: var(--white);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: var(--font-weight-light);
  color: var(--medium-grey);
  margin-bottom: 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-dark);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-teal), var(--primary-coral));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal), var(--teal-light));
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--primary-teal));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-coral), var(--coral-light));
  color: var(--white);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--coral-dark), var(--primary-coral));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

.btn-outline:hover {
  background: var(--primary-teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow-small);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo-img {
  height: 70px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: var(--font-weight-light);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-teal);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-coral);
  border-radius: 1px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone {
  font-weight: var(--font-weight-bold);
  color: var(--primary-dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(
      135deg,
      rgba(56, 59, 70, 0.85) 0%,
      rgba(56, 59, 70, 0.9) 100%
    ),
    url("../assets/photos/coruscant-contemporary-multi-level-residence.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 6.25rem 0 6.25rem;
  margin-top: 80px;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--white), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Property Search */
.property-search {
  background: var(--white);
  border-radius: var(--border-radius-large);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-large);
}

.search-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-grey);
}

.search-tab {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--medium-grey);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.search-tab.active {
  color: var(--primary-teal);
  border-bottom-color: var(--primary-coral);
}

.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
}

.search-field label {
  font-weight: var(--font-weight-bold);
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.search-field input,
.search-field select {
  padding: 0.75rem;
  border: 2px solid var(--border-grey);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--primary-teal);
}

.search-btn {
  margin-top: 1.5rem;
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 200px;
}

/* Featured Properties */
.featured-properties {
  padding: var(--section-padding);
  background: var(--light-grey);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.property-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--primary-teal);
  color: var(--white);
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
}

.property-status.rental {
  background: var(--primary-coral);
}

.property-price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
}

.property-details {
  padding: 1.5rem;
}

.property-details h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.property-location {
  color: var(--medium-grey);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-light);
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.property-features span {
  background: var(--light-grey);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--medium-grey);
}

.property-description {
  color: var(--medium-grey);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.view-all {
  text-align: center;
}

/* Services */
.services {
  padding: var(--section-padding);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-small);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--medium-grey);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--teal-dark);
}

/* About Section */
.about {
  padding: var(--section-padding);
  background: var(--light-grey);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--medium-grey);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-small);
}

.stat-number {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--medium-grey);
  font-weight: var(--font-weight-light);
}

.awards {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-coral);
}

.awards h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.awards ul {
  list-style: none;
}

.awards li {
  color: var(--medium-grey);
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-light);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--light-grey);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  border-left: 4px solid var(--primary-teal);
}

.contact-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--medium-grey);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.opening-hours {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-grey);
}

.opening-hours h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.contact-form h3 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
}

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

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--primary-coral);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-teal);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-block;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-btn {
    grid-column: 1;
  }

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

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .header-contact {
    order: -1;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }

  .property-search {
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 0 4rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .property-search {
    padding: 1.5rem;
  }

  .search-tabs {
    flex-direction: column;
  }

  .nav-list {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .header-contact .phone {
    font-size: 0.9rem;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    rgba(56, 59, 70, 0.9) 100%
  );
  color: var(--white);
  padding: 6rem 0 4rem;
  margin-top: 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--white), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Property Filters */
.property-filters {
  padding: 3rem 0;
  background: var(--light-grey);
  border-bottom: 1px solid var(--border-grey);
}

.filters-wrapper {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.filters-wrapper h2 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: var(--font-weight-bold);
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.filter-group select {
  padding: 0.75rem;
  border: 2px solid var(--border-grey);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary-teal);
}

.filter-btn {
  margin-top: 1.5rem;
}

/* Properties Listing */
.properties-listing {
  padding: 3rem 0;
}

.listing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-grey);
}

.results-info h3 {
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.results-info p {
  color: var(--medium-grey);
  margin: 0;
}

.view-options {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-grey);
  background: var(--white);
  color: var(--medium-grey);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: var(--font-weight-light);
}

.view-btn.active {
  border-color: var(--primary-teal);
  background: var(--primary-teal);
  color: var(--white);
}

/* Property Badges */
.property-badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.featured-badge {
  background: var(--primary-coral);
  color: var(--white);
}

.new-badge {
  background: var(--primary-teal);
  color: var(--white);
}

.luxury-badge {
  background: linear-gradient(45deg, gold, orange);
  color: var(--white);
}

/* Enhanced Property Cards */
.property-card.featured {
  border: 2px solid var(--primary-coral);
  position: relative;
}

.property-card.featured::before {
  content: "⭐ FEATURED";
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--primary-coral);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  z-index: 2;
}

.property-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-icon {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

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

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-btn {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-grey);
  background: var(--white);
  color: var(--primary-dark);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: var(--font-weight-light);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-number {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border-grey);
  background: var(--white);
  color: var(--primary-dark);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: var(--font-weight-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-number:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.pagination-number.active {
  border-color: var(--primary-teal);
  background: var(--primary-teal);
  color: var(--white);
}

.pagination-dots {
  color: var(--medium-grey);
  padding: 0 0.5rem;
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--primary-teal), var(--teal-light));
  color: var(--white);
  padding: 3rem 0;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.newsletter-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: 2px solid var(--white);
}

/* List View for Properties */
.properties-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.properties-grid.list-view .property-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  max-width: none;
}

.properties-grid.list-view .property-image {
  height: 200px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-card,
.service-card,
.contact-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.property-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
  z-index: 1;
  opacity: 0;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Our Story Section */
.our-story {
  padding: var(--section-padding);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.story-timeline {
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-grey);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.timeline-year {
  background: var(--primary-teal);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-bold);
  min-width: 80px;
  text-align: center;
  height: fit-content;
}

.timeline-content h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.timeline-content p {
  color: var(--medium-grey);
  line-height: 1.6;
  margin: 0;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.image-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
}

.image-caption p {
  margin: 0;
  font-size: 0.9rem;
  font-style: italic;
}

/* Team Section */
.team {
  padding: var(--section-padding);
  background: var(--light-grey);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.team-member {
  background: var(--white);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 2rem;
}

.member-info h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.member-title {
  color: var(--primary-teal);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--medium-grey);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.member-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.member-contact span {
  color: var(--medium-grey);
  font-size: 0.9rem;
}

/* Values Section */
.values {
  padding: var(--section-padding);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-small);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-coral);
}

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

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.value-card p {
  color: var(--medium-grey);
  line-height: 1.6;
  margin: 0;
}

/* Awards Section */
.awards-section {
  padding: var(--section-padding);
  background: var(--light-grey);
}

.awards-showcase {
  text-align: center;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.award-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-small);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.award-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-teal), var(--primary-coral));
}

.award-item:hover {
  transform: translateY(-5px);
}

.award-year {
  background: var(--primary-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: var(--font-weight-bold);
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.award-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.award-item h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.award-item p {
  color: var(--medium-grey);
  margin: 0;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
  border-left: 4px solid var(--primary-teal);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: var(--medium-grey);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--primary-dark);
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.author-info p {
  color: var(--medium-grey);
  margin: 0;
  font-size: 0.9rem;
}

.rating {
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    rgba(56, 59, 70, 0.9)
  );
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--white), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Enhanced Responsive Design for About Page */
@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-year {
    align-self: flex-start;
    min-width: auto;
  }

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

  .member-info {
    padding: 1.5rem;
  }

  .values-grid,
  .awards-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .story-image img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .member-image {
    height: 200px;
  }

  .value-card,
  .award-item,
  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
}
