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

/* GLOBAL SMOOTHNESS */
* {
  transition: all 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #F8F8F8;
  padding-top: 80px;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.navbar {
  position: fixed;   /* change from sticky */
  top: 0;
  left: 0;
  width: 100%;

  background: white;
  padding: 15px 0;

  z-index: 1000;

  transition: transform 0.35s ease, box-shadow 0.3s ease;
}


.navbar.hide {
  transform: translateY(-100%);
}

.navbar.scrolled {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo {
  width: 55px;
  cursor: pointer;
}

.logo-text h2 {
  font-size: 15px;
  color: #8B1E2D;
}

.logo-text span {
  font-size: 10px;
  color: #777;
}

/* NAV + FOOTER LINKS BASE */
.navbar nav a,
.footer a {
  position: relative;
  text-decoration: none;
  margin-left: 20px;
  color: #222;
}

/* FOOTER LINKS COLOR */
.footer a {
  margin-left: 0;
  color: #aaa;
}

@media(min-width:769px){

  .navbar nav a::after,
  .footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #8B1E2D;
    transition: width 0.3s ease;
  }

  .navbar nav a:hover,
  .footer a:hover {
    color: #8B1E2D;
  }

  .footer a:hover {
    color: #fff;
  }

  .navbar nav a:hover::after,
  .footer a:hover::after {
    width: 100%;
  }
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

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

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, filter 0.5s ease;
  background-size: cover;
  background-position: center;

  filter: brightness(.5); /* slightly dark by default */
}

.slide.active {
  opacity: 1;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.slide.bright {
  filter: brightness(1.05);
}

.slide:nth-child(1) {
  background-image: url(Images/02.png);
}

.slide:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1572120360610-d971b9d7767c?q=80&w=1600&auto=format&fit=crop');
}


.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;

  transition: opacity 0.4s ease;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
}

.hero-content.hide {
  opacity: 0;
  transform: translateY(-40%);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 50px;   /* tap area */
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 4;

  color: white;
}


.hero-arrow span {
  font-size: 28px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* Clean placement */
.hero-arrow.left {
  left: 15px;
}

.hero-arrow.right {
  right: 15px;
}


.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.2;
}

.hero-sub {
  margin-top: 10px;
  font-size: 1.1rem;
  opacity: 0.9;
  color: #ffd8d8;
  animation: floatText 4s ease-in-out infinite;
}


@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* subtle float */
@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #8B1E2D;
  color: white;
  text-decoration: none;
  border-radius: 5px;

  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* BUTTON HOVER (DESKTOP ONLY) */
@media(min-width:769px){
  .btn:hover {
    transform: scale(1.05);
    background: #6f1824;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  }
  .hero-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }
  .hero-arrow:hover span {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ABOUT */
.about {
  padding: 100px 0;
  margin-top: 30px;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

/* SERVICES */
.services {
  background: white;
  padding: 80px 0;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #F8F8F8;
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.card p {
  font-size: 14px;
  color: #555;
}

@media(min-width:769px){
  .card:hover {
    transform: translateY(-5px);
    background: #8B1E2D;
    color: white;
  }

  .card:hover p {
    color: #eee;
  }
  
}

/* WHY US */
.why-us {
  padding: 80px 0;
  text-align: center;
}

.contact {
  padding: 100px 0;
  background: white;
}

.contact-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}


.contact-box {
  flex: 1;
  text-align: left;
}
.contact-box h2{
  font-size: 50px;
}

.contact-info {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: #444;
}

.contact-tagline {
  margin-top: 10px;
  color: #666;
}

/* RIGHT SIDE FORM */
.contact-form {
  flex: 1;
  max-width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8B1E2D;
}
.input-box {
  position: relative;
  width: 100%;
}

.input-box input {
  width: 100%;
  text-align: center;
  padding: 14px 14px 14px 45px; /* space for icon */
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);

  width: 18px;
  height: 18px;



  pointer-events: none;

  /* THIS FIXES THE OVERLAP */
  background: white;
  padding-right: 1px;
  z-index: 2;
}

/* FOCUS EFFECT */
.input-box input:focus {
  border-color: #8B1E2D;
}

.input-box input:focus + .input-icon {
  fill: #8B1E2D;
}

/* BUTTON WITH ICON */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon-svg {
  width: 16px;
  height: 16px;
  fill: white;
  transition: transform 0.3s ease;
}

/* FOOTER */
.footer {
  background: #111;
  color: white;
  padding: 80px 0 30px;
}

.footer-top {
  text-align: center;
}

.footer-top h2 {
  color: #ffffff;
}

.footer hr {
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 20px;
}

.icon {
  width: 22px;
  height: 26px;
  fill: #aaa;
  transition: 0.3s;
}

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 55px;
  height: 55px;

  background: #25D366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 999;

  box-shadow: 0 8px 20px rgba(0,0,0,0.2);

  transition: all 0.3s ease;
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  fill: white;
}

.mail{
  font-size: 25px;
}
/* SOCIAL HOVER */
@media(min-width:769px){
  .socials a:hover {
    transform: scale(1.2);
  }
  .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
  }
}
.btn-icon:hover .btn-icon-svg {
    transform: translateX(5px);
  }

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  color: #777;
  font-size: 14px;
}

.get-touch {
  padding: 100px 0;
  background: #F8F8F8;
  text-align: center;
}

.contact-form {
  max-width: 700px;
  margin: 40px auto 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8B1E2D;
}
.form-success {
  opacity: 0;
  transform: translateY(10px);
  background: #28a745;
  color: white;
  padding: 14px;
  border-radius: 5px;
  margin-top: 15px;
  transition: all 0.4s ease;
  font-size: 14px;
}

.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media(max-width:768px){
  .hero {
    height: 70vh;   
    
  }
  .nav-content {
    flex-direction: column;
    align-items: center;   /* center everything */
    text-align: center;
  }

  .nav-left {
    justify-content: center;
    width: 100%;
  }

  .logo-text {
    text-align: center;
    margin-right: 32px;
  }

  .navbar nav {
    margin-top: 10px;
  }

  .navbar nav a {
    margin: 0 10px;   /* remove left-only margin causing shift */
  }

  .hero h1 {
    font-size: 2rem;
  }
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .hero-arrow {
    width: 55px;   /* bigger tap area */
    height: 55px;
  }

  .hero-arrow span {
    font-size: 22px;  /* smaller visual icon */
    opacity: 0.9;
  }
  .hero-arrow.left {
  left: -15px;
  }

  .hero-arrow.right {
    right: -15px;
  }
  .hero-sub{
    font-size: 13px;
  }
  .contact-flex {
  flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-box h2{
  font-size: 40px;
  } 
  
}