/* =====================
   GLOBAL SMOOTH SCROLL
   ===================== */
html {
  scroll-behavior: smooth; /* This handles the smooth click scrolling */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: rgb(47, 8, 66);
  color: white;
  overflow-x: hidden;
}

header {
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  border-bottom: 3px solid rgb(245, 222, 179);
  position: fixed;
  width: 100%;
  z-index: 100;
  box-shadow: 0 0 60px 20px rgba(0, 0, 0, 0.662);
  background: linear-gradient(-45deg, rgb(47, 8, 66), rgb(0, 91, 107), #16213e);
  animation: bg-animation 3s infinite alternate;
  background-size: 400%;
  /* The Underline Effect */
  /* Hover State */
  /* Active State (Triggered by JS) */
}
header .logo_content {
  display: flex;
  align-items: center;
}
header .logo_content img {
  margin-right: 25px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2.223px solid teal;
  box-shadow: 7px 7px 10px black;
}
header .logo_content .brand-text h1 {
  font-family: "Courier New", monospace;
  color: rgb(245, 222, 179);
  font-size: 1.5rem;
  margin-bottom: 0;
}
header .logo_content .brand-text .subtitle {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}
header .navi1 ul {
  display: flex;
  gap: 50px;
}
header .navi1 ul li a {
  color: rgb(245, 222, 179);
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
}
header .navi1 ul li a:hover {
  color: white;
  text-shadow: 0 0 10px rgb(245, 222, 179);
}
header .nav-link {
  /* Using your Wheat color instead of undefined var */
  color: rgb(245, 222, 179);
  font-weight: 500;
  position: relative; /* Essential for the underline to stick to the text */
  padding: 5px 0;
  transition: color 0.3s;
}
header .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; /* Start hidden */
  height: 2px;
  background: #04aa6d;
  transition: width 0.3s ease-in-out; /* The smooth animation */
}
header .nav-link:hover::after {
  width: 100%;
}
header .nav-link.active::after {
  width: 100%;
  background: rgb(245, 222, 179); /* Wheat color when active */
}

main {
  padding-top: 90px;
}

.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bg-animation 3s infinite alternate;
  background: linear-gradient(-45deg, rgb(47, 8, 66), rgb(0, 91, 107), #16213e);
  background-size: 400%;
  text-align: center;
  border-bottom: 3px solid rgb(245, 222, 179);
}
.hero .hero_text {
  max-width: 800px;
}
.hero .hero_text h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero .hero_text p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 40px;
  font-family: "Courier New", monospace;
}
.hero .hero_text .hero_buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.hero .hero_text .hero_buttons .btn-primary {
  background-color: rgb(245, 222, 179);
  color: rgb(47, 8, 66);
  padding: 15px 30px;
  font-weight: bold;
  border: 2px solid rgb(245, 222, 179);
  box-shadow: 8px 8px 0px 0px rgb(0, 0, 0);
  transition: transform 0.2s;
}
.hero .hero_text .hero_buttons .btn-primary:hover {
  transform: translate(-2px, -2px);
}
.hero .hero_text .hero_buttons .btn-secondary {
  background-color: transparent;
  color: rgb(245, 222, 179);
  padding: 15px 30px;
  border: 2px solid rgb(245, 222, 179);
  box-shadow: 8px 8px 0px 0px rgb(0, 0, 0);
}
.hero .hero_text .hero_buttons .btn-secondary:hover {
  background-color: rgba(245, 222, 179, 0.1);
}

/* ======================== */
/* HERO SECTION ANIMATION   */
/* ======================== */
/* CONTAINER SETUP */
.hero-split {
  background: linear-gradient(-45deg, rgb(47, 8, 66), rgb(0, 91, 107), #16213e);
  animation: bg-animation 3s infinite alternate;
  background-size: 400%;
  padding: 100px 20px;
  border-bottom: 3px solid wheat;
  display: flex;
  justify-content: center;
}

.container-split {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Equal split: 50% Text | 50% Image */
  gap: 50px;
  align-items: center;
}

/* TEXT STYLING */
.split-text h2 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 20px;
}

.split-text p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* IMAGE BOX (The Magic Part) */
.split-image-box {
  position: relative;
  width: 100%;
  max-width: 500px; /* Limits width so it doesn't get too big */
  height: 600px; /* Sets the height of the image area */
  margin: 0 auto;
  /* Makes the photos look like a cool card */
  border: 2px solid wheat;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  overflow: hidden; /* Crops anything sticking out */
}

/* IMAGE SETTINGS */
.fade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* Ensures image fills the box neatly */
}

/* ANIMATION LOGIC */
/* The top image fades in and out. The bottom image stays still behind it. */
.img-top {
  animation: fade-switch 6s infinite ease-in-out;
}

@keyframes fade-switch {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* MOBILE FIX */
@media (max-width: 768px) {
  .container-split {
    grid-template-columns: 1fr; /* Stack vertically */
    text-align: center;
  }
  .split-image-box {
    height: 400px; /* Smaller image on phone */
    order: -1; /* Puts image ABOVE text on mobile */
  }
  .hero_buttons {
    justify-content: center;
  }
}
.hero_text h2 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero_text p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 40px;
  font-family: "Courier New", monospace;
  font-weight: bold;
}

/* [5] BUTTONS */
.hero_buttons {
  display: flex;
  justify-content: left;
  gap: 20px;
}

.btn-primary {
  background-color: wheat;
  color: #1a1a1a; /* Dark text */
  padding: 15px 30px;
  font-weight: bold;
  border: 2px solid wheat;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  cursor: pointer;
}

.btn-secondary {
  background-color: transparent;
  color: wheat;
  padding: 15px 30px;
  border: 2px solid wheat;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: rgba(245, 222, 179, 0.2);
  cursor: pointer;
}

/* [6] THE KEYFRAMES (The magic logic) */
@keyframes fade-switch {
  0% {
    opacity: 0;
  } /* Show Image 1 */
  45% {
    opacity: 1;
  } /* Show Image 2 */
  55% {
    opacity: 1;
  } /* Stay on Image 2 a bit */
  100% {
    opacity: 0;
  } /* Back to Image 1 */
}
@keyframes bg-animation {
  0% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
}
footer {
  animation: bg-animation 3s infinite alternate;
  background: linear-gradient(-45deg, rgb(47, 8, 66), rgb(0, 91, 107), #16213e);
  background-size: 400%;
  text-align: center;
  padding: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}
footer .socials {
  margin-top: 10px;
}
footer .socials a {
  color: rgb(245, 222, 179);
  font-size: 1.5rem;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .research-card {
    flex-direction: column;
  }
  header {
    padding: 0 20px;
  }
  .navi1 {
    display: none;
  }
}
/* ===================== */
/* RESPONSIVE STYLES */
/* ===================== */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .contact-content {
    grid-template-columns: 1fr;
  }
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item::after {
    left: 21px;
  }
  .timeline-item:nth-child(even)::after {
    left: 21px;
  }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background: var(--primary-blue);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 0;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-item {
    margin: 15px 0;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=Contact_page.css.map */