* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 html {
    scroll-behavior: smooth;
  }

body{
align-items: center;
    overflow-x: hidden;
    background-image: url(trunk1.jpeg);
background-size: contain;
    
    

}
/* Header font: Garamond */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Garamond', serif;
}

/* Body text: serif */
body, p, span, li, div, a {
    font-family: serif;
}

header {
    position: relative;
    min-height: 100vh;
    background: url('headerimg.jpeg')center/cover no-repeat fixed, #2c5530;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
  transition: clip-path 1.5s ease-out;
  will-change: clip-path;
  z-index: 15;
   transform-origin: bottom center;
            transform-style: preserve-3d;
            perspective: 1000px;
            transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
           
            clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

  /* Page turn effect when scrolled */
        header.page-turn {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            transform: rotateX(0deg);
            animation: pageTurnUp 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        }

         @keyframes pageTurnUp {
            0% {
                transform: rotateX(-90deg) translateZ(-50px);
                clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
                opacity: 0.3;
            }
            20% {
                transform: rotateX(-60deg) translateZ(-30px);
                clip-path: polygon(0 80%, 100% 85%, 100% 100%, 0 100%);
                opacity: 0.5;
            }
            40% {
                transform: rotateX(-30deg) translateZ(-15px);
                clip-path: polygon(0 60%, 100% 70%, 100% 100%, 0 100%);
                opacity: 0.7;
            }
            60% {
                transform: rotateX(-15deg) translateZ(-8px);
                clip-path: polygon(0 40%, 100% 50%, 100% 100%, 0 100%);
                opacity: 0.8;
            }
            80% {
                transform: rotateX(-5deg) translateZ(-3px);
                clip-path: polygon(0 20%, 100% 25%, 100% 100%, 0 100%);
                opacity: 0.9;
            }
            100% {
                transform: rotateX(0deg) translateZ(0px);
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
                opacity: 1;
            }
        }

        /* Reverse animation when scrolling down */
        header.page-turn-reverse {
            animation: pageTurnDown 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        }

        @keyframes pageTurnDown {
            0% {
                transform: rotateX(0deg) translateZ(0px);
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
                opacity: 1;
            }
            20% {
                transform: rotateX(-5deg) translateZ(-3px);
                clip-path: polygon(0 20%, 100% 25%, 100% 100%, 0 100%);
                opacity: 0.9;
            }
            40% {
                transform: rotateX(-15deg) translateZ(-8px);
                clip-path: polygon(0 40%, 100% 50%, 100% 100%, 0 100%);
                opacity: 0.8;
            }
            60% {
                transform: rotateX(-30deg) translateZ(-15px);
                clip-path: polygon(0 60%, 100% 70%, 100% 100%, 0 100%);
                opacity: 0.7;
            }
            80% {
                transform: rotateX(-60deg) translateZ(-30px);
                clip-path: polygon(0 80%, 100% 85%, 100% 100%, 0 100%);
                opacity: 0.5;
            }
            100% {
                transform: rotateX(-90deg) translateZ(-50px);
                clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
                opacity: 0.3;
            }
        }


        /* Shadow effect during page turn */
        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                to top,
                rgba(0,0,0,0.4) 0%,
                rgba(0,0,0,0.2) 30%,
                transparent 100%
            );
            z-index: 1;
            opacity: 0;
            transition: opacity 0.8s ease;
        }

        header.page-turn::before {
            opacity: 1;
        }


/* When active (on scroll) */
header.unfolded {
    clip-path: inset(0 0 0 0); /* fully visible */
  }










.arrowleft{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #2c5530;
        color: white;
        border: none;
        padding: 1rem;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 101; /* 👈 This brings the arrow to front */
    }

    .arrowright{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #2c5530;
        color: white;
        border: none;
        padding: 1rem;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 101; /* 👈 This brings the arrow to front */
    }
.caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 50px; 
      }





.Rakeshji1 {
    background-color: #f2e3cb;
    border-radius: 40px;
}


.Rakeshji1 h2{
    font-size: 4rem;
}



#head1 {
    font-size: 3rem  !important;   /* You can adjust this value */
    font-weight: 700;}



.middle{
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: larger;
}

.heading {
    display: flex;
    flex-direction: column;
    align-items: center; /* center horizontally */
    justify-content: center; /* center vertically */
    height: 100%;
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.heading h1{
    font-size: 2.6rem !important;
    font-weight: 700;
    color: black;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: -1rem;
    position:sticky;
     top: 0; /* or any offset you want */
  z-index: 10;
   }
   

.heading h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #3f1a0e;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    position: sticky;
     top: 0; /* or any offset you want */
  z-index: 10;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: flex-start; /* start at top */
    justify-content: center;
    text-align: center;
    padding-top: 200px;
    padding-right: 110px;
    position: relative;
    height: 100%;
    overflow:visible;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

.overlay {
    position: relative;
    z-index: 2;
    overflow: visible;
}



.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.image img{
width: auto;
max-width: 100%;
height: auto;
max-height: 600px;
object-fit: contain;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
display: block;
}

.image {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
}

@keyframes flyAcross {
    0% {
        transform: translateX(-150px) scaleX(1);
    }
    50% {
        transform: translateX(100vw) scaleX(1);
    }
    50.001% {
        transform: translateX(100vw) scaleX(-1); /* flip bird */
    }
    100% {
        transform: translateX(-150px) scaleX(-1);
    }
}


.navbar {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar li {
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 8px 10px;
    display: block;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        width: 100%;
        display: none;
        padding: 10px 0;
    }

    .navbar.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown > a::after {
        content: ' ▼';
        font-size: 12px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .navbar li {
        text-align: center;
    }
}




/* Header Styles */
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #F0E6B2;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .navbar-container.scrolled {
    background-color: #f8f5ef; /* light cream or white */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ccc;
   box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

.navbar-container.scrolled a {
  color: #2c5530 !important; /* dark green for visibility */
}

/* Basic styling for dropdown */
.navbar li.dropdown {
  position: relative;
}

.navbar li.dropdown > ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff; /* or your background */
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
}

.navbar li.dropdown:hover > ul.dropdown-menu {
  display: block;
}

/* Optional: style dropdown links */
.dropdown-menu li a {
  padding: 10px 15px;
  display: block;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #eee;
}

/* Mobile dropdown toggle button */
.dropdown > a::after {
  content: ' ▼';  /* little arrow */
  font-size: 0.6em;
  margin-left: 5px;
  cursor: pointer;
}

/* Links change color when scrolled */
.navbar-container.scrolled .nav-link {
  color: #2c5530 !important;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
   background: transparent;
  backdrop-filter: blur(15px);
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1001;
   
}

.navbar-brand .logo {
    height: 45px;
    width: auto;
    filter: brightness(1.1);
}

.navbar {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -5px);
}



/* Main Content */
main {
    padding: 2rem 0;
    margin-top: 0;
    margin: 50px;
}


.text1 b, .text2 b {
    color: #2c5530;
}

/* Founder Section */
#head1, #head2, #nestman {
    text-align: center;
    color: #2c5530;
    margin: 0;
    line-height: 1.2;
}


/* Founder Section Text */
#head1, #head2, #nestman {
    text-align: center;
    color: #2c5530;
    
}

#head1 { font-size: 2.5rem; font-weight: 700;  }
#head2 { font-size: 2rem; font-weight: 600; margin-left: 50px; }
#nestman { font-size: 1.5rem;  }

#head2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}


.glow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  
.glow-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 204, 0.6) 0%,
    rgba(255, 255, 204, 0.2) 60%,
    transparent 100%
  );
    box-shadow: 
    0 0 12px 6px rgba(255, 255, 100, 0.8),  /* more intense outer glow */
    0 0 20px 10px rgba(255, 255, 150, 0.5);
  opacity: 0;
  animation: glowBlink 3s infinite ease-in-out,
             floatMove 6s infinite ease-in-out;
}

  .hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  header.unfolded .hero-content {
    opacity: 1;
    transform: translateY(0);
  }



/* ——— Reposition each particle to the periphery ——— */
.glow-particle:nth-child(1) { top: 55%;   left:  95%;  }
.glow-particle:nth-child(2) { top: 15%;  right: 90%; }
.glow-particle:nth-child(3) { bottom: 10%; left: 90%; }
.glow-particle:nth-child(4) { bottom:  5%; right:  95%; }
.glow-particle:nth-child(5) { top: 50%;  right:  90%; }

@keyframes glowBlink {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes floatMove {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -10px); /* Adjust for larger floating motion */
  }
  100% {
    transform: translate(0, 0);
  }
}

  
  @keyframes glowBlink {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.4); }
  }

.container1{
        background-color: #f2e3cb;
    border-radius: 50px;
}


.container1 .text1 p{
    font-size: 18px;
}

.container1 .responsive-img{
    max-height: 390px;
    height: 100%;
    width: 100%;
    max-width: 465px; /* or 800px, depending on layout */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.container2 .text2 p{
font-size: 20px;
}

/* Slotter Strip */

.stat {
    text-align: center;
    padding: 1rem;
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
}
.stat-icon {
    width: 60px;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
  }

/* Animation Keyframes */
@keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


.stats-bar {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding: 2px;
    display: grid;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    background-image: url('stats-barbg.jpeg');
    background-position: center;
    background-size: cover;
    margin: 3rem 0;
    color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
}
.stat h2 {
    font-size: 1.6rem;
   
}
.stat p {
    font-size:1rem;
}

/* Video Section */
.video-section {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 80px;
}

.video-container {
    position: relative;
    width: 60%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 40%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.team{
   text-align: center;
   align-items: center;
   align-self: center;
   justify-content: center;
}

.teamh{
 
    text-align: center;
    font-size: 2rem;
    color:
    #2c5530;
    background-color: #f2e3cb;
    border-radius: 30px;
}


.team h3{

    font-size: 25px;
    text-align: center;
    align-items: center;
    align-self: center;
    justify-content: center;}
 
 

.team .text {
    width: 260px;
    text-align: center;
    align-items: center;
    align-self: center;
    justify-content: center;}
    
    .text p{
        font-family: serif;
    }
 



.team h5{
    font-style: italic;
    font-size:18px;
    text-align: center;
    align-items: center;
    align-self: center;
    justify-content: center;
}


.testimonialtext {
    margin: 3rem 0;
    align-self: center;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 0;
}

.testimonialtext h2 {
    font-size: 3rem;
    color: #2c5530;
    font-weight: 700;
    background-color: #f2e3cb;
    border-radius: 40px;
    align-self: center;
    justify-content: center;
    text-align: center;
    align-items: center;
    
}

.carousel {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.testimonial-wrapper {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 3rem;
    text-align: center;
     background: linear-gradient(to bottom right, #f5e8d2, #e6d3b3);  /* 🌿 gradient added */
    box-sizing: border-box;
    
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #2c5530;
}

.testimonial h3 {
    color: #2c5530;
    font-size: 1.3rem;
}

.testimonial p {
    line-height: 1.2;
    color: #555;
    margin-top: 20px;
}

.arrowleft,
.arrowright {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2c5530;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.3s ease;
}

.arrowleft {
    left:-50px;
}

.arrowright {
    right:-50px;
}

.arrowleft:hover,
.arrowright:hover {
    background: #4a7c59;
}




.middle h4 {
    font-size: 1.5rem;
align-self: center;
    color: white;
}

.middle p{
    font-size: 1rem;
}



/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0.8rem 1rem;
        position: fixed;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(44, 85, 48, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.4s ease;
        z-index: 999;
        padding: 2rem;
    }

    .navbar.active {
        left: 0;
    }

    .navbar li {
        width: 100%;
        text-align: center;
    }

    .navbar a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.1);
        margin: 0.5rem 0;
    }

    .navbar a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-content {
        padding-top: 100px;
    }



    .container1, .container2 {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
        display: flex;
    }

  .container1 {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem;
    height: auto;
}

.container1 img.responsive-img {
    flex: 1;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image stretches properly */
    border-radius: 10px; /* Optional */
}


    .container2 .image {
        order: -1;
    }

  @media (max-width: 768px) {
  .container1 {
    flex-direction: column;
  }

  .container1 img.responsive-img,  .container1 .text1 {
    width: 100%;
  }
}

}
   
    


@media (max-width: 480px) {
    .navbar-container {
        padding: 0.6rem 1rem;
    }

    .navbar-brand .logo {
        height: 35px;
    }

    .hero-content {
        padding-top: 80px;
    }

   

    .hero-subtitle {
        font-size: 0.9rem;
    }


   

    .latestimg {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }



    .navbar {
        padding: 1rem;
    }

    .navbar a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .navbar {
        gap: 1.2rem;
    }
    
    .navbar a {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
}

















/*FOOTER CSS*/


footer {
    position: relative;
    bottom: 0px;
    background-size: cover;
    background-position: center;
    height: 200px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 1.2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    line-height: 0.5;
  }
  
  .footer-left img {
    height: 70px;
    margin-top: 90px;
  }
  
  .footer-center {
    text-align: center;
  }
  
  .footer-center h3 {
    font-size: 1.5rem;
    margin-bottom: 100px;
    letter-spacing: 4px;
  }
  
  .footer-icons {
    display: flex;
    flex-direction: row;
    gap: 150px;
    justify-content: center;
  }
  
  .footer-right {
    width: 70px; /* placeholder for spacing */
    margin-top: 120px;
  }

footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('footertry.jpeg') center/contain no-repeat fixed ;
    background-position: bottom;
    z-index: -2;
}

.flip-card {
    display: flex;
    background-color: transparent;
    width: 60px;
    max-width: 320px;
    height: 50px;
    perspective: 1000px;
}

.flip-card-front img {
    height: 5px; /* icon smaller */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flip-card-front {
    background: transparent;
}
.flip-card-front img {
    height: 40px;
}
.flip-card-back {
     background: rgba(255, 255, 255, 0.8); /* more visible */
    color: rgb(50, 20, 8);
    transform: rotateY(180deg);
    font-size: 0.75rem;
    border-radius: 8px;
    width: 200px;
     line-height: 1.4;
     position: absolute;
     padding: 0.4rem;
     box-sizing: border-box;
     text-align: center;
}



.flip-card-back a{
    color: rgb(50, 20, 8);
}

.flip-card .flip-card-inner .flip-card-back p {

        color: rgb(50, 20, 8);
}


.footdetails{
display: flex;
    align-items: center;
    justify-content: center;
}
.address{
    display: flex;
    align-items: center;
}

.address p{
    text-align: center;
}
.location {
    display: flex;
    align-items: center;
}

.footer-center h4{

color: #3f1a0e;
text-shadow: #2c5530;

}


.location p{
text-align: center;

}
.phone{
    display: flex;
    align-items: center;
}
.phone img{
    height: 27px;
}
.phone p{
text-align: center;
}
.mail{
display: flex;
align-items: center;
}
.mail img{
    height: 25px;
}
.mail p{
text-align: center;
}


.socials{
    position: relative;
    top: 0px;
    right: 50px;
    display: flex;
   justify-self: end;
    
   
}

.caption, .middle0 {
    text-align: center;
}

/* ===== Header Styles ===== */



/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
}





/* ===== Section Layout ===== */
.container1, .container2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    align-items: center;
}

.container2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* key for equal height */
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f2e3cb;
    border-radius: 50px;
    margin-top: 20px;
}

/* Force both columns to fill height */
.text2, .image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

/* Text styling */
.text2 {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    padding: 1rem;
}

/* Make image max height fit container */
.image img {
    width: 100%;
    max-width: 600px;
    height: 100%;
    object-fit: contain; /* ensures it doesn't overflow */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Caption stays below image */
.caption {
    margin-top: 1rem;
}

.caption h3 {
    font-size: 1.4rem;
    color: #2c5530;
    margin-bottom: 0.3rem;
}

.caption h2 {
    font-size: 1.1rem;
    color: #4a7c59;
}



.image img, .container2 img {
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.text1 p{

    font-size: 1.1rem;
    line-height: 1.3;
    color: #555;
    text-align: justify;
    margin-right: 30px;
}

.text2 p {
    font-size: 1.3rem;
    line-height: 1.3;
    color: #555;
    text-align: justify;
}





/* Flying Bird Animation (Vertical) */
.flying-bird-container {
    position: absolute;
    top: -100px; /* Start above the screen */
    left: 37.5vw;  /* 3/4th from the left */
    z-index: 0;
    pointer-events: none;
}

.flying-bird {
    width:200px;
    animation: flyUp 15s linear infinite;
}

/* Keyframes for vertical flying */
@keyframes flyUp{ 
    0% {
        transform: translateY(100vh)scaleY(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
      }
      90% {
        opacity: 1;
      }
      100% {
        transform: translateY(-150px) scaleY(1);
        opacity: 0;
      }
    }

/* AWARDS CSS */

.left {
    flex: 1;
  }
  .left img {
    width: 100%;
    height: 73%;
    object-fit: cover;
    border-radius:0px;
    margin-left: 10px;
  }
  .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .top {
    display: flex;
    gap: 5px;
    height: 50%;
  }
  .top img {
    width: 50%;
    object-fit: cover;
    height: 100%;
    border-radius:0px;
    margin-right: 10px;
  }
  .bottom img {
    width: 100%;
    object-fit: cover;
    height: 70%;
    border-radius: 0px;
    margin-top: -25px;
    margin-right: 5px;
  }
.container5 img{
    height: 400px;
    width: 100%;
    opacity: 80%;
}
.centered {
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 30%;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  }
  .centered h2{
    font-size: 60px;
    color: beige;
    font-weight: bold;
    margin-left: -100px;
    margin-top: 1300px
  }
  .centered p{
    font-size:20px ;
    font-weight: normal;
    color: beige;
    margin-top: -25px;
    margin-left: -100px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.awards-layout {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  flex-wrap: wrap;
}

.awards-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  align-items: center;
}

.awards-images img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.award-text {
  flex: 2;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  text-align: center;
  padding: 1rem;
   background: linear-gradient(to bottom right, #f5e8d2, #e6d3b3);  /* 🌿 gradient added */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 650px;
  overflow-y: auto;
}

.awardsheading{
text-align: center;
font-size: 2.2rem;
font-weight: 500;
color:
#2c5530;
margin-top: 100px;
background-color: #f2e3cb;
border-radius: 30px;
}



 

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  padding: 2rem;
  justify-items: center;
  align-items: center;
  row-gap: 40px;
}



.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
 background: linear-gradient(to bottom right, #f5e8d2, #e6d3b3);  /* 🌿 gradient added */
  border-radius: 15px;
  padding: 1rem;
  max-width: 300px;
  height: 100%; /* ensures consistency */
  height: 650px;
  
}

.person img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.person h3 {
  font-size: 22px;
  margin-top: 1rem;
}

.person h5 {
  font-style: italic;
  font-size: 16px;
  margin: 0.5rem 0;
  margin-bottom: 20px;
}

.person p {
  font-family: serif;
  font-size: 14px;
}