html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #f8f8f8;
}

/* ========================= HEADER ========================= */

.main-header {
  background: rgba(255, 255, 255, 0); /* transparent */
  color: #ffffff; 
  padding: 20px 30px;
  position: fixed; /* fixed to top */
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: none;
}

/* Shadow and slight solid background on scroll */
.main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Smooth appear animation */
.main-header {
  transform: translateY(0);
  animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ================= CONTAINER ================= */
.header-container {
  max-width: 1350px;
  margin: auto;
}

/* ================= TOP ROW ================= */
.header-top {
  display: flex;
  align-items: center;
  justify-content: center; /* center everything */
  position: relative;
}

/* Social Icons */
.social-icons {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;        /* FIX */
  gap: 14px;            /* ADD SPACE */
}
@media (max-width: 850px) {
  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Desktop hide toggle */
@media (min-width: 851px) {
  .menu-toggle {
    display: none;
  }
}

.social-icons a {
  color: inherit;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #a1866f;
}

/* Logo */
.header-logo {
  position: relative;
  width: 280px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.full-logo {
  opacity: 1;
}

.compact-logo {
  opacity: 0;
  transform: scale(0.9);
}

/* Logo swap on scroll */
.main-header.scrolled .full-logo {
  opacity: 0;
  transform: scale(0.9);
}

.main-header.scrolled .compact-logo {
  opacity: 1;
  transform: scale(1);
}

/* Right Text (Let’s Begin) */
.begin-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: inherit;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;

  transition: 0.3s;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* Navigation */
.main-nav {
  text-align: center;
  margin-top: 10px;
}

.main-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav ul li {
  display: inline-block;
  margin: 0 30px;
}

.main-nav ul li a {
  color: inherit;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  transition: 0.3s ease;
}

.main-nav ul li a:hover {
  color: #a1866f;
  transform: translateY(-3px);
}

.main-nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: #a1866f;
  transition: 0.3s ease;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

/* Close Button */
.close-btn {
  display: none;
  font-size: 2rem;
  position: absolute;
  right: 25px;
  top: 25px;
  cursor: pointer;
  color: inherit;
  transition: 0.3s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 850px) {

  /* Container becomes flex row */
  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    width: 100%;
  }

  /* Left: Social Icons */
  .social-icons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
  }

  /* Hide Let's Begin */
  .begin-text {
    display: none;
  }

  /* Center: Logo */
  .header-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    position: relative;
  }

  .header-logo img {
    max-height: 40px;
  }

  /* Right: Menu toggle */
  /* Hamburger always visible on mobile */
.menu-toggle {
  display: inline-block;
  font-size: 1.6rem;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
  margin-top: 5%;
  z-index: 1200;
  position: relative; /* stays in place */
  transition: transform 0.3s ease; /* optional for small animation */
}

.menu-toggle.active i {
  transform: rotate(90deg); /* rotates icon to vertical-like */
  color: #000;              /* changes color when active */
}

/* Mobile nav */
.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255,0.95);
  color: #000;
  padding-top: 100px;
  transition: right 0.4s ease;
  box-shadow: -3px 0 20px rgba(0,0,0,0.15);
  z-index: 1100;
}

/* Active menu slides in */
.main-nav.active {
  right: 0;
}

/* Mobile menu links */
.main-nav ul li {
  display: block;
  margin: 22px 0;
  text-align: center;
}

.main-nav ul li a {
  font-size: 1.2rem;
}

/* Close button */
.close-btn {
  display: none; /* hide by default */
}

/* Show close button inside mobile nav */
@media (max-width: 900px) {
  .main-nav .close-btn {
    display: block;
    font-size: 2rem;
    position: absolute;
    right: 25px;
    top: 25px;
    cursor: pointer;
    color: inherit;
    transition: 0.3s ease;
    z-index: 1200; /* on top of menu */
  }
}


}

@media (max-width: 480px) {
  .header-logo {
    height: 40px;
  }

  .header-logo img {
    max-height: 35px;
  }

  .social-icons a {
    font-size: 0.9rem;
  }

  .menu-toggle {
    font-size: 1.4rem;
  }
}



/* VIDEO SECTION */
.video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bgVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%);
  opacity: 1;
  transition: opacity 1s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
}

.video-text {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 2;
  animation: fadeInText 4s ease forwards;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);

  /* Responsive text */
  font-size: clamp(1rem, 2vw + 0.5rem, 2.2rem);
  line-height: 1.4;
  padding: 0 20px; /* keeps spacing on mobile */
}


.video-text h1 {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}

.video-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #f3f3f3;
  font-size: 0.9rem;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar ul {
    gap: 1.5rem;
  }

  .video-text h1 {
    font-size: 2rem;
  }

  .video-text p {
    font-size: 1rem;
  }
}

/* Tagline Section Styling */
.tagline-section {
  background: #ffffff; /* subtle dark background */
  color: #000000;
  text-align: center;
  padding: 80px 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 1.5s ease-in-out 0.5s forwards;
}

/* Fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tagline-section {
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 50px 15px;
  }
}

/* ===================== SERVICES SECTION ===================== */
.services-section {
  background: #fff;
  padding: 100px 60px;
  text-align: center;
}

.services-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 60px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.services-section h2::after {
  content: "";
  width: 80px;
  height: 2px;
  background: #a1866f;
  display: block;
  margin: 15px auto 0;
}

/* === GRID LAYOUT (2 ROWS × 3 COLUMNS) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* === SERVICE CARD STYLING === */
.service-card {
  background: #f9f9f9;
  border-radius: 14px;
  padding: 45px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease, box-shadow 0.6s ease, ;
}

/* Appear smoothly when visible (linked to JS observer) */
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-10px), scale(1.05);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Service Icon */
.service-card i {
  font-size: 2.6rem;
  color: #a1866f;
  margin-bottom: 20px;
  transition: color 0.3s ease, transform 0.4s ease;
}

/* Hover icon animation */
.service-card:hover i {
  color: #8f755e;
  transform: scale(1.1);
}

/* Title */
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* Description */
.service-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* === SMOOTH FADE-UP ANIMATION (like testimonials) === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 20px;
  }

  .services-section h2 {
    font-size: 1.6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-card i {
    font-size: 2rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}




/* ===================== PROJECTS SECTION ===================== */
.projects-category-section {
  background: #f8f8f8;
  padding: 80px 60px; /* similar to services-section */
  text-align: center;
}

.projects-category-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.projects-category-section h2::after {
  content: "";
  width: 80px;
  height: 2px;
  background: #a1866f;
  display: block;
  margin: 15px auto 0;
}

.projects-category-intro {
  font-size: 1rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.7;
  font-family: 'Poppins', sans-serif;
}

/* ===================== GRID ===================== */
.projects-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* exactly 2 columns */
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===================== CATEGORY CARD ===================== */
.category-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease, box-shadow 0.6s ease;
}

.category-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* IMAGE */
.category-image {
  position: relative;
}

.category-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-bottom: 1px solid #eee;
}

.category-card:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.category-image .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
}

.category-card:hover .overlay {
  opacity: 1;
}

.overlay span {
  font-size: 1.1rem;
  padding: 10px 20px;
  background: #a1866f;
  color: #fff;
  border-radius: 6px;
  letter-spacing: 1px;
}

/* TEXT CONTENT */
.category-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #000;
  margin: 15px 20px 10px;
}

.category-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #555;
  margin: 0 20px 20px;
  line-height: 1.6;
}

/* ===================== FADE-UP ANIMATION ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .projects-category-grid {
    grid-template-columns: 1fr; /* single column on smaller screens */
    gap: 30px;
  }

  .category-image img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .projects-category-section {
    padding: 50px 15px;
  }

  .category-image img {
    height: 250px;
  }

  .category-card h3 {
    font-size: 1.2rem;
  }

  .category-card p {
    font-size: 0.85rem;
  }
}



/* ABOUT SECTION */
.about-section {
  background: #fff;
  padding: 100px 60px;
  font-family: 'Poppins', sans-serif;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 45%;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content {
  flex: 1 1 50%;
  color: #333;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 15px;
  text-transform: uppercase;
  position: relative;
}

.about-content h2 span {
  color: #a1866f;
}

.about-content h3 {
  font-size: 1.3rem;
  color: #555;
  font-weight: 500;
  margin-bottom: 25px;
  font-style: italic;
}

.about-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-btn {
  display: inline-block;
  background: #a1866f;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.about-btn:hover {
  background: #8a715c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(161, 134, 111, 0.4);
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }

  .about-content {
    text-align: center;
  }

  .about-btn {
    margin-top: 10px;
  }

  .about-image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 20px;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-content h3 {
    font-size: 1.1rem;
  }

  .about-content p {
    font-size: 0.95rem;
  }
}

/* ======= Testimonials Section ======= */
.testimonials-section {
  background-color: #fafafa;
  padding: 100px 8%;
  text-align: center;
  position: relative;
}

.testimonials-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonials-section .section-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-in-out;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-content p {
  font-style: italic;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #000;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 3px;
}

.testimonial-author span {
  color: #888;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 80px 5%;
  }
  .testimonial-card {
    padding: 25px;
  }
  .testimonial-content p {
    font-size: 0.95rem;
  }
}

/* ===================== FAQ SECTION ===================== */
.faq-section {
  background: #fff;
  padding: 100px 60px;
  text-align: center;
}

.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 60px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.faq-section h2::after {
  content: "";
  width: 80px;
  height: 2px;
  background: #a1866f;
  display: block;
  margin: 15px auto 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #000;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #a1866f;
}

.faq-icon {
  font-size: 1.4rem;
  color: #a1866f;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.faq-answer p {
  font-family: 'Poppins', sans-serif;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-section h2 {
    font-size: 1.6rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  background: #fdfdfd;
  padding: 100px 20px;
}

/* === HEADING (Same as FAQ Style) === */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.heading-line {
  width: 100px;
  height: 3px;
  background: #a1866f;
  margin: 0 auto;
  border-radius: 3px;
}

/* === CONTACT CONTAINER === */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* === LEFT SIDE TEXT === */
.contact-text {
  text-align: left;
}

.contact-logo {
  width: 400px;              /* Large on desktop */
  max-width: 100%;           /* Prevent overflow on mobile */
  margin: 0 auto 25px auto;  /* Center horizontally */
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-top: 0;
  margin-left: 55px;
}

/* Visible state */
.contact-logo.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .contact-logo {
    width: 280px;           /* Medium on tablets & large phones */
  }
}

@media (max-width: 480px) {
  .contact-logo {
    width: 240px;           /* Smaller on small mobile screens */
  }
}


.contact-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #000;
  margin-top: 25px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.contact-text h3 span {
  color: #a1866f;
  text-decoration: underline;
}

.contact-text p {
  font-family: 'Poppins', sans-serif;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 500px;
}

/* === FORM === */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.8s ease;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
}

.contact-form.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #333;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #a1866f;
  background: #fff;
  outline: none;
}

/* === BUTTON === */
.btn-submit {
  width: 100%;
  background: #a1866f;
  color: #fff;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.4s ease, transform 0.3s ease;
}

.btn-submit:hover {
  background: #8f755e;
  transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-text {
    text-align: center;
  }

  .contact-logo {
    margin: 0 auto;
  }

  .contact-text p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 25px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .contact-text h3 {
    font-size: 1.4rem;
  }

  .contact-form {
    padding: 30px 25px;
  }

  .btn-submit {
    font-size: 0.95rem;
  }
}

/* ==================== FOOTER SECTION ==================== */
.footer-section {
  position: relative;
  background: #111;
  color: #f1f1f1;
  padding: 100px 60px 40px;
  overflow: hidden;
}

/* === MOVING BACKGROUND TEXT === */
.footer-bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 300%;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  font-size: 12rem; /* Bigger, elegant typography */
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04); /* Softer for luxury tone */
  transform: translateY(-50%);
  animation: scrollText 100s linear infinite; /* Slower movement */
  pointer-events: none;
  letter-spacing: 15px;
  text-transform: uppercase;
}

/* Smooth scrolling animation */
@keyframes scrollText {
  from {
    transform: translateX(0) translateY(-50%);
  }
  to {
    transform: translateX(-50%) translateY(-50%);
  }
}


/* === FOOTER CONTENT === */
.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* === BRAND SECTION === */
.footer-brand img {
  width: 180px;
  margin-bottom: 15px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 15px;
}

.footer-brand p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.7;
}

/* === NAVIGATION === */
.footer-nav h4 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.footer-nav ul li a:hover {
  color: #a1866f;
}

/* === CONTACT INFO === */
.footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* centers all content horizontally */
  text-align: center; /* ensures text stays centered */
}

.footer-contact h4 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
}

.footer-contact p {
  font-family: 'Poppins', sans-serif;
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center; /* centers icons and text together */
  gap: 10px;
  line-height: 1.6;
  text-align: center;
}

.footer-contact i {
  color: #a1866f;
  font-size: 1.1rem;
}


/* === SOCIAL ICONS === */
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: #fff;
  margin-right: 35px;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #a1866f;
  transform: scale(1.1);
}

/* === COPYRIGHT === */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #aaa;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 60px 25px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bg-text {
    font-size: 3.5rem;
    animation-duration: 40s;
  }

  .footer-social a {
    font-size: 1rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3000;
  animation: bounceIn 1s ease forwards;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Hover Effect */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Keyframes For Entry Animation */
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

/* ===================== PAGE HEADER ===================== */
.page-header {
  text-align: center;
  padding: 60px 20px 40px;
  background: #f8f8f8;
}

.headerx-logo img {
  width: 280px;
  max-width: 50%;
  display: block;
  margin: 0 auto 20px;
}

.header-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.header-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* ===================== PAGE LINKS ===================== */
.page-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
}

.page-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  color: #555;
  padding: 8px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.page-links a:hover,
.page-links a.active {
  background: #a1866f;
  color: #fff;
  transform: translateY(-2px);
}

/* ===================== PROJECTS SECTION ===================== */
.projects-section {
  background: #f8f8f8;
  padding: 60px 20px 80px;
  text-align: center;
}

.projects-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.projects-section h2::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #a1866f;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

.projects-section p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* ===================== GALLERY GRID ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-item:hover {
  transform: scale(1.08) rotate(0.3deg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* ===================== FADE-UP ANIMATION ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== LIGHTBOX ===================== */
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: fadeIn 0.5s ease;
}

#lightbox-overlay:active {
  cursor: zoom-out;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .header-title {
    font-size: 2.2rem;
  }
  .header-subtitle {
    font-size: 1rem;
  }
  .page-links {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .header-title {
    font-size: 1.8rem;
  }
  .header-subtitle {
    font-size: 0.95rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.form-success {
  display: none;
  background: #e8f9f1;
  color: #0f5132;
  border-left: 5px solid #198754;
  padding: 18px 20px;
  margin-top: 20px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.form-success.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 600px) {
  .form-success {
    font-size: 0.85rem;
    padding: 15px;
  }
}
