* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #eef2f3, #dfe9f3);
  color: #1e293b;
  overflow-x: hidden;
}

#about,
#services,
#design,
#projects,
#contact {
  scroll-margin-top: 100px;
}

p{
  font-family: "Poppins",sans-serif;
  font-size: 18px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  border-radius: 40px;
  padding: 15px 30px 0px;
  transition: 0.4s ease;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.desktop-nav {
  display: flex;
  gap: 20px;
}

.desktop-nav a {
  font-family: "Poppins",sans-serif;
  font-size: 20px;
  text-decoration: none;
  color: #1e293b;
  padding: 8px 18px;
  border-radius: 25px;
  transition: 0.3s;
}

.desktop-nav a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #1e293b;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* MOBILE DROPDOWN */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 20px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  opacity: 0;
}

.mobile-dropdown a {
  font-family: "Poppins",sans-serif;
  font-size: 25px;
  text-decoration: none;
  color: #1e293b;
  font-size: 18px;
  padding: 10px 0;
}

.navbar.active {
  padding-bottom: 30px;
}

.navbar.active .mobile-dropdown {
  max-height: 300px;
  opacity: 1;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide:nth-child(1) {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c");
}
.slide:nth-child(2) {
  background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6");
}
.slide:nth-child(3) {
  background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d");
}

.slide.active {
  opacity: 1;
}

.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(30px);
  padding: 60px;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hero-card h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-card button {
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  background: #1e293b;
  color: white;
  cursor: pointer;
}

.glass-section h2 {
  font-family: "Playfair Display", serif;
}

/* GLASS SECTIONS */
.glass-section {
  margin: 50px auto;
  width: 90%;
  max-width: 1150px;
  padding: 50px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* GRID */
.grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

#about .grid {
  display: flex;
  justify-content: center;
}

#about .grid p {
  text-align: center;
}

.card {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); */
}

.design {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 900px; /* control overall size */
  margin: auto;
  margin-top: 20px;
}

.design-track {
  display: flex;
  transition: transform 0.5s ease;
}

.design-track img {
  min-width: 100%;
  height: 350px;
  object-fit: cover;
}

/* Buttons */
/* .design button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(5px);
} */

.design button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 45px;
  height: 45px;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);

  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);

  color: white;
  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.3s;
  z-index: 5;
}

/* Hover effect */
.design button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 1px;
}
.next {
  right: 1px;
}

.image-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Image */
.popup-img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 12px;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

/* Active animation */
.image-popup.active .popup-img {
  transform: scale(1);
  opacity: 1;
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

/* Navigation buttons */
.popup-prev,
.popup-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.popup-prev {
  left: 30px;
}
.popup-next {
  right: 30px;
}

/* Counter */
.popup-counter {
  position: absolute;
  bottom: 20px;
  color: white;
  font-size: 14px;
}

/* PROJECT GRID */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-grid img {
  width: 100%;
  border-radius: 20px;
}

.our-projects {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* CONTACT SECTION */
.contact-section {
  padding: 0px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  width: 90%;
  max-width: 1150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center; /* vertical centering */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px);
  border-radius: 40px;
  padding: 80px 70px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* LEFT SIDE */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: left;
}

.contact-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-info p {
  margin-bottom: 14px;
  color: #475569;
}

.contact-info strong {
  color: #1e293b;
}

/* FORM SIDE */
.contact-form {
  width: 100%;
}

.input-group {
  position: relative;
  margin-bottom: 28px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
  font-size: 15px;
}

.input-group label {
  position: absolute;
  left: 18px;
  top: 16px;
  transition: 0.3s;
  color: #64748b;
  font-size: 14px;
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
  top: -10px;
  left: 14px;
  font-size: 12px;
  background: white;
  padding: 2px 8px;
  border-radius: 8px;
}

/* PREMIUM BUTTON */
.contact-form button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.social-links h2 {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  margin-top: 17px;
  line-height: 1.2;
}

/* Circle buttons */
.social-links a {
  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.2);

  transition: 0.3s;
}

/* Image inside */
.social-links img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Hover effect */
.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

footer {
  text-align: center;
  padding: 30px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .glass-section {
    padding: 30px 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    padding: 50px 30px;
    gap: 40px;
  }

  .contact-info {
    text-align: center;
    align-items: center;
    max-width: 100%;
  }

  .contact-info p {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .contact-container {
    grid-template-columns: 1fr;
    padding: 40px 25px;
  }

  .hero-card {
    padding: 30px;
    width: 90%;
  }

  .hero-card h1 {
    font-size: 28px;
  }

  .design-track img {
    height: 200px;
  }

  .design button {
    font-size: 18px;
    padding: 6px 10px;
  }

  footer {
    text-align: center;
    padding: 30px;
  }
}
