/* Reset */
body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fdfdfd;
  padding-top: 0;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  background: linear-gradient(to right, #003366, #8cd3f4); /* Dark blue → Light blue */
  padding: 15px 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* subtle depth */
  display: flex;
  align-items: center;
  justify-content: space-around; /* move links to the right */
  position: sticky;
  width: 100%;
  z-index: 1000;
}

.logo img {
  height: 120px;
}

.nav-links {
  display: flex;
  gap: 2rem;          /* spacing between links */
  margin-left: -10px; /* slight shift left */
}

.nav-links a {
  color: #ffffff;           
  font-weight: 600;          
  margin: 0 15px;            
  text-decoration: none;
  font-size: 1.1rem;         
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5); 
  padding: 5px 10px;        /* padding for background highlight */
  border-radius: 5px;        /* rounded highlight corners */
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;            
  background-color: #e39bc9; /* pink highlight */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7); 
  transform: translateY(-2px);
}


/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 60vh; /* adjust height as needed */
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* slightly darken for haze effect */
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #8cd3f4; /* haze color */
  opacity: 0.4; /* adjust intensity of haze */
  pointer-events: none; /* ensures overlay doesn’t block clicks */
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  margin-top: 20px;
}
.btn {
  background: #0077cc;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}
.btn:hover {
  background: #005fa3;
}

/* Content Sections */
.content {
  padding: 20px 10px;
  max-width: 900px;
  margin: auto;
}
.content h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  color: #0077cc;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main-content {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* NEW: ensure sidebar matches height of main */
  flex-wrap: wrap;
  margin: 1rem auto;
  max-width: 1000px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-height: calc(100vh - 140px); /* 100vh minus nav + margin */
}

.sidebar {
  flex: 1 1 250px;
  background: linear-gradient(180deg, #8cd3f4, #e39bc9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.sidebar img {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


/* Footer */
footer {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;        /* stretches across the page */
  background: linear-gradient(90deg, #e39bc9, #8cd3f4);
  color: white;
  padding: 1rem;
  text-align: center;
  z-index: 1000;
  border-radius: 0 0 0 0;
}

/* Responsive layout adjustments */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .sidebar,
  main {
    width: 100%;
    border-radius: 0;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  nav a {
    width: 100%;
    text-align: center;
  }

  main {
    padding: 1rem;
  }

  footer {
    font-size: 0.9rem;
    margin: 0.5rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.8rem;
  background: linear-gradient(90deg, #e39bc9, #8cd3f4);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #d688bb, #6fbfde);
}