* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: auto;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.logo h2 {
    font-size: 22px;
    color: #157347;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #157347;
}

.menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #157347;
}

/* Sidebar */

.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #157347;
    transition: .4s;
    padding-top: 80px;
    z-index: 2000;
}

.sidebar.active {
    right: 0;
}

.sidebar a {
    display: block;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Hero */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-banner {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(65%);

    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 700px;
    margin: auto;
    padding: 20px;
    color: white;
    animation: fadeUp 1s ease;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: #157347;
    color: white;
    text-decoration: none;
    border-radius: 40px;
}

.btn:hover {
    background: #0f5e35;
}

/* Sections */

section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #157347;
    font-size: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-grid img {
    width: 100%;
    border-radius: 15px;
}

.about-grid p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Services */

.services {
    background: #f7f7f7;
}

.services-title {
    color: #000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 55px;
    margin-bottom: 15px;
}

.fertilizer-icon {
    color: #ff9800;
    /* Orange */
}

.spray-icon {
    color: #2196f3;
    /* Blue */
}

.medicine-icon {
    color: #28a745;
    /* Green */
}

/* Authorized Dealers */

.brands {
    background: #f7f7f7;
    padding: 90px 0;
}

.brands-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #157347;
    margin-bottom: 60px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.brand-item {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;
}

.brand-item:hover {
    transform: translateY(-8px);
}

.brand-item img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

/* Contact */

.contact-box {
    text-align: center;
}

.contact-box p {
    margin-bottom: 15px;
}

.contact-section {
    background: #f5f5f5;
    padding: 100px 0;
}

.contact-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #16243a;
    margin-bottom: 60px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card,
.map-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 32px;
    margin-top: 5px;
}

.location-icon {
    color: #ff7a00;
}

.phone-icon {
    color: #28a745;
}

.email-icon {
    color: #2563eb;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: #16243a;
    font-size: 28px;
}

.contact-item p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 18px;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
    border-radius: 15px;
}

/* Footer

footer{
background:#111;
color:white;
padding:50px 0 20px;
}

.footer-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

.footer-grid a{
display:block;
color:#ddd;
text-decoration:none;
margin:10px 0;
}

.footer-grid a:hover{
color:white;
} */

/* FOOTER */

.footer {
    background: #111827;
    color: #fff;
    padding-top: 60px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 50px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: #22c55e;
}

.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-box img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-box h2 {
    font-size: 22px;
    color: #fff;
}

.footer-column p {
    color: #d1d5db;
    line-height: 1.8;
}

.footer-slogan {
    margin-top: 15px;
    color: #22c55e !important;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #d1d5db;
    transition: .3s;
}

.footer-column ul li a:hover {
    color: #22c55e;
}

.footer-contact-item {
    margin-bottom: 20px;
}

.footer-contact-item h4 {
    margin-bottom: 8px;
    color: #fff;
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p {
    color: #9ca3af;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.footer-bottom a:hover {
    color: #22c55e;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
}

/* Animation */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Responsive */

@media(max-width:768px) {

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        height: 80vh;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-grid img {
        width: 100%;
        border-radius: 12px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .brands-title {
        font-size: 30px;
    }

    .brand-item {
        min-height: 140px;
    }

    /* .footer-grid {
        grid-template-columns: 1fr;
    } */

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-logo-box {
        justify-content: center;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-logo-box {
        flex-direction: column;
    }

    .section-title {
        font-size: 30px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo h2 {
        font-size: 14px;
        white-space: nowrap;
    }

    /* Contact Section Mobile */

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-card,
    .map-card {
        width: 100%;
        padding: 20px;
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 35px;
        text-align: center;
    }

    .contact-item {
        gap: 15px;
        margin-bottom: 30px;
    }

    .contact-item i {
        font-size: 24px;
    }

    .contact-item h3 {
        font-size: 22px;
    }

    .contact-item p {
        font-size: 15px;
        line-height: 1.8;
        word-break: break-word;
    }

    .map-card iframe {
        width: 100%;
        height: 300px;
        min-height: auto;
    }

    .contact-card strong {
        display: block;
        margin-bottom: 10px;
    }

}
.gallery-row{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-row img{
    width: auto;
    height: 330px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Mobile Responsive */
@media(max-width: 768px){

    .gallery-row{
        grid-template-columns: 1fr;
    }

}
section{
    scroll-margin-top: 95px;
}