/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    background-color: white;
    padding: 0 3%;
    height: 117px !important;
    min-height: 117px;
    max-height: 117px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-sizing: border-box;
    position: relative;
    z-index: 1000;
}

/* Logo Styles */
.logo {
    height: 67px;
    width: 140px;
    display: flex;
    align-items: center;
    margin: 21px 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li a i {
    font-size: 14px;
    margin-top: 2px;
    transition: transform 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #8B4513;
}

/* Dropdown Menu */
.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 85%;
    left: 140%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li {
    list-style: none;
    width: 100%;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
    color: #8B4513;
    padding-left: 25px;
}

.dropdown.active .dropdown-toggle i,
.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .dropdown .dropdown-menu {
        position: static;
        display: none;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 10px;
        border-left: 3px solid #8B4513;
    }
    
    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        transform: none;
        display: block;
    }
    
    .dropdown-menu a {
        padding: 10px 15px 10px 30px;
    }
}

/* Search Bar */
.search-bar {
    position: relative;
    width: 200px;
}

.search-bar input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    padding-right: 35px;
}

.search-bar i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: #DFEBC3;
    padding: 60px 0;
    min-height: 671px;
    display: flex;
    align-items: center;
}

.hero-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
    padding-left: 16px;
    padding-right: 0;
}

.hero-logo {
    width: 154px;
    height: auto;
    margin-bottom: 2px;
}

.hero h1 {
    font-size: 51px;
    font-weight: 800;
    color: #755034;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    line-height: 1;
}

.hero p {
    font-size: 18px;
    line-height: 1.5;
    color: #2B2B2B;
    margin-bottom: 30px;
    padding-right: 105px;
    text-align: justify;
}

.hero-image {
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
}

.hero-image img {
    width: 100%;
    max-width: 720px;
    height: 676px;
    object-fit: cover;
    border-radius: 4px;
}

.hero .cta-button {
    display: inline-block;
    padding: 16px 30px;
    background-color: #DE010E;
    color: white;
    text-decoration: none;
    border-radius: 34px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-image img {
        height: auto;
    }
}


/* Main Content */
main {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

/* Ensure proper spacing between sections */
.hero {
    margin-bottom: 0;
}

.about-section {
    margin: 0;
    padding: 50px 20px;
    position: relative;
    z-index: 1;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.about-section .container {
    max-width: 1204px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section h2 {
    font-size: 40px;
    color: #1A7037;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.about-section h2 span {
    font-size: 40px;
    color: #1A7037;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #2B2B2B;
    margin: 0 auto;
    max-width: 1058px;
}

/* Core Categories Section */
.core-categories {
    padding: 60px 0 40px;
    background-color: #fff;
}

.core-categories .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.core-categories h2 {
    font-size: 40px;
    color: #1A7037;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

.core-categories h2 span {
    font-size: 40px;
    color: #1A7037;
    margin-bottom: 20px;
    font-weight: 500;
}

.core-category {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.category-image {
    width: 443px;
    height: 295px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 5px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item {
    flex: 1;
    padding: 0 10px;
    height: 295px;
    display: flex;
    margin-top: 17px;
    flex-direction: column;
    justify-content: flex-start;
}

.category-item h3 {
    color: #000000;
    font-size: 22px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.category-item p {
    color: #2B2B2B;
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .core-category {
        flex-direction: column;
    }
    
    .category-image {
        width: 100%;
        height: 300px;
    }
    
    .category-item {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 700px) {
    .core-categories h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .category-item {
        padding: 15px;
    }
    
    .category-item h3 {
        font-size: 20px;
    }
    
    .category-item p {
        font-size: 14px;
    }
}

/* Brand Portfolio Section */
.brand-portfolio {
    background-color: #DFEBC3;
    padding: 80px 0;
    text-align: center;
}

.brand-portfolio h2 {
    font-size: 40px;
    color: #1A7037;
    margin-bottom: 60px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.brand-portfolio h2 span {
    font-size: 40px;
    color: #1A7037;
    margin-bottom: 20px;
    font-weight: 500;
}

.brand-grid {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.brand-box {
    width: 299px;
    /*height: 299px;*/
    height: 255px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.explore-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: #000;
    color: white;
    text-decoration: none;
    border-radius: 13px;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 20px;
}

.explore-button:hover {
    background-color: #13592c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1300px) {
    .brand-grid {
        max-width: 950px;
    }
}

@media (max-width: 1000px) {
    .brand-grid {
        max-width: 650px;
    }
}

@media (max-width: 1000px) {
    .categories-container {
        flex-direction: column;
        align-items: center;
    }
    
    .category-images,
    .category-descriptions {
        width: 100%;
        max-width: 600px;
    }
    
    .category-image {
        height: 200px;
    }
}

@media (max-width: 700px) {
    .brand-grid {
        max-width: 299px;
    }
    
    .core-categories h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .category-item {
        padding: 12px 15px;
    }
    
    .category-item h3 {
        font-size: 16px;
    }
    
    .category-item p {
        font-size: 13px;
    }
}

/* Sustainability Section */
.sustainability {
    padding: 0px 0 30px;
    background-color: #fff;
}

.sustainability .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.sustainability h2 {
    font-size: 40px;
    color: #1A7037;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
    text-transform: uppercase;
}

.sustainability h2 span {
    font-weight: 400;
}

.sustainability-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
    max-width: 1300px;
}

.sustainability-card {
    width: 302px;
    height: 459px;
    background: white;
    border-radius: 10px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sustainability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sustainability-card h3 {
    color: #000000;
    font-size: 24px;
    margin: 0 0 20px;
    font-weight: 600;
    line-height: 1.3;
}

.sustainability-card p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-top: 38px;
}

.learn-more-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 40px 0 20px;
}

.learn-more-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #000;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #13592c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for Sustainability section */

@media (max-width: 768px) {
    .sustainability {
        padding: 60px 0;
    }
    
    .sustainability h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .sustainability-grid {
        gap: 20px;
    }
    
    .sustainability-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        min-height: 350px;
    }
    
    .card-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .sustainability-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .sustainability-card p {
        font-size: 15px;
    }
}

/* Footer Styles */
.footer {
    background-color: #DFEBC3;
    padding: 60px 0 30px;
    color: white;
    margin-top: auto;
}

.footer-logo {
    height: 107px;
    width: 160px;
    display: flex;
    align-items: center;
    margin: 21px 0;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    color: #000;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #4a8f29;
}

.footer-section.about p {
    color: #000;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links li {
    margin-bottom: 7px;
}

.footer-section.links a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-section.links a:hover {
    color: #4a8f29;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #4a8f29;
    font-size: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover { 
    color: #000;
    transform: translateY(-3px);
}

.newsletter p {
    color: #000;
    font-size: 14px;
    margin: 15px 0;
    line-height: 1.6;
}

.newsletter-form {
    position: relative;
    margin-top: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    background-color: #3F7A53;
    color: white;
    height: 40px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    border: none;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background-color: #3F7A53;
    color: white;
}
 
@media (max-width: 1280px) {
    .brand-grid {
        max-width: 1250px;
    }

    .sustainability-card {
        width: 276px;
    }

}

/* Footer Bottom */
.footer-bottom {
    padding: 15px 70px 15px 19px;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
}

.footer-bottom .container {
    display: flex;
    justify-content: right;
    align-items: center;
    text-align: left;
}

.footer-bottom p {
    color: #000;
    font-size: 14px;
    margin: 0;
}

@media (min-width: 1920px) {
    .hero-image img {
        width: 100%;
        max-width: 980px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-logo {
        width: 196px;
    }

    .hero p {
        font-size: 22px;
    }

    .hero .cta-button {
        font-size: 22px;
    }

    .about-section .container {
        max-width: 1804px;
    }

    .about-section h2 {
        font-size: 50px;
    }

    .about-section p {
        font-size: 24px;
        max-width: 1658px;
    }

    .about-section h2 span {
        font-size: 48px;
    }

    .brand-portfolio h2 {
        font-size: 56px;
    }

    .brand-portfolio h2 span {
        font-size: 52px;
    }

    .brand-grid {
        max-width: 1800px;
    }

    .brand-box {
        width: 326px;
        height: 314px;
    }

    .explore-button {
        font-size: 21px;
    }

    .core-categories .container {
        max-width: 1400px;
    }

    .core-categories h2 {
        font-size: 52px;
    }

    .core-categories h2 span {
        font-size: 51px;
    }

    .category-image {
        width: 513px;
        height: 355px;
    }
    
    .category-item h3 {
        color: #000000;
        font-size: 33px;
    }

    .category-item p {
        color: #2B2B2B;
        font-size: 24px;
    }

    .sustainability h2 {
        font-size: 50px;
    }

    .sustainability .container {
        max-width: 1800px;
    }

    .sustainability-grid {
        max-width: 1800px;
    }

    .sustainability-card {
        width: 351px;
        height: 489px;
    }

    .card-icon {
        width: 106px;
        height: 106px;
    }
    
    .sustainability-card h3 {
        color: #000000;
        font-size: 30px;
    }
    
    .sustainability-card p {
        font-size: 22px;
    }

    .learn-more-btn {
        font-size: 22px;
    }

    .footer-content {
        max-width: 1800px;
    }

    
    .footer-logo {
    height: 137px;
    width: 190px;
    }
    
    .footer-section h3 {
    font-size: 24px;
    }

    .footer-section.links a {
        font-size: 21px;
    }

    .social-icons a {
        font-size: 32px;
    }

    .newsletter p {
        font-size: 20px;
    }

    .newsletter-form input {
        font-size: 19px;
        height: 45px;
    }

}