/* Header Container */
.fafodil-header {
    position: relative;
    width: 100%;
}

/* Topbar Styles */
.fafodil-topbar {
    background-color: #35582a;
    height: 46px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-size: 14px;
    position: relative;
    z-index: 1002;
    transition: transform 0.3s ease;
}

/* Hide topbar when scrolled */
.fafodil-header.scrolled .fafodil-topbar {
    transform: translateY(-100%);
}

.fafodil-topbar-left {
    display: flex;
    gap: 20px;
}

.fafodil-topbar-contact {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fafodil-topbar-contact img {
    width: 30px;
}

.fafodil-topbar-right {
    display: flex;
    gap: 15px;
}

.fafodil-topbar-right img {
    width: 30px;
}

.fafodil-social-icon {
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.fafodil-social-icon:hover {
    color: #8bc34a;
}

/* Navbar Styles */
.fafodil-navbar {
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
    background: transparent;
    height: 162px;
    width: 100%;
    z-index: 1001;
    transition: all 0.3s ease;
}

/* Navbar Container */
.fafodil-navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Fixed navbar styles after scroll */
.fafodil-navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #35582a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    height: 162px;
}

.fafodil-logo {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.fafodil-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Navigation Menu */
.fafodil-nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    position: relative;
    margin: 0;
    padding: 0;
}

.fafodil-nav-item {
    position: relative;
}

.fafodil-nav-link {
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    display: block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    font-weight: 700;
}

.fafodil-nav-link:hover {
    color: #8ba882;
    transform: translateY(-2px);
}

/* Dropdown Styles */
.fafodil-dropdown {
    padding-left: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1003;
    backdrop-filter: blur(10px);
}

.fafodil-nav-item:hover .fafodil-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fafodil-dropdown-item {
    list-style: none;
}

.fafodil-dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #35582a;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(53, 88, 42, 0.1);
    font-weight: 500;
}

.fafodil-dropdown-link:hover {
    background-color: rgba(53, 88, 42, 0.9);
    color: white;
}

.fafodil-dropdown-item:last-child .fafodil-dropdown-link {
    border-bottom: none;
    border-radius: 0 0 4px 4px;
}

.fafodil-dropdown-item:first-child .fafodil-dropdown-link {
    border-radius: 4px 4px 0 0;
}

/* Mobile Menu Toggle */
.fafodil-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.fafodil-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Tablet Styles */
@media (max-width: 1440px) {
    .fafodil-navbar-container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .fafodil-nav-menu {
        gap: 20px;
    }

    .fafodil-nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 1200px) {
    .fafodil-navbar-container {
        max-width: 100%;
        padding: 0 30px;
    }

    .fafodil-nav-menu {
        gap: 20px;
    }

    .fafodil-nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 992px) {
    .fafodil-menu-toggle {
        display: block;
        order: 2;
    }

    .fafodil-navbar {
        background: rgba(53, 88, 42, 0.95);
        height: 120px;
    }

    .fafodil-navbar.fixed {
        height: 120px;
    }

    .fafodil-navbar-container {
        padding: 0 20px;
    }

    .fafodil-logo {
        width: 100px;
        height: 100px;
        order: 1;
    }

    .fafodil-nav-menu {
        display: none;
        position: fixed;
        top: 120px;
        left: 0;
        width: 100%;
        background: rgba(53, 88, 42, 0.98);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 1004;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        backdrop-filter: blur(10px);
    }

    .fafodil-navbar.fixed+.fafodil-nav-menu {
        top: 120px;
    }

    .fafodil-nav-menu.active {
        display: flex;
    }

    .fafodil-nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fafodil-nav-link {
        color: white;
        padding: 16px 20px;
        text-shadow: none;
        font-size: 16px;
    }

    .fafodil-nav-link:hover {
        background-color: rgba(139, 195, 74, 0.3);
        transform: none;
    }

    .fafodil-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(53, 88, 42, 0.8);
        margin: 0;
        border-radius: 0;
        display: none;
    }

    .fafodil-nav-item.dropdown-open .fafodil-dropdown {
        display: block;
    }

    .fafodil-dropdown-link {
        color: white;
        padding: 12px 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fafodil-dropdown-link:hover {
        background-color: rgba(139, 195, 74, 0.4);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .fafodil-topbar {
        padding: 0 15px;
        font-size: 12px;
        height: 40px;
    }

    .fafodil-topbar-left {
        gap: 15px;
    }

    .fafodil-topbar-right {
        gap: 10px;
    }

    .fafodil-social-icon {
        font-size: 14px;
    }

    .fafodil-navbar {
        top: 40px;
        height: 100px;
    }

    .fafodil-navbar.fixed {
        height: 100px;
    }

    .fafodil-nav-menu {
        top: 100px;
        max-height: calc(100vh - 100px);
    }

    .fafodil-navbar.fixed+.fafodil-nav-menu {
        top: 100px;
    }

    .fafodil-logo {
        width: 80px;
        height: 80px;
    }

    .fafodil-navbar-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .fafodil-topbar-contact span:not(.fa) {
        display: none;
    }

    .fafodil-topbar-left {
        gap: 10px;
    }

    .fafodil-logo {
        width: 70px;
        height: 70px;
    }

    .fafodil-navbar {
        height: 90px;
    }

    .fafodil-navbar.fixed {
        height: 90px;
    }

    .fafodil-nav-menu {
        top: 90px;
    }

    .fafodil-navbar.fixed+.fafodil-nav-menu {
        top: 90px;
    }

    .fafodil-menu-toggle {
        font-size: 20px;
        padding: 6px;
    }

    .fafodil-navbar-container {
        padding: 0 15px;
    }
}

/* Fade Slider Styles */
.image-fade-section {
    padding-top: 0px !important;
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: 100vh;
}

.fafodil-header.scrolled+.image-fade-section {
    margin-top: 162px;
}

.fade-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.fade-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.fade-slide.active {
    opacity: 1;
    z-index: 2;
}

.fade-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.fade-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 250px;
    transform: translateY(-50%);
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    max-width: 50%;
    z-index: 2;
    opacity: 0;
    animation: slideInFadeUp 1s ease-out 0.3s forwards;
}

.fade-slide.active .slide-content {
    animation: slideInFadeUp 1s ease-out 0.3s forwards;
}

.fade-slide:not(.active) .slide-content {
    opacity: 0;
    transform: translateY(-30%) translateX(-20px);
}

@keyframes slideInFadeUp {
    from {
        opacity: 0;
        transform: translateY(-30%) translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}
.slide-content h2.main-slider{
    color: #ffffff;
    font-size: 42px;
    font-weight:800;
    text-transform: uppercase;
}
.slide-content h2 {
    font-size:72px;
    color: white;
    margin-bottom: 0px;
    font-weight: bold;
    transform: translateY(30px);
    opacity: 0;
    animation: textFadeUp 0.8s ease-out 0.6s forwards;
    line-height: .9;
    
}

.slide-content p {
    font-size:16px;
    line-height: 1.2;
    transform: translateY(30px);
    opacity: 0;
    animation: textFadeUp 0.8s ease-out 0.9s forwards;
    max-width: 600px;
}

.fade-slide.active .slide-content h2,
.fade-slide.active .slide-content p {
    animation: textFadeUp 0.8s ease-out forwards;
}

.fade-slide:not(.active) .slide-content h2,
.fade-slide:not(.active) .slide-content p {
    opacity: 0;
    transform: translateY(30px);
}

@keyframes textFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-logo {
    position: absolute;
    bottom: 140px;
    right: 200px;
    width: 250px;
    height: 250px;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    animation: logoFadeIn 0.6s ease-out 1.2s forwards;
}

.fade-slide.active .slide-logo {
    animation: logoFadeIn 0.6s ease-out 1.2s forwards;
}

.fade-slide:not(.active) .slide-logo {
    opacity: 0;
    transform: scale(0.8);
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Slide indicators */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Navigation arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 30px;
}

.slide-nav.next {
    right: 30px;
}

@media (max-width: 768px) {

    .fafodil-header.scrolled+.image-fade-section {
        margin-top: 100px;
    }

    .slide-content {
        left: 20px;
        max-width: 80%;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .slide-logo {
        width: 150px;
        height: 150px;
        bottom: 100px;
        right: 140px;
    }

    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
     h4.shipment{
        line-height: 1;
     }
    .slide-nav.prev {
        left: 15px;
    }

    .slide-nav.next {
        right: 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {

    .logo-back{
        margin-right: 90px;
    }
    .fafodil-header.scrolled+.image-fade-section {
        margin-top: 90px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slide-nav.prev {
        left: 10px;
    }

    .slide-nav.next {
        right: 10px;
    }
}



/* footer.css */
.fafodil-footer {
    /* Using a placeholder landscape image - replace with your actual image URL */
    background-image: url('/Landscape2304.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Removed background-attachment: fixed for better compatibility */
    height: auto;
    min-height: 700px;
    /* Added min-height for better responsiveness */
    position: relative;
    color: white;
    padding: 40px 0;
    overflow: hidden;
    /* Added this for better image rendering */
    background-attachment: scroll;
}

.fafodil-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 70, 31, 0.91);
    z-index: 1;
}

.fafodil-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.fafodil-logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.fafodil-logo {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(34, 139, 34, 0.5),
        0 0 20px rgba(34, 139, 34, 0.3);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.fafodil-divider {
    width: 70%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    margin: 0 auto 30px auto;
    box-shadow: 0 0 10px rgba(34, 139, 34, 0.5);
}

.fafodil-content-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    width: 100%;
    flex-grow: 1;
    align-items: start;
}

.fafodil-column {
    display: flex;
    flex-direction: column;
}

.fafodil-column-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.fafodil-column-item {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 3px 0;
    border-radius: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.fafodil-column-item:hover {
    color: #ffffff;
    padding-left: 5px;
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.fafodil-social-section {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    padding: 20px;
}

.fafodil-social-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.fafodil-social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.fafodil-social-link {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.fafodil-social-link img {
    width: 40px;
}

.fafodil-column-item img {
    width: 35px;
    padding-right: 10px;
}

.fafodil-column-item address {
    font-style: normal;
}

.extra-phone {
    padding: 10px 0px 0px 0px;
}

.fafodil-social-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.fafodil-copyright-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.fafodil-legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fafodil-legal-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid transparent;
}

.fafodil-legal-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.fafodil-legal-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}


@media (max-width: 1024px) {
    .fafodil-footer {
        background-attachment: scroll;
        /* Ensure the image still covers properly on medium screens */
        background-size: cover;
    }

    .fafodil-content-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .fafodil-footer {
        height: auto;
        min-height: 650px;
        padding: 30px 0;
        background-attachment: scroll;
        /* Adjust background positioning for mobile */
        background-position: center center;
        background-size: cover;
    }

    .fafodil-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .fafodil-logo {
        font-size: 36px;
    }

    .fafodil-social-links {
        gap: 15px;
    }

    .fafodil-legal-links {
        flex-direction: column;
        gap: 10px;
    }

    .fafodil-legal-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .fafodil-footer {
        /* On very small screens, you might want to adjust the background position */
        background-position: center center;
        background-size: cover;
    }

    .fafodil-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fafodil-logo {
        font-size: 28px;
    }
    .fafodil-logo img{
        width: 100px;
        padding-top: 20px;
    }

    .fafodil-social-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .fafodil-copyright-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .fafodil-legal-link {
        font-size: 12px;
    }
}

/* Right-aligned footer partner logo */
.fafodil-footer-right-logo {
    margin-left: auto;          /* push to the right within flex container */
    height: 50px;               /* adjust as needed */
    width: auto;
    display: block;
    padding-left: 50px;
}

/* Keep the copyright row items aligned */
.fafodil-footer .fafodil-copyright-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 768px) {
    .fafodil-footer-right-logo {
        height: 40px;
    }
    .fafodil-footer .fafodil-copyright-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

.my-btn {
  background: #e6e8e694; /* green */
  color: white;
  padding: 8px 24px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.my-btn:hover {
  background: #35582a;
}


.fafodil-topbar-contact a{
    color: rgb(255, 255, 255);
}
.my-btn2 {
  background: #d4d4d400; /* green */
  color: #35582a;
  padding: 8px 24px;
  border: 1px solid #000000;
  border-radius: 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
  margin-left: 30px;
}

.my-btn2:hover {
  background: #35582a;
  color: #ffffff;
}

