/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Bar */
.navbar {
    background: rgba(0, 47, 108, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #FFA500;
}
.anton-regular {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 400 to 900

.playfair-display-uniquifier {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.nav-link {
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFA500;
}


/* Enquire Now Button Styling */
.btn-enquire-now {
    background-color: #28a745; /* Green background */
    color: #ffffff; /* White text */
    border: none; /* Remove border */
    border-radius: 0.25rem; /* Slightly rounded corners */
    padding: 0.75rem 1.25rem; /* Padding */
    font-size: 1rem; /* Font size */
    font-weight: bold; /* Bold text */
    text-align: center; /* Center text */
    display: inline-block; /* Inline block for alignment */
    transition: background-color 0.3s ease; /* Smooth background color transition */
    text-decoration: none; /* Remove underline */
}

.btn-enquire-now:hover {
    background-color: #218838; /* Darker green on hover */
    text-decoration: none; /* Ensure no underline on hover */
}

.btn-enquire-now:focus, .btn-enquire-now:active {
    outline: none; /* Remove default focus outline */
    box-shadow: none; /* Remove box-shadow on focus and active states */
}



.navbar-brand .logo {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333;
    padding: 10px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0056b3;
    background-color: #f1f1f1;
}

/* Hero Section Styles */
.hero-product {
    background: url('green-tea-bud-leaves-green-tea-plantations-morning.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-product h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.hero-product p {
    font-size: 1.25rem;
    font-weight: 400;
    z-index: 2;
    position: relative;
}

.hero-product .btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-product .btn-primary:hover {
    background-color: #003d7a;
    border-color: #003d7a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Product Section Styles */
.products {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.products .card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.products .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.products .card:hover::after {
    opacity: 1;
}

.products .card-img-top {
    height: 200px;
    object-fit: cover;
}

.products .card-body {
    padding: 20px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.products .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.products .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.products .btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.products .btn-primary:hover {
    background-color: #003d7a;
    border-color: #003d7a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.products .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    .hero-product h1 {
        font-size: 2rem;
    }

    .hero-product p {
        font-size: 1rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #000000;
    color: #fff;
    justify-items: center;
    padding: 40px 0;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    justify-items: center;
}

.footer p {
    margin-bottom: 10px;
    justify-items: center;
}

.footer .social-icons {
    display: flex;
    justify-items: center;
    gap: 15px;
}

.footer .social-icons a {
    font-size: 1.5rem;
    justify-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-icons a:hover {
    color: #0056b3;
    transform: scale(1.1);
}

.footer hr {
    border: 0;
    justify-items: center;
    border-top: 1px solid #fff;
    margin: 20px 0;
}

.footer .text-center p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .navbar-nav .nav-link {
        padding: 8px 10px;
    }

    .hero-product h1 {
        font-size: 2rem;
    }

    .hero-product p {
        font-size: 1rem;
    }
    
    .products .card-img-top {
        height: 180px;
    }
}


/* Popup Form Styling */
.popup-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow-y: auto; /* Enable vertical scrolling */
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    margin: 20px auto;
    position: relative;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff6600;
}

.popup-logo img {
    max-width: 120px;
    display: block;
    margin: 0 auto 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 16px;
}

.btn-submit {
    background-color: #ff6600;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e65c00;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .popup-content {
        padding: 18px;
        max-width: 400px;
    }

    .close-btn {
        font-size: 24px;
    }

    .popup-logo img {
        max-width: 100px;
    }

    .btn-submit {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 15px;
        max-width: 320px;
    }

    .popup-logo img {
        max-width: 80px;
    }

    .btn-submit {
        font-size: 14px;
        padding: 10px;
    }
}

/* Scrolling Effect for Overflow */
.popup-form .popup-content {
    max-height: 85vh;
    overflow-y: auto;
}


/* Modal Header */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.close {
    font-size: 1.5rem;
    color: #343a40;
}

/* Modal Body */
.modal-body {
    padding: 20px;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover; /* Ensures the image covers the container while maintaining aspect ratio */
    display: block; /* Removes any space below the image */
}


/* Modal Footer */
.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Button Styling */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.btn-success {
    background-color: #e65c00;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #e65c00;
    border-color: #1e7e34;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .modal-dialog {
        max-width: 90%;
    }
}

/* Responsive Adjustments for Image */
@media (max-width: 576px) {
    .modal-body img {
        max-height: 200px; /* Adjust max-height for smaller screens if needed */
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .modal-body img {
        max-height: 300px; /* Adjust max-height for tablets and small desktops if needed */
    }
}

@media (min-width: 769px) {
    .modal-body img {
        max-height: 400px; /* Adjust max-height for larger screens if needed */
    }
}


/* Responsive Adjustments */

/* Mobile Devices */
@media (max-width: 576px) {
    .modal-dialog {
        max-width: 90%;
        margin: 1.75rem auto;
    }

    .modal-header, .modal-body, .modal-footer {
        padding: 15px;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .close {
        font-size: 1.25rem;
    }

    .btn-primary, .btn-success {
        width: 100%;
        font-size: 0.875rem;
        padding: 10px;
    }
}

/* Tablets and Small Desktops */
@media (min-width: 577px) and (max-width: 768px) {
    .modal-dialog {
        max-width: 80%;
    }

    .modal-header, .modal-body, .modal-footer {
        padding: 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .close {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-success {
        width: 100%;
        font-size: 1rem;
        padding: 12px;
    }
}

.oswald-uniquifier {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
  }
  

  .anton-regular {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  

  /* Modal Header Logo */
.modal-header .logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

/* Modal Title */
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

/* Close Button in Modal */
.modal-header .close {
    font-size: 1.25rem;
    color: #333;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

.modal-header .close:hover,
.modal-header .close:focus {
    opacity: 1;
}

/* Modal Body */
.modal-body {
    padding: 20px;
    font-family: 'Arial', sans-serif;
    color: #555;
}

.modal-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #28a745;
}

.modal-body p {
    font-size: 1rem;
    color: #666;
}

/* Email Link */
.modal-body a {
    color: #007bff;
    text-decoration: underline;
}

.modal-body a:hover {
    text-decoration: none;
}

/* Thank You Image */
.modal-body img.img-fluid {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modal Footer */
.modal-footer {
    padding: 15px;
    text-align: center;
}

.modal-footer .btn {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

.modal-footer .btn-primary {
    background-color: #007bff;
    border: none;
}

.modal-footer .btn-primary:hover,
.modal-footer .btn-primary:focus {
    background-color: #0056b3;
    color: #fff;
}




/* Style for the Enquire Now button */
.modal-body .btn-enquire {
    background-color: #28a745; /* Green background */
    color: #fff; /* White text */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Bold text */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    padding: 12px; /* Padding inside button */
    text-transform: uppercase; /* Uppercase text */
    display: block; /* Full width */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

.modal-body .btn-enquire:hover {
    background-color: #218838; /* Darker green on hover */
}




/* Sticky Navbar */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Navbar-toggler custom */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    color: #000;
}




.image-container {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem; /* Matches Bootstrap card border-radius */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    object-position: center; /* Centers the image within the container */
}
