/* ================================
   KEDAM & ASOCIADOS - Main CSS
   ================================ */

:root {
  /* Colors */
  --brand-blue: #2F3D50;
  --brand-blue-soft: #243447;
  --brand-blue-dark: #1B2633;
  --brand-gold: #BDB292;
  --brand-gold-hover: #d6c9a6;
  --brand-text-light: #E0E6F0;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;

  --green-600: #059669;
  --green-700: #047857;
  --red-500: #ef4444;

  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --container-padding: 1rem;
  --section-padding-y: 4rem;
  /* py-16 */
  --section-padding-y-sm: 2rem;
  /* py-8 */

  /* Transitions */
  --transition-fast: 0.25s ease;
  --transition-normal: 0.35s ease;
}

/* ================================
   Reset & Base
   ================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--gray-100);
  color: var(--gray-800);
  font-family: var(--font-sans);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ================================
   Layout / Utilities
   ================================ */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.hidden {
  display: none !important;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-50 {
  z-index: 50;
}

/* Grid System */
.grid {
  display: grid;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:flex {
    display: flex;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-end {
    align-items: flex-end;
  }

  .md\:justify-between {
    justify-content: space-between;
  }

  .md\:hidden {
    display: none;
  }

  .md\:text-left {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

/* Margins/Padding Helpers */
.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

/* ================================
   Professional Navigation System
   ================================ */

/* Main Header - Glassmorphism */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-navbar {
  background: rgba(47, 61, 80, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(189, 178, 146, 0.1);
  transition: all 0.3s ease;
}

/* Scrolled state - solid background */
.main-header.scrolled .main-navbar {
  background: rgba(47, 61, 80, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Desktop Navigation Container */
.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
}

/* Brand/Logo */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.brand-logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.brand-text:hover {
  color: var(--brand-gold);
}

/* Desktop Navigation Links */
.nav-links-desktop {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--brand-text-light);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--brand-gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu - Full Screen Overlay */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg,
      rgba(27, 38, 51, 0.995) 0%,
      rgba(47, 61, 80, 0.995) 50%,
      rgba(36, 52, 71, 0.995) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-panel:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
}

.mobile-menu-divider {
  height: 1px;
  width: 80%;
  max-width: 300px;
  background: linear-gradient(90deg,
      transparent,
      var(--brand-gold),
      transparent);
  margin: 2rem 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0;
  width: 100%;
}

.mobile-nav-link {
  color: var(--brand-text-light);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 250px;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(189, 178, 146, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.mobile-nav-link:hover::before {
  left: 100%;
}

.mobile-nav-link:hover {
  color: var(--brand-gold);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
}

.mobile-nav-link:active {
  transform: scale(0.95);
}

/* Responsive Adjustments */
@media (min-width: 1024px) and (max-width: 1280px) {
  .nav-content {
    padding: 1rem 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 1023px) {
  .brand-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .nav-content {
    padding: 0.75rem 1rem;
  }

  .brand-logo {
    height: 2.5rem;
  }

  .mobile-nav-link {
    font-size: 1.25rem;
    min-width: 200px;
  }
}

/* ================================
   Hero / Banner
   ================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 400px;
}

@media (min-width: 640px) {
  .hero-section {
    height: 500px;
  }
}

@media (min-width: 768px) {
  .hero-section {
    height: 600px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    height: 600px;
  }
}

.hero-carousel {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.banner-slide {
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradients overlays */
.overlay-gradient-blue {
  background: linear-gradient(to right, var(--brand-blue), var(--brand-blue-dark));
}

.overlay-gradient-green {
  background: linear-gradient(to right, var(--green-600), var(--green-700));
}

/* Approx */
.overlay-gradient-red {
  background: linear-gradient(to right, #dc2626, #991b1b);
}

/* Approx */

.banner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
  max-width: 56rem;
  /* max-w-4xl */
}

.banner-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .banner-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .banner-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .banner-title {
    font-size: 3rem;
  }
}

.banner-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .banner-subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .banner-subtitle {
    font-size: 1.25rem;
  }
}

/* Banner Dots */
.banner-dots-container {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cccccc;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.25s;
}

.banner-dot:hover {
  background-color: var(--brand-gold);
  opacity: 1;
  transform: scale(1.25);
}

.banner-dot.active {
  background-color: var(--brand-gold);
  opacity: 1;
  transform: scale(1.25);
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(1.15);
  }

  50% {
    transform: scale(1.28);
  }

  100% {
    transform: scale(1.15);
  }
}

/* ================================
   Who We Are Section
   ================================ */
.section-padding {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.heading-primary {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .heading-primary {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .heading-primary {
    font-size: 2.25rem;
  }
}

.text-gold-heading {
  color: var(--brand-gold);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .text-gold-heading {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .text-gold-heading {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .text-gold-heading {
    font-size: 2.25rem;
  }
}

.text-gold-heading:hover {
  color: var(--brand-gold-hover);
}

.feature-paragraph {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.625;
  max-width: 56rem;
}

@media (min-width: 640px) {
  .feature-paragraph {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .feature-paragraph {
    font-size: 1.25rem;
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.25s;
}

@media (min-width: 640px) {
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

.btn-primary:hover {
  background-color: var(--brand-gold);
  color: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Feature Icons Grid */
.feature-icon-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-100);
  width: 10rem;
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 640px) {
  .feature-icon-card {
    width: 11rem;
    height: 11rem;
  }
}

.feature-icon-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon-card img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.feature-icon-card:hover img {
  transform: scale(1.08) translateY(-4px);
}

/* ================================
   Services Section
   ================================ */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
    margin-bottom: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.5rem;
  }
}

/* Service Cards */
.service-card {
  background-color: var(--gray-100);
  /* .bg-gray-100 */
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease-in-out;
  border-left: 4px solid transparent;
  /* Prepare for left border hover */
}

@media (min-width: 640px) {
  .service-card {
    padding: 1.5rem;
  }
}

.service-card:hover {
  border-left-color: var(--brand-gold);
  /* Only left border changes color */
  background-color: #fff;
  /* White background for contrast */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  /* Smoother shadow */
  transform: translateY(-5px);
}

.service-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 640px) {
  .service-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

.service-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  /* Space between text and line */
  width: 0%;
  height: 3px;
  /* Thickness of the line */
  background-color: var(--brand-gold);
  transition: width 0.35s ease;
}

.service-card:hover .service-card-title {
  color: var(--brand-blue);
}

.service-card:hover .service-card-title::after {
  width: 100%;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-left-color: var(--brand-gold);
  background-color: #ffffff;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand-gold);
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-link:hover {
  color: var(--brand-blue);
  transform: translateX(4px);
}

.service-card:hover .service-link {
  color: var(--brand-blue);
}

/* ================================
   Team Section
   ================================ */
/* Carousel styles reused from hero but modified structure */
.team-container {
  overflow: hidden;
}

.team-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.team-slide {
  flex-shrink: 0;
  width: 100%;
}

.team-image-wrapper {
  width: 100%;
  height: 16rem;
  background-color: var(--gray-300);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 640px) {
  .team-image-wrapper {
    height: 20rem;
  }
}

@media (min-width: 768px) {
  .team-image-wrapper {
    height: 24rem;
  }
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-content {
  background-color: var(--white);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .team-content {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .team-content {
    padding: 2rem;
  }
}

.team-dots-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}

.team-dot {
  /* same as banner-dot generally */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-300);
  cursor: pointer;
}

.team-dot.active {
  background-color: var(--brand-blue);
  /* bg-blue-500 in old code */
}

/* ================================
   Contact Section
   ================================ */
.contact-form-card {
  max-width: 28rem;
  margin: 0 auto;
  background-color: var(--white);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .contact-form-card {
    max-width: 32rem;
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 2rem;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

@media (min-width: 640px) {
  .form-label {
    font-size: 1rem;
  }
}

.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  resize: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

@media (min-width: 640px) {
  .form-input {
    font-size: 1rem;
  }
}

.btn-whatsapp {
  width: 100%;
  background-color: var(--green-600);
  color: var(--white);
  padding: 0.5rem;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .btn-whatsapp {
    padding: 0.75rem;
    font-size: 1rem;
  }
}

.btn-whatsapp:hover {
  background-color: var(--green-700);
}

.error-message {
  color: var(--red-500);
  font-size: 0.75rem;
}

/* ================================
   Footer
   ================================ */
.main-footer {
  background-color: var(--brand-blue-dark);
  /* bg-blue-800 */
  color: var(--white);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--gray-300);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: var(--white);
  transition: color 0.2s;
}

.social-icon:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--brand-gold);
  text-align: center;
}

/* ================================
   Animations / Scroll
   ================================ */
.section-scroll {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.5s ease-out;
}

.section-scroll.section-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.hover-lift {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hover-lift:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.icon-hover-animate img {
  transition: transform 0.35s ease;
}

.icon-hover-animate:hover img {
  transform: scale(1.08) translateY(-4px);
}

.tilt-card {
  transform-style: preserve-3d;
  perspective: 800px;
}

/* ================================
   Dynamic Real Estate Card Styles
   ================================ */
.property-card-content {
  padding: 1rem;
}

.property-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
}

.property-price {
  color: var(--brand-blue);
  font-weight: 700;
  margin-top: 0.25rem;
}

.property-details-text {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.property-tag {
  font-size: 0.75rem;
  background-color: var(--gray-100);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.property-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  /* rounded */
  transition: background-color 0.2s;
}

.property-btn:hover {
  background-color: var(--brand-blue-dark);
}

/* ================================
   Filter & Property Detail Styles
   ================================ */
.filter-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .filter-card {
    padding: 1.5rem;
  }
}

.btn-secondary {
  border: 1px solid var(--gray-300);
  background-color: transparent;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
  color: var(--gray-700);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
}

.aspect-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  background-color: #000;
}

.aspect-video img,
.aspect-video iframe,
.aspect-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   Property Detail Gallery
   ================================ */
.thumb-btn {
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}

.thumb-btn.thumb-selected {
  border-color: var(--brand-blue);
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

/* Modal for video */
.modal-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 56rem;
  /* max-w-4xl (approx) */
  position: relative;
  /* removed overflow: hidden to allow close button to sit outside */
}

.modal-header {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-close {
  background-color: var(--white);
  border-radius: 9999px;
  padding: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: var(--gray-800);
}

.btn-close:hover {
  background-color: var(--gray-100);
}

/* ================================
   Page Hero (Subpages)
   ================================ */
.hero-page {
  background: linear-gradient(to right, var(--brand-blue), var(--brand-blue-dark));
  color: var(--white);
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-page {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 768px) {
  .hero-page {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.hero-page-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-page-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero-page-title {
    font-size: 3rem;
  }
}

.hero-page-subtitle {
  font-size: 1.125rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-page-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero-page-subtitle {
    font-size: 1.5rem;
  }
}

/* ================================
   Profile Page Styles
   ================================ */
.profile-header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .profile-header {
    margin-bottom: 3rem;
  }
}

.profile-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .profile-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .profile-title {
    font-size: 3rem;
  }
}

.gold-divider {
  width: 6rem;
  height: 0.25rem;
  margin: 0 auto;
  background: linear-gradient(90deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.profile-image-container {
  background-color: var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  max-width: 32rem;
  margin: 0 auto;
  aspect-ratio: 2/3;
}

.profile-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Dagoberto specific adjustments */
.profile-dagoberto .profile-image {
  object-position: center 23%;
}

/* Kennya specific adjustments */
.profile-kennya .profile-image {
  object-position: center 5%;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-card-section {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
}

.profile-basic-info {
  background-color: var(--gray-50);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .profile-name {
    font-size: 1.875rem;
  }
}

.profile-role {
  font-size: 1.125rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .profile-role {
    font-size: 1.25rem;
  }
}

.profile-summary {
  border-left: 4px solid var(--brand-gold);
  padding-left: 1rem;
  color: var(--gray-700);
  line-height: 1.625;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-subtitle svg {
  color: var(--brand-blue);
}

.badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .badge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  text-align: center;
}

.badge-blue {
  background-color: #dbeafe;
  /* blue-100 */
  color: #1e40af;
  /* blue-800 */
}

.badge-green {
  background-color: #dcfce7;
  /* green-100 */
  color: #166534;
  /* green-800 */
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray-700);
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--brand-blue);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.advisory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .advisory-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.advisory-card {
  background-color: #eff6ff;
  /* blue-50 */
  padding: 1rem;
  border-radius: 0.5rem;
}

.advisory-title {
  font-weight: 600;
  color: #1e40af;
  /* blue-800 */
  margin-bottom: 0.5rem;
}

.advisory-text {
  font-size: 0.875rem;
  /* blue-700 */
}

/* ================================
   Refactored Utilities & Semantic Classes
   ================================ */

.bg-white {
  background-color: var(--white);
}

.text-xs {
  font-size: 0.75rem;
}

.text-gray-600 {
  color: var(--gray-600);
}

.profile-content-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  /* background-color: var(--white); implied by context or added separately */
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.main-content-pt {
  padding-top: 3rem;
}

.text-sm {
  font-size: 0.875rem;
}

.service-category-title {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

/* ================================
   Restored Animations
   ================================ */

/* Initial state for elements to be revealed */
/* Initial state for elements to be revealed - Matches brand-kedam.css */
.reveal-on-scroll,
.section-scroll {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.6s ease-out;
  will-change: opacity, transform;
}

/* Final state when visible */
.section-visible,
.animate-fadeUp {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ================================
   Menu & Header Improvements
   ================================ */

/* Glassmorphism Header */
.main-header {
  background-color: rgba(47, 61, 80, 0.95);
  /* brand-blue with opacity */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Nav Link Hover Effect */
.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--brand-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Animation */
.mobile-menu-panel {
  transform-origin: top;
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: scaleY(0);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ================================
   Responsive Adjustments
   ================================ */

/* Improve padding on small screens */
@media (max-width: 639px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .banner-title {
    font-size: 1.75rem;
  }

  .banner-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Prevent horizontal overflow */
body {
  overflow-x: hidden;
  width: 100%;
}


img {
  max-width: 100%;
}

/* ================================
   Property Detail Page Styles
   ================================ */

.property-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .property-layout-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.gallery-container {
  aspect-ratio: 16 / 9;
  background-color: var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.gallery-container img,
.gallery-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.summary-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  height: fit-content;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.similar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .similar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Modal Fixes */
.modal-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 0.625rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: var(--gray-800);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 0, 0, 0.1);
  width: 40px;
  height: 40px;
}

.modal-close-btn:hover {
  background-color: var(--white);
  transform: scale(1.1);
  color: var(--red-500);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.modal-close-btn:hover {
  background-color: var(--gray-100);
}

.aspect-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: black;
  position: relative;
}

/* Banner Dot Pulse Animation (from brand-kedam.css) */
@keyframes pulseDot {
  0% {
    transform: scale(1.15);
  }

  50% {
    transform: scale(1.28);
  }

  100% {
    transform: scale(1.15);
  }
}

.banner-dot.active {
  background-color: var(--brand-gold);
  opacity: 1;
  transform: scale(1.25);
  animation: pulseDot 1.5s ease-in-out infinite;
}