/* === SERVICES PAGE STYLES === */
/* Global Styles */
html {
  font-size: 16px; /* 1rem = 16px */
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background:  #f8f8f8;
  color: #333;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 4rem;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position:relative;
  top: 0;
  z-index: 1000;
}
/* Left & Right Columns (50% each) */
.header-left,
.header-right {
  width: 50%;
  border: 1px dashed red; /* for debug */
}
.logo img {
  height: 3.125rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
}

.nav-right input {
  padding: 0.375rem 0.75rem;
  border-radius: 1.25rem;
  border: 1px solid #ccc;
}

.contact-btn {
  padding: 0.625rem 1.125rem;
  border-radius: 1.25rem;
  border: none;
  background: #000;
  color: white;
  cursor: pointer;
}

/* Hero Section */
.hero.about-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  background: linear-gradient(to right, #94cfff, #b3b3ff);
  gap: 40px;
  flex-wrap: wrap;
}

.hero.about-hero .hero-text {
  flex: 1;
}

.hero.about-hero .hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero.about-hero .hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.hero.about-hero .hero-image {
  flex: 1;
  text-align: right;
}

.hero.about-hero .hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(236, 231, 231, 0.1);
}

/* Services Grid */
.services {
  padding: 60px 10%;
  background: #fff;
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #000000;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background:#fffbfb;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}


.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  max-width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #090909;
}

.service-card p {
  font-size: 1rem;
  color: #0a0a0a;
}

/* Contact CTA */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 10%;
  background: #f5f5f5;
  align-items: center;
  justify-content: space-between;
}

.contact-left {
  flex: 1;
}

.contact-left h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-left p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta input[type="email"] {
  padding: 10px 15px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  flex: 1;
  min-width: 250px;
}

.cta button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #1e88e5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.cta button:hover {
  background-color: #0d6efd;
}

/* Map */
.map-container {
  flex: 1;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === Animations === */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideLeft 1s ease forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideRight 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideLeft {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  to { opacity: 1; transform: translateX(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero.about-hero {
    flex-direction: column;
    text-align: center;
  }

  .hero.about-hero .hero-image {
    text-align: center;
  }

  .contact {
    flex-direction: column;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta input[type="email"],
  .cta button {
    width: 100%;
  }
}
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background-color: white;
  border-radius: 20px;
  max-width: 1000px;
  margin: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-left {
  flex: 1 1 45%;
}

.contact-form {
  flex: 1 1 45%;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-form input,
.cta-form textarea {
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 100%;
}

.cta-form button {
  padding: 0.8rem 1.5rem;
  background-color: black;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 1.5rem;
  }
}
.contact-container {
  display: flex;
  flex-direction: row; /* ensures horizontal layout */
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding: 3rem 4rem;
  background-color: white;
  border-radius: 20px;
  max-width: 1200px;
  margin: 3rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-left {
  flex: 1;
  max-width: 45%;
}

.contact-left h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.contact-form {
  flex: 1;
  max-width: 50%;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-form input,
.cta-form textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 100%;
  resize: vertical;
}

.cta-form textarea {
  height: 100px;
}

.cta-form button {
  padding: 0.8rem;
  background-color: black;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 1.5rem;
  }

  .contact-left,
  .contact-form {
    max-width: 100%;
  }
}
