/* Base Styles */
:root {
  --primary-color: #2d79f3;
  --secondary-color: #063e9e;
  --accent-color: #1da1f2;
  --highlight-color: #ff7a01;
  --text-color: #333;
  --light-text: #fff;
  --bg-color: #f8f9fa;
  --footer-bg: #a1afcb;
  --section-bg: #f0f4f8;
  --border-radius: 10px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
.highlight-text {
  color: var(--primary-color);
}

/* Header/Navigation */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger .line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-links {
  transition: var(--transition);
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.med-import-btn {
  border: none;
  display: block;
  position: relative;
  padding: 0.5em 1.4em;
  font-size: 15px;
  background-color: #00173c;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  color: rgb(255, 255, 255);
  z-index: 1;
  font-family: inherit;
  font-weight: 350;
  transition: all 0.4s ease;
  border-radius: 10px;
}

.med-import-btn span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
  /* border: 1.5px solid rgb(255, 255, 255); */
  border-radius: 15px 15px;
  transition: all 0.3s ease;
}

/* Glow effect container */
.med-import-btn::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -6px;
  right: -6px;
  bottom: -7px;
  border-radius: 2px;
  background: transparent;
  z-index: -2;
  opacity: 0;
  transition: all 0.3s ease;
}

.med-import-btn:hover {
  color: rgb(247, 247, 247);
  opacity: 2;
  box-shadow: 0 0 2px rgba(24, 40, 226, 0.8), 0 0 5px rgba(24, 40, 226, 0.6),
    0 0 10px rgba(24, 40, 226, 0.4);
}

.med-import-btn:hover span {
  border-color: rgb(24, 40, 226);
}

/* Hero Section - Premium Parallax Redesign */
.hero-section {
  position: relative;
  /* Premium 3-stop gradient: Dark top (for navbar contrast), Transparent center (visuals), Dark bottom (blend) */
  background: linear-gradient(
      to bottom,
      rgba(0, 15, 40, 0.8) 0%,
      rgba(0, 20, 50, 0.5) 45%,
      rgba(0, 10, 30, 0.95) 100%
    ),
    url("../assets/building.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax Effect */
  padding: 240px 0 160px; /* Increased padding to prevent collision with Navbar and Cards */
  text-align: center;
  color: white;
  margin-top: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content {
  flex: auto;
  width: 100%;
  text-align: center;
  animation: fadeUpHero 1s ease-out forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Slightly tighter scaling */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  margin-bottom: 10px; /* Reduced margin */
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-subtitle .highlight-text {
  color: #64b5f6; /* Premium light blue highlight */
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: #ff7a01;
  margin: 0 auto 25px;
  border-radius: 2px;
}

.hero-description {
  display: none; /* Simplify to title + subtitle for cleaner look */
}

/* Optional: Slight animation on load */
@keyframes fadeUpHero {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-image {
  display: none;
}

/* Contact Options Section - Glass Neumorphic Premium */
.contact-options-section {
  padding: 100px 0 80px; /* Increased top padding to separate from Hero */
  background-color: #f8f9fa; /* Keep base light */
  /* background-image: ... pattern optional */
  position: relative;
  z-index: 1;
}

.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glass Tile Design */
.contact-card {
  display: grid;
  grid-template-columns: 60px 1fr auto; /* Icon | Text | Action */
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px 25px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5); /* Inner light border */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 90px;
  position: relative;
  overflow: hidden;
}

/* Gradient Stroke Effect on Hover */
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );

  /* Standard mask (Firefox support) */
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

  /* WebKit mask (Chrome, Edge, Safari) */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;

  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}


.contact-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 15px 30px -10px rgba(45, 121, 243, 0.15);
  background: #ffffff;
}

.contact-card:hover::after {
  opacity: 1;
}


/* 1. Floating Icon */
.contact-icon {
  width: 56px;
  height: 56px;
  background: white;
  color: var(--primary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 10px 25px rgba(45, 121, 243, 0.25);
}

/* 2. Typography */
.contact-card h3 {
  grid-column: 2;
  font-size: 1.05rem; /* Slightly larger */
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.2;
  align-self: end;
  letter-spacing: -0.01em;
}

.contact-card p {
  display: none; /* Keep description hidden */
}

/* Details */
.contact-card .contact-details {
  grid-column: 2;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  align-self: start;
}

.contact-card .contact-details p {
  display: block;
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 500;
  margin: 2px 0 0;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

.contact-details strong {
  display: none;
}

/* 3. Action Arrow */
.contact-card .contact-btn {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(45, 121, 243, 0.05); /* Tint */
  color: var(--primary-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin: 0;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* FontAwesome Arrow */
.contact-card .contact-btn::after {
  content: "\f061"; /* Long Arrow Right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-btn {
  background: var(--primary-color);
  color: white;
}

.contact-card:hover .contact-btn::after {
  transform: translateX(3px);
}

/* Contact Form Section - Clean Modern Minimalist */
.contact-form-section {
  padding: 120px 0 140px; /* Increased vertical spacing */
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Form Container - Compressed */
.form-container {
  max-width: 600px; /* Smaller width */
  margin: 0 auto;
  padding: 30px; /* Reduced padding */
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--primary-color);
  border-radius: 8px;
  background: white;
}

/* Form Grid System with Dividers - Tighter */
.form-row {
  display: flex;
  gap: 20px; /* Reduced gap */
  margin-bottom: 20px;
  position: relative;
}

/* Vertical Divider adjustment */
.form-row::after {
  content: "";
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 50%;
  width: 1px;
  background-color: #eee;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-row::after {
    display: none;
  }
}

.form-group {
  flex: 1;
  margin-bottom: 20px; /* Tighter vertical spacing */
  position: relative;
}

/* Labels - Small Compact */
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
  font-size: 0.8rem; /* Smaller font */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Inputs - Modern Filled Style */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #1f2937;
  background-color: #f3f4f6; /* Cooler grey */
  border: 1px solid transparent;
  border-bottom: 2px solid #d1d5db; /* Better contrast border */
  border-radius: 6px 6px 0 0;
  transition: all 0.3s ease;
  font-family: inherit;
  height: auto;
}

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

/* Placeholder Styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
  opacity: 1; /* Firefox fix */
}

/* Focus State */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-bottom-color: var(--primary-color);
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.05);
}

/* Submit Button - Compact */
.submit-btn {
  float: none;
  margin: 0 auto;
  min-width: 140px;
  padding: 12px 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  background: #111;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clear: both;
}

.submit-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
  box-shadow: 0 6px 15px rgba(45, 121, 243, 0.2);
}

.submit-btn i {
  margin-left: 8px;
}

/* Locations Section */
/* Location Section - Deconstructed Split Pattern */
.locations-section {
  padding: 0 0 100px 0; /* Top removed, Bottom added */
  background-color: #ffffff;
  position: relative;
}

.locations-grid {
  display: block; 
}

/* Open Layout Container (No Card Background) */
.location-card {
  display: flex;
  background: transparent;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
  gap: 60px; /* Spacious gap */
}

.location-card:hover {
  transform: none;
}

/* Map - Standalone Feature */
.location-map {
  flex: 0 0 45%;
  height: 380px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.4s ease;
}

.location-card:hover .location-map {
  transform: scale(1.02);
}

.location-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  /* Map always in color */
}

/* Info Side - Minimum Clean */
.location-info {
  flex: 1;
  padding: 0;
  background: transparent;
  text-align: left;
}

/* Remove card accents */
.location-info::before {
  display: none;
}

.location-info h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #111;
  letter-spacing: -1px;
  line-height: 1;
}

.location-info p {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1.1rem;
  color: #555;
  margin: 0;
  display: flex;
  align-items: center;
}

.location-info p:first-of-type {
  border-top: 1px solid #f0f0f0;
}

/* Modern Minimal Icons */
.location-info i {
  min-width: 45px;
  height: 45px;
  background: transparent;
  border: 1px solid #e5e7eb;
  color: var(--primary-color);
  border-radius: 12px;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.location-info p:hover i {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: rotate(-10deg);
}

/* Responsive */
@media (max-width: 900px) {
  .location-card {
    flex-direction: column;
    gap: 40px;
    max-width: 500px;
  }
  
  .location-map {
    height: 300px;
    width: 100%;
    flex: none;
  }
  
  .location-info {
    width: 100%;
    padding: 0 20px;
  }

  .location-info h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
  }
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--text-color);
  padding: 50px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  mix-blend-mode: color-burn;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  color: var(--text-color);
  transition: var(--transition);
  font-size: 14px;
}

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

.social-links a:hover.facebook {
  background-color: #1877f2;
}

.social-links a:hover.twitter {
  background-color: #1da1f2;
}

.social-links a:hover.instagram {
  background-color: #e4405f;
}

.social-links a:hover.whatsapp {
  background-color: #25d366;
  color: white;
}

.footer-links {
  flex: 1;
  display: flex;
  gap: 20px;
  min-width: 250px;
}

.links-column {
  flex: 1;
  min-width: 120px;
}

.links-column h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.links-column ul {
  list-style: none;
  padding: 0;
}

.links-column li {
  margin-bottom: 8px;
}

.links-column a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
  font-size: 14px;
}

.links-column a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact-form {
  flex: 1;
  min-width: 250px;
}

.footer-contact-form h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(45, 121, 243, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 8px;
}

.submit-btn,
.reset-btn {
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.submit-btn {
  background-color: var(--accent-color);
  color: white;
  flex: 2;
}

.submit-btn:hover {
  background-color: #e06b00;
}

.reset-btn {
  background-color: #ddd;
  color: var(--text-color);
  flex: 1;
}

.reset-btn:hover {
  background-color: #ccc;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright {
  font-size: 13px;
  color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }

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

  .section-header h2 {
    font-size: 2rem;
  }

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

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
    padding: 20px 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 40px;
  }

  .hero-img {
    left: 0;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 30px;
  }

  .footer-brand,
  .footer-contact-form {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .section-header h2 {
    font-size: 1.8rem;
  }

  .form-container {
    padding: 30px 20px;
  }

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

  .location-card {
    min-width: 100%;
    position: relative;
    left: 0%;
  }

  .footer-contact-form .form-actions {
    flex-direction: column;
  }

  .footer-contact-form .submit-btn,
  .footer-contact-form .reset-btn {
    width: 100%;
  }
}

/* Alert Styles */
.alert {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
  max-width: 400px;
}

.alert-success {
  background: #4caf50;
  color: white;
}

.alert-error {
  background: #f44336;
  color: white;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-content i {
  font-size: 20px;
}

.alert-content button {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  margin-left: auto;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
}

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

.submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--secondary-color);
}

/* scroll to up  */
.scroll-to-top {
  position: fixed;
  bottom: 35px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1f5ec5, #ba7cd2);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  border: none;
  outline: none;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #ba7cd2, #1f5ec5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.05) translateY(0);
}

.scroll-to-top:active {
  transform: scale(0.95) translateY(0);
}

.scroll-to-top::after {
  content: "↑";
  font-size: 28px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover::after {
  animation: bounce 0.8s infinite alternate;
}

.scroll-to-top .progress-circle {
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: white;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(157, 80, 187, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(157, 80, 187, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(157, 80, 187, 0);
  }
}

/* Bounce animation */
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}

/* Tooltip */
.scroll-to-top .tooltip {
  position: absolute;
  top: -70px;
  background: white;
  color: #1f5ec5;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.scroll-to-top .tooltip::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: white transparent transparent;
}

.scroll-to-top:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scroll-to-top {
    width: 50px;
    height: 50px;
    bottom: 90px;
    right: 20px;
  }

  .scroll-to-top::after {
    font-size: 24px;
  }

  .scroll-to-top .tooltip {
    font-size: 12px;
    padding: 6px 10px;
    top: -45px;
  }

  .scroll-to-top:hover .tooltip {
    top: -50px;
  }
}

.direct-contact {
  margin-top: 30px;
  text-align: center;
  width: 100%;
}

.direct-contact p {
  margin-bottom: 15px;
  color: #666;
  font-size: 16px;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 7px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.submit-btn {
  width: 200px; /* Match width with WhatsApp button */
}

.form-note {
  text-align: center;
}

/* Redesigned Direct Contact Section - Minimalist Smart Chip */
.direct-contact-modern {
  margin-top: 35px;
  padding: 5px 6px 5px 20px;
  background: #ffffff;
  border-radius: 50px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
}

/* Remove side accent from card design */
.direct-contact-modern::before {
  display: none;
}

.contact-separator {
  margin: 0;
  display: block;
  font-size: 0.85rem; /* Smaller text */
  font-weight: 500;
  color: #6b7280;
  text-transform: none;
  white-space: nowrap;
}

/* Hide lines */
.contact-separator::before,
.contact-separator::after {
  display: none;
}

.whatsapp-btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 8px 18px; /* Compact button padding */
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none; /* Flat cleanly look initially */
  transition: all 0.3s ease;
  white-space: nowrap;
}

.whatsapp-btn-modern:hover {
  transform: translateY(-1px);
  background: #1da851;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  color: white;
}

.whatsapp-btn-modern i {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .direct-contact-modern {
    flex-direction: column;
    padding: 15px 20px;
    border-radius: 16px;
    width: 100%;
    gap: 12px;
  }
}
