/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.center {
  text-align: center;
}
.mt {
  margin-top: 2rem;
}
.small {
  font-size: 0.8rem;
  color: #ccc;
}
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.grid-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}
.img-center {
  text-align: center;
}
.section {
  padding: 4rem 0;
}
.teal {
  background: #0f766e;
  color: #fff;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  color: #1e3a8a;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
}
.header .logo img {
  height: 40px;
}
.nav {
  display: flex;
  gap: 1rem;
}
.nav a {
  font-size: 16px;
  font-weight: 700; /* bold */
  color: #1d4ed8;
}

.nav a:hover {
  color: #1e3a8a;
  font-weight: 800; /* extra bold on hover */
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: #0f766e;
  color: #fff;
  padding: 5rem 0;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 1rem;
}
.hero p {
  margin: 1rem 0 2rem;
}
.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
}
.buttons .btn {
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  margin-right: 0.5rem;
  font-weight: 600;
}
.btn.primary {
  background: #fff;
  color: #0f766e;
}
.btn.primary:hover {
  background: #f3f3f3;
}
.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hero-img img {
  width: 100%;
  max-width: 440px;
  height: auto;
}

.hero-img-container {
  position: relative;
}

.hero-img-text {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  width: 90%;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Cards */
.card {
  background: #fff;
  color: #0f766e;
  padding: 1.5rem;
  border-radius: 1rem;
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.9rem;
  color: #475569;
}
.card.light {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
}

/* Industry blocks */
.industry {
  background: #134e4a;
  color: #fff;
  padding: 2rem;
  text-align: center;
  font-weight: 600;
  border-radius: 1rem;
}

/* Features */
.feature {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Footer */
/* ===== Footer Styles ===== */
.footer {
  background: linear-gradient(135deg, #0f766e, #115e59);
  color: #ffffff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-logo {
  height: 60px;
  object-fit: contain;
  margin-left: 179px;
}

.footer-address-block {
  max-width: 800px;
  margin: 2rem auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-label {
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.linkedin-icon {
  width: 28px;
  height: 28px;

  padding: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.linkedin-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.copyright {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
}

/* ===== Responsive Design ===== */
@media (max-width: 600px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* ========================= */
/* Responsive Styles */
/* ========================= */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .nav.show {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .hero {
    text-align: center;
  }
  .hero-img {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .header .logo span {
    font-size: 1rem;
  }
}

/* Flip Card */
.flip-card {
  background: transparent;
  width: 100%;
  height: 350px;
  perspective: 1000px; /* creates 3D effect */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
}

/* Front: image */
.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Back: your existing card content */
.flip-card-back {
  background: #fff;
  color: #0f766e;
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flip-card-back h3 {
  margin-bottom: 0.5rem;
}
.flip-card-back p {
  font-size: 0.9rem;
  color: #475569;
}

/* About Us Section */
#about-us {
  background: #0f766e; /* same as hero */
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
  display: flex;
  justify-content: center; /* center heading and text on large screens */
}

#about-us .head {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 800;
}

#about-us .about-text {
  max-width: 900px;
  margin: 0 auto; /* center text */

  font-size: 1rem;
  text-align: justify;
  font-weight: bold;
}

/* Image adjustments */
#about-us .hero-img {
  margin-top: 2rem; /* spacing below heading and text */
}

#about-us .hero-img img {
  width: 100%;
  max-width: 440px;

  border-radius: 10px;
}

.hero-img {
  border-radius: 20px;
  width: 600px;
}

/* Make all images responsive */
img {
  max-width: 100%; /* scales image down to fit container */
  height: auto; /* maintain aspect ratio */
  display: block; /* remove inline spacing issues */
  border-radius: inherit; /* inherit border-radius if set on parent */
}

/* Specific adjustments for hero and About Us images */
.hero-img img {
  width: 100%;
  max-width: 440px; /* optional: cap size on large screens */
  height: auto;
  border-radius: 10px; /* rounded corners for Hero & About Us */
}

/* Remove fixed width that breaks responsiveness */
.hero-img {
  width: 80%; /* allow container to control width */
  max-width: 80%;
  margin: 0 auto; /* center image */
}

.solution-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background-size: cover; /* rounded corners for solution images */
}

/* Industries List */
/* Subheading below main heading */
#industries .subheading {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 500;
}

/* Grid cards already exist with .industry class */
.industry {
  background: #134e4a;
  color: #fff;
  padding: 2rem;
  text-align: center;
  font-weight: 600;
  border-radius: 1rem;
}

/* Mission Section - Unified Background */
.mission {
  background: linear-gradient(135deg, #0f766e 0%);
  color: #ffffff;
  text-align: center;
  padding: 4rem 2rem;
}

.mission h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.mission-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

.mission-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  color: #f9fafb;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.mission-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

/* Responsive layout */
@media (max-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}

.linkedin-icon {
  width: 45px;
  height: 45px;

  padding: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.linkedin-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.nav .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

.nav-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  vertical-align: middle;
}

.nav-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.icon-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Apply blue color filter to phone & location icons */
.blue-icon {
  filter: invert(32%) sepia(96%) saturate(5000%) hue-rotate(200deg)
    brightness(95%) contrast(90%);
}

/* Hover effect for all icons */
.icon-link:hover .nav-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
}
