/* Base Styles */
:root {
  --primary: #00478F;      /* Deep blue */
  --primary-rgb: 0, 71, 143; /* RGB values for primary */
  --primary-light: #0A6EBD; /* Lighter blue */
  --secondary: #FFB100;    /* Gold/amber */
  --secondary-rgb: 255, 177, 0; /* RGB values for secondary */
  --accent: #FF5A5F;       /* Coral */
  --accent-rgb: 255, 90, 95; /* RGB values for accent */
  --light: #F8F9FA;        /* Off-white */
  --dark: #22333B;         /* Dark blue-gray */
  --gray: #6C757D;         /* Medium gray */
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 0.5rem;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
}

.section-header.light h2, 
.section-header.light p {
  color: #fff;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Header */
header {
  background-color: transparent;
  transition: var(--transition);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header.scrolled {
  background-color: var(--primary);
  box-shadow: 0 2px 10px var(--shadow);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: white;
  position: relative;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.logo.logo-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.35rem 0.7rem;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.site-logo-img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.logo .text-secondary {
  color: var(--secondary);
}

.logo-dot {
  color: var(--accent);
  font-size: 2.2rem;
  margin-left: 2px;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.desktop-nav {
  display: none;
}

.nav-link {
  color: white;
  margin-left: 2rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--secondary);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav {
  display: none;
  background-color: var(--primary);
  padding: 1rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease;
  z-index: 999;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links .nav-link {
  margin: 0;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav-links .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 71, 143, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 71, 143, 0.3);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(255, 177, 0, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 177, 0, 0.3);
  color: var(--dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 62, 80, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 700px;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Properties Section */
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.property-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.property-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.property-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 71, 143, 0.15);
}

.property-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

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

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

.property-price {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--secondary);
  color: var(--dark);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255, 177, 0, 0.2);
}

.property-details {
  padding: 1.75rem;
}

.property-specs {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.property-location {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--gray);
}

.property-location i {
  color: var(--secondary);
  margin-right: 0.5rem;
}

.property-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.property-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  position: relative;
}

.property-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.property-link:hover::after {
  transform: scaleX(1);
}

.property-link i {
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.property-link:hover i {
  transform: translateX(5px);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 5px 15px var(--shadow);
}

.about-content p {
  margin-bottom: 1.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit {
  display: flex;
  align-items: flex-start;
}

.benefit i {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.benefit h4 {
  margin-bottom: 0.25rem;
}

.benefit p {
  margin-bottom: 0;
  color: var(--gray);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: 0 5px 15px var(--shadow);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(208, 180, 159, 0.2);
  color: var(--secondary);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 0;
}

/* Testimonial Section */
.testimonial-section {
  background-image: url('https://images.unsplash.com/photo-1464082354059-27db6ce50048?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 5rem 0;
}

.testimonial-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 62, 80, 0.8);
}

.testimonial-card {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-content {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.testimonial-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--secondary);
  margin: 0 auto;
  object-fit: cover;
}

.testimonial-stars {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.testimonial-stars i {
  margin-right: 0.25rem;
}

blockquote {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  margin-top: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.author-title {
  color: var(--gray);
  margin-bottom: 0;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.info-card, .form-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow);
  height: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.info-item h4 {
  margin-bottom: 0.25rem;
}

.info-item p {
  margin-bottom: 0.25rem;
  color: var(--gray);
}

.info-item p:last-child {
  margin-bottom: 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  transition: var(--transition);
}

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

.form-group textarea {
  resize: vertical;
}

/* CTA Section */
.cta-section {
  background-image: url('https://images.unsplash.com/photo-1600566753151-384129cf4e3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 5rem 0;
}

.cta-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 62, 80, 0.8);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer h3, .footer h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  display: block;
  height: 86px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.45rem 0.75rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-links ul, .footer-contact ul {
  margin-top: 1rem;
}

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

.footer-links a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-contact i {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.8;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-bottom-links a {
  color: white;
  opacity: 0.8;
}

.footer-bottom-links a:hover {
  color: var(--secondary);
  opacity: 1;
}


@media (max-width: 575px) {
  .header-content {
    padding: 0.85rem 0;
  }

  .logo.logo-image {
    padding: 0.25rem 0.45rem;
    border-radius: 10px;
  }

  .site-logo-img {
    height: 48px;
    max-width: 138px;
  }

  .footer-logo-img {
    height: 72px;
    max-width: 180px;
  }
}

/* Media Queries */
@media (min-width: 576px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 4rem;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-content {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .testimonial-image {
    margin-bottom: 0;
    margin-right: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Panams 2026 polish */
.logo.logo-image { background: rgba(255,255,255,.96); border-radius: 16px; padding: .35rem .65rem; box-shadow: 0 10px 24px rgba(0,0,0,.10); line-height: 1; }
.site-logo-img { height: 64px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.nav-cta { border: 1px solid rgba(255,255,255,.35); padding: .55rem .9rem; border-radius: 999px; }
.nav-cta:hover { background: var(--secondary); color: var(--dark) !important; border-color: var(--secondary); }
.page-hero { padding: 9rem 0 4rem; background: linear-gradient(135deg, rgba(var(--primary-rgb), .08), rgba(var(--secondary-rgb), .10)); }
.compact-page-hero .section-header { max-width: 860px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .65rem; }
.contact-section-clean { padding-top: 4rem; }
.improved-contact-grid { align-items: start; }
.info-card, .form-card { height: auto; }
.premium-card { border: 1px solid rgba(0,71,143,.08); box-shadow: 0 20px 45px rgba(0, 40, 90, .10); }
.muted-text { color: var(--gray); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-checkbox { display: flex; align-items: flex-start; gap: .7rem; }
.form-checkbox input { width: auto; margin-top: .35rem; }
.contact-info-stack { display: grid; gap: 1.5rem; }
.response-card { background: linear-gradient(135deg, #ffffff, #f8fbff); }
.mini-step { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid rgba(0,71,143,.10); }
.mini-step span { background: var(--primary); color: white; font-weight: 700; border-radius: 999px; min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.mini-step p { margin-bottom: 0; color: var(--gray); }
.contact-highlights { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
.contact-highlights > div { background: white; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 12px 28px rgba(0,0,0,.07); border: 1px solid rgba(0,71,143,.08); }
.contact-highlights i { color: var(--secondary); font-size: 1.75rem; margin-bottom: .75rem; }
.legal-section { background: #f8fafc; }
.legal-card { background: white; border-radius: 18px; padding: 2rem; box-shadow: 0 16px 35px rgba(0,0,0,.08); max-width: 980px; margin: 0 auto; }
.legal-card p { color: #46515a; margin-bottom: 1.15rem; }
.legal-note { margin-top: 1.5rem; padding: 1rem; background: rgba(var(--primary-rgb), .06); border-radius: var(--radius); color: var(--primary); }
.sitemap-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 2rem; }
.sitemap-item { background: white; border-radius: 16px; padding: 1.5rem; box-shadow: 0 12px 30px rgba(0,0,0,.07); border: 1px solid rgba(0,71,143,.08); }
.sitemap-item h3 { font-size: 1.25rem; }
.sitemap-posts ul { list-style: disc; padding-left: 1.3rem; }
.sitemap-posts li { margin-bottom: .5rem; }
.footer-contact a { color: white; opacity: .95; }
.footer-contact a:hover { color: var(--secondary); }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } .contact-highlights { grid-template-columns: repeat(3, 1fr); } .sitemap-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .site-logo-img { height: 50px; max-width: 145px; } .logo.logo-image { padding: .25rem .45rem; border-radius: 12px; } .page-hero { padding-top: 7.5rem; } .legal-card { padding: 1.25rem; } }
