/* --------------------------------
         GLOBAL CSS CLASSES
-------------------------------- */ 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;  
}

body{
  background-color: #fffefa; 
  font-family: var(--font-family-text);    
}

/* Secondary Button */
.btn-sec {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: var(--color-gray-800);
  color: var(--White);
  border: none;
  box-shadow: inset 0 0 0 1.4px var(--color-gray-500);
  padding: 16px 24px;
  text-decoration: none;
  border-radius: var(--radius-md8);
  font-size: var(--font-size-14);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: 0.2s;
}
.btn-sec img {
  width: 20px;
  height: 20px;
}

/* --------------------------------
     HERO SECTION CSS CLASSES
-------------------------------- */
/* USED IN CONTENT AND HOME PAGE */
.wr_for_hd1 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 40px 80px 40px;
  background: radial-gradient(ellipse 80% 60% at top center,#FF565640 0%,#FFA23930 30%,#FEEE9120 40%,#ffffff00 50%);
}
.hd1 {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-32);
  text-align: center;
}
.hd1-img {
  width: 150px;
  height: auto;
}
.hd1-img img {
  width: 100%;
  height: auto;
}
.hd1-head {
  max-width: 800px;
}


/*------------------------
     CONTACT PAGE CSS
------------------------*/
.contact-container {
  position: relative;
  max-width: 1000px;
  width: 100%; 
  gap: var(--spacing-32);
  margin-bottom: 40px;
}

/* ---------- FORM ---------- */
.left-contact-form {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: 1 0 0;
  border-radius: var(--radius-xl16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(14, 48, 61, 0.57);
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.contact-form .row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.input-group {
  width: 100%;
}

/* Inputs */
.input-field, .message-box {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(231, 231, 241, 0.12);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px; 
  font-size: var(--font-size-16);
  color: var(--White);
  letter-spacing: 1px;
  transition: 0.3s ease;
  outline: none;
}

::placeholder {
  font-family: var(--font-family-text);
  font-size: var(--font-size-14);
  color: var(--color-gray-200);
  letter-spacing: 0px;
}

/* Focus */
.input-field:focus,
.message-box:focus {
  border-color: var(--color-accent-400);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(14, 48, 61, 0.9) inset !important;
  -webkit-text-fill-color: white !important;
  caret-color: white;
}

/* Filled (not placeholder) */
.input-field:not(:placeholder-shown),
.message-box:not(:placeholder-shown) {
  border-color: var(--color-accent-400);
}

/* Message Box */
.message-box {
  height: 100px;
  resize: vertical;
}

.wr_for_bo2{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 30px 0 30px;
  background-color: var(--color-gray-700);
}

/*-----------------------
     HOVER EFFECTS
------------------------*/
@media (hover: hover) {
  .input-field:hover,
  .message-box:hover {
    border: 1px solid var(--color-accent-400);
    background: rgba(255, 255, 255, 0.18);
  }
  .submit-btn:hover {
    background: var(--btn-primary-bg-hover);
  }
  .secondary-btn:hover {
    background: var(--btn-secondary-hover-bg);
  }
}

/*-----------------------
  RESPONSIVE AFTER 768PX
------------------------*/
@media (max-width: 768px) {
  /* MOBILE HERO */
  .wr_for_hd1 {
    padding: 160px 20px 48px;
    background: radial-gradient(ellipse 90% 40% at top center,#FF565640 10%,#FFA23930 40%,#FEEE9120 50%,#ffffff00 60%);
  }
  .hd1-head h1 {
    font-size: var(--font-size-32);
  }
  .hd1-head p {
    font-size: var(--font-size-16);
  }

  /* MOBILE CONTACT PAGE */
  .contact-container {
    display: flex;
    flex-direction: column;  /*two cards vertically */
    gap: var(--spacing-24);
  }
  .contact-form {
    gap: 14px;
  }
  .contact-form .row {
    gap: 14px;
  }
  .input-field, .message-box {
    padding: 16px 12px;
    border: 1.5px solid rgba(231, 231, 241, 0.12);
  }
  .left-contact-form {
    width: 100%;
    padding: 24px 16px;
  }
  .left-contact-form h2{
    font-size: var(--font-size-32);
  }
  .input-group {
    width: 100%;
  }
  .message-box {
    height: 120px;
  }
  .left-contact-form .email-btn{
    width: 100%;
  }
}