/* --- Global Reset & Variables --- */
:root {
  --primary-dark: #252828;
  --primary-teal: #73969b;
  --bg-gray: #f3f4f6;
  --white: #ffffff;
  --accent: #f2e7d5;
  --font-main: "Manrope", sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--primary-dark);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-white {
  color: var(--white);
}
.bg-gray {
  background-color: var(--bg-gray);
}
.bg-teal {
  background-color: var(--primary-teal);
}
.bg-white {
  background-color: var(--white);
}
.mb-60 {
  margin-bottom: 60px;
}

/* --- Typography --- */
h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2.section-title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}
h2.text-white {
  color: var(--white);
}
.section-desc {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.section-text {
  font-size: 1.125rem;
  margin-bottom: 30px;
}

/* --- Navigation --- */
.navbar {
  background-color: var(--primary-dark);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.2)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-arrow {
  position: absolute;
  bottom: 30px;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* --- About Section --- */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 40px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Grid System --- */
.grid-2 {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 50px;
  align-items: center;
}

.text-block {
  background-color: #5a6263;
  padding: 40px;
  border-radius: 15px;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  opacity: 0.6;
  margin: 20px 0;
}

.image-block img {
  border-radius: 15px;
  width: 100%;
  object-fit: cover;
}

/* --- Benefits --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.icon-box img {
  width: 50px;
  height: 50px;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.feature-card img {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  filter: invert(1); /* Make black icons white */
}

/* --- Testimonials --- */
.testimonials-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 100%; /* Mobile: 1 card wide */
  scroll-snap-align: center;
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 20px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-author {
  text-transform: uppercase;
  font-weight: 700;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #666;
}

/* --- Real World Impact --- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.impact-card {
  background: var(--bg-gray);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.impact-img {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.impact-content {
  padding: 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.impact-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-top: 20px;
}

.btn-small {
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 0.85rem;
}

.btn-black {
  background-color: #000;
  color: #fff;
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* --- Tilda Form Styling (Cleaned Up) --- */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.t-form {
  text-align: left;
}

.t-input-group {
  margin-bottom: 20px;
}

.t-input-title {
  display: block;
  margin-bottom: 8px;
  color: red; /* Kept red as per original code */
  font-size: 0.9rem;
  font-weight: 600;
}

.t-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #000;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  color: #000;
  background-color: #fff;
}

.t-input-block textarea.t-input {
  height: 102px;
  resize: vertical;
}

.t-submit {
  display: inline-block;
  width: 100%;
  padding: 15px;
  border: none;
  background-color: #000;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.t-submit:hover {
  opacity: 0.8;
}

.t-input-error {
  color: red;
  font-size: 0.8rem;
  margin-top: 5px;
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: transparent;
  text-align: left;
}

.team-img {
  width: 100%;
  padding-bottom: 100%; /* Square aspect ratio */
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.team-info p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}
.linkedin-icon {
  display: inline-block;
  background: #0077b5;
  color: white;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

/* --- Partners --- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.partners-grid img {
  max-height: 50px;
  max-width: 160px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}

.partners-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* --- Footer --- */
.grid-2-footer {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
}

.footer-content {
  padding: 60px 40px;
}

.social-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--white);
  text-decoration: underline;
  font-size: 0.9rem;
}

.map-container {
  min-height: 400px;
  background: #e0e0e0;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2-footer {
    grid-template-columns: 1fr;
  }
  .map-container {
    height: 300px;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: var(--primary-dark);
    width: 100%;
    padding: 20px;
    text-align: center;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }

  h1 {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefit-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .team-img {
    width: 150px;
    height: 150px;
    padding-bottom: 0;
    margin: 0 auto 15px;
  }
}
