@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;800;900&display=swap);

/* CSS variables */
:root {
  --primary-color: #f59b00;
  --secondary-color: #2f2f2f;
  --white-color: #ffffff;
  --accent-color: #f59b00d8;
  --pink-color: #ffe1e8;
  --blue-color: #ecf1ff;

  --f-size-large: 3.875rem;
  --f-size-xlarge: 3rem;
  --f-size-medium: 2rem;
  --f-size-xmedium: 1.75rem;
  --f-size-small: 1.25rem;
  --f-size-xsmall: 1rem;

  --border-color: #a3a3a3;
}

/* CSS reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.container {
  max-width: 1300px;
  padding-inline: 2%;
  margin-inline: auto;
}

/* HEADER BASIC STYLING */
header {
  padding: 2rem 0;
  position: sticky;
  top: 0;
  background-color: var(--secondary-color);
  z-index: 10;
}

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

.logo {
  font-size: var(--f-size-medium);
  transition: 0.3s;
}

.logo:hover {
  transform: scale(1.05) translateY(-5px);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 4rem;
}

nav ul li {
  font-size: var(--f-size-xsmall);
  transition: 0.3s;
}

nav ul li:hover {
  transform: scale(1.1) translateY(-5px);
}

nav ul li .active {
  color: var(--white-color);
  opacity: 1;
}

nav ul li a {
  color: var(--white-color);
  opacity: 0.6;
  position: relative;
}

nav ul li a:hover {
  opacity: 1;
}
/* Nav links after */
nav ul li a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--white-color);
  border-radius: 0.375rem;
  left: 0;
  bottom: -7px;
  transition: all 0.3s;
  transform: scale(0);
}

nav ul li a:hover::after {
  transform: scale(1);
}

/* All btns styling */
.btn,
.primary-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--primary-color);
  font-size: var(--f-size-xsmall);
  color: var(--white-color);
  border-radius: 5px;
  opacity: 1;
  border: none;
  transition: 0.3s;
}

.btn:hover,
.primary-btn:hover {
  background-color: var(--accent-color);
  cursor: pointer;
}

nav ul li .btn:hover::after {
  transform: scale(0);
}
/* HAMBURGER */
.hamburger {
  display: none;
}

/* ---------------------- HERO SECTION STYLING ---------------------- */
.hero {
  padding: 1rem 0;
  background-color: var(--secondary-color);
}

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

.hero-text-content .hero-subtitle {
  font-size: var(--f-size-small);
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 500;
}

.hero-text-content h1 {
  color: var(--white-color);
  font-size: var(--f-size-large);
  max-width: 400px;
}

.hero-text-content h1 img {
  vertical-align: middle; /* vertically aligns with text */
}

.hero-text-content p {
  font-size: var(--f-size-xsmall);
  color: var(--white-color);
  opacity: 0.7;
  line-height: 25px;
  max-width: 450px;
  margin: 1rem 0 2rem 0;
}

.hero-text-content .hero-btn {
  color: var(--white-color);
}

/* hero subtitle img */
.hero-text-content .hero_img_1 {
  margin-left: 200px;
  margin-top: -50px;
}

.hero-content img {
  width: 50%;
}

/* ---------------------- FEATURE SECTION STYLING ---------------------- */
.feature-section {
  padding: 5rem 0 2rem 0;
}

.feature-title {
  font-size: var(--f-size-medium);
  color: var(--secondary-color);
  text-align: center;
}

.feature-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
}

.feature-tab {
  padding: 1rem;
  position: relative;
}

.feature-tab-active {
  padding: 1rem;
  position: relative;
}

.feature-tab-active::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 5px;
  left: 0;
  bottom: -8px;
}

.feature-tab::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 5px;
  left: 0;
  bottom: -8px;
  transition: 0.3s;
  transform: scale(0);
}

.feature-tab:hover::after {
  transform: scale(1);
}

.feature-tab-active h3 {
  font-size: var(--f-size-small);
  color: var(--secondary-color);
  text-transform: capitalize;
  font-weight: 500;
}

.feature-tab h3 {
  font-size: var(--f-size-small);
  color: var(--secondary-color);
  text-transform: capitalize;
  font-weight: 500;
  opacity: 0.8;
  transition: 0.3s;
}

.feature-tab h3:hover {
  cursor: pointer;
  opacity: 1;
}

/* Feature cards */
.feature-cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 100px;
}

.feature-card {
  width: 100%;
  height: 305px;
  max-width: 265px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: 0.3s;
}

.feature-card:hover {
  cursor: pointer;
  transform: scale(1.05) translateY(-10px);
}

.feature-card img {
  width: 100%;
  object-fit: cover;
}

/* Hover effectlar & animation */
.feature-cards:hover > :not(:hover) {
  filter: blur(10px) opacity(0.3);
}

/* ---------------------- ABOUT SECTION STYLING ---------------------- */
.about-section {
  padding: 2rem 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 100px;
}

.about-content img {
  width: 60%;
}

.about-text-content h3 {
  color: var(--primary-color);
  font-size: var(--f-size-small);
  text-transform: uppercase;
  font-weight: 500;
}

.about-text-content h2 {
  color: var(--secondary-color);
  font-size: var(--f-size-medium);
}

.about-text-content p {
  color: var(--secondary-color);
  font-size: var(--f-size-xsmall);
  opacity: 0.9;
  margin: 1rem 0 2rem 0;
}

.about-text-content .about-btn .primary-btn {
  color: var(--white-color);
  font-size: var(--f-size-xsmall);
  border: none;
  cursor: pointer;
}
/* ---------------------- PRODUCT SECTION STYLING ---------------------- */
.product-section {
  padding: 2rem 0;
}

.product-heading {
  margin-top: 100px;
  text-align: center;
}

.product-heading h2 {
  font-size: var(--f-size-medium);
  color: var(--secondary-color);
  text-transform: capitalize;
}

.product-heading p {
  font-size: var(--f-size-xsmall);
  color: var(--secondary-color);
  opacity: 0.9;
  max-width: 500px;
  margin: 1rem auto;
}

.product-cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hover effectlar & animation */
.product-cards:hover :not(:hover) {
  filter: blur(10px);
  opacity: 0.8;
}

.product-card {
  width: 100%;
  height: 275px;
  max-width: 265px;
  border-radius: 10px;
  background-color: var(--pink-color);
  margin-top: 5rem;
  transition: 0.3s;
}

.product-card:hover {
  cursor: pointer;
  transform: scale(1.05) translateY(-10px);
}

.product-card:nth-child(5),
.product-card:nth-child(7) {
  background-color: var(--blue-color);
}

.see-more {
  display: flex;
  justify-content: center;
  margin-top: 150px;
}

.see-more .product-btn {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 5px;
  padding: 0.8rem 3rem;
}

.see-more .product-btn:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}
/* ---------------------- CONTACT SECTION STYLING ---------------------- */
.contact-section {
  padding: 2rem 0;
}

.contact-content {
  display: flex;
  align-items: center;
}

.contact-content .contact-img {
  width: 470px;
  height: 550px;
  background: url("../images/contact_img.png") no-repeat center/cover;
}

.contact-form {
  width: 100%;
  height: 550px;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 10px;
  padding: 1rem;
}

.contact-form h2 {
  color: var(--white-color);
}

.contact-form form {
  max-width: 550px;
  margin-top: 1rem;
  padding: 0.6rem;
}

.username_inp,
.email_inp {
  width: 230px;
  height: 50px;
  background: transparent;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-size: var(--f-size-xsmall);
  color: var(--white-color);
  padding: 1rem;
  outline: none;
  margin: 1rem 1rem 3rem 0;
}

.address_inp {
  width: 90%;
  height: 50px;
  background: transparent;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-size: var(--f-size-xsmall);
  color: var(--white-color);
  padding: 1rem;
  outline: none;
}

label {
  color: var(--white-color);
  opacity: 0.4;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 3rem;
}

label .checkbox_inp {
  width: 15px;
  height: 15px;
}

.contact-form .form-btn {
  margin-top: 2rem;
}
/* ---------------------- PARTNERS SECTION STYLING ---------------------- */
.partners-section {
  padding: 2rem 0;
}

.our-partners {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.6rem;
  gap: 1rem;
  margin: 6rem 0;
}
/* ---------------------- FOOTER FINISH STYLING ---------------------- */
footer {
  padding: 2rem 0;
  background-color: var(--secondary-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content .main-content p {
  max-width: 230px;
  margin-top: 0.6rem;
  color: var(--white-color);
  font-size: var(--f-size-xsmall);
  opacity: 0.4;
}

.footer-content .main-content h3 {
  color: var(--white-color);
  font-size: var(--f-size-small);
  text-transform: capitalize;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.footer-content .main-content ul li {
  margin-top: 0.8rem;
  color: var(--white-color);
  opacity: 0.4;
}

.footer-content .main-content ul li a {
  color: var(--white-color);
}

.footer-content .main-content ul li:hover {
  text-decoration: underline;
  opacity: 1;
}
/* ---------------------- RESPONSIVE ---------------------- */
/* Desktop */
@media (max-width: 1100px) {
  .contact-form {
    display: flex;
    flex-direction: column;
  }

  .contact-form h2 {
    margin-top: 0.6rem;
    text-align: center;
  }

  .username_inp,
  .email_inp,
  .address_inp {
    width: 100%;
    margin-top: 0.6rem;
  }
}
/* Laptop / small desktop */
@media (max-width: 992px) {
  nav ul {
    gap: 3rem;
  }
  /* ---------- HERO SECTION ---------- */
  .hero-text-content h1 {
    font-size: var(--f-size-xlarge);
  }

  .hero-text-content h3 {
    font-size: var(--f-size-xsmall);
  }

  /* hero subtitle img */
  .hero-text-content .hero_img_1 {
    width: 150px;
    margin-top: -30px;
  }

  .hero-content img {
    width: 55%;
  }

  /* ---------- FEATURE SECTION ---------- */
  .feature-tab h3,
  .feature-tab-active h3 {
    font-size: var(--f-size-xsmall);
  }

  .feature-card {
    height: auto;
  }
  /* ---------- ABOUT SECTION ---------- */
  .about-content {
    flex-direction: column;
  }

  .about-content img {
    width: 100%;
  }

  .about-text-content h2,
  .about-text-content p {
    max-width: 70%;
  }
  /* ---------- CONTACT SECTION ---------- */
  .contact-content {
    flex-direction: column-reverse;
  }

  .contact-content .contact-img,
  .contact-content .contact-img img {
    width: 100%;
    height: 100%;
  }

  .contact-content .contact-form {
    border-radius: 0;
  }
}

/* Tablet screen*/
@media (max-width: 768px) {
  header {
    padding: 1rem 0.4rem;
  }
  /* HAMBURGER BTN STYLING */
  .hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
  }

  .hamburger-child {
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background-color: var(--primary-color);
    transition: 0.3s;
  }

  /* X animation */
  .hamburger.active .hamburger-child:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active .hamburger-child:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-child:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  /* Mobile Menu */
  nav ul {
    position: fixed;
    width: 50%;
    height: 100vh;
    top: 0;
    right: -100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 1px 1px var(--border-color);
    transition: all 0.5s;
    opacity: 0;
  }

  /* if hamburger btn is clicked, Mobile menu will be opened */
  nav ul.show {
    opacity: 1;
    right: 0;
  }

  /* ---------- HERO SECTION ---------- */
  .hero {
    padding: 1rem 0 3rem 0;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content img {
    width: 100%;
  }

  .hero-text-content h1 {
    font-size: var(--f-size-large);
    max-width: 500px;
    margin: auto;
  }

  /* hero subtitle img */
  .hero-text-content h1 img {
    width: 220px;
  }

  .hero-text-content p {
    margin: 1rem auto 2rem auto;
    max-width: 90%;
  }

  .hero-text-content .hero-btn {
    width: 30%;
  }

  .hero-text-content .hero_img_1 {
    display: none;
  }
  /* ---------- FEATURE SECTION ---------- */
  .feature-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .feature-cards {
    flex-direction: column;
    gap: 2rem;
  }

  .feature-card {
    width: 50%;
  }

  .feature-card img {
    width: auto;
  }
  /* ---------- ABOUT SECTION ---------- */
  .about-content {
    text-align: center;
    margin-top: 50px;
  }

  .about-text-content h2,
  .about-text-content p {
    margin: 1rem auto;
    max-width: 100%;
  }
  .about-text-content .about-btn {
    margin-top: 1rem;
    width: 30%;
  }
  /* ---------- PRODUCT SECTION ---------- */
  .product-cards {
    flex-direction: column;
  }

  .product-card {
    width: 50%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .see-more {
    margin-top: 100px;
  }

  .see-more .primary-btn {
    width: 40%;
  }
  /* ---------- CONTACT SECTION ---------- */
  .contact-form .form-btn {
    width: 50%;
  }

  /* ---------- PARTNERS SECTION ---------- */
  .our-partners img {
    width: 30%;
  }

  /* ---------- FOOTER FINISH ---------- */
  .footer-content {
    gap: 3rem;
  }
}

/* Up to 576px – small mobile and tablets */
@media (max-width: 576px) {
  nav ul {
    width: 100%;
  }

  /* ---------- HERO SECTION ---------- */
  .hero-text-content h1 {
    font-size: var(--f-size-xlarge);
  }

  /* hero subtitle img */
  .hero-text-content h1 img {
    width: 180px;
  }

  .hero-text-content p {
    max-width: 100%;
  }

  .hero-text-content .hero-btn {
    width: 40%;
  }

  /* ---------- FEATURE SECTION ---------- */
  .feature-cards:hover > :not(:hover) {
    filter: blur(0) opacity(1);
  }
  .feature-card {
    width: 90%;
  }
  /* ---------- ABOUT SECTION ---------- */
  .about-text-content h3 {
    font-size: var(--f-size-xsmall);
  }
  .about-text-content .about-btn {
    width: 40%;
  }
  /* ---------- PRODUCT SECTION ---------- */
  .product-card {
    width: 90%;
  }

  .see-more .primary-btn {
    width: 90%;
  }
  /* ---------- CONTACT SECTION ---------- */
  .contact-form .form-btn {
    width: 100%;
  }

  /* ---------- PARTNERS SECTION ---------- */
  .our-partners {
    margin: auto;
    flex-direction: column;
    gap: 3rem;
  }
  .our-partners img {
    width: 40%;
  }

  /* ---------- FOOTER FINISH ---------- */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-content .main-content p {
    max-width: 100%;
  }
  .footer-content .main-content .email_inp,
  .footer-content .main-content .form-btn {
    width: 90%;
    margin: 1rem 0;
  }
}

/* Up to 480px – extra small mobile screens */
@media (max-width: 480px) {
  .hero-text-content h1 {
    font-size: var(--f-size-medium);
    max-width: 100%;
  }

  .hero-text-content h1 img {
    width: 130px;
  }

  .hero-text-content .hero-btn {
    padding: 0.6rem;
    width: 95%;
  }
  /* ---------- ABOUT SECTION ---------- */
  .about-content {
    margin: auto;
  }
  .about-text-content h2 {
    font-size: var(--f-size-xmedium);
  }
  .about-text-content .about-btn {
    width: 95%;
  }
  /* ---------- PRODUCT SECTION ---------- */
  .product-heading {
    margin-top: 2rem;
  }

  .product-card {
    margin-top: 2rem;
  }

  /* PARTNERS SECTION */
  .our-partners img {
    width: 50%;
  }
}
