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

body, section {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
}

/* Navbar */
.navbar {
  position: fixed !important;
  top: 0;
  width: 100%;
  background: transparent !important;
  z-index: 1000;
  transition: background 0.3s ease;
}

.navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 10px;
  transition: 0.3s;
}

.navbar .nav-link:hover {
  color: #f0a500 !important;
}

.navbar-brand {
  color: #fff !important;
}

.logo{
  height: 40px;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .nav-link {
  color: #f0a500 !important; /* gold on scroll */
  font-weight: 600;
  transition: color 0.3s;
}


/* ==========================
   Hero Section
========================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-bottom: -2px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 0;
}

.hero-slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease-in-out, transform 8s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 1;
}

/* Slide images */
.slide1 { background-image: url('../images/hero1.jpeg'); }
.slide2 { background-image: url('../images/hero2.jpg'); }
.slide3 { background-image: url('../images/hero3.jpg'); }
.slide4 { background-image: url('../images/hero4.jpeg'); }

/* Hero Content */
.hero-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  max-width: 90%;
  z-index: 2;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background-color: white;
  color: black;
}

/* ==========================
   About Section
========================== */
.about {
  background: #fff; /* Light theme for blogging readability */
  color: #111;
  padding: 80px 5%;
  margin: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.about .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 60px;
  flex-wrap: wrap;
}

/* IMAGE SIDE */
.about-image {
  flex: 1 1 45%;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 2.5s ease, filter 0.5s ease;
  filter: brightness(0.95) contrast(1.05);
}

.about-image:hover img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.1);
}

/* Gradient Overlay */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.05), transparent 60%);
  border-radius: 14px;
  pointer-events: none;
}

/* TEXT SIDE */
.about-text {
  flex: 1 1 50%;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Floating shapes behind text */
.about-text::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(240, 165, 0, 0.15);
  border-radius: 50%;
  transform: rotate(15deg);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.about-text::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -50px;
  width: 70px;
  height: 70px;
  background: rgba(240, 165, 0, 0.1);
  border-radius: 50%;
  transform: rotate(-10deg);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #f0a500;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background: #f0a500;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-top: 2rem;
  margin-bottom: 1rem;
  max-width: 550px;
}

/* ==========================
   Featured Blog Posts Section - Enhanced
========================== */
.featured-posts {
  background: #fff;
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.featured-posts h2 {
  font-size: 2.8rem;
  color: #f0a500;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.featured-posts h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #f0a500;
  border-radius: 2px;
}

.featured-intro {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Floating shapes behind heading */
.featured-posts::before,
.featured-posts::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.featured-posts::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 180px;
  height: 180px;
  background: rgba(240, 165, 0, 0.12);
  border-radius: 50%;
  transform: rotate(20deg);
  pointer-events: none;
}

.featured-posts::after {
  content: "";
  position: absolute;
  top: 70%;
  right: -70px;
  width: 140px;
  height: 140px;
  background: rgba(240, 165, 0, 0.08);
  border-radius: 50%;
  transform: rotate(-15deg);
  pointer-events: none;
}

/* Posts container */
.posts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Individual post card */
.post-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  width: 350px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 420px;
}

/* subtle floating overlay on post images */
.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(240,165,0,0.05), transparent 60%);
  pointer-events: none;
  border-radius: 14px;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Post image */
.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.95) contrast(1.05);
  border-radius: 14px 14px 0 0;
}

.post-card:hover img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.1);
}

/* Post content */
.post-content {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #111;
}

.post-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Read More button */
.read-more {
  margin-top: auto;
  display: inline-block;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 30px;
  border: 1px solid #f0a500;
  color: #f0a500;
  transition: all 0.3s ease;
  font-weight: 500;
}

.read-more:hover {
  background: #f0a500;
  color: #fff;
}

/* =========================
   Latest Photos Section
========================= */
.latest-photos {
  position: relative;
  padding: 100px 5%;
  background-color: #fff; /* light theme */
  overflow: hidden;
}

/* Floating circles behind heading */
.latest-photos::before,
.latest-photos::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Top-left circle */
.latest-photos::before {
  width: 150px;
  height: 150px;
  background: rgba(240, 165, 0, 0.12);
  top: 10px;
  left: 30px;
}

/* Bottom-right circle */
.latest-photos::after {
  width: 140px;
  height: 140px;
  background: rgba(240, 165, 0, 0.08);
  bottom: 30%;
  right: -40px;
}

/* Section Heading */
.latest-photos h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #f0a500;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.latest-photos h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #f0a500;
  border-radius: 2px;
}

.latest-intro {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Grid Layout for Photos */
.latest-photos .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Photo Card */
.latest-photos .photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: #f9f9f9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  aspect-ratio: 4 / 3;
  z-index: 1;
}

/* Accessibility: Hidden text for screen readers */
.latest-photos .photo-card span.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Photo Image */
.latest-photos .photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.6s ease; /* smoother zoom */
  will-change: transform;

}

/* Overlay on Hover */
.latest-photos .photo-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  border-radius: 18px;
  transition: opacity 0.35s ease;
  z-index: 1;
}

/* Hover Animations */
.latest-photos .photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.latest-photos .photo-card:hover::before {
  opacity: 1;
}

.latest-photos .photo-card:hover img {
  transform: scale(1.1); /* smooth zoom */
  filter: brightness(1.0);
}

/* Touch-friendly: Active state for mobile */
.latest-photos .photo-card:active {
  transform: translateY(-3px);
}

.latest-photos .photo-card:active::before {
  opacity: 1;
}

.latest-photos .photo-card:active::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Transparent Outlined Button */
.btn-outline {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid #f0a500;
  border-radius: 999px;
  background: transparent;
  color: #222;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-outline:hover {
  background: #f0a500;
  color: #fff;
  transform: translateY(-2px);
}



/* ==========================
   Image Modal - Center Fix
========================= */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 0; /* remove extra padding that shifts content */
  overflow: hidden; /* center perfectly, scroll handled inside img if needed */
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.show {
  display: flex;
  opacity: 1;
}

/* Modal Image */
.image-modal img {
  max-width: 80%;
  max-height: 80%; /* allow scroll if taller than viewport */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  display: block;
  margin: auto; /* ensures centering in flex */
  transition: transform 0.3s ease, filter 0.3s ease;
}


/* Zoom effect on hover */
.image-modal img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* Modal Buttons Container */
.image-modal .modal-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Modal Buttons */
.image-modal .modal-buttons button {
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  border: 2px solid #f0a500;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-modal .modal-buttons button:hover {
  background: #f0a500;
  color: #000;
  transform: translateY(-2px);
}

/* Close Button */
.image-modal .close-btn {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1001;
}

.image-modal .close-btn:hover {
  color: #ffcc00;
}

/* Download Button */
.image-modal .download-btn {
  position: absolute;
  top: 35px;
  left: 45px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s;
  z-index: 1000;
}

.image-modal .download-btn:hover {
  color: #ffcc00;
}


/* ==========================
   Contact Section
========================== */
.contact {
  background: #fff;
  padding: 100px 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Floating circles behind heading (like Featured Posts) */
.contact::before,
.contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Top-left circle */
.contact::before {
  width: 190px;
  height: 190px;
  background: rgba(240, 165, 0, 0.12);
  top: 10px;
  left: 20px;
  border-radius: 50%; /* ensures perfect circle */
  transform: none;   /* remove rotation for perfect roundness */
}

/* Bottom-right circle */
.contact::after {
  width: 250px;
  height: 250px;
  background: rgba(240, 165, 0, 0.08);
  bottom: -5%;
  right: -50px;
  border-radius: 50%; /* make it a circle */
  transform: none;    /* remove rotation */
}

.contact h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #f0a500;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.contact h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #f0a500;
  border-radius: 2px;
}

.contact-intro {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Wrapper */
.contact-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Info Section */
.contact-info {
  flex: 1 1 40%;
  text-align: left;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.8rem;
  color: #f0a500;
  margin-right: 20px;
  background: rgba(240,165,0,0.1);
  padding: 15px;
  border-radius: 50%;
}

.info-item h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #111;
  font-weight: 600;
}

.info-item p {
  margin: 5px 0 0;
  color: #555;
}

/* Contact Form */
.contact-form {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-control {
  padding: 14px 18px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.3s;
  outline: none;
}

.contact-form .form-control:focus {
  border-color: #f0a500;
  box-shadow: 0 0 8px rgba(240,165,0,0.25);
}

.contact-form textarea {
  resize: none;
}

.contact-form .btn {
  align-self: flex-start;
  padding: 12px 30px;
  background: transparent;
  border: 2px solid #f0a500;
  color: #222;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.contact-form .btn:hover {
  background: #f0a500;
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 165, 0, 0.3);
  transform: translateY(-2px);
}

/* Floating Alert */
#homeAlert {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: auto;
  max-width: 400px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


/* ==========================
   Footer Section
========================== */
.footer {
  background: #111;
  color: #fff;
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Floating circles behind heading (like Featured Posts) */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Top-left circle */
.footer::before {
  width: 190px;
  height: 190px;
  background: rgba(240, 165, 0, 0.12);
  top: 10px;
  left: 20px;
  border-radius: 50%; /* ensures perfect circle */
  transform: none;   /* remove rotation for perfect roundness */
}

/* Bottom-right circle */
.footer::after {
  width: 100px;
  height: 100px;
  background: rgba(240, 165, 0, 0.08);
  bottom: 5%;
  right: 100px;
  border-radius: 50%; /* make it a circle */
  transform: none;    /* remove rotation */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* evenly distributes columns */
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-column {
  flex: 1 1 30%; /* three columns take roughly equal width */
  min-width: 220px;
}

.footer-column h4 {
  font-size: 1.5rem;
  color: #f0a500;
  margin-bottom: 20px;
}

.footer-column p,
.footer-column li {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.8;
}

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

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #f0a500;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #f0a500;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}




/* ==========================
   Responsive
========================== */
@media (max-width: 1024px) {
  .hero-content h2 { font-size: 2.5rem; }
  .hero-content p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .hero-content h2 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-content { padding: 15px; }
  .post-card {
    width: 100%;
    max-width: 400px;
    min-height: 380px;
  }

  .post-content {
    text-align: center;
  }

  .featured-posts::before {
    top: -20px;
    left: -20px;
    width: 110px;
    height: 110px;
  }

  .featured-posts::after {
    top: 55%;
    width: 80px;
    height: 80px;
    right: -40px;
  }

  .latest-photos::before {
    width: 110px;
    height: 110px;
    top: -20px;
    left: -20px;
  }

  .latest-photos::after {
    width: 80px;
    height: 80px;
    bottom: 50%;
    right: -40px;
  }

  .latest-photos .photo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .latest-photos h2 {
    font-size: 2rem;
  }

  .latest-photos .photo-card {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .image-modal img {
    max-width: 95%;
    max-height: 70%;
  }

  .image-modal .modal-buttons {
    gap: 12px;
    margin-top: 15px;
  }

  .image-modal .modal-buttons button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .image-modal .close-btn {
    top: 15px;
    right: 15px;
    font-size: 28px;
  }

  .image-modal .download-btn {
    top: 15px;
    left: 15px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h2 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.9rem; }
  .hero-content { padding: 10px; }

  .slide.active {
    transform: scale(1.05);
    transition: opacity 1s ease-in-out, transform 8s ease-in-out;
  }
  .hero-slides .slide { background-position: center top; }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .post-card {
    min-height: auto;
  }

  .post-card img {
    height: 180px;
  }

  .featured-posts h2 {
    font-size: 2rem;
  }

  .featured-posts::before {
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
  }

  .featured-posts::after {
    top: 50%;
    width: 60px;
    height: 60px;
    right: -30px;
  }

  .latest-photos {
    padding: 60px 3%;
  }

  .latest-photos h2 {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .latest-photos .photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .latest-photos .photo-card {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .latest-photos::before,
  .latest-photos::after {
    width: 60px;
    height: 60px;
  }

  .latest-photos::before {
    top: -10px;
    left: -10px;
  }

  .latest-photos::after {
    bottom: 50%;
    right: -30px;
  }

 .image-modal img {
    max-width: 100%;
    max-height: 60%;
  }

  .image-modal .modal-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .image-modal .modal-buttons button {
    width: auto;
    min-width: 120px;
    padding: 10px 20px;
  }

  .image-modal .close-btn {
    font-size: 24px;
  }

  .image-modal .download-btn {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .about {
    padding: 60px 6%;
  }

  .about .row {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    padding: 0;
    margin-top: 40px;
  }

  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-image img {
    max-height: 400px;
  }

 .posts-container {
    justify-content: center;
  }

  .featured-posts::before {
    top: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
  }

  .featured-posts::after {
    top: 60%;
    width: 100px;
    height: 100px;
    right: -50px;
  }

  .latest-photos::before {
    width: 140px;
    height: 140px;
    top: -30px;
    left: -30px;
  }

  .latest-photos::after {
    width: 100px;
    height: 100px;
    bottom: 55%;
    right: -50px;
  }

  .latest-photos .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease-in-out;
}

.image-modal img {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.image-modal img:hover {
  transform: scale(1.02);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #ffcc00;
}

.download-btn {
  position: absolute;
  top: 35px;
  left: 45px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
}

.download-btn:hover {
  color: #ffcc00;
}

/* Fade-in Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


  .contact-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }

  .info-item {
    justify-content: center;
  }

  .contact-form .btn {
    align-self: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    flex: 1 1 100%;
    min-width: auto;
  }

  .footer-column h4 {
    margin-bottom: 15px;
  }

  .footer-social a {
    margin: 8px;
    font-size: 1.3rem;
  }

  .footer-bottom {
    margin-top: 40px;
  }
}