* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e5e7eb;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
  border: 3px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(to right, #22c55e, #a3e635);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #22c55e, #a3e635);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #22c55e;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.85),
      rgba(16, 105, 89, 0.82)
    ),
    url(Background_image.jpg) center/cover;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    rgba(34, 197, 94, 0.25),
    transparent 60%
  );
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: white;
}

.hero-title .highlight {
  background: linear-gradient(to right, #a3e635, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 25px;
  line-height: 1.7;
}

.hero-list {
  list-style: none;
  margin-bottom: 30px;
  font-size: 1rem;
}

.hero-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.6);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(226, 232, 240, 0.6);
  color: #e5e7eb;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #22c55e;
}

.hero-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 20px;
  padding: 35px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.hero-card h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #22c55e;
}

.hero-card p {
  color: #cbd5e1;
  margin-bottom: 25px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #22c55e;
  margin-bottom: 5px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* DIRECTOR SECTION */
.director-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-align: center;
  background: linear-gradient(to right, #ffffff, #a3e635);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 50px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.director-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.director-photo-wrapper {
  position: relative;
}

.director-photo {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.director-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.95);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  backdrop-filter: blur(10px);
  text-align: center;
}

.director-badge h3 {
  color: #22c55e;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.director-badge p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.director-info {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.director-info h3 {
  font-size: 2rem;
  color: #22c55e;
  margin-bottom: 15px;
}

.director-info p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.certifications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.cert-item {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 15px;
}

.cert-item strong {
  display: block;
  color: #22c55e;
  font-size: 0.85rem;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cert-item span {
  color: #e5e7eb;
  font-size: 0.95rem;
}

/* SECTIONS */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  aspect-ratio: 16/10;
  min-height: 250px;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.4);
  border-color: rgba(34, 197, 94, 0.6);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 60px;
  color: rgba(34, 197, 94, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.3);
  border-color: rgba(34, 197, 94, 0.4);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

.testimonial-text {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 15px;
  border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.testimonial-author strong {
  color: #22c55e;
  font-size: 1rem;
}

.testimonial-author span {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* SERVICES */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #22c55e, #a3e635);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3);
  border-color: rgba(34, 197, 94, 0.5);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #22c55e;
}

.card p {
  color: #cbd5e1;
  line-height: 1.7;
}

/* MAP */
.map-wrapper {
  margin-top: 30px;
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-form {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 20px;
  padding: 35px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #22c55e;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #e5e7eb;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  background: rgba(15, 23, 42, 0.9);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-full {
  width: 100%;
  margin-top: 10px;
}

.form-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
}

.contact-info {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 20px;
  padding: 35px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #22c55e;
}

.contact-info p {
  margin-bottom: 12px;
  color: #cbd5e1;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-info strong {
  color: #e5e7eb;
  display: inline-block;
  min-width: 140px;
}

.company-info {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
}

.company-info p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* POPUP */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 20px;
  padding: 35px;
  max-width: 500px;
  width: 90%;
  border: 2px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  text-align: center;
}

.popup h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #22c55e;
}

.popup p {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 25px;
  line-height: 1.8;
  text-align: left;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(34, 197, 94, 0.2);
  background: #0f172a;
  padding: 30px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-inner span:first-child {
  font-weight: 600;
  color: #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .director-photo {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .director-content {
    grid-template-columns: 1fr;
  }

  .director-photo {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 300px;
  }

  .certifications {
    grid-template-columns: 1fr;
  }

  /* Gallery mobile fix */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-item {
    min-height: 200px;
  }

  /* Contact form mobile fix */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    max-width: 100%;
    font-size: 16px;
  }

  .contact-info {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .director-photo {
    min-height: 250px;
  }

  .contact-info strong {
    display: block;
    min-width: auto;
    margin-bottom: 5px;
  }
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.whatsapp-float-text {
  display: block;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.8),
      0 0 0 8px rgba(37, 211, 102, 0.2);
  }
}

/* FLOATING EMAIL BUTTON */
.email-float {
  position: fixed;
  bottom: 30px;
  right: 220px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #EA4335, #DB4437);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.5);
  transition: all 0.3s ease;
  animation: email-pulse 2s infinite;
}

.email-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(234, 67, 53, 0.6);
}

.email-float svg {
  width: 28px !important;
  height: 28px !important;
  fill: white;
  flex-shrink: 0;
}

.email-float-text {
  display: block;
}

@keyframes email-pulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.5);
  }

  50% {
    box-shadow: 0 8px 35px rgba(234, 67, 53, 0.8), 0 0 0 8px rgba(234, 67, 53, 0.2);
  }
}

@media (max-width: 600px) {
  .whatsapp-float,
  .email-float {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-float-text,
  .email-float-text {
    display: none;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    font-size: 0;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .email-float {
    bottom: 80px;
    right: 20px;
    font-size: 0;
  }

  .email-float svg {
    width: 24px;
    height: 24px;
    margin: 0;
  }
}
