.card.contact:hover, .card.contact:focus {
  transform: none !important;
}
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* CSS Variables */
:root {
  --dark-green: #093A37;
  --medium-green: #0d4d49;
  --light-green: #e8f4f3;
  --accent: #daa520;
  --accent-dark: #b8860b;
  --muted: #f7f7f7;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-light: #e5e7eb;
  --max-w: 1100px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  color: var(--text-dark);
  background: linear-gradient(135deg, #e8f4f3 0%, #f0f9f8 50%, #fff8e7 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

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

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Header */
.header {
  background: var(--dark-green);
  color: #fff;
  padding: 12px 0;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1), opacity 0.28s cubic-bezier(.4,0,.2,1);
  will-change: transform, opacity;
}

.header-hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 16px;
}

main.container {
  background: #fff;
  border-radius: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 32px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #daa520;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  transition: opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.9;
}

.brand img {
  height: 48px;
}

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

/* Navigation */
.nav {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, #daa520 0%, #b8860b 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 1001;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.menu-toggle:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

/* Keyframes for hamburger menu animations */
@keyframes slideInMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 20px 0 40px;
}

.slideshow {
  position: relative;
  height: 440px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(9, 58, 55, 0.12);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
  color: #fff;
  transition: opacity 0.8s ease;
  opacity: 0;
  background-size: cover;
  background-position: center;
}

.slide.show {
  opacity: 1;
}

.slide .caption {
  max-width: 640px;
  background: rgba(9, 58, 55, 0.85);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--accent);
  animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide .caption h1 {
  margin: 0 0 16px 0;
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide .caption p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin: 8px 0;
}

.slide-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn {
  background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
  padding: 14px 28px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, #e6b800 0%, #c89b0d 100%);
}

/* Slideshow Controls */
.controls {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background: var(--accent);
  border-color: #fff;
  transform: scale(1.3);
}

/* Section */
.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Services Detailed Layout */
.intro-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.services-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-item {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #daa520;
  transition: box-shadow 0.2s ease;
}

.service-item:hover {
  box-shadow: 0 4px 16px rgba(218, 165, 32, 0.3);
}

.service-item h3 {
  color: var(--dark-green);
  margin: 0 0 12px 0;
  font-size: 1.3rem;
}

.service-item > p {
  color: var(--text-light);
  margin: 0 0 16px 0;
  font-size: 0.95rem;
}

.service-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.service-item li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #daa520;
  font-weight: bold;
  font-size: 1.1rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  border: 1px solid var(--border-light);
  will-change: auto;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.28s, transform 0.28s, background 0.28s;
  cursor: pointer;
}

.card:hover, .card:focus {
  box-shadow: 0 0 0 0 #fff, 0 8px 24px 0 rgba(218,165,32,0.25), 0 1.5px 6px rgba(0,0,0,0.07);
  background: #fff;
  transform: translateY(-2px) scale(1.012);
  text-decoration: none;
}

.card h3, .card h4 {
  color: var(--dark-green);
  margin: 0 0 12px 0;
  font-weight: 700;
  transition: color 0.28s, text-shadow 0.28s;
}

.card:hover h3, .card:hover h4, .card:focus h3, .card:focus h4 {
  color: #b8860b;
  text-shadow: 0 1px 6px #ffe9b3;
}

.card p {
  margin: 8px 0;
  font-size: 0.95rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.project img {
  width: 100%;
  border-radius: 8px;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #f0f9f8;
  min-height: 200px;
}

.project h3, .project h4 {
  margin-top: 16px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--dark-green);
  color: #dfeaea;
  padding: 40px 16px;
  margin-top: 48px;
  font-family: 'Open Sans', sans-serif;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-right {
  text-align: right;
}

.footer strong {
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}

.footer a {
  color: #dfeaea;
}

/* WhatsApp Button */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25D366;
  color: #fff;
  border-radius: 30px;
  padding: 12px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;

  font-weight: 600;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  }
}

.whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
/* Map */
.map {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
}

/* Forms */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--dark-green);
  box-shadow: 0 0 0 3px rgba(9, 58, 55, 0.1);
}

button[type="submit"] {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--medium-green) 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Lists */
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

ul li strong {
  color: var(--dark-green);
}

/* Address Styling */
address {
  line-height: 2;
  margin: 24px 0;
}

address a {
  color: var(--dark-green);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

.mb-16 {
  margin-bottom: 16px;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeIn 0.6s ease-out;
}

/* Media Queries */
@media (max-width: 1200px) {
  .menu-toggle {
    display: block !important;
  }
  
  /* Mobile navigation overlay backdrop - behind the nav */
  .nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
    pointer-events: none;
  }
  
  .nav.active::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--medium-green) 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 24px 24px;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  
  .nav.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  
  .nav a {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 16px 16px;
    border-radius: 8px;
    margin-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
  }
  
  /* Show nav links only when menu is active */
  .nav.active a {
    animation: slideInMenu 0.3s ease forwards;
  }
  
  .nav.active a:nth-child(1) { animation-delay: 0.05s; }
  .nav.active a:nth-child(2) { animation-delay: 0.1s; }
  .nav.active a:nth-child(3) { animation-delay: 0.15s; }
  .nav.active a:nth-child(4) { animation-delay: 0.2s; }
  .nav.active a:nth-child(5) { animation-delay: 0.25s; }
  
  .nav a::after {
    display: none;
  }
  
  .nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: var(--accent);
    transform: translateY(2px);
  }
  
  .slide {
    justify-content: center;
    text-align: center;
  }
  
  .slide .caption {
    max-width: 90%;
  }
  
  .slide .caption h1 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding-top: 10px;
  }
  
  .brand img {
    height: 45px;
  }
}