@import "https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap";
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --body-color: #0d3e5c;
  --secondry-text: #30ab65;
}
html {
  font-size: 10px;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden; /* safety net while debugging */
}

/* =====Header====== */
header {
  display: flex;
  background-color: var(--body-color);
  width: 100%;
 min-height: 8vh;
  align-items: center;
}
nav{
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  max-width: 1300px;
}
.logo-container,.nav-links {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}
.logo-container {  
  display: flex;
  align-items: center;
  padding: 10px 20px;
}
.logo{
  margin: 5px;
}
.nav-links{
  justify-content: space-around;
  list-style: none;
  
}
.nav-link{
  color: white;
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
}

nav {  
  flex: 2;
}
#header {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: auto;
}
#header .header {
  min-height: 8vh;
  /* background-color: rgba(31, 30, 30, 0.24); */
  background-color: var(--body-color);
  transition: 0.3s ease background-color;
}
.logo-container h1 {
  font-size: 3rem;
  text-transform: uppercase;
  color: white;
}
.logo-container h1 span {
  color: var(--secondry-text);
}
/* End of Header */

.presentation{
  display: flex;
  width: 100%;
  /* margin-top: 50px; */
  margin: auto;
  min-height: 80vh ;
  align-items: center;
  /* gap: 30px;   */
}
/* main{
  background-image: url(./img/hero-bg.jpg);} */

/* FIXED class name here */
.introduction{
  flex: 0 0 20%;
  min-width: 20%;
  /* margin-right: 50px; */
  margin-left: 10px;
}

.intro-text h1{
  font-size: 44px;
  background: linear-gradient(to right, var(--body-color), var(--secondry-text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro-text p{
  margin-top: 5px;
  font-size: 18px;
  color: #555;
}
/* .cta{
  padding: 50px 0px 0px 0px;
} */
 /* CTA container */
.cta{
  display: flex;
  align-items: center;
  gap: 20px;          /* space between buttons */
  padding-top: 50px;
}
.cta-select{
  
  background: transparent;  
  height: 50px;
  width: 150px;  
  cursor: pointer;
  color: var(--body-color);
  border: 2px solid var(--body-color);
}
/* .cta-down{
  background: var(--body-color);  
  height: 50px;
  width: 150px; 
  cursor: pointer;
  margin-left: 20px;
  border: none;
  color: white;
  margin:30px 0px 0px 30px;
} */
.cta-down{
  margin: 0;          /* reset margins */
}
/* ===== Carousel area (keeps your layout) ===== */
.cover{
  display: flex;
  flex:0 0 70%;
  height: 80vh;
  width: auto;
  justify-content: center;
  position: relative; /* important for the overlay link */
  margin-top: 10px;
  position: relative;
}

.carousel {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover img{
  height: 100%;
  width: 80%;
  animation: drop 1s ease-in-out;
}

.carousel-caption {
  position: absolute;
  /* top: 20px; */
  left: 200px;
  background: rgba(13, 62, 92, 0.75); /* brand color overlay */
  color: #fff;
  padding: 10px 16px;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 4px;
  max-width: 70%;
}
/* Read more link on top of the image */
.read-more {
  position: absolute;
  bottom: 12px;
  right: 200px;
  background: var(--body-color);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 1.4rem;
  border-radius: 4px;
  text-transform: uppercase;
  max-width: calc(100% - 24px);  /* never exceed the visible width */
  white-space: nowrap;
  font-size: clamp(14px, 1.4vw, 18px);
  box-sizing: border-box;

}

/* Optional: small hover effect */
.read-more:hover {
  opacity: 0.9;
}

/* .con-arr{
  width: 50%;
  display: flex;
  justify-content: space-around;
  position: absolute;
  right: 20%;
} */
/* .con-arr{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
} */
.con-arr{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 15px;

  z-index: 10; /* stay on top of image */
}

/* Arrow buttons */
.arrow-btn {
  background: var(--body-color);
  color: #fff;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.8rem;
  border-radius: 4px;
}

/* Optional hover effect */
.arrow-btn:hover {
  opacity: 0.9;
}

/* Dots */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--body-color);
  display: inline-block;
  cursor: pointer;
}

/* Active dot (current slide) */
.dot.active {
  background: var(--body-color);
}

 .footer-social {
  background-color: var(--body-color);        /* Dark modern background */
  padding: 25px 0;
  margin-top: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.social-icons a{
  color: white;
  font-size: 26px;
  transition: 0.3s;
}

.social-icons a:hover{
  opacity: 0.8;
}

.cta-down a{
  padding: 12px 25px;  
  color: white;
  background-color: var(--body-color);
  /* border-radius: 5px; */
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
    border: 2px solid var(--secondry-text);
    /* font-size: 2rem; */
  text-transform: uppercase;
  display: inline-block;

}
.social-icons {
  display: flex;
  gap: 25px;
}

.social-icon img {
  width: 32px;
  height: 32px;
  filter: invert(100%);             /* Makes icons white */
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.social-icon img:hover {
  transform: scale(1.2);
  filter: invert(60%) sepia(80%) hue-rotate(180deg);
}
@keyframes drop{
  0%{
    opacity: 0;
    transform: translateY(-50px);
  }
  100%{
    opacity: 1;
    transform: translateY(0px);
  }
}

@media screen and (max-width: 1024px) {
  .presentation{
    flex-direction: column;
    text-align: center;
  }
  .introduction{
    margin-top: 5vh;
    text-align: center;
  }
  .intro-text h1{
    font-size: 36px;
  }
  .intro-text p{
    font-size: 16px;
  }
  .cta{
    padding: 10px 0px 0px 0px;
  }
  .cover{
    margin-top: 30px;
    height: auto;
  }
  .cover img{
    width: 80%;
    height: auto;
  }
}
/* Mobile-friendly */
@media (max-width: 768px) {
  .carousel-caption {
    font-size: 1.4rem;
    max-width: 90%;
  }
}