/* ================= GLOBAL ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  background: #ffffff;
}

section {
  scroll-margin-top: 100px;
}

/* ================= NAVBAR ================= */

nav {
  width: 100%;
  height: 20vh;
  padding: 1vw 5vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.vakra-logo img {
  width: 140px;
  height: 20.5vh;
}

.nav-part2 ul {
  display: flex;
  align-items: center;
  gap: 3vw;
  list-style: none;
}

.nav-part2 a {
  text-decoration: none;
  color: black;
  font-size: 1.2vw;
  position: relative;
  white-space: nowrap;
}

.nav-part2 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 1px;
  background: black;
  transition: 0.4s;
}

.nav-part2 a:hover::after {
  width: 100%;
}
.nav-part2 a.active {
  color: #000;
  font-weight: 700;
}

/* ================= HERO SECTION ================= */

.page1 {
  width: 100%;
  min-height: 100vh;
 padding: 12vw 5vw 5vw 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4vw;
}

.col1 {
  width: 50%;
}

.col1 h5 {
  font-size: 5vw;
  line-height: 5vw;
  margin-bottom: 1vw;
}

.col1 p {
  font-size: 1.2vw;
  line-height: 1.8vw;
  color: #717676;
  margin-bottom: 2vw;
}

.btns {
  display: flex;
  gap: 1vw;
}

button {
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  background: black;
  color: white;
  cursor: pointer;
  transition: 0.4s;
}

.button2 {
  background: #ececec;
  color: black;
}

button:hover {
  transform: translateY(-5px);
}

/* ================= SERVICE BOXES ================= */

.container {
  width: 100%;
  display: flex;
  gap: 1.5vw;
  margin-top: 4vw;
}

.box {
  width: 50%;
  background: #f3f3f3;
  padding: 30px 25px;
  border-radius: 14px;
  transition: 0.4s;
}

.box:hover {
  transform: translateY(-8px);
}

.box i {
  font-size: 2rem;
  color: black;
}

.box h4 {
  font-size: 1.3vw;
  margin-top: 1vw;
  margin-bottom: 0.7vw;
}

.box p {
  font-size: 1vw;
  line-height: 1.6vw;
  color: #555;
}
.col2{
  width: 45%;
  height: 500px;
}

.slider{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 16px;
}

.slide.active{
  opacity: 1;
}
/* ================= ABOUT SECTION ================= */

.about-section {
  width: 100%;
  min-height: 75vh;
  padding: 5vw;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4vw;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("images/about_background.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-left {
  display: none;
}

.about-right {
  width: 70%;
  text-align: center;
  color: white;
}

.about-right h1 {
  font-size: 4vw;
  margin-bottom: 1.5vw;
}

.about-right p {
  font-size: 1.2vw;
  line-height: 2vw;
  color: #ededed;
  margin-bottom: 3vw;
}

.about-features {
  display: flex;
  justify-content: center;
  gap: 2vw;
}

.feature {
  width: 30%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);

  padding: 2vw;
  border-radius: 14px;

  color: white;
  text-align: center;

  transition: 0.4s;
}

.feature:hover {
  transform: translateY(-8px);
}

.feature i {
  font-size: 2rem;
}

.feature h3 {
  margin-top: 1vw;
  font-size: 1.1vw;
}

/* ================= PRODUCTS ================= */

.products-section {
  width: 100%;
  min-height: 100vh;
  padding: 5vw;
}

.product-heading {
  text-align: center;
  margin-bottom: 4vw;
}

.product-heading h1 {
  font-size: 4vw;
}

.product-heading p {
  font-size: 1.2vw;
  color: #717676;
}

.products-container {
  display: flex;
  gap: 2vw;
}

.product-card {
  width: 33%;
  height: 75vh;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.product-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.7);

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

  padding: 2vw;
  text-align: center;

  color: white;
  transition: 0.5s;
}

.product-card:hover .product-overlay {
  bottom: 0;
}

.product-card:hover img {
  transform: scale(1.1);
}

.product-overlay h2 {
  font-size: 2vw;
  margin-bottom: 1vw;
}

.product-overlay p {
  font-size: 1vw;
  line-height: 1.6vw;
  margin-bottom: 1vw;
}

/* ================= SERVICES ================= */

.service-details {
  width: 100%;
  padding: 5vw;
  background: #f8f8f8;
}

.service-main-heading {
  text-align: center;
  font-size: 4vw;
  margin-bottom: 4vw;
}

details {
  background: white;
  border-radius: 18px;
  margin-bottom: 2vw;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

summary {
  padding: 1.8vw 2vw;
  font-size: 1.5vw;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.service-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4vw;
  padding: 2vw;
}

.service-text {
  width: 52%;
}

.service-text h2 {
  font-size: 2.2vw;
  margin-bottom: 1vw;
}

.service-text p {
  color: #555;
  line-height: 1.8vw;
  margin-top: 1vw;
  font-size: 1vw;
}

.service-image {
  width: 40%;
  display: none;
}

.service-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.service-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  margin-bottom: 2vw;
}

.service-buttons button {
  background: #efefef;
  color: #222;
  border: none;
  padding: 12px 18px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95vw;
}

.service-buttons button:hover {
  background: rgba(0, 0, 0, 0.305);
  color: rgb(0, 0, 0);
  transform: translateY(-3px);
}

/* ================= CONTACT ================= */

.page4 {
  width: 100%;
  min-height: 100vh;
  padding: 5vw;
}

.form-container {
  width: 100%;
  background: #efefef;
  border-radius: 18px;
  padding: 4vw;

  display: flex;
  justify-content: space-between;
  gap: 4vw;
}

.form-left {
  width: 40%;
}

.form-left h1 {
  font-size: 4vw;
  line-height: 4.5vw;
  margin-bottom: 1vw;
}

.form-left p {
  line-height: 1.8vw;
  color: #444;
}

.contact-details {
  margin-top: 3vw;
}

.detail {
  display: flex;
  gap: 1vw;
  margin-bottom: 1vw;
}

form {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

form input,
form textarea {
  padding: 15px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: #dcdcdc;
}

form textarea {
  height: 120px;
  resize: none;
}
.nav-part2 a.active {
  font-weight: 700;
}

footer {
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.instagram-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 100px;
  right: 25px;
  background: #e1306c;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.instagram-float:hover {
  transform: scale(1.1);
}
/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 600px) {
  /* NAVBAR */

  nav {
    padding: 3vw;
    height: 10vh;
  }

  .vakra-logo img {
    width: 75px;
    height: 10vh;
  }

  .nav-part2 {
    width: 60%;
  }

  .nav-part2 ul {
    justify-content: space-between;
    gap: 0;
  }

  .nav-part2 a {
    font-size: 2.3vw;
  }

  /* HERO */

  .page1 {
    flex-direction: column;
    padding: 24vw 5vw 10vw 5vw;
    gap: 8vw;
  }

  .col1 {
    width: 100%;
  }

    .col2{
    width: 100%;
    height: 300px;
  }

  .slider{
    height: 300px;
  }

  .col1 h5 {
    font-size: 11vw;
    line-height: 11vw;
    text-align: center;
  }

  .col1 p {
    font-size: 3.8vw;
    line-height: 5.8vw;
    text-align: center;
    margin-top: 4vw;
  }

  .btns {
    justify-content: center;
    gap: 4vw;
    margin-top: 6vw;
    flex-wrap: wrap;
  }

  button {
    font-size: 3.2vw;
    padding: 10px 18px;
  }

  /* BOXES */

  .container {
    flex-direction: column;
    gap: 5vw;
    margin-top: 8vw;
  }

  .box {
    width: 100%;
    text-align: center;
    padding: 7vw 5vw;
  }

  .box i {
    font-size: 8vw;
  }

  .box h4 {
    font-size: 5vw;
    margin-top: 3vw;
  }

  .box p {
    font-size: 3.5vw;
    line-height: 5.5vw;
  }

  /* ABOUT */

  .about-section {
    padding: 12vw 5vw;
  }

  .about-right {
    width: 100%;
  }

  .about-right h1 {
    font-size: 9vw;
    margin-bottom: 4vw;
  }

  .about-right p {
    font-size: 3.8vw;
    line-height: 6vw;
    margin-bottom: 7vw;
  }

  .about-features {
    flex-direction: column;
    gap: 5vw;
  }

  .feature {
    width: 100%;
    padding: 6vw;
  }

  .feature i {
    font-size: 8vw;
  }

  .feature h3 {
    font-size: 4vw;
    margin-top: 3vw;
  }

  /* PRODUCTS */

  .products-section {
    padding: 10vw 5vw;
  }

  .product-heading h1 {
    font-size: 8vw;
  }

  .product-heading p {
    font-size: 3.5vw;
    line-height: 5vw;
  }

  .products-container {
    flex-direction: column;
    gap: 6vw;
  }

  .product-card {
    width: 100%;
    height: 50vh;
  }

  .product-overlay h2 {
    font-size: 7vw;
  }

  .product-overlay p {
    font-size: 3.5vw;
    line-height: 5vw;
  }

  /* SERVICES */

  /* ================= SERVICES MOBILE FIX ================= */

  .service-details {
    padding: 8vw 4vw;
  }

  .service-main-heading {
    font-size: 8vw;
    margin-bottom: 5vw;
  }

  details {
    margin-bottom: 4vw;
  }

  summary {
    font-size: 4.5vw;
    padding: 4vw 5vw;
  }

  .service-info {
    flex-direction: column;
    padding: 5vw 4vw;
  }

  .service-image {
    width: 100%;
  }

  .service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }

  .service-buttons {
    justify-content: center;
    gap: 2vw;
  }

  .service-buttons button {
    font-size: 3vw;
    padding: 8px 12px;
  }

  .service-text h2 {
    font-size: 5vw;
    text-align: center;
  }

  .service-text p {
    font-size: 3.5vw;
    line-height: 5vw;
    text-align: center;
  }

  /* CONTACT */

  .page4 {
    padding: 10vw 5vw;
  }

  .form-container {
    flex-direction: column;
    padding: 8vw 5vw;
    gap: 8vw;
  }

  .form-left,
  form {
    width: 100%;
  }

  .form-left h1 {
    font-size: 10vw;
    line-height: 11vw;
    margin-bottom: 4vw;
  }

  .form-left p {
    font-size: 3.8vw;
    line-height: 5.8vw;
  }

  .contact-details {
    margin-top: 6vw;
  }

  .detail {
    gap: 3vw;
    margin-bottom: 4vw;
    font-size: 3.5vw;
  }

  form {
    gap: 4vw;
  }

  form input,
  form textarea {
    width: 100%;
    font-size: 3.5vw;
    padding: 14px;
  }
  .whatsapp-float {
    width: 45px;
    height: 45px;
    font-size: 28px;
    right: 15px;
    bottom: 15px;
  }
  .instagram-float {
    width: 45px;
    height: 45px;
    font-size: 28px;
    right: 15px;
    bottom: 85px;
  }
}
