/*body {*/
/*    font-family: Arial, sans-serif;*/
/*}*/

/*.hero-section {*/
/*    height: 80vh;*/
/*    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);*/
/*}*/

/*.feature-box {*/
/*    padding: 20px;*/
/*    border: 1px solid #ddd;*/
/*    margin: 10px;*/
/*    transition: 0.3s;*/
/*}*/

/*.feature-box:hover {*/
/*    background-color: #f8f9fa;*/
/*    transform: translateY(-5px);*/
/*}*/

/*.grade-box, .rice-box {*/
/*    padding: 25px;*/
/*    border: 1px solid #ccc;*/
/*    margin: 10px;*/
/*}*/

/* Footer Styling */
/*.footer {*/
/*    margin-top: auto;*/
/*}*/

/*.footer-links li {*/
/*    margin-bottom: 8px;*/
/*}*/

/*.footer-links a {*/
/*    text-decoration: none;*/
/*    color: #ccc;*/
/*    transition: 0.3s ease;*/
/*}*/

/*.footer-links a:hover {*/
/*    color: #fff;*/
/*    padding-left: 5px;*/
/*}*/




/* ============================= */
/* Global Styling */
/* ============================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    background-color: #f4f6f9 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

/* Smooth fade-in for whole page */
body {
    animation: fadeInBody 0.8s ease-in-out;
}

@keyframes fadeInBody {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* ============================= */
/* Hero Section */
/* ============================= */

.hero-section {
    height: 80vh !important;
    background: url('../images/background_img.jpeg') no-repeat center center !important;
    background-size: cover !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: fadeInHero 1.2s ease-in-out;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================= */
/* Feature Boxes */
/* ============================= */

.feature-box {
    padding: 20px !important;
    border: 1px solid #ddd !important;
    margin: 10px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.feature-box:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}


/* ============================= */
/* Product Boxes */
/* ============================= */

.grade-box,
.rice-box {
    padding: 25px !important;
    border: 1px solid #ccc !important;
    margin: 10px !important;
    border-radius: 8px !important;
    transition: 0.3s ease !important;
}

.grade-box:hover,
.rice-box:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
    transform: translateY(-5px) !important;
}


/* ============================= */
/* Sticky Footer Fix */
/* ============================= */

main {
    flex: 1 0 auto !important;
}

.footer {
    margin-top: auto !important;
    background: #111 !important;
    position: relative;
    overflow: hidden;
    animation: fadeInFooter 1.2s ease-in-out;
}

@keyframes fadeInFooter {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================= */
/* Footer Links */
/* ============================= */

.footer-links li {
    margin-bottom: 10px !important;
}

.footer-links a {
    text-decoration: none !important;
    color: #bbb !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #ffffff;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff !important;
    padding-left: 6px !important;
}

.footer-links a:hover::after {
    width: 100%;
}


/* ============================= */
/* Footer Text */
/* ============================= */

.footer p,
.footer small {
    color: #aaa !important;
    font-size: 14px !important;
}


/* ============================= */
/* Navbar Active Animation */
/* ============================= */

.nav-link.active {
    font-weight: 600 !important;
    position: relative;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    animation: activeUnderline 0.3s ease-in-out;
}

@keyframes activeUnderline {
    from { width: 0; }
    to { width: 100%; }
}


/* Hero Text Styling - Dark Forest Green */

.hero-section h1 {
    color: #0b3d2e !important;   /* Dark Forest Green */
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(255,255,255,0.7);
}

.hero-section p {
    color: #0b3d2e !important;
    font-weight: 500;
    text-shadow: 1px 1px 6px rgba(255,255,255,0.7);
}

/* Different Hero Backgrounds */

.home-hero {
    background: url('../images/home.jpg') no-repeat center center !important;
    background-size: cover !important;
}

.rice-hero {
    background: url('../images/rice.jpg') no-repeat center center !important;
    background-size: cover !important;
}

.turmeric-hero {
    background: url('../images/turmeric.jpg') no-repeat center center !important;
    background-size: cover !important;
}

/* About & Contact Hero Backgrounds */

.about-hero {
    background: url('../images/about.jpg') no-repeat center center !important;
    background-size: cover !important;
}

.contact-hero {
    background: url('../images/contact.jpg') no-repeat center center !important;
    background-size: cover !important;
}
    
/* Tobacco Hero Image */
.tobacco-hero {
    background: url('../images/tobacco.jpg') no-repeat center center !important;
    background-size: cover !important;
}

/* Tobacco Products Text */
.rice-box h5 {
    font-size: 25px;
    font-weight: 200;
}