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

:root {
  --primary-color: #febd1f;
  --secondary-color: #1f2937;
  --dark-bg: #111827;
  --text-color: #1f2937;
  --light-bg: #fef3c7;
  --white: #ffffff;
  --accent-gold: #febd1f;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--dark-bg);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(17, 24, 39, 0.85), rgba(31, 41, 55, 0.85)),
    url("/images/hero.png"); /* ← update filename */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 8rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero p {
  font-size: 1.5rem;
  opacity: 0.9;
  color: var(--accent-gold);
  font-weight: 500;
}

.hero-accent {
  width: 80px;
  height: 4px;
  background-color: var(--accent-gold);
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--white);
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-align: center;
}

.about p {
  font-size: 1.2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
  min-height: 5.5rem;
  display: flex;
  align-items: center;
}

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Technology Section */
.technology {
  padding: 5rem 0;
  background-color: var(--white);
}

.technology h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-align: center;
}

.technology p {
  font-size: 1.2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Artificial Intelligence Section */
.artificial {
  padding: 5rem 0;
  background-color: var(--white);
}

.artificial h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-align: center;
}

.artificial p {
  font-size: 1.2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-align: center;
}

.contact p {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.contact-info {
  text-align: center;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--accent-gold);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: slideIn 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent-gold);
}

#modalTitle {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

#modalDescription {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

#modalDescription p {
  margin-bottom: 1rem;
}

#modalDescription ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

#modalDescription li {
  margin-bottom: 0.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    gap: 1rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
