/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

/* Modern scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8b4513, #d4af37);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #6b3410, #b8941a);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Enhanced Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px) rotateY(-15deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px) rotateY(15deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

/* Enhanced Animation classes */
.fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left {
  animation: slideInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right {
  animation: slideInRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in {
  animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.float {
  animation: float 3s ease-in-out infinite;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Enhanced Scroll reveal animations */
.reveal {
  opacity: 0;
  /* transform: translateY(60px) scale(0.95); */
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px) rotateY(-10deg);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px) rotateY(10deg);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.para-text{
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  /* text-align: justify; */
  color: #666;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}
.logo {
  height: 60px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.main-nav a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}
.main-nav a:hover {
  color: #8b4513;
  background: rgba(139, 69, 19, 0.1);
  transform: translateY(-2px);
}
.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
  border-radius: 2px;
}
.main-nav a:hover::after {
  width: 80%;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 30%, #8b4513 70%, #d4af37 100%);
  color: #fff;
  padding: 8rem 0 6rem 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1 1 350px;
}
.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-shadow: 0 4px 8px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #fff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.hero-text p {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.primary-btn {
  background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
  color: #1a1a1a;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.primary-btn:hover::before {
  left: 100%;
}
.primary-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}
.primary-btn:active {
  transform: translateY(-2px) scale(1.02);
}
.hero-image {
  flex: 1 1 300px;
  text-align: right;
}
.hero-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}
.hero-image img:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* About Section */
.about {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 6rem 0;
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b4513, transparent);
}
.about-flex {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.about-image {
  flex: 1 1 300px;
}
.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.about-text {
  flex: 2 1 400px;
}
.about-text h2 {
  font-size: 2.5rem;
  color: #8b4513;
  margin-bottom: 1.5rem;
  position: relative;
}
.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  border-radius: 2px;
}
.about-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: justify;
}

/* Leadership Team Section */
.leadership-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(139, 69, 19, 0.2);
}
.leadership-section h2 {
  text-align: center;
  color: #8b4513;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
}
.leadership-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  border-radius: 2px;
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.leader-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
  overflow: hidden;
}
.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.leader-card:hover::before {
  transform: scaleX(1);
}
.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.leader-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  object-fit: cover;
  border: 4px solid rgba(139, 69, 19, 0.1);
  transition: all 0.3s ease;
}
.leader-card:hover img {
  border-color: #8b4513;
  transform: scale(1.05);
}
.leader-card h3 {
  color: #8b4513;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.leader-card .position {
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.leader-card .bio {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Services Section */
.services {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 6rem 0;
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b4513, transparent);
}
.services h2 {
  text-align: center;
  color: #8b4513;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
}
.services h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  border-radius: 2px;
}
.service-emoji {
  font-size: 3rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}
.service-card {
  flex: 1 1 250px;
  max-width: 320px;
  min-width: 220px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  /* grid-template-rows: repeat(3, minmax(50px, auto)); */
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.service-card img {
  width: 100px;
  margin-bottom: 1rem;
}
.service-card h3 {
  color: #8b4513;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.1;
}

/* Testimonials Section */
.testimonials-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(139, 69, 19, 0.2);
}
.testimonials-section h2 {
  text-align: center;
  color: #8b4513;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
}
.testimonials-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  border-radius: 2px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.testimonial-content {
  margin-bottom: 1.5rem;
  padding-left: 0; /* center captions */
}
.testimonial-content p {
  font-style: normal; /* ensure not italic */
  color: #8b4513; /* align with theme titles */
  line-height: 1.2;
  font-size: 1.3rem; /* align with service titles */
  font-weight: 700;
  text-align: center;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 2rem;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(139, 69, 19, 0.2);
}
.author-info h4 {
  color: #8b4513;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.author-info p {
  color: #d4af37;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Gallery Section */
.gallery {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 6rem 0;
  position: relative;
}
.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b4513, transparent);
}
.gallery h2 {
  text-align: center;
  color: #8b4513;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
}
.gallery h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  border-radius: 2px;
}

/* Technology Partner Section */
.tech-partner {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 6rem 0 7rem 0;
  position: relative;
}
.tech-partner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b4513, transparent);
}
.tech-partner h2 {
  text-align: center;
  color: #8b4513;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  position: relative;
}
.tech-partner h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  border-radius: 2px;
}
.partner-card {
  display: grid;
  grid-template-columns: 1fr auto; /* logo area + vertical actions */
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  max-width: 860px; /* allow larger logo */
  margin: 2.5rem auto 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  border: 1px solid rgba(139, 69, 19, 0.12);
}
.partner-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo {
  max-width: 420px; /* bring back a larger logo */
  width: 100%;
  height: auto;
  object-fit: contain;
}
.partner-actions {
  display: flex;
  flex-direction: column; /* stack buttons */
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.partner-actions .social-btn {
  width: 180px;
  justify-content: center;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #8b4513;
  font-weight: 700;
  border: 1px solid rgba(139, 69, 19, 0.18);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  box-shadow: 0 6px 18px rgba(139, 69, 19, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(139, 69, 19, 0.14);
  border-color: rgba(139, 69, 19, 0.3);
}
.social-icon img {
  width: 20px;
  height: 20px;
}
.social-icon.emoji {
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-text { font-size: 0.9rem; }

/* subtle color accents per platform */
.social-btn.is-linkedin { border-color: rgba(10,102,194,0.25); }
.social-btn.is-linkedin:hover { background: linear-gradient(135deg, #f8fbff, #eef5ff); }

.social-btn.is-instagram { border-color: rgba(225,48,108,0.25); }
.social-btn.is-instagram:hover { background: linear-gradient(135deg, #fff5f7, #fff0fb); }

.social-btn.is-x { border-color: rgba(0,0,0,0.25); }
.social-btn.is-x:hover { background: linear-gradient(135deg, #ffffff, #f3f3f3); }

/* Website accent (uses globe/marker icon) */
.social-btn.is-website { border-color: rgba(40,167,69,0.25); }
.social-btn.is-website:hover { background: linear-gradient(135deg, #f0fff5, #e8fff0); }
@media (max-width: 600px) {
  .partner-card {
    grid-template-columns: 1fr; /* stack logo and actions */
    gap: 0.9rem;
    max-width: 94vw;
  }
  .partner-logo {
    max-width: 240px;
  }
  .partner-actions { width: 100%; }
  .partner-actions .social-btn { width: 100%; max-width: 320px; }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 6rem 0;
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b4513, transparent);
}
.contact-flex {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-info {
  flex: 1 1 300px;
}
.map-container {
  flex: 2 1 400px;
}
.contact-info h2 {
  color: #8b4513;
  margin-bottom: 1.5rem;
  position: relative;
}
.contact-info h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  border-radius: 2px;
}
/* Contact form styles removed - map now takes this space */

/* Google Maps Section - now inline with contact info */
.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: all 0.3s ease;
}
.map-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.map-container iframe {
  border-radius: 15px;
  transition: all 0.3s ease;
}

/* Contact center only layout (map removed) */
.contact-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* stack title above card */
  gap: 1.2rem;
}
.contact-center .contact-info {
  text-align: center;
}
.contact-center .contact-info h2 {
  font-size: 2.5rem; /* match section headers */
}
.contact-center .contact-info h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Contact title outside card */
.contact-title {
  color: #8b4513;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  white-space: nowrap; /* keep single line on wide screens */
}
.contact-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #8b4513, #d4af37);
  border-radius: 2px;
}
@media (max-width: 991px) { .contact-title { font-size: 2.2rem; } }
@media (max-width: 767px) { .contact-title { font-size: 1.9rem; } }
@media (max-width: 575px) { .contact-title { font-size: 1.6rem; } }
@media (max-width: 374px) { .contact-title { font-size: 1.45rem; } }

.contact-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(139, 69, 19, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 2rem 1.5rem;
}
.contact-card .contact-info { text-align: center; }
.contact-card .contact-info h2 { margin-bottom: 0.75rem; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 680px;
}
.contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  line-height: 1.35;
}
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(139, 69, 19, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  box-shadow: 0 2px 6px rgba(139, 69, 19, 0.08) inset;
}
.contact-icon img {
  width: 18px;
  height: 18px;
  filter: grayscale(0.2) brightness(1);
}
.contact-value { font-size: 1.05rem; color: #444; }
.contact-value a { color: #8b4513; font-weight: 700; text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

.contact-social {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}
.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #8b4513;
  font-weight: 700;
  border: 1px solid rgba(10,102,194,0.25);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
  box-shadow: 0 6px 18px rgba(10,102,194,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10,102,194,0.18);
  border-color: rgba(10,102,194,0.4);
}
.contact-social-btn img {
  width: 22px;
  height: 22px;
}
.contact-social-btn span { font-size: 0.95rem; }

@media (max-width: 600px) {
  .contact-card {
    padding: 1.25rem 1rem;
    max-width: 94vw;
  }
  .contact-item { gap: 0.6rem; }
  .contact-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .contact-icon img { width: 16px; height: 16px; }
  .contact-value { font-size: 0.95rem; }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  padding: 2rem 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-social a {
  margin-left: 1rem;
  display: inline-block;
}
.footer-social img {
  width: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.footer-social img:hover {
  filter: brightness(0.8) invert(0.7) sepia(1) hue-rotate(180deg);
}

/* Comprehensive Responsive Design */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
  .hero-text h1 {
    font-size: 4.5rem;
  }
  .hero-text p {
    font-size: 1.8rem;
  }
  .hero-image img {
    max-width: 500px;
  }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .hero-text h1 {
    font-size: 3.8rem;
  }
  .hero-text p {
    font-size: 1.5rem;
  }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .hero-text h1 {
    font-size: 3.2rem;
  }
  .hero-text p {
    font-size: 1.4rem;
  }
  .hero-image img {
    max-width: 350px;
  }
  .services-grid {
    gap: 1.5rem;
  }
  .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .hero {
    padding: 6rem 0 4rem 0;
    min-height: 80vh;
  }
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .hero-text p {
    font-size: 1.3rem;
  }
  .hero-image img {
    max-width: 300px;
  }
  .hero-content {
    gap: 3rem;
  }
  .about-flex {
    gap: 2rem;
  }
  .services-grid {
    gap: 1.5rem;
  }
  .service-card {
    padding: 2rem 1.5rem;
  }
  .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .contact-flex {
    gap: 2rem;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .container {
    width: 95%;
  }
  .hero {
    padding: 5rem 0 3rem 0;
    min-height: 70vh;
  }
  .hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
  }
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  .hero-image img {
    max-width: 280px;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  .about-flex {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .about-image img {
    max-width: 300px;
  }
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    max-width: 350px;
    width: 100%;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .leader-card {
    max-width: 350px;
    margin: 0 auto;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testimonial-card {
    max-width: 400px;
    margin: 0 auto;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .contact-flex {
    flex-direction: column;
    gap: 2rem;
  }
  .map-container {
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-flex {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-social {
    justify-content: center;
  }
}

/* Mobile Medium (375px - 575px) */
@media (max-width: 575px) and (min-width: 375px) {
  .container {
    width: 98%;
  }
  .hero {
    padding: 4rem 0 2rem 0;
    min-height: 60vh;
  }
  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  .hero-image img {
    max-width: 250px;
  }
  .primary-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  .about-text h2 {
    font-size: 2rem;
  }
  .services h2,
  .gallery h2,
  .leadership-section h2,
  .testimonials-section h2,
  .map-section h2 {
    font-size: 2rem;
  }
  .service-card {
    padding: 1.5rem 1rem;
  }
  .leader-card {
    padding: 1.5rem 1rem;
  }
  .leader-card img {
    width: 100px;
    height: 100px;
  }
  .testimonial-card {
    padding: 1.5rem 1rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .map-container iframe {
    height: 300px;
  }
  .map-container iframe {
    height: 300px;
  }
  .scroll-to-top {
    width: 45px !important;
    height: 45px !important;
    bottom: 20px !important;
    right: 20px !important;
    font-size: 18px !important;
  }
}

/* Mobile Small (320px - 374px) */
@media (max-width: 374px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }
  .hero {
    padding: 3rem 0 2rem 0;
    min-height: 50vh;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .hero-image img {
    max-width: 200px;
  }
  .primary-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  .about-text h2 {
    font-size: 1.8rem;
  }
  .services h2,
  .gallery h2,
  .leadership-section h2,
  .testimonials-section h2,
  .map-section h2 {
    font-size: 1.8rem;
  }
  .service-card {
    padding: 1rem 0.8rem;
  }
  .leader-card {
    padding: 1rem 0.8rem;
  }
  .leader-card img {
    width: 80px;
    height: 80px;
  }
  .testimonial-card {
    padding: 1rem 0.8rem;
  }
  .map-container iframe {
    height: 250px;
  }
  .map-container iframe {
    height: 250px;
  }
  .scroll-to-top {
    width: 40px !important;
    height: 40px !important;
    bottom: 15px !important;
    right: 15px !important;
    font-size: 16px !important;
  }
}

/* Navigation Responsive */
@media (max-width: 900px) {
  .hero-content, .about-flex, .contact-flex, .footer-flex {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .main-nav ul {
    gap: 1rem;
  }
  .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* Mobile Navigation Styles */
@media (max-width: 600px) {
  .container {
    width: 98%;
  }
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 1rem 0;
    border-radius: 0 0 15px 15px;
    border: 1px solid rgba(139, 69, 19, 0.1);
  }
  .main-nav.open ul {
    display: flex;
    animation: slideInDown 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .main-nav ul li {
    margin: 0.5rem 0;
  }
  .main-nav ul li a {
    padding: 0.8rem 1.5rem;
    display: block;
    border-radius: 0;
    transition: all 0.3s ease;
  }
  .main-nav ul li a:hover {
    background: rgba(139, 69, 19, 0.1);
    transform: translateX(5px);
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle span {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Touch-friendly interactions for mobile */
@media (max-width: 767px) {
  .primary-btn {
    min-height: 48px; /* Touch target size */
  }
  .service-card,
  .leader-card,
  .testimonial-card {
    min-height: 200px; /* Better touch targets */
  }
  .gallery-grid img {
    min-height: 150px; /* Consistent image heights */
  }
  .contact-form input,
  .contact-form textarea {
    min-height: 48px; /* Touch-friendly input fields */
  }
  .contact-form textarea {
    min-height: 120px;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 50vh;
    padding: 3rem 0 2rem 0;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .hero-image img {
    max-width: 200px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  .hero-image img,
  .about-image img,
  .gallery-grid img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero::before {
    animation: none;
  }
  .float,
  .pulse {
    animation: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #f0f0f0;
  }
  .site-header {
    background: rgba(26, 26, 26, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }
  .main-nav a {
    color: #494848;
  }
  .main-nav a:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
  }
}

/* Print styles */
@media print {
  .site-header,
  .menu-toggle,
  .scroll-to-top,
  .footer-social {
    display: none !important;
  }
  .hero {
    background: #fff !important;
    color: #000 !important;
    min-height: auto !important;
  }
  .hero-text h1 {
    background: none !important;
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
  }
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

/* Leadership Team Section (New Flex Layout) */
.leadership-flex {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.leader-image {
  flex: 1 1 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.leader-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 4px solid rgba(139, 69, 19, 0.1);
  transition: all 0.3s ease;
  transform: translateY(0px);
  object-position: top;
}
.leader-card {
  flex: 2 1 350px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.leader-card h3 {
  color: #8b4513;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.leader-card .position {
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.leader-card .bio {
  color: #666;
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.linkedin-link {
  display: inline-block;
  vertical-align: middle;
  margin-top: 0.5rem;
}
.linkedin-logo {
  width: 30px !important;
  height: 30px !important;
  filter: grayscale(0.2) brightness(0.9);
  transition: filter 0.2s;
}
.linkedin-link:hover .linkedin-logo {
  filter: grayscale(0) brightness(1.2) drop-shadow(0 2px 6px #d4af37);
}

/* Responsive for Leadership Section */
@media (max-width: 900px) {
  .leadership-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .leader-card {
    text-align: center;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .leader-image img {
    width: 140px;
    height: 140px;
  }
  .leader-card {
    padding: 1.5rem 1rem;
  }
  .leadership-flex {
    gap: 1.2rem;
  }
}

/* Gallery Carousel Styles */
.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  min-height: 340px;
}
.gallery-carousel {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 320px;
  height: 100%;
}
.gallery-carousel img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  object-fit: cover;
  background: #e9ecef;
}
.carousel-arrow {
  background: rgba(139, 69, 19, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.2s;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15);
  opacity: 0.85;
}
.carousel-arrow.left {
  left: 16px;
}
.carousel-arrow.right {
  right: 16px;
}
.carousel-arrow:hover {
  background: #d4af37;
  color: #8b4513;
}
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.carousel-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4af37;
  opacity: 0.4;
  transition: opacity 0.3s;
  cursor: pointer;
  border: 2px solid #8b4513;
}
.carousel-indicators .indicator.active {
  opacity: 1;
  background: #8b4513;
}
@media (max-width: 900px) {
  .gallery-carousel-wrapper {
    min-height: 220px;
    max-width: 98vw;
  }
  .gallery-carousel img {
    max-height: 250px;
  }
}
@media (max-width: 600px) {
  .gallery-carousel-wrapper {
    min-height: 140px;
    border-radius: 10px;
  }
  .gallery-carousel img {
    max-height: 120px;
    border-radius: 8px;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .carousel-indicators .indicator {
    width: 8px;
    height: 8px;
  }
}

.social-engagement-img {
  width: 100%;
  max-width: 340px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 1rem auto;
  display: block;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.08);
  background: #f8f9fa;
}
.social-engagement-desc {
  text-align: center;
  color: #8b4513;
  font-weight: 700; /* match service-card title weight */
  font-size: 1.3rem; /* match service-card title size */
  line-height: 1.1;
  font-style: normal; /* override italic from .testimonial-content p */
  margin-top: 0.5rem;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}
@media (max-width: 900px) {
  .social-engagement-img {
    max-width: 90vw;
    height: 160px;
  }
}
@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .social-engagement-img {
    max-width: 98vw;
    height: 120px;
  }
  .social-engagement-desc {
    font-size: 1rem;
  }
}



