/* BOUNCE THE WHOLE CARD */
.bounce-card {
  animation: cardBounce 3s infinite ease-in-out;
}

/* Animation Keyframes */
@keyframes cardBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 10px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ Center content */
  justify-content: center;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: #2c3e50;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-card .icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #3498db;
}

.contact-card .info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.contact-card .info p {
  margin: 5px 0 0;
  font-size: 0.95rem;
}

/* Make full card clickable */
.full-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
..modern-contact {
  padding: 50px 20px;
  background: url('bg-clean.jpg') no-repeat center center/cover;
  backdrop-filter: blur(6px);
  border-radius: 15px;
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;
  color: #222;
}

.modern-contact h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2c3e50;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 10px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ Center content */
  justify-content: center;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: #2c3e50;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-card .icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #3498db;
}

.contact-card .info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.contact-card .info p {
  margin: 5px 0 0;
  font-size: 0.95rem;
}

/* Make full card clickable */
.full-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info a {
  color: #3498db;
  text-decoration: none;
}

.info a:hover {
  text-decoration: underline;
}

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

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

/* Mobile Optimization */
@media (max-width: 600px) {
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .icon {
    margin-bottom: 5px;
  }
}
/* Contact List Styling */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 15px;
}

.contact-list li {
  font-size: 1rem;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;         /* ✅ Ensures content wraps on small screens */
  gap: 5px;
  align-items: center;
  color: #333;
  word-break: break-word;  /* ✅ Breaks long text like emails */
}

/* Make icons fixed width for clean alignment */
.contact-list li::before {
  content: '';
  display: inline-block;
  width: 24px;
}

/* Responsive Adjustments */
@media screen and (max-width: 600px) {
  .contact-list li {
    font-size: 0.95rem;
  }
}
/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  opacity: 0;
  animation: fadeInUp 0.9s ease-out forwards;
}

/* Delay classes for multiple elements */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
/* Modern Header */
.modern-header {
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  padding: 20px 10px;
  border-bottom: 1px solid #d0e0e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
}

.modern-logo {
  height: 70px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo-text h1 {
  margin: 0;
  font-size: 2rem;
  color: #2b2b2b;
  font-weight: 700;
}

.logo-text .tagline {
  font-size: 1rem;
  color: #3498db;
  margin-top: 4px;
  font-style: italic;
}

.main-nav {
  text-align: center;
  margin-top: 15px;
}

.main-nav a {
  margin: 0 12px;
  color: #2b2b2b;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

.main-nav a:hover {
  color: #3498db;
}
/* New Stylish Header */
.site-header {
  background-color: #ffffffee;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #e2e8f0;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
  margin-bottom: 10px;
}

.logo {
  max-height: 80px;
  width: auto;
}

.brand-text h1 {
  margin: 0;
  font-size: 2rem;
  color: #2c3e50;
  font-weight: 700;
}

.tagline {
  margin: 5px 0 0;
  font-size: 1rem;
  color: #3498db;
  font-style: italic;
}

.main-nav {
  text-align: center;
  margin-top: 10px;
}

.main-nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #3498db;
}
/* Reset & Base */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.85); /* Soft white overlay */
  z-index: -1;
}
body {
  background: url("background.jpg") no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  background-color: #f7f9fc;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7f9fc;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header & Navigation */
header {
  background-color: #007B8A;
  color: white;
  padding: 1.5rem 1rem;
  text-align: center;
}
nav {
  margin-top: 10px;
}
nav a {
  margin: 0 10px;
  color: white;
  font-weight: 500;
}
nav a:hover {
  text-decoration: underline;
}
.tagline {
  font-style: italic;
  margin-top: -10px;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: #00BFA6;
  color: white;
  padding: 12px 20px;
  margin-top: 1rem;
  border-radius: 6px;
  font-size: 1rem;
  transition: 0.3s;
}
.btn:hover {
  background-color: #009e8a;
}

/* Main Content */
main {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}
section {
  margin-bottom: 3rem;
}

/* Hero */
.hero {
  background-color: #e0f7fa;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}
.hero h2 {
  margin-bottom: 10px;
}

/* Services Grid */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2rem;
}
.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.service-card h4 {
  margin-top: 0;
  color: #007B8A;
}

/* Why Choose Us List */
ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
ul li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}
ul li::before {
  content: "✔️";
  margin-right: 10px;
  color: green;
}

/* Testimonials */
.testimonials h3 {
  text-align: center;
  color: #007B8A;
}
.testimonial {
  background-color: white;
  padding: 1rem;
  border-left: 5px solid #00BFA6;
  border-radius: 6px;
  margin: 1rem 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
}
.testimonial span {
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
  color: #555;
}

/* Footer */
footer {
  background-color: #007B8A;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 26px;
  text-align: center;
  padding: 14px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.whatsapp-float:hover {
  background-color: #1ebe5b;
}
