@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body, html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url("../Images/spices-3.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: -1;
    min-height: 100vh;
}


#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white; /* Or any background color you prefer */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Ensure it’s above all other content */
}

#loading-screen img {
    width: 300px; /* Adjust size as needed */
    height: auto;
}


/* Main content styling */
.main-content {
    flex: 1; /* Ensures it takes up all available space */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 75px;
}

/* Header styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    padding: 20px 100px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
}

.logo img {
    width: 75px;
    height: auto;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.navbar a {
    position: relative;
    font-size: 18px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    margin-left: 40px;
}


.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: .3s;
}

.navbar a:hover::before {
    width: 100%;
}

.navbar a.selected::before {
    width: 100%;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.contact-info, .submit-form {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.info-text {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-text strong {
    color: #333;
    font-weight: 600;
}

.contact-list {
    list-style-type: none;
    padding-left: 0;
}

.contact-list li {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-btn-container {
    text-align: center;
    margin-top: 30px;
}

.contact-btn {
    background-color: #50520a;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #868a1d;
    transform: translateY(-3px);
}

/* Modal (Popup Form) styles */
.contact-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
    overflow: auto; /* Enable scrolling if needed */
    padding-top: 60px; /* Position the modal content */
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%; /* Modal width */
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    color: black;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
}

form label,
form input,
form textarea {
    font-size: 16px;
    margin-bottom: 10px;
}

form input,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

form .submit-btn {
    background-color: #50520a;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

form .submit-btn:hover {
    background-color: #868a1d;
}

form .error-txt {
    font-size: 12.5px;
    color: #d93025;
    text-align: left;
    margin: -5px 0 10px;
    display: none;
}

.submit-form {
    background-color: rgba(109, 90, 39, 0.6);  /* Slightly softened dark green */
    color: #fff;
    padding: 40px;  /* Increased padding */
}

.submit-form .info-text {
    color: #ececec;  /* Softer light grey for the contact info */
}

.submit-form .info-text strong {
    color: #2e2a17;  /* Light green for emphasis */
}

.container .contact-info, .container .submit-form {
    height: auto;
}

.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 70px 0;
    margin-bottom: -16%;
    color: #fff;
}

/* Footer specific styles */
.footer .container2 {
    max-width: 1170px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #2abb0d;
    height: 2px;
    width: 50px;
}

.footer-col ul {
    list-style-type: none;
}

.footer-col ul li a {
    font-size: 16px;
    color: #bbbbbb;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #21e01a;
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    color: #fff;
    font-size: 14px;
}

/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo img {
        width: 120px; /* Smaller logo on mobile */
    }

    .header {
        padding: 20px 30px;
    }

    .navbar a {
        font-size: 16px;
        margin-left: 20px;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .contact-info, .submit-form {
        padding: 20px;
    }
}
