@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&display=swap');
@import url(./mobile.css);
@import url(./IpadAir.css);

*{
    margin: 0;
    padding: 0;
    opacity: 1;
    box-sizing: border-box;
    font-family: 'poppins', 'sans-serif';
}

a{
    text-decoration: none;
    color: black;
    font-size: 16px;
    cursor: pointer;
}

body {
    font-family: 'Josefin Sans', sans-serif;
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}


html{
    scroll-behavior: smooth;
}


.container{
    position: fixed;
    padding: 10px 50px;
    display: flex;
    top: 0;
    bottom: 20;
    z-index: 10000;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-bottom: 300px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.navbar ul{
    display: flex;
}

ul a{
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 2px;
    color: #18191F;
    font-family: 'Josefin Sans', sans-serif;
    line-height: 26.6px;
    font-size: 16px;
    font-weight: 600; /* semibold */

}

ul a:hover, a.btnn:hover{
    background: rgb(68, 129, 68);
    color: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    transition: .1s;
}


.btn{
    background: #ff0000;
    box-shadow: 3px 5px 5px 0 rgba(0, 0, 0, 0.3);
    padding: 5px 13px;
    margin-left: 30px;
    margin-right: 20px;
    border-radius: 2px;
    color: #fff;
}

.first_section {
    margin: 50px 0 0 0;
    padding: 0;
    width: 100vw;             /* Full width of the screen */
    height: 100vh;            /* Full height of the viewport */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('./Assets/BG.png');  /* Reference to your image */
    background-repeat: no-repeat;
    background-size: cover;             /* Fill the section nicely */
    background-position: center bottom; /* Keep the wave shape at bottom */
}

.writeups {
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;   /* column layout */
    justify-content: center;  /* vertical center */
    align-items: center;      /* horizontal center */
    height: 100vh;            /* full viewport height */
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.writeups h1 {
    font-size: 56px;
    font-family: 'Libre Baskerville', serif;
    width: 80%;
    line-height: normal;
    font-weight: 700;
    margin:18% 0 10px 0;   /* space below h1 */
    letter-spacing: 7px;
    word-spacing: 18px;
}

.writeups p {
    width: 70%;
    font-weight: 500;
    font-size: 18px;
    padding: 5px;
    margin:10px 0 0 0;
    color: #bbbbbb;
}

.first-btn{
    position: relative;
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px 10px 10px;
}

.first-btn a{
    font-family: 'Josefin Sans', sans-serif;
    border: 1px #fff solid;
    outline: none;
    color: #023F3A;
    cursor: pointer;
    padding: 9px 40px;
    border-radius: 1px;
}

.auto-hover {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    background: #fff;
    color: #023F3A;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 6px;
    
}
.auto-hover.hovered {
    background-color: #023F3A;
    color: #fff;
}

.first-ephant_img{
    position: relative;
    left:0;
    top: 20px;
}

.sub-img{
    height: 400px;
    width: 825px;
}

.second-section{
    margin: 80px;
    margin-top: 20%;
}

.missions_phyle{
    display: flex;
    width: 100%;
}

.mision_phyla{   
    width: 100%;
    height: 43.75%;
}

.mission_Fila h1{
    color: #023F3A;
    font-family: 'Libre Baskerville', serif;
    font-weight: bold; /* or 700 */
    font-size: 48px;
    line-height: 120%;
}

.mission_Fila h2{
    width: 90%;
    margin-top: 20px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    color: #525560;
    font-size: 18px;
    line-height: 1.3; /* 130% */
}

.organic_img{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding-top: 5px;
}

.organic_img a{
    color: #18191F;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
}

.organic{
    display: flex;
    gap: 6%;
    align-items: center;
    padding-top: 35px;
}

.mission_img{
    width:100%;
    height: 43.75%;
    margin-left: 0;
}

.mission_fenda{
    width: 500px;
    height: 291px;
    border-radius: 15px;
    box-shadow: 3px 0 5px 0 rgba(0, 0, 0, 0.3);
}

.fendas{
    display: flex;
    gap: 15px;
    padding-top: 20px;
}

.missions_fendas{
    width: 245px;
    height: 261px;
    border-radius: 15px;
    box-shadow: 4px 6px 5px 0 rgba(0, 0, 0, 0.3);
}

.third_section{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 80px;
    margin-top: 8%;
}

.third_phase{
    color: #023F3A;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 4%;
    line-height: 1.2; /* or 120% */
}

.card {
    width: 362px;
    height: 350px;
    background-image: url(./Assets/backimg.png); /* Replace with actual path */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.card_patch {
    width: 362px;
    height: 350px;
    background-image: url(./Assets/patch.png); /* Replace with actual path */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.card_path{
    width: 362px;
    height: 350px;
    background-image: url(./Assets/path.png); /* Replace with actual path */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8),transparent);
    padding: 20px;
    color: white;
}

.overlay h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    width: 324px;
    height: 32px;
    line-height: 1.6;
    /* Animation */
    opacity: 0;
    transform: translateY(20px);
    animation: uploadFade 3s ease-in-out infinite;
}

.overlay p {
    font-family: 'Josefin Sans', serif;
    font-size: 16px;
    line-height: 1.3;
    /* Animation */
    opacity: 0;
    transform: translateY(20px);
    animation: uploadFade 7s ease-in-out infinite;
    animation-delay: 0.4s; /* Optional: staggered start */
}

/* Keyframes */
@keyframes uploadFade {
    0% {
    opacity: 0;
    transform: translateY(20px);
}
20% {
    opacity: 1;
    transform: translateY(0);
}
80% {
    opacity: 1;
    transform: translateY(0);
}
100% {
    opacity: 0;
    transform: translateY(20px);
}
}


.third_card{
    display: flex;
    gap: 50px;
}


.testimonials {
    text-align: center;
    padding: 60px 20px;  
    background: #F2EEE9;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #023F3A;  
    font-family: 'Libre Baskerville', serif;
    font-size: 2.9rem; /* approx 46-48px */
    font-weight: 700;
    line-height: 58px;
    margin-bottom: 40px;
}

.carousel-container {
    display: none;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-container.active {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    opacity: 1;
    transform: scale(1);
    animation: popFade 0.8s ease-in-out;
}

@keyframes popFade {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
}
}

.testimonial {
    width: 90%;
    padding: 20px;
}
.testimonial p {
    font-size: 18px;
    font-family: 'Josefin Sans', sans-serif;
    color: #525560;
    font-weight: 400;
    width: 100%;
    line-height: 130%;
    margin-bottom: 15px;
    
    /* Animation */
    opacity: 0;
    transform: translateY(20px);
    animation: uploadFade 0.8s ease forwards;
    animation-delay: 0.4s;
}

.carousel-container.active .testimonial:nth-child(2) p {
    animation-delay: 0.6s;
}

.carousel-container.active .testimonial:nth-child(3) p {
    animation-delay: 0.8s;
}

@keyframes uploadFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.testimonial h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

.dots, .prodots {
    margin-top: 30px;
}

.dot, .prodot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    align-items: center;
    justify-content: center;
    background-color: #f8d5bb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active{
    background-color: rgb(180, 18, 18); /* red */
    outline: 2px solid #ff5e14;        /* orange outer ring */
    outline-offset: 2px;               /* gap between dot and border */
}

.prodot.active{
    background-color: rgb(180, 18, 18);
    transform: scale(1.35);
    -webkit-transform: scale(1.35);
    -moz-transform: scale(1.35);
    -ms-transform: scale(1.35);
    -o-transform: scale(1.35);
}

.fourth_section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    margin: 0 0 0 auto;
    width: 100%;
    height:100% ;
}

.discover{
    color: #023F3A;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.2; /* or 120% */
}

.products{
    display: none;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.products.active{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transform: scale(0.99);
    animation: popFade 1.5s ease-in-out;
}

.products img{
    border-radius: 30px;
    width: 300px;
    height: 270px;
    padding: 10px;
}

.products h2{
    display: flex;
    justify-content: center;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    color: #023F3A;
}

.fifth-section {
    width: 100%;
    background: #F2EEE9;
    padding:80px;
    box-sizing: border-box;
}

.fifth{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
    height: 49.1%;
    max-height: 491px;
    gap: 100px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
  }
  
  .video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 16px;
  }
  
  .video.active {
    display: block;
  }
  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }

  .content {
    width: 70.17%;
    height: 100%;
    max-width: 600px;
    margin: 0;
    margin-bottom: 30px;

  }
  
  .content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Libre Baskerville', serif;
    width: 93%;
    height: 76px;
    word-spacing: 2px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #003319;
  }
  
  .content p {
    line-height: 1.6;
    margin-bottom: 1.8rem;
    width: 90%;
    text-align: justify;
    font-size: 18px;
    font-family: 'Josefin Sans', sans-serif;
    color: #333;
  }

  
.btnn {
    background-color: #003319;
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    padding: 12px 24px;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    line-height: 0.2;
    font-weight: 600;
}

.sixth-container{
    margin-bottom: 180px;
}

.contacts{
    display: flex;
    width:100%;
    height: 512px;
    padding: 80px;
}

.contact-in{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 2px;
    width: 80%;
}

.contact-details{
    padding: 50px;
    padding-bottom: 80px;
}

.contact-details h1{
    font-family: 'Libre Baskerville', serif;
    font-weight: 250;
    font-size: 32px;
    height: 38px;
    width: 260px;
    line-height: 1.2;
    color: #18191F;
    padding: 10px 0;
    margin-bottom: 15px;
}

.contact-details h3{
    font-family:'Josefin Sans', sans-serif ;
    font-size: 20px;
    font-weight: 400;
    color: #525560;
    line-height: 1.3;

    height: 29px;
    width: 200px;
}

.social-icons {
    display: flex;
    gap: 35px;
    margin-top: 25px;
}   

.social-icons a {
    color: #023F3A;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #08c561; /* Change to your desired hover color */
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 500px;
  height: 510px;
  display: flex;
  flex-direction: column;
}

form {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  color: #333F51;
}

input[type="email"]{
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    flex-grow: 1;
    margin-bottom: 20px;
  }

input[type="submit"] {
  background-color: #023F3A;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #02140f;
}

.success {
  margin-top: 15px;
  text-align: center;
  color: green;
  font-weight: 500;
}

footer {
    margin: 0;
    padding: 50px 60px 30px 60px; /* balanced spacing */
    background: #F8F6F4;
    width: 100%;
    height: auto; /* let content define height */
    font-family: 'Josefin Sans', sans-serif;
} 

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap; /* desktop: keep in a row */
    padding: 20px 0;
    gap: 50px;
}

.footer-logo img {
    width: 120px; /* slightly bigger */
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h1 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #222222;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Josefin Sans', sans-serif;
}

.link {
    opacity: 0.85;
    padding: 6px 0;
    line-height: 1.6;
    font-family: 'Josefin Sans', sans-serif;
}

.footer-links a {
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000;
}

.footer-links a:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    padding-left: 3px; /* subtle hover effect */
}

.footer-links h3 {
    display: inline;
    font-weight: bold;
    font-size: 14px;
    margin-left: 6px;
    color: #000;
}

.social-icons a {
    margin-right: 10px;
    font-size: 18px;
    color: #000;
}

.social-icons a:hover {
    color: #0d9e66;
    padding-left: 1px;
}

.footer-divider {
    margin: 30px 0;
    border: 0;
    height: 1px;
    background: #ddd;
}

footer h3 {
    text-align: center;
    font-size: 14px;
    padding-bottom: 10px;
}