/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #fff;
  color: #1c1c1c;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  border-radius: 10px;
}

/* ---------- HEADER ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 70px;
  width: auto;
}

.site-title h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: #000;
  font-weight: 600;
}

.cta-btn {
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #444;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ---------- HERO SECTION ---------- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  min-height: 60vh;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.hero h2,
.hero p {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
}

/* ---------- ABOUT SECTION ---------- */
.about {
  padding: 80px 40px;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111;
}

.about p {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

/* ---------- GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.grid-item {
  background: #CCC5B9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

}
.grid-item h3 {
  color: #000;
  font-size: 1.2rem;
  margin-bottom: 10px;
}


}

.grid-item p {
  color: #555;
}

@media (min-width:769px){
.grid-item:hover {
  transform: translateY(-5px);
  background: #EB5E28;
  
}

.grid-item:hover p{
    color: #000;
    font-size: 1.1rem;
}
.grid-item:hover h3 {
  color: #fff;
  font-size: 1.6rem;
}

/* ---------- CTA SECTION ---------- */
.cta {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-btn {
  background: #fff;
  color: #000;
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: bold;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #ddd;
}

/* ---------- FOOTER ---------- */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 40px 20px;
}

footer a {
  color: #fff;
}

footer a:hover {
  text-decoration: underline;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }

  .logo {
    height: 45px;
  }

  .site-title h1 {
    font-size: 1.2rem;
  }

  .cta-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background: #fff;
    transition: left 0.3s ease;
    padding-top: 60px;
    z-index: 999;
  }

  nav.open {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: start;
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  nav a {
    display: block;
    padding: 15px 20px;
    width: 100%;
    font-size: 1.1rem;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .about {
    padding: 60px 20px;
  }

  .cta {
    padding: 60px 20px;
  }
}


    .grid-item.active {
        transform: translateY(-5px);
        background: #EB5E28;
}
