/* This Section is use for universal class or chengement */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.header {
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px 24px;
  box-shadow: 0 6px 18px rgba(89, 0, 255, 0.15);
}

.section2 {
  display: grid;
}

.header h1,
.header2 h2 {
  display: grid;
  padding: 10px;
  margin: 10px;
  justify-content: center;
}

.media {
  display: grid;
  padding: 20px;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  grid-auto-flow: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.media img {
  height: 100%;
  width: 100%;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.media img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Hero Background */

.bgimage {
  background-image: url(https://res.cloudinary.com/ams1rfsh/image/upload/v1783937364/Untitled_design_16_gq55xu.png);
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
}

nav {
    position: sticky;
    gap: 5px;
    display: grid;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1f2937, #374151);
    color: #fff;
    padding: 12px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    align-content: center;
    grid-auto-flow: column;
}

nav img {
  height: 42px;
  width: auto;
  margin: 0;
}

.search input {
  padding: 10px;
  border-radius: 20px;
  border: 2px solid white;
  height: 40px;
  width: 362px;
  box-shadow: 6px 4px 9px 0px rgba(255, 255, 255, 0.2);
}

nav ul {
  display: grid;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
  align-content: center;
  grid-auto-flow: column;
}

nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.herobutton {
  display: grid;
  margin-left: 50%;
  margin-right: 50%;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  margin-top: 35%;
  justify-content: center;
  align-content: center;
  justify-items: center;
  align-items: center;
}

.herobutton button {
  border-radius: 20px;
  height: 50px;
  width: 135px;
  border: 2px solid black;
  background-color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.herobutton:hover button {
  background-color: #1f2937;
  color: white;
  font-size: 15px;
}

.herobutton:active button {
  background-color: #374151;
  transform: scale(0.95)
}

/* Section 2 Start */

.section2 h1 {
  display: grid;
  justify-content: center;
}

.footer {
  background-color: #1f2937;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-col p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-col a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #4b5563;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #3b82f6;
  text-decoration: none;
  margin-left: 10px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}