
h1 {
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--secondary-color-light);
}
.right-side p {
    color: var(--secondary-color-light);
    font-size: 20px;
    margin: 10px 0;}

h2{
    color: var(--secondary-color-dark);
    font-size: 40px;
    margin: 10px 0;
    font-weight: 700;
  }

:root{
   --primary-color:#2F5249;
   --primary-color-light:#437057;
   --secondary-color:#97B067;
   --secondary-color-light:#E3DE61;
    --secondary-color-dark:#9d9a36;
}

.dark-theme {
  --primary-color: #212121;
  --primary-color-light: #333;
  --secondary-color: #edf2fc;
  --secondary-color-light: #e3de61;
  --secondary-color-dark: #9d9a36;
}

html{
    scroll-behavior: smooth;
    animation: fadeIn 0.5s ease-in-out;
}

body {
  height: 100vh;
  min-width: 840px;
  display: flex;
  flex-direction: column;
  background: var(--primary-color);
  font-family: 'Playfair Display', serif;
  transition: background 0.3s, color 0.3s;
  /* animation: fadeIn 1s ease-in-out; */
}

#icon {
  transition: filter 0.3s;
}


/* =============================
   Contact Page Stylesheet
   Cleaned and commented for clarity
   ============================= */

/* ========== CSS Variables ========== */
:root {
  --primary-color: #2F5249;
  --primary-color-light: #437057;
  --secondary-color: #97B067;
  --secondary-color-light: #E3DE61;
  --secondary-color-dark: #9d9a36;
}

/* Dark Theme Variables */
.dark-theme {
  --primary-color: #212121;
  --primary-color-light: #333;
  --secondary-color: #edf2fc;
  --secondary-color-light: #e3de61;
  --secondary-color-dark: #9d9a36;
}

/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

html {
  scroll-behavior: smooth;
  animation: fadeIn 0.5s ease-in-out;
}

body {
  height: 100vh;
  min-width: 840px;
  display: flex;
  flex-direction: column;
  background: var(--primary-color);
  font-family: 'Playfair Display', serif;
  transition: background 0.3s, color 0.3s;
  /* animation: fadeIn 1s ease-in-out; */
}

#icon {
  transition: filter 0.3s;
}

/* ========== Navigation Bar ========== */
nav {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  background-color: var(--primary-color-light);
  animation: fadeInUp 0.5s ease-in-out;
}

#logo {
  width: 200px;
  cursor: pointer;
  color: var(--secondary-color-light);
  font-size: 30px;
  animation: fadeInDown 1.0s ease-in-out;
}
#logo:hover {
  color: var(--secondary-color-dark);
  transition: color 0.3s ease-in-out;
}

nav ul {
  flex: 1;
  text-align: right;
  padding-right: 40px;
}
nav ul li {
  display: inline-block;
  list-style: none;
  margin: 5px 20px;
  animation: fadeInDown 1.2s ease-in-out;
}
nav ul li a {
  text-decoration: none;
  color: var(--secondary-color-light);
  font-size: 20px;
  letter-spacing: 2px;
  position: relative;
  font-weight: 700;
}
nav ul li a:hover {
  color: var(--secondary-color-dark);
  transition: color 0.3s ease-in-out;
}
nav ul li a:hover::after {
  content: "";
  width: 100%;
  height: 2px;
  background: var(--secondary-color-dark);
  position: absolute;
  bottom: -4px;
  left: 0;
  animation: fadeInDown 0.5s ease-in-out;
}

/* ========== Hamburger Nav Toggle ========== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 32px;
  height: 32px;
  margin-left: 16px;
  z-index: 1001;
}
.nav-toggle span {
  height: 4px;
  width: 100%;
  background: var(--secondary-color-light);
  margin: 4px 0;
  border-radius: 2px;
  display: block;
  transition: 0.4s;
}
/* Animate nav-toggle when open */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg); /* Top bar rotates */
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0; /* Middle bar disappears */
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg); /* Bottom bar rotates */
}

/* ========== Main Container ========== */
.container {
  margin: 50px;
  display: flex;
  flex-direction: row;
  animation: fadeInUp 1.0s ease-in-out;
  background-color: rgba(250, 235, 215, 0.203);
  border-radius: 30px;
}

/* ========== Left Side (Form & Social) ========== */
.left-side {
  width: 60%;
  display: flex;
  flex-direction: column;
  margin-left: 20px;
}
.left-side h2 {
  font-size: 40px;
  color: var(--secondary-color-dark);
  margin-bottom: 20px;
}
.left-side-down {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

/* ========== Right Side (Image & Info) ========== */
.right-side {
  width: 40%;
}
.right-side p {
  color: var(--secondary-color-light);
  font-size: 20px;
  margin: 10px 0;
}

/* ========== Headings ========== */
h1 {
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--secondary-color-light);
}
h2 {
  color: var(--secondary-color-dark);
  font-size: 40px;
  margin: 10px 0;
  font-weight: 700;
}

/* ========== Form Styles ========== */
.input-container {
  position: relative;
  width: 250px;
}
.input-container .inp {
  width: 250%;
  padding: 10px;
  border: 1.5px solid rgba(0, 167, 161, 0.272);
  outline: none;
  margin-top: 20px;
  border-radius: 5px;
  color: var(--secondary-color-dark);
  background: rgba(41, 41, 41, 0.408);
  font-size: 1em;
}
.input-container .name,
.input-container .email {
  position: absolute;
  left: 0;
  margin-top: 20px;
  padding: 10px;
  text-transform: uppercase;
  font-size: 1em;
  pointer-events: none;
  color: rgba(0, 167, 161, 0.272);
  transition: 0.5s;
}
.input-container textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1.5px solid rgba(0, 167, 161, 0.272);
  outline: none;
  margin-top: 20px;
  border-radius: 5px;
  color: rgba(0, 167, 181, 0.62);
  background: rgba(41, 41, 41);
  font-size: 1em;
  resize: none;
}

/* ========== Animated Button ========== */
/* From Uiverse.io by gharsh11032000 */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  margin-top: 10px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: var(--secondary-color-light);
  box-shadow: 0 0 0 2px var(--primary-color-light);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: fadeInUp 3.5s ease-in-out;
}
.animated-button svg {
  position: absolute;
  width: 24px;
  fill: var(--secondary-color-light);
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-button .arr-1 {
  right: 16px;
}
.animated-button .arr-2 {
  left: -25%;
}
.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color-light);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: var(--primary-color);
  border-radius: 12px;
}
.animated-button:hover .arr-1 {
  right: -25%;
}
.animated-button:hover .arr-2 {
  left: 16px;
}
.animated-button:hover .text {
  transform: translateX(12px);
}
.animated-button:hover svg {
  fill: var(--primary-color);
}
.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* ========== Social Links ========== */
.social-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin-top: 20px;
}
.social-links li {
  margin: 10px;
}
.social-links li a {
  text-decoration: none;
  color: var(--secondary-color-light);
  font-size: 30px;
  transition: color 0.3s ease-in-out;
  position: relative;
}
.social-links li a:hover {
  color: var(--secondary-color-dark);
  transition: color 0.3s ease-in-out;
}
.social-links li a:hover::after {
  content: "";
  width: 100%;
  height: 2px;
  background: var(--secondary-color-dark);
  position: absolute;
  left: 0;
  bottom: 0;
  animation: fadeInDown 0.5s ease-in-out;
}

/* ========== Images ========== */
img {
  width: 60%;
  height: auto;
  animation: fadeInUp 1.5s ease-in-out;
}

/* ========== Footer ========== */
footer {
  margin: 0 8%;
  height: 80px;
  display: flex;
  align-items: center;
  bottom: 0;
  animation: fadeInUp 1.5s ease-in-out;
}
footer a {
  font-size: 30px;
  color: var(--secondary-color);
  margin-right: 20px;
}
footer a:hover {
  color: var(--secondary-color-dark);
  transition: color 0.3s ease-in-out;
}
footer .copyright {
  color: var(--secondary-color);
  font-size: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ========== Responsive Design ========== */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 20vw;
    max-width: 250px;
    height: 100vh;
    background: var(--primary-color-light);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 24px 24px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 1000;
    text-align: left;
  }
  nav ul.open {
    right: 0;
  }
  nav ul li {
    display: block;
    margin: 18px 0;
  }
  .container {
    flex-direction: column-reverse;
    align-items: center;
    margin: 10px;
    padding: 10px;
  }
  .left-side, .right-side {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }
  .left-side-up {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .input-container {
    width: 280px;
  }
  .contact-form {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  body {
    min-width: 0;
  }
  .container {
    padding: 5px;
    font-size: 14px;
  }
  .left-side h2 {
    font-size: 30px;
  }
  .input-container {
    width: 38%;
  }
  .right-side img {
    width: 70%;
    height: auto;
  }
  footer {
    font-size: 14px;
    height: 60px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 2px;
    font-size: 12px;
  }
  .left-side h2 {
    font-size: 30px;
  }
  .left-side p {
    font-size: 14px;
  }
  .input-container {
    width: 35%;
  }
  .right-side img {
    width: 70%;
    height: auto;
  }
  footer {
    font-size: 10px;
    height: 40px;
  }
}
/* ========== End Responsive Design ========== */


nav{
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    background-color: var(--primary-color-light);
    animation: fadeInUp 0.5s ease-in-out;
}

#logo{
    width: 200px;
    cursor: pointer;
    color: var(--secondary-color-light);
    font-size: 30px;
    animation: fadeInDown 1.0s ease-in-out;
}

#logo:hover{
    color: var(--secondary-color-dark);
    transition: color 0.3s ease-in-out;
    
}


nav ul{
    flex: 1;
    text-align: right;
    padding-right: 40px;

}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 5px 20px;
    animation: fadeInDown 1.2s ease-in-out
}

nav ul li a{
    text-decoration: none;
    color:var(--secondary-color-light);
    font-size: 20px;
    letter-spacing: 2px;
    position: relative;
    font-weight: 700;
    
}

nav ul li a:hover{
    color: var(--secondary-color-dark);
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover::after{
    color: var(--secondary-color-dark);
    content: "";
    width: 100%;
    height: 2px;
    background: var(--secondary-color-dark);
    position: absolute;
    bottom: -4px;
    left: 0;
    animation: fadeInDown 0.5s ease-in-out;
}

.container{
    margin: 50px;
    display: flex;
    flex-direction: row;
    animation: fadeInUp 1.0s ease-in-out;
    background-color: rgba(250, 235, 215, 0.203);
    border-radius: 30px;
}

.left-side{
 width: 60%;
 display: flex;
 flex-direction: column;
 margin-left: 20px;
}
.right-side{
 width: 40%;
 
}
.left-side h2{
    font-size: 40px;
    color: var(--secondary-color-dark);
    margin-bottom: 20px;
}

.left-side-down{
    width: 100%;
    display: flex;
    flex-direction: column;
    
    margin-top: 20px;
}

.input-container {
  position: relative;
  width: 250px;
}
.input-container .inp {
  width: 250%;
  padding: 10px;
  border: 1.5px solid rgba(0, 167, 161, 0.272);
  outline: none;
  margin-top: 20px;
  border-radius: 5px;
  color:var(--secondary-color-dark);
  background: rgba(41, 41, 41, 0.408);
  font-size: 1em;
}
.input-container .name,
.input-container .email{
  position: absolute;
  left: 0;
  margin-top: 20px;
  padding: 10px;
  text-transform: uppercase;
  font-size: 1em;
  pointer-events: none;
  color: rgba(0, 167, 161, 0.272);
  transition: 0.5s;
}
.input-container textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1.5px solid rgba(0, 167, 161, 0.272);
  outline: none;
  margin-top: 20px;
  border-radius: 5px;
  color: rgba(0, 167, 181, 0.62);
  background: rgba(41, 41, 41);
  font-size: 1em;
  resize: none;
}

/* From Uiverse.io by gharsh11032000 */ 
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  margin-top: 10px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: var(--secondary-color-light);
  box-shadow: 0 0 0 2px var(--primary-color-light);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: fadeInUp 3.5s ease-in-out;

}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: var(--secondary-color-light);
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color-light);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: var(--primary-color);
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: var(--primary-color);
}


.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}


.social-links{
    display: flex;
    flex-direction:column ;
    list-style: none;
    margin-top: 20px;
}

.social-links li{
    margin: 10px;
}

.social-links li a{
  text-decoration: none;
  color: var(--secondary-color-light);
  font-size: 30px;
  transition: color 0.3s ease-in-out;
  position: relative;
}
.social-links li a:hover{
    color: var(--secondary-color-dark);
    transition: color 0.3s ease-in-out;
}

.social-links li a:hover::after{
  content: "";
  width: 100%;
  height: 2px;
  background: var(--secondary-color-dark);
  position: absolute;
  left: 0;
  bottom: 0;
  animation: fadeInDown 0.5s ease-in-out;
}

img{
    width: 60%;
    height: auto;
    animation: fadeInUp 1.5s ease-in-out;
}
footer{
    margin:0 8% ;
    height: 80px;
    display: flex;
    align-items: center;
    /* position: fixed; */
    bottom: 0;
    /* width: 100%; */
    animation: fadeInUp 1.5s ease-in-out;

}

footer a{
    font-size: 30px;
    color: var(--secondary-color);
    margin-right: 20px;
}

footer a:hover{
    color: var(--secondary-color-dark);
    transition: color 0.3s ease-in-out;
}


footer .copyright{
    color: var(--secondary-color);
    font-size: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}


/* Responsive Design: Mobile and Tablet */

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 20vw;
    max-width: 250px;
    height: 100vh;
    background: var(--primary-color-light);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 24px 24px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 1000;
    text-align: left;
  }
  nav ul.open {
    right: 0;
  }
  nav ul li {
    display: block;
    margin: 18px 0;
  }

  .container {
    flex-direction: column-reverse;
    align-items: center;
    margin: 10px;
    padding: 10px;
  }
  .left-side, .right-side {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }
  .left-side-up {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .input-container  {
    width: 280px;
  }
  .contact-form {
    width: 100%;
    align-items: center;
    justify-content: center;

  }
}

@media (max-width: 768px) {
  body {
    min-width: 0;
  }
  .container {
    padding: 5px;
    font-size: 14px;
  }
  .left-side h2 {
    font-size: 30px;
  }
  .input-container {
    width:38%;
  }
  .right-side img {
    width: 70%;
    height: auto;
  }
  footer {
    font-size: 14px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  nav ul{
    width: 40vw;
  }
  .container {
    padding: 2px;
    font-size: 12px;
  }
  .left-side h2 {
    font-size: 30px;
  }
  .left-side p {
    font-size: 14px;
  }
  .input-container {
    width: 35%;
  }
  .right-side img {
    width: 70%;
    height: auto;
  }
  footer {
    font-size: 10px;
    height: 40px;
  }
}

/* End Responsive Design */