@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&family=Roboto:wght@100;300;400&display=swap");

:root {
  --primary-color: #f9532d;
  --primary-dark: #1f252e;
}

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
}
/* Genral */
.container {
  padding: 0 8.4rem;
}

.img-w {
  width: 100%;
}
/* Nav */
header {
  position: relative;
  box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0;
  animation: leftSideAni 1s ease forwards;
}

.logo a {
  color: #244d61;
  text-decoration: none;
}

ul {
  display: flex;
  gap: 0.6rem;
  list-style-type: none;
  background-color: transparent;
  overflow: hidden;
}

li a {
  display: inline-block;
  padding: 0.3rem 1rem;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.7px;
  border-radius: 36px;
  line-height: 2;
  transition: 0.3s;
  opacity: 0;
  animation: navani 0.3s ease forwards;
  animation-delay: calc(0.15s * var(--navAni));
}

li a.active,
li a:hover {
  color: var(--primary-color);
}

#click {
  display: none;
}

.menu {
  display: none;
}

/* Nav End */

/* section */

/* Contact Container Styles */
.contact-container {
  margin-top: 20px;
  padding-bottom: 40px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  color: var(--primary-color);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 40px;
}

/* Contact Info Styles */
.contact-info {
  background-color: var(--bg-card);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item i {
  font-size: 24px;
  color: var(--primary-color);
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 87, 51, 0.15);
  border-radius: 50%;
}

.info-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-item p {
  color: rgba(245, 245, 245, 0.8);
  font-size: 16px;
}
.contacts{
  color: rgba(245, 245, 245, 0.8);
  /* color: var(--primary-color); */
  text-decoration: none;
  font-weight: 500;
}

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

.social-links h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icons a {
  color: var(--text-color);
  font-size: 40px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.contact-information {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 30px;
}

.coontact-img-div {
  /* border-radius: 10px; */
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.coontact-img-div img {
  width: 100%;
  height: 100%;
  filter: grayscale(70%);
}

/* Contact Form Styles */
.contact-form-container {
  background-color: var(--bg-card);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form-container h2 {
  font-size: 24px;
  margin-bottom: 25px;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  padding: 0 30px 0 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 5px;
  color: var(--text-color);
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 87, 51, 0.2);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: block;
  min-height: 20px;
}

.form-submit {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-submit button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-submit button:hover {
  background-color: #e74c3c;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.form-submit button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-submit button i {
  font-size: 18px;
}

.form-submit button:disabled {
  background-color: #7f8c8d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  opacity: 0;
}

.form-status.success {
  background-color: rgba(46, 204, 113, 0.15);
  color: var(--success-color);
  opacity: 1;
}

.form-status.error {
  background-color: rgba(231, 76, 60, 0.15);
  color: var(--error-color);
  opacity: 1;
}

/* Form Animation */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* section */

/* Dark Mode */

.dark-mode {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.mode input {
  display: none;
}

:is(.dark-mode) {
  .social a {
    color: var(--primary-color);
    border: 1.6px solid var(--primary-color);
  }

  .social a:hover {
    color: var(--primary-dark);
    background-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
  }

  .logo a {
    color: #fff;
  }

  .images::before {
    background: linear-gradient(145deg, #1f252e, #2e3239);
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #1b1f27;
  }
}

.dark-mode header {
  box-shadow: 0 4px 17px rgb(80 80 80 / 31%);
  background: var(--primary-dark);
}

/* Animation */
@keyframes leftSideAni {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes navani {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes rightSideAni {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes topSideAni {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes SocialAni {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes imageAni {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media screen and (max-width: 1024px) {
  .container {
    padding: 0 4.4rem;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 1.6rem;
  }
}

@media screen and (max-width: 600px) {
  header {
    height: auto;
  }

  ul {
    background: #fff;
    width: 100%;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 3.4rem;
    left: -100%;
    z-index: 111111;
  }

  .menu {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #244d61;
  }

  #click:checked ~ ul {
    left: 0%;
    transition: all 0.3s ease;
  }

  .dark-mode .menu {
    color: var(--primary-color);
  }

  .dark-mode ul {
    background: var(--primary-dark);
  }

  .mode {
    position: absolute;
    right: 4rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  .form-submit {
    flex-direction: column;
    gap: 15px;
  }

  .form-submit button {
    width: 100%;
    justify-content: center;
  }

  .form-status {
    width: 100%;
    text-align: center;
  }
}
