* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: <b>'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;</b>
    background-color: #fff;
    color: #333;
  }
  
  /* Navbar */
  nav {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
      url('Masjid.jpg.png') center/cover no-repeat;
    padding: 20px;
  }

.logo img {
  height: 40px;
  width: auto;
}

  .nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  
  .nav-links li a {
    text-decoration: none;
    background-color: #fbf9f9;
    padding: 10px 20px;
    border-radius: 20px;
    color: #444;
    transition: background 0.3s ease;
  }
  
  .nav-links li a:hover {
    background-color: #fbf9f9;
  }
  
  /* Main layout */
  .main-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px;
    height: calc(100vh - 100px);
  }
  
  /* Left section */
  .left-side {
    flex: 1;
  }
  
  .cta-button {
    background-color: #212322;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #212322;
  }
  
  /* Right section */
  .right-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .featured-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align content and image at the bottom */
    padding: 60px;
    gap: 40px;
  }
  
  .left-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    max-width: 450px;
  }
  
  .title-text {
    font-size: 2.2rem;
    font-weight: bold, justify;
    color: #222;
    margin-bottom: 12px;
  }
  
  .intro-text {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .learn-btn {
    padding: 12px 24px;
    border: none;
    background-color: #212322;
    color: white;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .learn-btn:hover {
    background-color: #212322;
  }
  
  .featured-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  section {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .card {
    background-color: #212322;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    color: #f5f1f1 ;
  }
  
  footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: #eee;
  }

  /* Bounce effect */
.bounce {
  transform: scale(0.95);
  transition: transform 0.2s ease-in-out;
}

.bounce:active {
  transform: scale(1.05);
}

/* Hover glow */
.hover-glow {
  box-shadow: 0 0 12px rgba(0, 140, 255, 0.5);
  transition: box-shadow 0.3s ease;
}

/* Optional: smoother transition for all nav and learn-btn buttons */
.learn-btn, .featured-image {
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Initial state */
.nav-links {
  opacity: 0;
  transform: translateY(-30px);
  animation: slideIn 0.8s ease-out forwards;
}

.nav-links {
  animation-delay: 0.3s;
}

/* Animation keyframes */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card {
  background-color: #222;
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1rem;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-align: left;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 187, 255, 0.579);
}

.contact-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to bottom right, #d1f7e8, #ffffff);
  overflow-x: hidden;
}

header {
  background: linear-gradient(to right, #4caf50, #3ddc97);
  padding: 20px;
  text-align: center;
}

nav {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.nav-item {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  margin: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.nav-item:hover {
  background-color: #fff;
}

.gallery-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

.gallery {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px;
}

.img-box {
  min-width: 250px;
  height: 250px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.img-box:hover {
  transform: scale(1.05);
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-btn {
  background-color: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  padding: 10px;
  margin: 0 10px;
  transition: background-color 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.scroll-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.left {
  left: 0;
}

.right {
  right: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background: linear-gradient(to bottom right, #d1f7e8, #ffffff);
  padding: 1rem;
}

nav {
  display: flex;
  gap: 1rem;
  background-color: #999;
  padding: 1rem;
  justify-content: center;
}

nav button {
  padding: 0.5rem 1rem;
  border: none;
  background: #ccc;
  border-radius: 8px;
  cursor: pointer;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 900px;
  width: 100%;
}

.image-box {
  width: 280px;
  height: 280px;
  background: gray;
  border-radius: 16px;
}

.image-box img { 
  width: 100%;
  length: 100%;
  object-fit: cover;
}

.text-box p {
  background: #000000;
  padding: 1rem;
  margin: 0.25rem 0;
  border-radius: 8px;
  width: 280px;
}

.text-box:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 14px rgba(0, 187, 255, 0.579);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: #fefefe;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

nav a.active,
nav a:hover {
  background-color: #e6eade;
  color: #000;
}

.circle-gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.circle-item {
  text-align: center;
}

.circle-item img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.circle-item .text-box {
  margin-top: 12px;
  font-size: 16px;
  color: #ffffff;
  padding: 10px;
  border: 1px solid #363434;
  border-radius: 10px;
  background-color: #363434;
  display: inline-block;
  max-width: 180px;
}

.info-section  {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.info-box {
  background-color: #fefefe;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 280px;
  justify-items: center;
  text-align: center;
}

.info-box h2 {
  font-size: 17px;
  margin-bottom: 15px;
  color: #222;
}

.info-box p {
  font-size: 16px;
  color: #1b1919;
}

.video-box {
  padding: 1.5rem;
  margin: 2rem auto;
  width: fit-content;
  text-align: center;
}

