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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f7f9fc;
  color: #333;
}


header {
  background: #4a69bd;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

header .logo {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

header a:hover {
  color: black;
}


.container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 25px;
  padding: 30px;
}


.sidebar {
  background: rgb(227, 210, 182);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.sidebar:hover {
  transform: translateY(-3px);
}

.sidebar h2 {
  margin-bottom: 20px;
  color: #4a69bd;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 12px;
}

.sidebar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.sidebar a:hover {
  color: #4a69bd;
}


.content {
  background: rgb(227, 210, 182);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

.content h1 {
  margin-bottom: 15px;
  color: #4a69bd;
}

.content .cta-btn {
  margin-top: 15px;
  padding: 10px 18px;
  background: #4a69bd;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.content .cta-btn:hover {
  background: #3b55a0;
  transform: scale(1.05);
}


.gallery {
  grid-column: 1 / -1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.gallery h2 {
  margin-bottom: 20px;
  color: #4a69bd;
}

.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}


.gallery .card {
  background:url(dark.jpg) no-repeat center/cover;
  padding: 60px 0;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  color: #4a69bd;
  transition: transform 0.3s, background 0.3s;
}

.gallery .card:hover {
  background: #cdd8eb;
  transform: translateY(-4px);
}


footer {
  text-align: center;
  background: #4a69bd;
  color: #fff;
  padding: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* mobile ke liye  */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav li {
    margin: 8px 0 0 0;
  }
}