/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fafafa; /* light background */
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #ff6f61, #ff4081); /* gradient used here */
  padding: 1rem 2rem;
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* space between logo and text */
}

.logo img {
  height: 40px;   /* adjust size */
  width: auto;    /* keeps proportions */
}

.logo span {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;   /* keep it visible on gradient header */
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a.active {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  height: 100vh; /* Full screen height */
  background: url("Assets/Home_page_background.png") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff; /* Makes text visible on dark backgrounds */
  padding: 20px;
  position: relative;
}

/* Optional: overlay to make text pop */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* keeps text above overlay */
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px; /* spacing below heading */
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px; /* spacing before button */
}

/* Buttons */
.btn {
  background: linear-gradient(90deg, #ff6f61, #ff4081);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, background 0.3s ease;
  display: inline-block;
}

.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #ff4081, #ff6f61);
}

.contact-btn {
  margin-top: 20px;  /* space above the button */
}

/* Services */
.services {
  padding: 3rem 2rem;
  text-align: center;
}

.services h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #ff4081;
}

.service-desc {
  display: none;
  font-size: 0.9rem;
  color: #555;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card:hover .service-desc {
  display: block;
}

/* About & Contact Sections */
.about, .contact {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: auto;
}

.about h1, .contact h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #ff4081;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .nav-links {
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .hero {
    padding: 40px 20px;
    height: auto; /* allow flexible height */
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.85rem;
    padding: 8px 18px;
  }
}
