/* Reset & global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #002f5f;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.site-logo {
  /* Increase the header logo size for better visual impact */
  height: 80px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #002f5f;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.main-nav a:hover {
  color: #004a99;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.primary {
  background-color: #004a99;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #003d80;
}

.btn.secondary {
  background-color: #ffffff;
  color: #004a99;
  border: 2px solid #004a99;
}

.btn.secondary:hover {
  background-color: #004a99;
  color: #ffffff;
}

/* Hero section */
/*
 * Hero section
 *
 * We use a custom background image to evoke a modern Dubai skyline. A semi-transparent
 * dark gradient overlay ensures that the text remains readable against the vibrant
 * backdrop. If you wish to swap out the image, replace `hero-bg.png` in the
 * `images` folder with your preferred photograph and keep the same file name.
 */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.hero-section .hero-content {
  max-width: 800px;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-section .tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

/* Intro section */
.intro-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.intro-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.intro-section p {
  margin-bottom: 1.5rem;
  max-width: 800px;
  color: #444;
}

.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.benefits-list li {
  background-color: #f5f9ff;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

/* About section */
.about-section {
  padding: 60px 0;
  background-color: #f7faff;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-section p {
  margin-bottom: 1rem;
  color: #444;
  max-width: 900px;
}

/* Services section */
.services-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

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

.service-card {
  background-color: #f5f9ff;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #004a99;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Coming Soon section */
.coming-soon-section {
  padding: 60px 0;
  /* Banner-style section with background image */
  /* Use a slightly darker overlay on the banner so white text stands out. */
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('images/coming-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
}

/* Ensure paragraphs in the Coming Soon banner are readable */
/* Paragraphs inside Coming Soon section have light color for readability */
/* Force the banner text to be fully white for maximum contrast */
.coming-soon-section p {
  color: #ffffff !important;
  font-size: 1.05rem;
}

/* Add subtle text shadow for better contrast on banner text */
/* Apply a stronger shadow to the heading and paragraphs to enhance readability */
.coming-soon-section h2,
.coming-soon-section p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.coming-soon-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}


/* Coming Soon feature cards */
.coming-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background-color: #f5f9ff;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #004a99;
  text-align: center;
  line-height: 1.3;
}

/* Center the Coming Soon button */
.coming-btn {
  display: inline-block;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
}

/* Specific styling for feature cards inside the Coming Soon banner */
.coming-soon-section .feature-card {
  background-color: rgba(255, 255, 255, 0.9);
  color: #004a99;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coming-soon-section .feature-card h4 {
  color: #004a99;
}

.coming-soon-section .feature-card svg {
  stroke: #004a99;
}

/* Footer */
.site-footer {
  background-color: #f5f9ff;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #555;
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.modal-wrapper {
  position: relative;
  z-index: 2100;
  max-width: 500px;
  width: 90%;
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-content {
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: #002f5f;
}

.modal-description {
  margin-bottom: 1rem;
  color: #555;
  font-size: 0.95rem;
}

.modal .close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.register-form input,
.register-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
}

.register-form input:focus,
.register-form textarea:focus {
  outline: none;
  border-color: #004a99;
  box-shadow: 0 0 0 1px #004a99;
}

.register-form button {
  width: 100%;
  margin-top: 0.25rem;
}

/* Responsive typography */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section .tagline {
    font-size: 1.1rem;
  }
  .header-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }
  .main-nav ul {
    gap: 1rem;
  }
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}