/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #ffffff;
  flex-wrap: wrap;
}



.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: #000000;
  text-decoration: none;
  position: relative;
  font-weight: 600;

  transition: color 0.3s;
}


nav a:hover {
  color: #c57d70;
  transition: 0.3s ease;
  text-shadow: 0 0 4px #eabbb2;

}

.apply-btn{
    background: #c4837856;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 4rem;
    color: #a76255;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #c48378;
    transition: 0.3s ease;
    cursor: pointer;
}

.apply-btn:hover {
    transform: scale3d(1.03);
    background-color: #cd948ada;
    color: black;
    box-shadow: 0 0 25px #c48378;
}

.readmore{
    background: #c4837856;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 4rem;
    color: #a76255;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #c48378;
    transition: 0.3s ease;
    cursor: pointer;
}

.readmore:hover {
    transform: scale3d(1.03);
    background-color: #cd948ada;
    color: black;
    box-shadow: 0 0 25px #c48378;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 5%;
  gap: 3rem;
  transition: all 0.5s ease-in-out;  /* smooth transition */

}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* set your navbar height */
  z-index: 999; /* stay on top */
}




.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 50px;
}

/* Hero Text Animation */
.hero-text {
  opacity: 0;
  transform: translateX(-50px);
  animation: textSlideIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

/* Hero Image Animation */
.hero-image {
  opacity: 0;
  transform: scale(0);
  animation: imagePopIn 1s ease-out forwards;
  animation-delay: 0.6s;
  text-align: center;
}

/* Hero Buttons Animation */
.hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  animation: buttonsRise 0.8s ease-out forwards;
  animation-delay: 1.2s;
}

/* Keyframes for text sliding from left */
@keyframes textSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Keyframes for image popping from center */
@keyframes imagePopIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Keyframes for buttons rising */
@keyframes buttonsRise {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons hover effect */
.hero-buttons .apply-btn {
  transition: all 0.3s ease;
}


/* Hero Image Wrapper with Shadow */
.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible; /* shadow visible outside */
  border-radius: 20px; /* subtle curve */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: scale(0);
  animation: popIn 1s ease-out forwards;
  animation-delay: 0.6s;

  max-width: 500px;   /* limit wrapper size */
  margin: 0 auto;     /* center in flex container */
  width: 100%;        /* responsive */
}

/* Video/Image inside hero */
.hero-image-wrapper video,
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px; /* matches wrapper rounding */
  display: block;
}

/* Keyframes for pop-in effect */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  60% {
    opacity: 1;
    transform: scale(1.05); /* slight overshoot for modern feel */
  }
  100% {
    opacity: 1;           /* keep fully visible */
    transform: scale(1);  /* settle to normal size */
  }
}

.hero {
  margin-top: 80px; /* equal to navbar height */
}
.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: #0d1b2a; /* Dark text */
}

.hero-text h1 span {
  color: #c48378; /* your theme color */
  font-size: 2.8rem;

}

.hero-text p {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: #c48378;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #a9685f;
}

.btn-secondary {
  border: 2px solid #c48378;
  color: #c48378;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #c48378;
  color: #fff;
}








.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
}

section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #c48378;
}

.about {
  align-items: center;
  text-align: center;
}

.card {
  background: #efeeee;
  border: 1px solid #dfdfdf;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
}

.card:hover {
  background: #eae9e9;
  box-shadow: 0 0 25px #ca9990;

}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.logo-img {
  height: 50px;
  width: 70px;
  object-fit: contain;
}

.contact-info {
  list-style: none;
  padding: 0;
  text-align: center;
}

.contact-info li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.contact-info a {
  color: #c48378;
  text-decoration: none;
}

.contact-info a:hover {
  transition: 0.3s ease;
  text-shadow: 0 0 4px #a56052;
  color: #7c4941;


}

.contact-mid {
  list-style: none;
  padding: 0;
  text-align: left;
}

.contact-mid li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.contact-mid a {
  color: #e23213;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.8rem;
  background: #ffffff;
  border-top: 1px solid #2f2f2f;
  color: #4a4a4a;
}

/* For tablets/smaller screens (gradual shift) */
@media (max-width: 1024px) {
  .hero {
    gap: 2rem;
    padding: 2rem 4%;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}

/* For phones */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;    /* Stack vertically */
    align-items: flex-start;   /* Keep content left */
    text-align: left;          /* Left align text */
    height: auto;
    padding: 2rem 1.5rem;
  }
  .hero-text h1 {
    font-size: 1.00rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;   /* Buttons stay left */
  }

  .hero-image img {
    max-width: 95%;
    transition: all 0.5s ease-in-out; /* smooth resizing */
  }
}




/* Responsive Design */
@media screen and (max-width: 768px) {
  nav {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  nav ul {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  section h2 {
    font-size: 1.8rem;
  }
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #000000;
  cursor: pointer;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: left;
  width: 100%;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  /* For Hamburger Menu */
  .nav-links {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    padding: 1rem 0;
    border-top: 1px solid #ffffff;
  }

  /* Show the links when hamburger is clicked */
  .nav-links.show {
    display: list-item;
  }

  /* Organize the items in a row after opening hamburger */
  .nav-links li {
    padding: 0.5rem 2rem;
    text-align: right;
  }

  /* Space out apply button */
  .apply-btn {
    margin-top: 0.5rem;
  }
}