:root {
  --primary: linear-gradient(90deg, #00FFCC 0%, #04BE91 58%, #077C55 100%);
  --primary-solid: #04BE91;
  --accent: #00FFCC;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Itim', cursive;
  background-color: #f9fafb;
  line-height: 1.6;
  overflow-x: hidden;
}
header {
  background-color: #00FFCC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
header h1 {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
}
nav {
  display: flex;
  gap: 1.5rem;
}
nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
nav a:hover {
  color: var(--accent);
}
.logo-img {
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Adjust spacing between logo and text */
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}
.hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  text-align: center;
}
.home-bg {
  background: linear-gradient(rgba(30,58,138,0.85), rgba(30,58,138,0.85)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
  color: #fff;
  padding: 10rem 2rem 6rem;
}
.hero-content {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}
.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.social-connect p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
}
.social-button {
  background: #fff;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icon {
  color: #1e3a8a;
  font-size: 1.5rem;
}
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary);
}
.section-subtitle {
  text-align: center;
  margin-top: -1.5rem;
  font-size: 1.2rem;
  color: #6b7280;
}
.section-subtitle2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: #6b7280;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card i {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card:hover i {
  transform: scale(1.2);
  transition: transform 0.3s ease-in-out;
}
.card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 1rem;
  color: #4b5563;
}
.review-avatar {
  width: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.blog-image {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.contact-info {
  flex: 1;
  min-width: 280px;
}
.contact-info h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.contact-info p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.contact-info h5 {
  font-size: 1.1rem;
  color: var(--primary);
}
.social-icons {
  margin: 0.5rem 0 1.5rem;
}
.social-icons a {
  font-size: 1.4rem;
  margin-right: 1rem;
  color: var(--primary);
  transition: color 0.3s;
}
.social-icons a:hover {
  color: var(--accent);
}
.map-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.contact-form {
  flex: 1;
  min-width: 280px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2);
}
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 1rem;
}
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
  }
  nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .contact-container {
    flex-direction: column;
  }
}


/* Reusable classes for company identity */
.company-name {
  font-weight: 700;
  color: var(--primary);
}
.company-name-accent {
  font-weight: 700;
  color: var(--accent);
}
.company-address {
  white-space: pre-line;
}
.company-email {
  font-weight: 500;
}
.social-icons a.instagram,
.social-icon.instagram {
  color: #E1306C;
}
.social-icons a.linkedin,
.social-icon.linkedin {
  color: #0077B5;
}
.social-icons a.facebook,
.social-icon.facebook {
  color: #1877F2;
}
.social-icons a.twitter,
.social-icon.twitter {
  color: #1877F2;
}
.btn {
      background-color: var(--accent);
      color: var(--primary);
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s;
    }
    .btn:hover {
      transform: scale(1.05);
    }
.team-card {
  cursor: pointer;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Center the dialog */
.contact-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 90%;
  max-width: 500px;
  background-color: #fff;
  padding: 30px; /* padding inside the dialog */
  border: none;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

/* Dimmed background */
.contact-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Form buttons layout */
.dialog-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* Button styles */
.dialog-actions button {
  padding: 10px 20px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dialog-actions button:hover {
  background-color: #2563eb;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block; /* ensures full clickable area */
}
