/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    box-sizing: border-box;
}
/* Reset and Base Styles */
html {
    scroll-behavior: smooth;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-arrow {
    position: absolute;
    top:47.5%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    line-height: 40px;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    z-index: 1000;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.slide img {
    width: 100%;
    height: 100vh;
    display: block;
}

/* General Styling for the Slide */
.slide {
    position: relative;
    text-align: center;
    width: 100%;
}

img {
    width: 100%;
    height: auto;
}

/* Centering the Heading */
.heading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}

h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: "Raleway", sans-serif;

    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    margin: 0;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Responsive Styling */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }
}


/* Other styles... */

/* Carousel Text Centering */
.carousel-text {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    /* Adjustments for responsiveness */
    max-width: 90%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .carousel-text {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* Fixed Navbar Styles */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5% 0%; /* Reduced padding */
    z-index: 1000;
}

/* Logo */
.navbar div img {
    width: 80px; /* Increased logo size */
    height: 60px; /* Increased logo height */
    margin-left: 10px; /* Optional: Added slight spacing on the left */
}

/* Navbar Menu */
.navbar nav {
    margin-right: 3%; /* Reduced margin */
}
.navbar nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.navbar nav ul li {
    font-size: 15px;
    font-weight: 600;
    margin-left: 8%; /* Reduced spacing between items */
    white-space: nowrap;
}

.navbar nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: red;
}

/* Hamburger Menu Toggle */
.navbar .menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Product Section */
.product {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    /* margin-top: 4%; */
    color: #444;
    padding-top: 60px; /* To prevent content from hiding behind the fixed navbar */
}

.product h2::after {
    content: "";
    width: 135px;
    height: 3px;
    background: green;
    display: block;
    margin: 0 auto;
    margin-top: 1.5%;
}

/* Filter Buttons */
.filter-buttons {
    margin: 20px 0;
}

button {
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 20px;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

button.active {
    background-color: #3fdf3c;
    color: #fff;
    border-color: green;
}

/* Image Gallery */
.images {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 3.6%;
}

.images .image {
    width: 100%;
    max-width: 426px;
    height: auto;
    display: none; /* Hide images by default */
}

@keyframes fadeIn {
    from {
        opacity: 1;
        transform: scale(0.8);
    }
    to {
        opacity: 2;
        transform: scale(1);
    }
}

.images .image.show {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}


/* why us */
.whyus {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin: 4%;
    color: #444;
}

.whyus h2::after {
    content: "";
    width: 70px;
    height: 3px;
    align-items: center;
    background: green;
    display: block;
    margin: 0 auto;
    margin-top: 1.5%;
}

.whyusdetails {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Wrap content for better responsiveness */
    gap: 20px; /* Space between columns */
    margin-top: 5%;
}

.whyusdetails > div {
    flex: 1 1 calc(33.333% - 20px); /* 3 columns with space between them */
    text-align: center;
    max-width: calc(33.333% - 20px); /* Ensures 3 columns even on wider screens */
    margin-bottom: 5%;
}

.whyusdetails img {
    max-width: 100px; /* Reduce the size of the icons */
    height: auto;
    margin-bottom: 10px; /* Space between icon and title */
}
.whyusdetails a{
    text-decoration: none;
    cursor: pointer;
    color: #444;
}
.whyusdetails h4 {
    font-size: 24px; /* Adjust title size */
    margin: 10px 0;
    transition: background-color 0.3s, color 0.3s;
}
.whyusdetails h4:hover {
    background: linear-gradient(90deg, #00c853, #76ff03); /* Bright green to lime green gradient */
    -webkit-background-clip: text; /* Clips the gradient to the text */
    -webkit-text-fill-color: transparent; /* Makes the text color transparent so the gradient shows */
    cursor: default; 
}

.whyusdetails p {
    font-size:medium; /* Adjust paragraph size */
    color: #666; /* Softer color for text */
    font-weight: 500;
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .whyusdetails > div {
        flex: 1 1 calc(50% - 20px); /* 2 columns on tablet-sized screens */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .filter-buttons{
        margin-top: 10%;
    }
    .whyusdetails{
        margin-top: 10%;
    }
    .whyus{
        margin-top: 15%;
    }
    .whyusdetails > div {
        flex: 1 1 100%; /* 1 column on mobile-sized screens */
        max-width: 100%;
    }

    .whyusdetails img {
        max-width: 80px; /* Further reduce icon size for smaller screens */
    }

    .whyusdetails h4 {
        font-size: 22px; /* Adjust title size for mobile */
    }

    .whyusdetails p {
        font-size: 16px; /* Adjust paragraph size for mobile */
    }

}


.contactus {
    text-align: center;
    font-size: 26px;
    background-color: #f9f5f5 ;
    font-weight: 600;
    /* margin: 4%; */
    color: #444;
    /* margin-top: 2%; */
}
.contactus h2{
    padding-top: 2%;
}
.contactus h2::after {
    content: "";
    width: 70px;
    height: 3px;
    align-items: center;
    background: green;
    display: block;
    margin: 0 auto;
    margin-top: 1.5%;
}


.getquotedetails {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    /* margin: 4%; */
    color: #444;
    margin-top: 2%;
}

.getquotedetails h2::after {
    content: "";
    width: 70px;
    height: 3px;
    align-items: center;
    background: green;
    display: block;
    margin: 0 auto;
    margin-top: 1.5%;
}
@media (max-width: 480px) {
    .getquotedetails h2{
        margin-top: 10%;
    }
}
.schedule {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    /* margin: 4%; */
    color: #444;
    margin-top: 2%;
}

.schedule h2::after {
    content: "";
    width: 70px;
    height: 3px;
    align-items: center;
    background: green;
    display: block;
    margin: 0 auto;
    margin-top: 1.5%;
}




.contactusDetails {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Wrap content for better responsiveness */
    gap: 20px; /* Space between columns */
    margin-top: 4%;
}

.contactusDetails > div {
    flex: 1 1 calc(33.333% - 20px); /* 3 columns with space between them */
    text-align: center;
    max-width: calc(33.333% - 20px); /* Ensures 3 columns even on wider screens */
    margin-bottom: 5%;
}

.contactusDetails img {
    max-width: 60px; /* Reduce the size of the icons */
    height: auto;
    margin-bottom: 10px; /* Space between icon and title */
}
.contactusDetails a{
    font-size: large;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    color: blue;
    font-weight: 500;
}
.contactusDetails h4{
    font-size:18px; /* Adjust paragraph size */
    text-align: center;
    color: black;
    /* font-weight: 500; */
}


@media (max-width: 768px) {

    .contactusDetails > div {
        flex: 1 1 calc(50% - 20px); /* 2 columns on tablet-sized screens */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .contactusDetails{
        margin-top: 10%;
    }
    .contactus{
        margin-top: 15%;
    }
    .contactusDetails > div {
        flex: 1 1 100%; /* 1 column on mobile-sized screens */
        max-width: 100%;
    }

    .contactusDetails img {
        max-width: 50px; /* Further reduce icon size for smaller screens */
    }

    .contactusDetails a {
        font-size: 16px; /* Adjust title size for mobile */
    }

    .contactusDetails h4 {
        font-size: 20px; /* Adjust paragraph size for mobile */
    }
}

.certifiedus {
    margin-top: -20px;
    background-color: #f9f5f5 ;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    /* margin-top: -20px; */
    /* margin: 4%; */
    color: #444;
}
.certifiedus h2{
    padding-top: 2%;
}
.certifiedus h2::after {
    content: "";
    width: 70px;
    height: 3px;
    align-items: center;
    background: red;
    display: block;
    margin: 0 auto;
    margin-top: 1.5%;
}

.certified {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Wrap content for better responsiveness */
    gap: 20px; /* Space between columns */
    margin-top: 4%;
}

.certified > div {
    flex: 1 1 calc(33.333% - 20px); /* 3 columns with space between them */
    text-align: center;
    max-width: calc(33.333% - 20px); /* Ensures 3 columns even on wider screens */
    margin-bottom: 2.5%;
}

.certified img {
    max-width: 220px; /* Reduce the size of the icons */
    height: auto;
    margin-bottom: 10px; /* Space between icon and title */
}
.certified a{
    font-size: large;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    color: blue;
    font-weight: 500;
}
.certified p{
    margin-top: 2%;
    font-size:large; /* Adjust paragraph size */
    text-align: center;
    color: black;
    font-weight: 500;
}


@media (max-width: 768px) {
    .certified > div {
        flex: 1 1 calc(50% - 20px); /* 2 columns on tablet-sized screens */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .certified > div {
        flex: 1 1 100%; /* 1 column on mobile-sized screens */
        max-width: 100%;
    }
    .certified{
        margin-top: 10%;
    }

    .certified img {
        max-width: 100px; /* Further reduce icon size for smaller screens */
    }
    .certified .cdb {
        max-width: 50px; /* Further reduce icon size for smaller screens */
    }
    .certified h4{
        font-size: 22px; /* Adjust title size for mobile */
    }
    .certifiedus{
        margin-top: 10%;
    }
    .certified a {
        font-size: 15px; /* Adjust title size for mobile */
    }

    .certified p {
        font-size: 16px; /* Adjust paragraph size for mobile */
    }

}




/* Scroll to Top Button */
/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: green;
    color: white;
    font-size: 28px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
}

.scroll-top.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.form-container {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.form-row input {
    width: 48%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.phone-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}



.form-container textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

.form-container button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Footer Styles */
footer {
    background-image: linear-gradient(to bottom right,  rgb(5, 1, 62), rgba(53, 103, 51, 0.8));
    color: #ffffff; /* White text */
    margin-top: 5%;
    padding: 20px 10px;
    font-family: 'Raleway', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    padding-bottom: 0px;
    gap: 20px;
}

.footer-section {
    flex: 1 1 100px;
    min-width: 150px;
    /* border: 2px solid red; */
}

.footer-logo {
    max-width: 170px;
    margin-bottom: 10px;
}

.footer-description {
    margin-left: 2%;
    color: wheat;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: wheat;
    padding-bottom: 2%;
    text-transform: uppercase;
    border-bottom: 2px solid green;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: red;
}

.footer-bottom {
   
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #7f8c8d;
    padding: 10px 0;
    margin-top: 10px;
    font-size: 15px;
}

.footer-bottom p {
    margin: 0;
    margin-top: 18px;
    text-align: center;
    font-weight: 800;
}


/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }


    .footer-section {
        margin-bottom: 0px;
    }
    .footer-description{
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* Responsive Styling */
.form-container {
    margin: 3% auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 10px; /* Ensure consistent spacing between inputs */
}

.form-row input,
.form-row select,
.form-container textarea {
    width: 48%; /* Default width for inputs and selects */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Prevent padding from breaking layout */
}

.form-container textarea {
    width: 100%; /* Full width for textareas */
}

.phone-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%; /* Full width for nested container */
    align-items: center;
}

.phone-container select {
    flex: 0 1 20%; /* Fixed width for select dropdown */
    min-width: 70px;
}


.phone-container input {
    flex: 1; /* Flexible width for input */
    min-width: 150px;
}

.phone-container input#tons {
    flex: 1; /* Adjust width to share space equally */
    min-width: 150px; /* Prevent it from becoming too small */
}

.phone-container .coconutype {
    flex: 1; /* Same width as the input field */
    min-width: 150px; /* Ensure uniformity */
}
.form-container button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column; /* Stack elements vertically */
    }
    .form-container{
        margin-top: 10%;
    }

    .form-row input,
    .form-row select {
        width: 100%; /* Full width for small screens */
    }

    .phone-container {
        flex-direction: column; /* Stack nested container items vertically */
    }

    .phone-container select {
        width: 100%; /* Full width for select dropdown */
    }
}

/* WhatsApp Button */
.whatsapp {
    position: fixed;
    bottom: 15px;
    left: 15px;
    background: #25D366; /* WhatsApp green */
    color: white;
    padding: 13px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
}

.whatsapp a {
    color: white;
}

.whatsapp.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .whatsapp {
        font-size: 24px;  /* Slightly smaller on tablet-sized screens */
        padding: 10px;
        bottom: 20px;  /* Adjust position */
        left: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp {
        font-size: 20px;  /* Even smaller on mobile-sized screens */
        padding: 8px;
        bottom: 25px;  /* Adjust position */
        left: 25px;
    }
}


/* Responsive Styles */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 1% 5%; /* Adjust padding for a balanced layout on smaller screens */
    }

    .navbar .menu-toggle {
        display: block;
        font-size: 30px;
        color: white;
        cursor: pointer;
        margin-left: auto; /* Push the menu-toggle to the right */
    }

    .navbar nav ul {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        text-align: center;
    }

    .navbar nav ul.active {
        display: flex;
    }

    .navbar nav ul li {
        margin: 15px 0;
    }

    /* Images */
    .images .image {
        max-width: 200px;
    }
}


@media (max-width: 480px) {
    .images {
        flex-direction: column;
    }

    .images .image {
        max-width: 100%;
    }

}


/* Fullscreen overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(175, 218, 223, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out; /* Smooth appearance/disappearance */
}

/* Spinner */
.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007BFF; /* Customize spinner color */
    border-radius: 50%;
    width: 10%; /* Spinner size as a percentage of container width */
    max-width: 50px; /* Maximum size for larger screens */
    min-width: 30px; /* Minimum size for smaller screens */
    aspect-ratio: 1; /* Keeps the spinner perfectly circular */
    animation: spin 1s linear infinite;
}

/* Animation for spinner rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Ensure form-container positioning */
.form-container {
    position: relative; /* Positioning needed for the overlay to work properly */
}

/* Mobile-friendly adjustments for spinner */
@media (max-width: 600px) {
    .spinner {
        max-width: 40px;
    }
}


/* Spinner overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Spinner animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Notification styling */
.notification {
    position: fixed;
    top: 9.5%; /* Centered at the top */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    max-width: 90%; /* Ensure it fits smaller screens */
    padding: 15px 20px;
    background-color: #007BFF; /* Blue background for success */
    color: white;
    font-size: 15px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Success notification */
.notification.success {
    background-color: #28a745; /* Green for success */
}

/* Error notification */
.notification.error {
    background-color: #dc3545; /* Red for error */
}

/* Show the notification */
.notification.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .notification {
        font-size: 12px; /* Slightly smaller text for small screens */
        padding: 10px 15px;
    }

    .spinner {
        width: 40px; /* Smaller spinner for small screens */
        height: 40px;
        border-width: 4px;
    }
}
