/* Fonts */

@font-face {
  font-family: 'NexaLight';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/nexalight.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NexaHeavy';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/nexaheavy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Boorsook';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/boorsok.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MoreSugar';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/MoreSugar-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MoreSugarThin';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/MoreSugar-Thin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-decoration: none;
	list-style: none;
	scroll-behavior: smooth;

}
        :root {
          --bg-color: #FFF4E8;
          --text-color: #221314;
          --second-color: #FFD35C;
          --yellow-color: #FFEAB0;
          --darkyellow-color: #DFA700;
          --main-color: #37ABB0;
            --big-font: 6rem;
            --small-font: 1.2rem;
            --h2-font: 3rem;
            --p-font: 1.1rem;
            --pp-font: 1.4rem;
        }
        body{
	        background: var(--bg-color);
	        color: var(--text-color);
         }

/* NAVBAR */
         header {
          background: transparent;
          padding: 30px 18px;
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          z-index: 999;
          align-items: center;
          justify-content: space-between;
          transition: ease .40s;
      }
      
      header:hover {
          background-color: rgba(255, 234, 176, 0.653); 
          transition: background-color 0.3s ease; 
      }
      
      .navbar {
          display: flex;
          align-items: center;
          justify-content: space-between;
          font-family: 'Boorsook';
          margin-left: 60px;
          padding: 0;
          list-style: none;
          position: relative;
          flex-wrap: nowrap;
      }
      
      .logo-container {
          flex: 1;
          display: flex;
          align-items: center;
          justify-content: center;
      }
      
      .logo { 
          width: 100px;
          text-align: center;
      }
      
      .logo img {
          display: block;
          max-width: 100px;
      }
      
      .menu {
          list-style-type: none;
          margin: 0;
          display: flex;
          align-items: center;
          color: var(--main-color);
          font-size: var(--pp-font);
          font-weight: 500;
          padding: 10px;
          border-radius: 4px;
          transition: ease .40s;
          gap: 60px; 
      }
      
      .menu a {
          margin-right: 20px;
          color: var(--main-color);
          font-size: var(--pp-font);
          font-weight: 500;
          display: flex;
          align-items: center;
          padding: 7px;
          border-radius: 4px;
          transition: ease .40s;
      }
      
      .menu a img {
          margin-left: 7px; 
      }
      
      .menu li a {
          text-align: right;
          color: var(--main-color);
          text-decoration: none;
      }
      
      .menu img {
          height: 30px;
          width: 30px;
          margin-right: 5px;
          transition: ease .40s;
      }
      
      .icons {
          list-style-type: none;
          margin: 0;
          display: flex;
          align-items: center;
          gap: 60px; 
          padding-right: 40px;  
      }
      
      .icons a {
          color: var(--main-color);
          font-size: var(--pp-font);
          font-weight: 500;
          display: flex;
          align-items: center;
          padding: 7px;
          border-radius: 4px;
          transition: ease .40s;
      }
      
      .icons img {
          height: 30px;
          width: 30px;
          margin-right: 5px;
          transition: ease .40s;
      }
      
      .icons img:hover {
          box-shadow: 5px 10px 30px rgb(85 85 85 / 20%);
          border-radius: 5px;
      }
      
      .menu a:hover,
      .icons a:hover {
          background: var(--yellow-colorcolor);
          color: var(--main-color);
          box-shadow: 5px 10px 30px rgb(85 85 85 / 20%);
          border-radius: 5px;
      }
      
    /* BURGER NAVBAR */
      .burger-menu {
          display: none;
          cursor: pointer;
          margin-left: auto;
      }
      
      .burger-menu span {
          display: block;
          width: 30px;
          height: 3px;
          background-color: var(--main-color);
          margin-bottom: 5px;
          transition: all 0.3s ease-in-out;
      }
      
      .burger-menu.active span:nth-child(1) {
          transform: rotate(-45deg) translate(-5px, 6px);
      }
      
      .burger-menu.active span:nth-child(2) {
          opacity: 0;
      }
      
      .burger-menu.active span:nth-child(3) {
          transform: rotate(45deg) translate(-5px, -6px);
      }
      
      .burger-icons {
          display: none;
          cursor: pointer;
          margin-left: auto;
      }
      
      .burger-icons span {
          display: block;
          width: 30px;
          height: 3px;
          background-color: var(--main-color);
          margin-bottom: 5px;
          transition: all 0.3s ease-in-out;
      }
      
      .burger-icons.active span:nth-child(1) {
          transform: rotate(-45deg) translate(-5px, 6px);
      }
      
      .burger-icons.active span:nth-child(2) {
          opacity: 0;
      }
      
      .burger-icons.active span:nth-child(3) {
          transform: rotate(45deg) translate(-5px, -6px);
      }
      
      @media (max-width: 1024px) {
          .burger-menu {
              display: block;
          }
      
          .menu {
              display: none;
              flex-direction: column;
              position: absolute;
              top: 100%;
              left: 0;
              width: 100%;
              padding: 10px 0; 
              background-color: #FFEAB0;
              gap: 10px; 
          }
      
          .menu.show {
              display: flex;
          }
      
          .burger-icons {
              display: block;
          }
      
          .icons {
              display: none;
              flex-direction: column;
              position: absolute;
              top: 100%;
              left: 0;
              width: 100%;
              padding: 10px 0;  
              background-color: #FFEAB0;
              gap: 10px; 
          }
      
          .icons.show {
              display: flex;
          }
      }
      
      .dropdown {
          position: relative; 
      }
      
      .dropdown-menu {
          display: none; 
          position: absolute;
          top: 100%; 
          left: 0;
          background-color: #FFEAB0; 
          border: 1px solid #37ABB0;
          border-radius: 5px;
          list-style: none;
          padding: 0; 
          width: 160px;
          z-index: 999; 
      }
      
      .dropdown-menu li {
          padding: 8px 12px; 
          text-align: left; 
      }
      
      .dropdown-menu li a {
          text-decoration: none;
          color: #37ABB0;
          display: block;
          padding: 5px 0; 
          margin: 0; 
          text-align: left; 
      }
      
      .dropdown-menu li a:hover {
          background-color: #FFEAB0;
          color: #DBA80F;
      }
      
      .dropdown:hover .dropdown-menu {
          display: block; 
      }
      .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }
      header.sticky {
          background: #FFEAB0;
          padding: 20px 18px;
          box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
      }
      
      .sticky .logo {
          color: var(--main-color);
      }
      
      .sticky .navbar a {
          color: var(--main-color);
      }
      
      .sticky .icons span {
          color: var(--main-color);
      }
      
      .sticky .burger-icons span {
          color: var(--main-color);
      }
      
      .sticky .burger-menu span {
          color: var(--main-color);
      }
      
  /* HOME SECTION */
  .home {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(https://cooking-ina-website-i68r.vercel.app/img/bgacc.gif);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .home-text h1 {
    color: var(--main-color);
    font-family: 'MoreSugar';
    font-size: 5rem;
    letter-spacing: 6px;
  }
  
  .home-text h2 {
    color: var(--main-color);
    font-family: 'MoreSugar';
    font-size: 4rem;
    margin-bottom: 220px;
  }


@media (max-width: 1024px) {
  .home-text h1 {
      font-size: 4rem; 
  }

  .home-text h2 {
      font-size: 3rem;
      margin-bottom: 180px; 
  }
}

@media (max-width: 768px) {
  .home-text h1 {
      font-size: 3rem; 
  }

  .home-text h2 {
      font-size: 2.5rem;
      margin-bottom: 150px; 
  }
}

@media (max-width: 480px) {
  .home-text h1 {
      font-size: 2.5rem; 
  }

  .home-text h2 {
      font-size: 2rem;
      margin-bottom: 120px; 
  }
}

@media (max-width: 360px) {
  .home-text h1 {
      font-size: 2rem; 
  }

  .home-text h2 {
      font-size: 1.8rem;
      margin-bottom: 100px;
  }
}

 /* FOOTER */
 .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(https://cooking-ina-website-i68r.vercel.app/img/footer.png); 
  background-size: 100% 100%; 
  background-position: bottom; 
  background-repeat: no-repeat;
  position: relative;
  padding: 20px 20px; 
  width: 100%;
  min-height: 60vh;  
  height: auto;
  box-sizing: border-box;
  z-index: 0;
}

.footer-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  position: absolute;
  bottom: 80px; 
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  z-index: 1;
}

.footer-logo {
  width: 100px;
  margin-right: 20px;
}

.vertical-line {
  width: 2px;
  height: 100px;
  background-color: #fff;
  margin: 0 40px;
}

@media (max-width: 1024px) {
.vertical-line {
    display: none;
}
}

.footer-content {
display: flex;
gap: 40px;
flex-wrap: wrap;
text-align: left;
}

.quick-links, .developed-by {
display: flex;
flex-direction: column;
gap: 10px;  
}

.quick-links h4, .developed-by h4 {
  font-family: 'Boorsook';
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: var(--bg-color);
}

.quick-links ul, .developed-by ul {
  list-style: none;
  padding: 0;
  font-family: 'NexaLight';
  -webkit-text-stroke: 1px #f0edeb;
}


.quick-links a, .developed-by a {
  color: #f0edeb;
text-decoration: none;
transition: color 0.3s ease;
position: relative; 
z-index: 2; 
}

.quick-links a:hover, .developed-by a:hover {
  color: var(--second-color);
  -webkit-text-stroke: 1px;
}

.developed-by li {
  font-family: 'NexaLight';
  -webkit-text-stroke: 1px #f0edeb;
  margin: 0;
  color: #f0edeb; 
  position: relative;
z-index: 2;
}

.end-text {
  font-family: 'NexaLight';
  -webkit-text-stroke: 1px #f0edeb;
  text-align: center;
  font-size: 14px;
  color: #fff;
  position: absolute;
  bottom: 15px;
  width: 100%;
  z-index: 0; 
}

@media (max-width: 768px) {
  .footer {
    min-height: 50vh;  
    padding: 10px 15px;
  }

  .footer-container {
      flex-direction: column;
      bottom: 50px; 
  }

  .footer-logo {
      display: none;
  }

  .quick-links h4, .developed-by h4 {
    margin-top: 0;
      font-size: 20px;
  }

  .developed-by li, .quick-links a {
    font-size: 14px;
  }

  .end-text {
    font-size: 12px;
    bottom: 3%;
  }
}

@media (max-width: 480px) {
  .footer {
    min-height: 40vh;
    padding: 5px 10px;
  }

  .footer-logo {
    display: none;
  }

  .footer-container {
      bottom: 20px;
      gap: 20px;
  }

  .developed-by li, .quick-links a {
    font-size: 12px;
  }

  .end-text {
    position: relative;
    margin-top: 15px;
    bottom: 3%;
  }
} 

/* PRELOADER*/  
.container4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container4 .preloader {
  animation: rotate 3s cubic-bezier(0.75, 0, 0.5, 1) infinite;
}

@keyframes rotate {
  50% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(720deg);
  }
}

.preloader span {
  --c: #37ABB0;
  position: absolute;
  display: block;
  height: 64px;
  width: 64px;
  background: var(--c);
  border: 1px solid var(--c);
  border-radius: 100%;
}

.preloader span:nth-child(1) {
  transform: translate(-28px, -28px);
  animation: shape_1 2.3s cubic-bezier(0.75, 0, 0.5, 1) infinite;
}

@keyframes shape_1 {
  60% {
    transform: scale(0.4);
  }
}

.preloader span:nth-child(2) {
  transform: translate(28px, -28px);
  animation: shape_2 2.3s cubic-bezier(0.75, 0, 0.5, 1) infinite;
}

@keyframes shape_2 {
  40% {
    transform: scale(0.4);
  }
}

.preloader span:nth-child(3) {
  position: relative;
  border-radius: 0px;
  transform: scale(0.98) rotate(-45deg);
  animation: shape_3 2.3s cubic-bezier(0.75, 0, 0.5, 1) infinite;
}

@keyframes shape_3 {
  50% {
    border-radius: 100%;
    transform: scale(0.5) rotate(-45deg);
  }

  100% {
    transform: scale(0.98) rotate(-45deg);
  }
}

.shadow {
  position: relative;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  height: 16px;
  width: 64px;
  border-radius: 50%;
  background-color: #d9d9d9;
  border: 1px solid #d9d9d9;
  animation: shadow 2.3s cubic-bezier(0.75, 0, 0.5, 1) infinite;
}

@keyframes shadow {
  50% {
    transform: translateX(-50%) scale(0.5);
    border-color: #f2f2f2;
  }
}
.content5 {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s ease-in, visibility 0s 1.8s;
}

.container4.loaded .content5 {
  opacity: 1;
  visibility: visible;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px; 
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg,  #FFD971, #39BABF);
  border-radius: 8px; 
}


::-moz-scrollbar {
  width: 8px; 
}

::-moz-scrollbar-thumb {
  background: linear-gradient(45deg,  #FFD971, #39BABF);
  border-radius: 8px; 
}

/* POPUP */
.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #2fa2a6a6;
	z-index: 9999;
	transition: 0.2s;
	transform: scale(1);
  }
  
  .popup-content {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 90%;
	max-width: 100rem;
	margin: 0 auto;
	height: 25rem;
	transform: translate(-50%, -50%);
	padding: 1.6rem;
	display: table;
	overflow: hidden;
	background-color: var(--bg-color);
  }
  
  .popup-close {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 2rem;
	right: 2rem;
	padding: 0.5rem;
	background-color: var(--main-color);
	border-radius: 50%;
	cursor: pointer;
  }
  
  .popup-close i.bx {
	font-size: 2rem;
	color: white;
  }
  
  .popup-left {
	display: table-cell;
	width: 50%;
	height: 100%;
	vertical-align: middle;
  }
  
  .popup-right {
	display: table-cell;
	width: 50%;
	vertical-align: middle;
	padding: 3rem 5rem;
  }
  
  .popup-img-container {
	width: 100%;
	overflow: hidden;
  }
  
  .popup-img-container img.popup-img {
	display: block;
	width: 60rem;
	height: 45rem;
	max-width: 100%;
	border-radius: 1rem;
	object-fit: cover;
  }
  
  .right-content {
	text-align: center;
	width: 85%;
	margin: 0 auto;
  }
  
  .right-content h1 {
	font-size: 4.2rem;
  font-family: 'MoreSugar';
	color: var(--main-color);
	margin-bottom: 1.6rem;
  }
   
  .right-content p {
	font-size: 2rem;
	color: #DBA80F;
  font-family: 'MoreSugar';
	margin-bottom: 1.6rem;
  }
  
  /* POPUP BUTTON */
.popup-btn {
  background-color: #2FA2A6; 
  color: #FFD35C;
  border: none;
  padding: 10px 30px; 
  font-size: 30px;  
  font-family: 'MoreSugar';
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-top: 15px;
  display: inline-block; 
}

.popup-btn:hover {
  background-color: #1D7C80; 
  color: #FFD35C;
}

@media (max-width: 768px) {
  .popup-btn {
      padding: 10px 25px;
      font-size: 18px;
  }
}

@media (max-width: 480px) {
  .popup-btn {
      padding: 8px 20px;
      font-size: 16px;
  }
}
  .hide-popup {
	transform: scale(0.2);
	opacity: 0;
	visibility: hidden;
  }
  
  @media only screen and (max-width: 1200px) {
	.right-content {
	  width: 100%;
	}
  
	.right-content h1 {
	  font-size: 3.5rem;
	  margin-bottom: 1.3rem;
	}
  }
  
  @media only screen and (max-width: 998px) {
	.popup-right {
	  width: 100%;
	}
  
	.popup-left {
	  display: none;
	}
  
	.right-content h1 {
	  font-size: 5rem;
	}
  }
  
  @media only screen and (max-width: 768px) {
	.right-content h1 {
	  font-size: 4rem;
	}
  
	.right-content p {
	  font-size: 1.6rem;
	}
  
	.popup-form {
	  width: 90%;
	  margin: 0 auto;
	  padding: 1.8rem 0;
	  margin-bottom: 1.5rem;
	}
  
	.goto-top:link,
	.goto-top:visited {
	  right: 5%;
	  bottom: 5%;
	}
  }
  
  @media only screen and (max-width: 568px) {
	.popup-right {
	  padding: 0 1.6rem;
	}
  
	.popup-content {
	  height: 35rem;
	  width: 90%;
	  margin: 0 auto;
	}
  
	.right-content {
	  width: 100%;
	}
  
	.right-content h1 {
	  font-size: 3rem;
	}
  
	.right-content p {
	  font-size: 1.4rem;
	}
  
	.popup-form {
	  width: 100%;
	  padding: 1.5rem 0;
	  margin-bottom: 1.3rem;
	}
  
	.right-content a:link,
	.right-content a:visited {
	  padding: 1.5rem 3rem;
	}
  
	.popup-close {
	  top: 1rem;
	  right: 1rem;
	  padding: 0.5rem;
	}
}

/* WELCOME TO COOKING INA */

.welcome-section {
  background-image: url('https://cooking-ina-website-i68r.vercel.app/img/welcome1.png'); 
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  position: relative; 
  overflow: hidden;  
}

.welcome-content {
  max-width: 100%;
  border-radius: 15px;
  margin-left: 100px;
  margin-right: 100px;
  position: relative; 
  z-index: 2; 
}

.star {
  position:absolute;
  width: 400px;
  height: auto;
  opacity: 0.8; 
}

.star1 {
  top: 16%; 
  left: 90%;
  z-index: 1;
}

.star2 {
  top: 40%;
  left: 2%;
}

.star3 {
  bottom: 5%;
  left: 85%;
}

.welcome-content h1 {
  margin-top: 300px;
  font-family: 'MoreSugar';
  font-size: 60px; 
  margin-bottom: 20px;
  color: var(--main-color);
}

.welcome-content p {
  font-family: 'MoreSugarThin';
  font-size: 32px;  
  line-height: 1.6;
  color: var(--darkyellow-color);
}

@media (max-width: 1024px) {
  .welcome-content {
      max-width: 90%;
      padding: 30px 20px;
  }

  .welcome-content h1 {
      font-size: 45px;
  }

  .welcome-content p {
      font-size: 26px;
  }

  .star {
      width: 300px; 
  }
}

@media (max-width: 768px) {
  .welcome-section {
      min-height: 60vh;
  }

  .welcome-content h1 {
      font-size: 35px; 
  }

  .welcome-content p {
      font-size: 20px;
  }

  .star {
      width: 250px; 
  }
}

@media (max-width: 480px) {
  .welcome-section {
      min-height: 50vh;
  }

  .welcome-content h1 {
      font-size: 28px;
  }

  .welcome-content p {
      font-size: 16px;
  }

  .star {
      width: 180px; 
  }
}

/* ENHANCE YOUR CULINARY JOURNEY SECTION */
.ai-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 50px 100px;
  box-sizing: border-box;
}

.ai-image img {
  width: 100%;
  right: 50%;
  max-width: 550px;
  height: auto;
  position: relative; 
  z-index: 2; 
}


.ai-content {
  max-width: 55%;
  text-align: center;
  position: relative;
  z-index: 2; 
}

.ai-content h1 {
  font-family: 'MoreSugar';
  font-size: 60px;
  margin-bottom: 20px;
  color: var(--main-color);
}

.ai-content p {
  font-family: 'MoreSugarThin';
  font-size: 32px;
  line-height: 1.6;
  color: var(--darkyellow-color);
}

.star {
  position: absolute;
  width: 300px;
  height: auto;
  opacity: 0.5;
  z-index: 0; 
}

.star-left {
  top: 5%;        
  right: 1%;      
  transform: translateX(-50%);
}

.star-right {
  bottom: 10%;
  right: 5%;
}

.star-center {
  bottom: 50%;
  right: 55%;
}

.star-sucenter {
  bottom: 5%;
  right: 45%;
}

@media (max-width: 1024px) {
  .ai-section {
      flex-direction: row; 
      padding: 30px 50px;
  }

  .ai-image img {
      max-width: 600px;
  }

  .ai-content {
      max-width: 50%; 
      text-align: center;
  }

  .ai-content h1 {
      font-size: 45px;
  }

  .ai-content p {
      font-size: 24px;
  }

  .star {
      width: 220px; 
  }
  .star-left {
    top: 15%;
    left: 85%;
    width: 220px;
}
}

@media (max-width: 768px) {
  .ai-section {
      padding: 20px 30px;
  }

  ai-image img {
    max-width: 700px;
}
  .ai-content h1 {
      font-size: 35px;
  }

  .ai-content p {
      font-size: 20px;
  }

  .star {
      width: 180px;
  }

  .star-left {
    top: 10%;
    left: 80%; 
    width: 180px;
}

  .star-right {
      bottom: 10%;
      right: 3%;
  }
}

@media (max-width: 480px) {
  .ai-section {
      flex-direction: column; 
  }

  .ai-image img {
      max-width: 800px;
      margin-bottom: 20px;
  }

  .ai-content {
      max-width: 100%;
  }

  .ai-content h1 {
      font-size: 28px;
  }

  .ai-content p {
      font-size: 16px;
  }

  .star {
      width: 150px;
  }

  .star-left {
    top: 5%;
    left: 80%;
    width: 150px; 
}
}


/* DESIGN SECTION (Decorative Image Design) */
.design-section {
  width: 100%;
  height: 900px;  
  background: url('https://cooking-ina-website-i68r.vercel.app/img/hdivid.png') no-repeat center center;
  background-size: cover;  
  background-position: center;
}

@media (max-width: 1024px) {
  .design-section {
      height: 700px;
  }
}

@media (max-width: 768px) {
  .design-section {
      height: 670px; 
  }
}

@media (max-width: 480px) {
  .design-section {
      height: 700px; 
  }
}

/* FEATURES SECTION */
.features-section {
    padding: 0px 100px;
    text-align: center;
    position: relative;
}

.features-section h2 {
  font-family: 'MoreSugar';
  font-size: 48px;
  color: var(--main-color);
  margin-bottom: 40px;
}

.features-container {
  display: flex;
  justify-content: space-evenly;
  gap: 80px;
  flex-wrap: wrap;
}

.feature-card {
  position: relative;
  width: 300px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f7c035;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-overlay h3 {
  margin-bottom: 10px;
  font-size: 30px;
  font-family: 'MoreSugar';
  color: var(--main-color);
}

.feature-overlay p {
  font-size: 22px;
  max-width: 80%;
  font-family: 'MoreSugarThin';
  color: #c4910f;

}

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

.feature-card:hover .feature-overlay {
  opacity: 1; 
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-container {
      gap: 30px;
  }

  .feature-card {
      width: 280px;
      height: 360px;
  }

  .features-section h2 {
      font-size: 40px;
  }
}

@media (max-width: 768px) {
  .features-container {
      flex-direction: column;
      align-items: center;
  }

  .feature-card {
      width: 90%;
      height: 350px;
  }
}

/* CTA SECTION  */
.cta-section {
  width: 100%;
  background-color: var(--main-color); 
  position: relative;
  margin-top: 15%;
  margin-bottom: 10%;
  height: 500px; 
  display: flex;
  align-items: center; 
  justify-content: center; 
  text-align: center;
  box-sizing: border-box;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 95px; 
  background: url('https://cooking-ina-website-i68r.vercel.app/img/border.png') no-repeat center;
  background-size: cover; 
}

.cta-section::before {
  top: 0;
}

.cta-section::after {
  bottom: 0;
}


.cta-content {
  margin-top: 3%;
  max-width: 80%;
  color: #fff;
  font-family: 'MoreSugar';
  font-size: 40px;
  line-height: 1.5;
}

.cta-content strong {
  color: #f7c035; 
}

/* CTA Button */
.btn-conteiner {
  display: flex;
  justify-content: center;
  margin-top: 5%;
  margin-bottom: 5%;

}  
.btn-content {
  display: flex;
  align-items: center;
  padding: 5px 30px;
  text-decoration: none;
  font-family: 'Boorsook';
  font-weight: 600;
  font-size: 30px;
  color: #37ABB0;
  background: #FED543;
  transition: 1s;
  border-radius: 100px;
  box-shadow: 0 0 0.2em 0 #765f0c;
}  
.btn-content:hover, .btn-content:focus {
  transition: 0.5s;
  -webkit-animation: btn-content 1s;
  animation: btn-content 1s;
  outline: 0.1em solid transparent;
  outline-offset: 0.2em;
  box-shadow: 0 0 0.4em 0 var #765f0c;
}  
.btn-content .icon-arrow {
  transition: 0.5s;
  margin-right: 0px;
  transform: scale(0.6);
  }
  
.btn-content:hover .icon-arrow {
  transition: 0.5s;
  margin-right: 25px;
  }
  
.icon-arrow {
  width: 20px;
  margin-left: 15px;
  position: relative;
  top: 6%;
  color: #37ABB0;
}
  
  /* SVG */
  #arrow-icon-one {
  transition: 0.4s;
  transform: translateX(-60%);
  }
  
  #arrow-icon-two {
  transition: 0.5s;
  transform: translateX(-30%);
  }
  
  .btn-content:hover #arrow-icon-three {
  animation: color_anim 1s infinite 0.2s;
  }
  
  .btn-content:hover #arrow-icon-one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
  }
  
  .btn-content:hover #arrow-icon-two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
  }
  
  /* SVG animations */
  @keyframes color_anim {
  0% {
    fill: #37ABB0;
  }
  
  50% {
    fill: var(--bg-color);
  }
  
  100% {
    fill: #37ABB0;
  }
  }
  
  /* Button animations */
  @-webkit-keyframes btn-content {
  0% {
    outline: 0.2em solid var #37ABB0;
    outline-offset: 0;
  }
  }
  
  @keyframes btn-content {
  0% {
    outline: 0.2em solid var#37ABB0;
    outline-offset: 0;
  }
  }
  

@media (max-width: 1024px) {
  .cta-section {
      height: 380px; 
  }

  .cta-content {
      font-size: 28px;
  }

  .cta-button {
      padding: 10px 25px;
      font-size: 18px;
  }
}

@media (max-width: 768px) {
  .cta-section {
      height: 350px; 
      margin-top: 40px; 
  }

  .cta-content {
      font-size: 20px;
  }

  .cta-button {
      padding: 8px 20px;
      font-size: 16px;
  }

  .cta-section::before,
  .cta-section::after {
      height: 90px; 
  }
}

/* Sign In Pop-Up */
.popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 750px;
  background-color: var(--bg-color);
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.548);
  text-align: center;
  display: none;
  z-index: 1000;
  box-sizing: border-box;
  overflow: hidden;
  padding: 50px 30px;
  border-radius: 12px;
}

.popup-container::before,
.popup-container::after {
  content: "";
  position: absolute;
  left: 0;
  width: 115%;
  height: 55px; 
  background: url('https://cooking-ina-website-i68r.vercel.app/img/border.png') no-repeat center;
  background-size: 100% 188%;
}

.popup-container::before {
  top: 0;
}

.popup-container::after {
  bottom: 0;
}

.popup-content-wrapper {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-logo {
  width: 120px;
  height: 120px;
  margin: 20px auto;
  display: block;
}

.close-btn {
  position: absolute;
  top: 55px;
  right: 15px;
  font-size: 55px;
  cursor: pointer;
  color: #FF5B5B;
  background: none;
  border: none;
  transition: 0.3s ease;
}

.close-btn:hover {
  color: #FF3B3B;
}

.popup-container h2 {
  font-size: 32px;
  font-family: 'Boorsook';
  color: var(--main-color);
  margin-bottom: 5px;
}

.popup-container p {
  font-size: 20px;
  font-family: 'Boorsook';
  color: var(--darkyellow-color);
  text-align: center;
}

.input-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.input-field {
  width: 90%;
  font-family: 'NexaLight';
  font-size: 18px;
  color: #748B88;
  background: var(--bg-color);
  padding: 12px;
  margin-top: 25px;
  margin-bottom: 10px;
  border: 2px solid #748B88;
  border-radius: 12px;
  transition: border 0.3s ease;
}

.input-field:focus {
  border: 2px solid var(--main-color);
  outline: none;
}

.forgot-link {
  font-size: 12px;
  font-family: 'Boorsook';
  color: var(--darkyellow-color);
  text-decoration: none;
  position: relative;
  display: block;
  text-align: right;
  width: 90%;
  margin-left: 25px;
}

.forgot-link:hover {
  color: var(--main-color);
}

.password-container {
  margin-left: 5%;
  position: relative;
  width: 90%;
}

.password-input {
  width: 100%;
  font-family: 'NexaLight';
  font-size: 18px;
  color: #748B88;
  background: var(--bg-color);
  padding: 12px;
  border: 2px solid #748B88;
  border-radius: 12px;
  transition: border 0.3s ease;
  padding-right: 50px; 
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 60%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 30px;
  color: #748B88;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: var(--main-color);
}

.sign-in-btn {
  width: 30%;
  font-family: 'Boorsook';
  background: var(--main-color);
  color: var(--yellow-color);
  padding: 15px;
  font-size: 26px;
  border: none;
  border-radius: 25px;
  margin-top: 40px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
}

.sign-in-btn:hover {
  background: #2E9296;
}

.signup-link {
  font-family: 'NexaLight';
  font-size: 14px;
  color: #748B88;
  margin-top: 20px;
  text-align: center;
}

.signup-link a {
  font-family: 'NexaLight';
  color: var(--main-color);
  text-decoration: none;
  font-weight: bold;
}

.signup-link a:hover {
  text-decoration: underline;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 162, 166, 0.65);
  display: none;
  z-index: 999;
}

@media (max-width: 1024px) {
  .popup-container {
    width: 90%;
    height: auto;
    padding: 40px;
    padding-bottom: 70px;
  }

  .popup-content-wrapper {
    width: 80%;
  }

  .popup-logo {
    margin-top: 5%;
    width: 100px;
    height: 100px;
  }

  .close-btn {
    top: 60px;
    right: 15px;
    font-size: 45px;
  }

  .forgot-link {
    font-size: 11px;
  }

  .sign-in-btn {
    width: 35%;
    font-size: 20px;
    padding: 10px;
  }

  .popup-container::before,
  .popup-container::after {
    height: 45px;
   
  }
}

@media (max-width: 768px) {
  .popup-container {
    width: 95%;
    padding: 20px;
    padding-bottom: 80px;
  }

  .popup-content-wrapper {
    width: 75%;
  }

  .popup-logo {
    margin-top: 5%;
    width: 80px;
    height: 80px;
  }

  .close-btn {
    top: 60px; 
    right: 15px;
    font-size: 40px;
  }

  .forgot-link {
    font-size: 10px;
  }

  .sign-in-btn {
    width: 45%;
    font-size: 18px;
    padding: 8px;
  }

  .popup-container::before,
  .popup-container::after {
    height: 40px;
  }
}


@media (max-width: 480px) {
  .popup-container {
    width: 98%;
    padding: 15px;
  }

  .popup-content-wrapper {
    width: 75%;
  }

  .popup-logo {
    margin-top: 5%;
    width: 70px;
    height: 70px;
  }

  .close-btn {
    top: 85px; 
    font-size: 25px;
  }

  .forgot-link {
    font-size: 9px;
  }

  .sign-in-btn {
    width: 50%;
    font-size: 16px;
    padding: 8px;
  }

  .popup-container::before,
  .popup-container::after {
    height: 35px;
  }
}