/* index.css */
@import url("https://fonts.googleapis.com/css2?family=Barrio&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Yatra+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Metamorphous&family=Yatra+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap");

/* navbar css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: #fff8e8;
  align-items: center;
  font-size: 25px;
  font-family: "Yatra One", system-ui;
}

.logo img {
  width: 60px;
}
.logo span {
  color: rgb(0, 0, 0);
}
.nav-links {
  z-index: 7;
  list-style-type: none;
  display: flex;
  gap: 30px;
  font-family: "MyCustomFont", sans-serif;
}

.nav-links li {
  list-style: none;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333333;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}
.nav-links a::before {
  transition: 300ms;
  height: 5px;
  content: "";
  position: absolute;
  background-color: #070707;
  height: 0%;
  width: 100%;
  bottom: -15px;
}

.nav a:hover::before {
  height: 5px;
  width: 100%;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #333;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 15px;
    background-color: #fff8e8;
    position: absolute;
    top: 70px;
    right: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    padding-bottom: 25px;
  }
  .nav-links {
    max-width: 100%; /* Prevent overflowing */
    overflow-x: hidden; /* Hide overflow if content is larger */
  }
  .header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff8e8;
    align-items: center;
    font-size: 20px;
    font-family: "Yatra One", system-ui;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* Index css  */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row; /* Horizontal alignment for larger screens */
  align-items: center;
  justify-content: space-between;
  background-image: url(Assets/herobg-hd@2x.webp); /* Add your map background image */
  background-size: cover;

  overflow: hidden;
}

.hero-text {
  padding: 40px;
  max-width: 50%;
  z-index: 2;
}

.hero-text h1 {
  font-size: 4rem;
  color: #ffffff;
  font-family: "MyFont";
  text-shadow: -1px -1px 0 #c4c2c2bd, 1px -1px 0 #000000c2, -1px 1px 0 #463d3de7,
    1px 1px 0 #000000c7;
}

.hero-text h1 span {
  font-size: 4.5rem;
  font-weight: bold;
  line-height: 0cm;
  color: #ffffffeb;
  font-family: "MyCustomFont";
}

.hero-text p {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #ffffff;
  font-family: "metamorphous", serif;
  font-size: 20px;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50vw; /* Set width relative to the viewport width */
  height: 100vh; /* Set height to full viewport height */
  background: linear-gradient(90deg, transparent 50%, #000000bf 50%);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 50% 100%);
  max-width: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  height: 100vh;
  object-fit: cover;
}

.follow-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  right: 5px;

  z-index: 4;
}

.social-links {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

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

.social-links img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}
.social-links img:hover {
  transform: scale(1.1); /* Adds a hover effect */
}

.follow- {
  writing-mode: vertical-rl;
  margin-top: 20px;
  margin-right: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #ffffffbd;
}

.follow-text {
  writing-mode: vertical-rl;
  margin-top: 20px;
  margin-right: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #ffffffbd;
  font-style: italic;
  font-weight: bold;
  font-family: "Barrio", system-ui;
  font-size: 25px;
}

/* Ensure responsiveness for smaller screens */
@media (max-width: 768px) {
  .hero {
    flex-direction: column; /* Stack content vertically for smaller screens */
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 92vh; /* Adjust height for stacked content */
    background-size: cover;
    overflow-x: hidden;
  }
  .hero-text {
    max-width: 90%; /* Reduce text width for smaller screens */
    padding: 20px;
    text-align: center; /* Center-align text */
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text h1 span {
    font-size: 3.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image {
    background-position: center;
    position: relative;
    width: 100%;
    height: 100vh; /* Full width for smaller screens */
    background: none; /* Remove gradient for smaller screens */
  }
  .hero-image img {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Maintain aspect ratio */
  }
  .follow-section {
    background-color: #000000bf;
    padding: 15px;
    left: 0;
    right: 0;
    bottom: 30px;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  .social-links {
    flex-direction: row; /* Horizontal alignment for social icons */
    gap: 15px;
  }
  .social-links img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .social-links img:hover {
    transform: scale(1.1); /* Adds a hover effect */
    /* Slight color change on hover */
  }

  .follow-,
  .follow-text {
    display: none; /* Hide vertical text on smaller screens */
  }
}

@media (max-width: 480px) {
  .hero {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal overflow */
  }

  .nav-links {
    max-width: 100%;
    overflow-x: hidden; /* Ensure the navbar stays within the viewport */
  }

  .social-links {
    flex-wrap: wrap; /* Adjust layout if there's not enough space */
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text h1 span {
    font-size: 3.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .social-links img {
    width: 35px; /* Slightly smaller icons for very small screens */
    height: 35px;
  }
  .hero-image {
    height: 100vh; /* Ensure the image fills the screen */
  }

  .hero-image img {
    height: 100%; /* Full height */
  }
}

/* project css */
.container {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.pro_h {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}
.pro_p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}
.loader {
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  display: flex;
  overflow: hidden;
}
.letter {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: pop 0.5s forwards;
  animation-delay: var(--delay);
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}
.animate {
  animation: pop 1s forwards infinite;
}

/* blog css */

.container {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.blog_h {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}
.blog_p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}
.loader {
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  display: flex;
  overflow: hidden;
}
.letter {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: pop 0.5s forwards;
  animation-delay: var(--delay);
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}
.animate {
  animation: pop 1s forwards infinite;
}

/* contact css */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f4f8;
}
.container2 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}
.contact-info {
  width: 30%;
  margin-right: 50px;
}
.contact-info h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.contact-info p {
  margin-bottom: 20px;
  font-size: 20px;
  font-family: "Kalam", cursive;
  font-weight: 500;
  font-style: normal;
}
.info-item {
  margin-bottom: 30px;
}
.info-item i {
  font-size: 2em;
  color: #4c82f0;
  margin-right: 15px;
}
.info-item h3 {
  margin: 0;
  font-size: 1.2em;
}
.info-item p {
  margin: 0;
  font-size: 1.1em;
  color: #666;
}
.contact-form {
  width: 40%;
  background-color: #f8fcff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1.1em;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4c82f0;
}
.contact-form button {
  background-color: #2c6a49;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #1d5036;
}
/* Responsive contact form */
@media (max-width: 768px) {
  .container2 {
    align-items: center;
  }

  .contact-info,
  .contact-form {
    width: 90%;
    margin: 10px 0;
  }

  .contact-info {
    margin-right: 0;
  }
}

@media (max-width: 581px) {
  .container2 {
    flex-direction: column-reverse; /* Row layout for small screens */
    justify-content: center;

    /* Wrap content if it doesn't fit in one line */
  }

  .contact-form {
    width: 90%; /* Form takes most of the screen width */
    margin: 0 auto 20px; /* Center the form with spacing below */
  }

  .contact-info {
    width: 90%; /* Contact info same width as form */
    margin: 0 auto; /* Center align the contact info */
  }
  .contact-info h1 {
    font-size: 1.8em;
  }

  .contact-info p {
    font-size: 16px;
  }

  .info-item i {
    font-size: 1.4em;
  }

  .info-item h3 {
    font-size: 0.9em;
  }

  .info-item p {
    font-size: 0.85em;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1em;
    padding: 8px;
  }

  .contact-form button {
    font-size: 1em;
    padding: 8px 16px;
  }
}

/* about.css */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap");

body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f3f4f6;
}

.profile-container {
  display: flex;

  align-items: center;
  padding: 50px 20px;
}

.profile-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
}

.profile-photo {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.profile-photo img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-details {
  flex: 2;
  padding-left: 100px;
}

.heading {
  font-size: 70px;
  font-weight: bold;
  margin: 0;
  color: #015249;
  font-family: "MyHeading";
}

.sub-heading {
  font-size: 45px;
  margin: 20px 0 10px 0;
  color: #015249;
  font-family: "MyHeading";
}

.profile-details p {
  font-size: 27px;
  color: #25292a;
  line-height: 1.6;
  font-family: "Caveat", cursive;
  font-weight: 800;
}
/* Responsive Design */
@media (max-width: 768px) {
  .profile-container {
    padding: 20px;
  }

  .profile-photo img {
    width: 300px;
    height: 300px;
  }

  .profile-details {
    padding-left: 50px; /* Reduce padding */
  }

  .heading {
    font-size: 50px;
  }

  .sub-heading {
    font-size: 35px;
  }

  .profile-details p {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .profile-content {
    flex-direction: column; /* Stack photo and details vertically */
    align-items: center; /* Center align content */
    text-align: center; /* Center text for smaller screens */
  }

  .profile-photo img {
    width: 250px;
    height: 250px;
  }

  .profile-details {
    padding-left: 0; /* Remove left padding for centered layout */
  }

  .heading {
    font-size: 40px;
  }

  .sub-heading {
    font-size: 30px;
  }

  .profile-details p {
    font-size: 18px;
  }
}

/* font faces here */
@font-face {
  font-family: "MyCustomFont";
  src: url("fonts/overcame-bold.woff") format("woff"),
    url("fonts/overcame-outline.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "MyFont";
  src: url("fonts/arenq.woff") format("woff");
}
@font-face {
  font-family: "MyHeading";
  src: url(fonts/acorn.woff) format("woff");
}
