/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 80px;
}

/* Center Container for Nav Items */
.navbar nav {
    display: flex;
    justify-content: center; /* Center the nav items */
    flex: 1; /* Makes the nav section grow and center items */
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
}

.brand-name {
    margin-left: 15px; /* Space between logo and brand name */
    font-size: 24px;
    font-weight: bold;
    color: #259645; /* Black color for brand name */
    opacity: 0; /* Start hidden */
    animation: slideIn 0.5s forwards; /* Animation added */
}

/* Keyframes for the slide-in effect */
@keyframes slideIn {
    0% {
        transform: translateX(-20px); /* Start slightly to the left */
        opacity: 0; /* Fully transparent */
    }
    100% {
        transform: translateX(0); /* End in original position */
        opacity: 1; /* Fully visible */
    }
}

/* Nav Items */
.nav-items {
    display: flex;
    list-style: none;
    justify-content: center;
    flex: 1;
}

.nav-items li {
    margin: 0 10px; /* Reduced spacing between nav items */
    position: relative;
}

.nav-link {
    padding: 20px 25px;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: #1aa260;
    transform: translateY(-3px);
}

/* Underline Animation on Hover */
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #1aa260;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Dropdown Menu Styling */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    top: 100%;
    left: 0;
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    z-index: 999;
    animation: fadeIn 0.4s ease forwards;
}

.dropdown-content li {
    padding: 0;
    overflow: hidden;
}

/* Modern Text-Like Styling for Products */
.dropdown-content li a {
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 14px 20px;
    color: #000;
    font-weight: 400;
    text-transform: none;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.5s ease;
    border-bottom: none;
    text-decoration: none;
}

.dropdown-content li a:hover {
    color: #1aa260;
}

.dropdown-content li a:hover .product-symbol,
.dropdown-content li a:hover .product-name {
    color: #1aa260;
    transform: translateX(10px);
    transition: transform 0.5s ease, color 0.3s ease;
}

/* Symbol Styling */
.product-symbol {
    margin-right: 10px;
    font-size: 18px;
    color: #000000;
    transition: transform 0.5s ease, color 0.3s ease;
}

.product-name {
    display: inline-block;
    position: relative;
    font-weight: 400;
    color: #000000;
    transition: transform 0.5s ease, color 0.3s ease;
}

/* Dropdown Visibility on Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-items {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #ffffff;
        width: 100%;
        flex-direction: column;
        text-align: right;
    }

    .nav-items li {
        padding: 10px 0;
    }

    .nav-items li a {
        padding-right: 30px;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .burger.active + .nav-items {
        display: flex;
    }
}

/* Dropdown Hover Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Services Section Styles */
.services-section {
    width: 100%;
    background-image: url('main.jpg'); /* Use your background image */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 450px; /* Increased vertical length */
    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 150, 69, 0.7); /* Green shade overlay */
    z-index: 1;
}

.services-box h1 {
    font-size: 5em;
    margin: 0;
    position: relative;
    z-index: 2;
    animation: slideInFromLeft 1s ease-out;
}

/* Info Text Section Styles */
.info-text-section {
    text-align: center;
    margin: 70px 0; /* Adjusted margin to add space */
}

.info-line {
    font-family: 'Courier New', monospace; /* Monospace font */
    font-size: 2.5em;
    color: #259645; /* Green text */
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 1s forwards; /* Fade in animation */
}

#line1 {
    animation-delay: 0.5s; /* Delay for the first line */
}

#line2 {
    animation-delay: 1.0s; /* Delay for the second line */
}

/* Combined Text and Image Section Styles */
.text-image-section {
    display: flex;
    width: 90%;
    height: 96vh;
    margin: 60px auto;
    background-color: #259645; /* Green background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out;
    animation: slideInFromLeft 6s ease; /* Left to right animation */
}

.text-section {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white; /* White info box */
    color: #259645; /* Green text in info box */
    border-radius: 8px 0 0 8px; /* Rounded corners */
    position: relative;
    overflow: hidden;
}

.text-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
    position: relative;
    z-index: 2;
}

.text-section p {
    
    font-size: 1.5em;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.text-section ul {
    font-family: monospace;
    list-style-type: none;
    padding-left: 0;
    position: relative;
    z-index: 2;
}

.text-section ul li {
    margin: 10px 0;
    font-size: 1.5em;
}

.cta-button {
    
    padding: 12px 25px;
    background-color: #259645;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background-color: #1e7b3d;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; /* White background for image section */
    overflow: hidden;
    position: relative;
    /* Vertical divider */
}

.image-section img {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease-in-out, rotate 0.3s ease-in-out;
    animation: zoomIn 1.5s ease;
}



/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}


/* Main Styling for the Heading */
.review-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #00C6FF, #0072ff);
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    margin: 50px 0 20px;
  }

  /* Fancy Borders Around the Text */
  .review-heading::before, .review-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00C6FF, #0072ff);
  }

  .review-heading::before {
    left: -100px;
  }

  .review-heading::after {
    right: -100px;
  }

  /* Animated Underline */
  .underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #FF512F, #DD2476);
    margin: 20px auto 0;
    border-radius: 10px;
    animation: underline-grow 2s ease-in-out infinite alternate;
  }

  /* Underline Grow Animation */
  @keyframes underline-grow {
    0% { width: 100px; }
    100% { width: 150px; }
  }


  
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    margin: 0px;
}
.container{
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
.container .main{
    height: 90vh;
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.container .main .g{
    height: 55vh;
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #62b83a ;
    padding: 20px;
    gap: 5px;
    border-radius: 20px;
    border: 2px solid #259645 ;
    box-shadow: 0px 0px 5px 5px #259645;
}
#g1{
    animation-name: move1;
    animation-duration: 30s;
    animation-timing-function: ease-in-out;
    position: relative;
}
@keyframes move1 {
    0%{background-color: #62b83a; right: 0px;}
    50%{background-color: #62b83a; right:80px;}
    100%{background-color: #62b83a; right: 0px;}
}
#g2{
    animation-name: move2;
    animation-duration: 30s;
    animation-timing-function: ease-in-out;
    position: relative;
}
@keyframes move2 {
    0%{background-color: #62b83a; bottom: 0px;}
    50%{background-color: #62b83a; bottom:120px;}
    100%{background-color: #62b83a; bottom: 0px;}
}
#g3{
    animation-name: move3;
    animation-duration: 30s;
    animation-timing-function: ease-in-out;
    position: relative;
}
@keyframes move3 {
    0%{background-color: #62b83a; top: 0px;}
    50%{background-color: #62b83a; top:120px;}
    100%{background-color: #62b83a; top: 0px;}
}
#g4{
    animation-name: move4;
    animation-duration: 30s;
    animation-timing-function: ease-in-out;
    position: relative;
}
@keyframes move4 {
    0%{background-color: #62b83a; left: 0px;}
    50%{background-color: #62b83a; left:80px;}
    100%{background-color: #62b83a; left: 0px;}
}
.container .main .g .image{
    height: 14vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container .main .g .image img{
    height: 120px;
    width: 100px;
    border-radius: 50%;
    border: 1px solid blue;
}
.container .main .g .name{
    padding-top: 10px;
    font-size: 18px;
}
.container .main .g .post{
    font-size: 15px;
}
.container .main .g .desc{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    padding-bottom: 20px;
    border-top: 1px solid blue;
    border-bottom: 1px solid blue;
}
.container .main .g .links{
    height: 5vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.container .main .g .links a{
    color: #000;
    font-size: 24px;
}
@media screen and (max-width:1024px) {
    .container{
        height: 280vh;
    }
    .container .main{
        height: 250vh;
        flex-direction: column;
    }
    #g1, #g2, #g3, #g4{
        animation: none;
        height: 100%;
        width: 100%;
        position: none;
    }
    .credit{
        height: 3vh;
    }
}
.credit a {
    text-decoration: none;
    color: #121212;
    font-weight: 800;
}
  
.credit {
    height: 3vh;
    color: #121212;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
    color:#000;
    font-size:20px;
}     














footer {
    background-color:black;
    color: #f2f2f2;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}

.footer-logo {
    width: 90px;
    height: 90px; /* Ensure it's a square */
    border-radius: 50%; /* Makes the image a perfect circle */
    margin-bottom: 10px;
}


.footer-left h2 {
    font-size: 24px;
    margin-top: 10px;
    color: #259645;
}

.footer-middle {
    display: flex;
    gap: 20px;
}

.social-icon {
    font-size: 24px;
    color: #f2f2f2;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #259645; /* Light Blue color on hover */
}

.footer-right {
    text-align: left;
}

.footer-right h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f2f2f2;
}

.footer-right p {
    margin: 5px 0;
    color: #ddd;
    font-size: 16px;
}

footer p {
    margin-top: 20px;
    color: #bbb;
    font-size: 14px;
}