@font-face {
  font-family: "Inter";
  src: url("./font/Inter-Regular.otf") format("opentype");
  font-weight: normal;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fff3f2;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #ffe5e3;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #f15a39;
  border-radius: 10px;
  border: 2px solid #ffe5e3;
}

::-webkit-scrollbar-thumb:hover {
  background: #e04c2d;
}

.container {
  display: flex;
  min-height: 100vh;
  flex-direction: row;
}

/* Left Container */
.left-container {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  text-align: center;
  position: relative;
}

/* Logo animation */
.logo {
  animation: fadeInDown 0.8s ease-out;
}

/* Navigation Bar */
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 30px;
  position: absolute;
  top: 0;
  left: 0;
}

/* Pattern behind the subscribe section */
.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: fadeIn 1.5s ease-out;
}

.bg-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subscribe Section */
.subscribe-container {
  background: white;
  padding: 60px 30px;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 80%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease-out;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.custom-icon {
  animation: pulse 2s infinite ease-in-out;
}

h1 {
  color: #333;
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: 600;
  width: 100%;
}

p {
  color: #666;
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 25px;
  width: 100%;
}

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

#email-input,
.subscribe-btn {
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
}

#email-input {
  padding: 15px 20px 15px 50px;
  border: 1px solid #e0e0e0;
  border-radius: 360px;
  margin-bottom: 20px;
  font-size: 18px;
  color: #666;
  outline: none;
  background-image: url("./images/mail-02.png");
  background-position: 15px 13px;
  background-repeat: no-repeat;
  transition: all 0.4s ease;
}

#email-input:hover,
#email-input:focus {
  box-shadow: 0 0 0 4px rgba(241, 90, 57, 0.2);
  transform: scale(1.02);
  border-color: #f15a39;
}

#email-input::placeholder {
  font-size: 18px;
  opacity: 0.5;
}

.country {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin-bottom: 20px;
  font-size: 18px;
}

.country-select-wrapper {
  position: relative;
  width: 100%;
}

.country-select-trigger {
  padding: 15px 20px 15px 50px;
  width: 100%;
  border-radius: 360px;
  border: 1px solid #e0e0e0;
  background-color: white;
  font-size: 17px;
  color: #666;
  background-image: url("./images/location.png");
  background-repeat: no-repeat;
  background-position: 15px 13px;
  background-size: 20px 20px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.country-select-trigger::after {
  content: "▼";
  font-size: 12px;
  color: #666;
  transition: transform 0.3s ease;
}

.country.open .country-select-trigger::after {
  transform: rotate(180deg);
  color: #f15a39;
}

.country-select-trigger:hover {
  border-color: #f15a39;
  box-shadow: 0 0 0 4px rgba(241, 90, 57, 0.1);
}

/* Custom dropdown options container */
.country-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(241, 90, 57, 0.2);
  overflow: hidden;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  max-height: 0;
}

.country.open .country-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 200px;
}

/* Custom dropdown option items */
.country-option {
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
}

.country-option:last-child {
  border-bottom: none;
}

.country-option:hover {
  background-color: #fff3f2;
  color: #f15a39;
  transform: translateX(5px);
}

.country-option.selected {
  background-color: rgba(241, 90, 57, 0.1);
  color: #f15a39;
  font-weight: 500;
}

/* Basic Notification Styling (Customize heavily!) */
.notification {
  position: fixed; /* Or absolute, depending on container */
  top: 20px;
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  padding: 15px 25px;
  border-radius: 8px; /* Match your theme */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Ensure it's on top */
  opacity: 1;
  transition: opacity 0.5s ease, top 0.5s ease; /* Smooth transitions */
  font-family: "Inter", sans-serif; /* Match your theme */
  max-width: 80%;
  text-align: center;
}

/* Style for hidden state */
.notification.hidden {
  opacity: 0;
  top: -100px; /* Move it off-screen */
  pointer-events: none; /* Prevent interaction when hidden */
}

/* Style for SUCCESS message (Use your theme colors!) */
.notification.success {
  background-color: #e0f2e9; /* Light green background */
  color: #1d6f42; /* Darker green text */
  border: 1px solid #a8d5ba;
}

/* Style for ERROR message (Use your theme colors!) */
.notification.error {
  background-color: #fce8e6; /* Light red background - match your theme! */
  color: #c5221f; /* Darker red text */
  border: 1px solid #f4acaa;
}

.notification p {
  margin: 0;
  font-size: 16px;
}

/* Optional Close Button Styling */
/*
#close-notification {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit; // Inherit color from parent (.success or .error)
}
*/

/* Animation for options appearing */
@keyframes fadeInOptions {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation for option hover */
@keyframes optionPulse {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Hide the original select element */
.country-select {
  display: none;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
  .country-select-trigger {
    font-size: 14px;
    padding: 15px 15px 12px 40px;
    background-position: 12px 12px;
  }

  .country-option {
    padding: 10px 15px;
    font-size: 14px;
  }
}

/*
#country {
    padding: 15px 115px 15px 115px;
    border: 1px solid #e0e0e0;
    border-radius: 360px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #666;
    transition: all 0.4s ease;
    transform-origin: center;
}

*/

.subscribe-btn {
  padding: 15px;
  background-color: #f15a39;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.subscribe-btn:hover {
  background-color: #e04c2d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(241, 90, 57, 0.3);
}

.subscribe-btn:active {
  transform: translateY(0);
}

/* Right Container */
.right-container {
  width: 50%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.8s ease-out;
}

.images {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 15px 150px 15px 15px;
  flex-grow: 1;
}

.images img {
  width: 50%;
  height: auto;
  transition: transform 0.5s ease;
  object-fit: cover;
}

.images img:hover {
  transform: scale(1.02);
  z-index: 1;
}

/* Footer right section */
#right-footer {
  background-color: #e94e35;
  color: white;
  padding: 20px 30px;
  animation: fadeIn 1s ease-out;
  border-top-left-radius: 20px;
}

#right-footer h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

#right-footer p {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

/*For the dashes */
/*
.stepper-dots {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.dot {
    height: 8px;
    border-radius: 96px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.dot:nth-child(1) {
    width: 200px;
    background-color: white;
    animation: pulse 2s infinite;
}

.dot:nth-child(2),
.dot:nth-child(3),
.dot:nth-child(4) {
    width: 214px;
}
*/

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Responsiveness */
@media screen and (max-width: 1440px) {
  .dot {
    width: 110px !important;
  }

  .dot:nth-child(1) {
    width: 150px !important;
  }

  ::-webkit-scrollbar {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .subscribe-container {
    padding: 40px 20px;
    width: 90%;
  }

  h1 {
    font-size: 26px;
  }

  .dot {
    width: 120px !important;
  }

  .dot:nth-child(1) {
    width: 100px !important;
  }
}

@media screen and (max-width: 768px) {
  ::-webkit-scrollbar {
    display: none;
  }

  .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .left-container,
  .right-container {
    width: 100%;
  }

  .left-container {
    padding: 20px 10px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .subscribe-container {
    margin-top: 150px;
    margin-bottom: 5px;
    width: 85%;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .right-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 5px 0px 5px;
    margin: 0;
  }

  .images {
    padding: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
    width: 95%;
    margin-bottom: 15px;
    justify-content: center;
  }

  .images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #right-footer {
    padding: 15px;
    width: 95%;
    margin: 0;
    text-align: center;
  }

  #right-footer h3 {
    font-size: 20px;
  }

  #right-footer p {
    font-size: 14px;
  }

  .stepper-dots {
    gap: 5px;
  }

  .dot {
    height: 6px;
    width: 150px !important;
  }

  .dot:nth-child(1) {
    width: 110px !important;
  }
}

@media screen and (max-width: 480px) {
  ::-webkit-scrollbar {
    display: none;
  }

  .subscribe-container {
    padding: 30px 15px;
    margin-top: 150px;
    margin-bottom: 5px;
  }

  h1 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }

  #email-input {
    color: black;
    font-size: 14px;
    padding: 15px 15px 12px 40px;
    background-position: 12px 12px;
  }

  #email-input::placeholder {
    font-size: 14px;
    opacity: 0.5;
  }

  .subscribe-btn {
    font-size: 14px;
    padding: 12px;
  }

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

  .dot {
    width: 102px !important;
  }

  .dot:nth-child(1) {
    width: 40px !important;
  }

  nav {
    padding: 20px 30px;
  }

  .logo {
    width: 32%;
  }

  #right-footer {
    border-top-right-radius: 20px;
  }

  .country-select {
    font-size: 14px;
    padding: 15px 15px 12px 40px;
    background-position: 12px 12px;
  }

  .country::after {
    font-size: 14px;
  }
}
