* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f6f1e7;
    color: #2e4a2e;
    position: relative;
}
body::before{
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background-image: url("image/brownfly-logo/brownflylogo3.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.02;
    pointer-events: none;
    z-index: -1;

}
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(46, 74, 46, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    z-index: 1000;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f6f1e7;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.logo-box {
    width: 38px;
    height: 38px;
    background: #d2b48c;
    border-radius: 10px;
    position: relative;
}


.logo-box::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: #2e4a2e;
    border-radius: 50%;
    top: 12px;
    left: 12px;
}


nav a {
    color: #f6f1e7;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #d2b48c;
}

.hero {
    height: 100vh;
    background:
        linear-gradient(rgba(46,74,46,0.75), rgba(210,180,140,0.35)),
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    max-width: 650px;
    margin: auto;
    opacity: 0.95;
}

.btn {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 25px;
    background: #d2b48c;
    color: #2e4a2e;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #caa574;
    transform: scale(1.05);
}


section {
    padding: 90px 20px;
    text-align: center;
}

h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #2e4a2e;
    letter-spacing: 0.5px;
}


.about {
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
    font-size: 16px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    width: 270px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-bottom: 5px solid #2e4a2e;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}


.contact {
    background:
        linear-gradient(rgba(246,241,231,0.95), rgba(246,241,231,0.95)),
        url('image/brownflylogo.jpg');
    background-size: cover;
}

form {
    max-width: 450px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

button {
    padding: 12px;
    border: none;
    background: #2e4a2e;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover {
    background: #3f6b3f;
}


footer {
    background: #2e4a2e;
    color: white;
    text-align: center;
    padding: 20px;
}




header img {
    width: 150px;      
    height: 60px;      
    object-fit: contain;
    border-radius: 10px;
    background: rgba(232, 249, 226, 0.88);
    padding: 8px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}
header img:hover {
    transform: scale(1.05);
}


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}


header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}




nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

nav a {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #f6f1e7;
    text-transform: uppercase;
    position: relative;
}


nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #d2b48c;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}


#services {
    background: 
        linear-gradient(rgba(46, 74, 46, 0.85), rgba(46, 74, 46, 0.85)),
        url('image/brownflylogo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px;
    color: #f6f1e7;
}


#services h2 {
    color: #f6f1e7;
    font-size: 36px;
    margin-bottom: 30px;
}


.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}


.card {
    width: 270px;
    padding: 25px;
    border-radius: 12px;
    background: rgba(246, 241, 231, 0.12);
    border: 1px solid rgba(210, 180, 140, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
    color: #f6f1e7;
}


.card h3 {
    color: #d2b48c;
    margin-bottom: 10px;
}

.card p {
    color: #f6f1e7;
    opacity: 0.9;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(246, 241, 231, 0.18);
}

nav a {
    transition: 0.3s ease;
}

nav a.clicked {
    transform: scale(0.9);
}

nav a.active {
    color: #d2b48c;
    border-bottom: 2px solid #d2b48c;
    padding-bottom: 4px;
}




.page-banner{
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 40px 40px;
}

.banner-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-banner::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-banner h1{
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    padding: 18px 40px;
    border-radius: 20px;
    color: #fff;
    font-size: 2.8rem;
    text-align: center;
    text-shadow: 0 4px 15px rgba(0,0,0,.4);
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.about-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.about-image img{
    width:50px;
    height:50px;
    object-fit:cover;
    border-radius:20px;
    background:rgb(230, 247, 215);
    padding:8px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}
.about-container{
    max-width:1200px;
    margin:100px auto;
    padding:50px;
    background:rgb(232, 249, 226);
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.about-text{
    flex:1;
}

.about-text h2{
    color:#2e4a2e;
    font-size:2.5rem;
    margin-bottom:25px;
    position:relative;
}

.about-text h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#d2b48c;
    margin-top:10px;
    border-radius:10px;
}

.about-text p{
    font-size:1.05rem;
    line-height:2;
    color:#555;
    text-align:justify;
}

.about-image{
    flex:0 0 300px;
    display:flex;
    justify-content:center;
}

.about-image img{
    width:280px;
    height:280px;
    object-fit:cover;
    border-radius:20px;
    background:white;
    padding:8px;
    border:4px solid #d2b48c;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}




.vision-mission{
    max-width:1200px;
    margin:80px auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.info-card{
    background:rgb(232, 249, 226);
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    border-top:5px solid #d2b48c;
    transition:.3s ease;
}

.info-card:hover{
    transform:translateY(-8px);
}

.info-card h3{
    color:#2e4a2e;
    font-size:1.8rem;
    margin-bottom:20px;
    text-align:center;
    position:relative;
}

.info-card h3::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:#d2b48c;
    margin:10px auto 0;
    border-radius:10px;
}

.info-card p{
    color:#555;
    line-height:1.9;
    text-align:justify;
    font-size:1rem;
}



.company-strengths,
.team-section,
.culture-section,
.products-overview{
    max-width:1200px;
    margin:80px auto;
}

.company-strengths h2,
.team-section h2,
.culture-section h2,
.products-overview h2{
    color:#2e4a2e;
    font-size:2.2rem;
    text-align:center;
    margin-bottom:30px;
}

.company-strengths .info-card,
.team-section .info-card,
.culture-section .info-card,
.products-overview .info-card{
    background:rgb(232, 249, 226);
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    border-top:5px solid #d2b48c;
    transition:.3s ease;
}

.company-strengths .info-card:hover,
.team-section .info-card:hover,
.culture-section .info-card:hover,
.products-overview .info-card:hover{
    transform:translateY(-8px);
}

.company-strengths li,
.culture-section li{
    color:#555;
    line-height:1.9;
    margin-bottom:12px;
}

.team-section p,
.products-overview p{
    color:#555;
    line-height:1.9;
    text-align:justify;
}

.culture-section ol{
    padding-left:25px;
}


.values{
    max-width:1200px;
    margin:80px auto;
}

.values h2{
    color:#2e4a2e;
    font-size:2.2rem;
    text-align:center;
    margin-bottom:40px;
}

.value-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.value-card{
    background:rgb(232, 249, 226);
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    border-top:5px solid #d2b48c;
    transition:.3s ease;
    text-align:center;
}

.value-card:hover{
    transform:translateY(-8px);
}

.value-card h4{
    color:#2e4a2e;
    font-size:1.4rem;
    margin-bottom:15px;
}

.value-card h4::after{
    content:"";
    display:block;
    width:50px;
    height:3px;
    background:#d2b48c;
    margin:10px auto 0;
    border-radius:10px;
}

.value-card p{
    color:#555;
    line-height:1.8;
    margin-top:15px;
}



.about-icon{
    display:block;
    font-size:3rem;
    color:#2e4a2e;
    text-align:center;
    margin-bottom:15px;
}

.value-icon{
    font-size:3rem;
    color:#2e4a2e;
    margin-bottom:15px;
    display:block;
}

.company-strengths h2 i,
.team-section h2 i,
.timeline h2 i,
.values h2 i,
.culture-section h2 i,
.products-overview h2 i{
    color:#2e4a2e;
    margin-right:10px;
    vertical-align:middle;
    font-size:2.2rem;
}

.info-card:hover .about-icon,
.value-card:hover .value-icon{
    color:#d2b48c;
    transition:.3s ease;
}
.bx-cog{
    font-size:3rem;
    color:#2e4a2e;
    display:block;
    text-align:center;
    margin-bottom:15px;
    transition:.3s ease;
}

.bx-cog:hover{
    color:#d2b48c;
    transform:rotate(180deg);
}
.bx-award{
    font-size:2.2rem;
    color:#2e4a2e;
    transition:.3s ease;
}

.bx-award:hover{
    color:#d2b48c;
    transform:rotate(360deg);
}

.bx-group{
    font-size:2.2rem;
    color:#2e4a2e;
    transition:.3s ease;
}

h2:hover .bx-group{
    color:#d2b48c;
    transform:translateY(-3px);
}
.bx-group:hover{
    color:#d2b48c;
    transform:rotate(360deg);
}
.bx-building-house{
    font-size:2.2rem;
    color:#2e4a2e;
    transition:.3s ease;
}

h2:hover .bx-building-house{
    color:#d2b48c;
    transform:scale(1.1);
}
.bx-building-house:hover{
    color:#d2b48c;
    transform:rotate(360deg);
}

.products-section{
    background: rgb(232, 249, 226);
    background-image: url("image/brownflylogo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 6%;
    position: relative;
    z-index: 1;
}

.products-section::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(232, 249, 226, 0.88);
    z-index: -1;
}

.products-section h2{
    text-align: center;
    font-size: 2.8rem;
    color: #2e4a2e;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.products-section h2::after{
    content: "";
    width: 80px;
    height: 4px;
    background: #d2b48c;
    display: block;
    margin: 14px auto 0;
    border-radius: 50px;
}

.product-table{
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.product-row{
    background: #fff;
    border: 2px solid #d2b48c;
    border-radius: 18px;
    padding: 25px 20px;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    height: 100%;
}

.product-row:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.product-logo{
    width: 100%;
    height: 170px;
    background: rgba(210,180,140,.12);
    border: 1px solid #d2b48c;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 15px;
}

.product-logo img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: .3s ease;
}

.product-row:hover .product-logo img{
    transform: scale(1.06);
}

.product-desc{
    color: #4a5a4a;
    font-size: .95rem;
    line-height: 1.7;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.site-footer {
    background: #2e4a2e;
    color: #f6f1e7;
    text-align: center;
}


.footer-associate {
    text-align: center;
    margin-top: 20px;
}

.associate-logos img{
    width: 350px;
    height: 140px;
    object-fit: contain;

    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;

    transition: transform 0.3s ease;
}

.associate-logos img:hover{
    transform: scale(1.08);
}

.footer-divider {
    width: 80%;
    height: 1px;
    background: rgba(246,241,231,0.3);
    margin: 20px auto;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.85;
    margin: 5px 0;
}
@media (max-width: 768px){

    .menu-toggle{
        display: block;
        width: 35px;
        height: 28px;
        position: relative;
        cursor: pointer;
    }

    .menu-toggle span{
        position: absolute;
        width: 100%;
        height: 3px;
        background: #f6f1e7;
        border-radius: 10px;
        transition: all .3s ease;
    }

    .menu-toggle span:nth-child(1){
        top: 0;
    }

    .menu-toggle span:nth-child(2){
        top: 12px;
    }

    .menu-toggle span:nth-child(3){
        top: 24px;
    }

    .menu-toggle.active span:nth-child(1){
        top: 12px;
        transform: rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2){
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3){
        top: 12px;
        transform: rotate(-45deg);
    }

  nav{
        opacity: 0;
        transform: translateY(-20px);
        transition: all .35s ease;
        pointer-events: none;
    }

    nav.active{
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    nav a{
        opacity: 0;
        transform: translateY(-15px);
        transition: all .4s ease;
    }

    nav.active a{
        opacity: 1;
        transform: translateY(0);
    }

    nav.active a:nth-child(1){ transition-delay: .05s; }
    nav.active a:nth-child(2){ transition-delay: .10s; }
    nav.active a:nth-child(3){ transition-delay: .15s; }
    nav.active a:nth-child(4){ transition-delay: .20s; }
    nav.active a:nth-child(5){ transition-delay: .25s; }
    nav.active a:nth-child(6){ transition-delay: .30s; }

    nav a{
    transition: all .3s ease;
}

    nav a:hover{
    transform: translateX(5px);
}

    header{
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    header img{
        width: 120px;
        height: auto;
    }

    .hero h1{
        font-size: 42px;
    }

    .hero p{
        font-size: 16px;
    }

    .about-container{
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 35px;
    }

    .about-text p{
        text-align: left;
    }

    .vision-mission{
        grid-template-columns: 1fr;
    }

    .product-table{
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px){

    header{
        padding: 12px 18px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .logo{
        font-size: 16px;
        gap: 8px;
    }

    header img{
        width: 42px;
        height: 42px;
        border-radius: 8px;
        padding: 3px;
    }

    nav{
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        margin-top: 8px;
    }

    nav a{
        font-size: 13px;
        margin: 0;
    }

    .hero{
        height: 85vh;
        padding: 20px;
    }

    .hero h1{
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p{
        font-size: .95rem;
        max-width: 100%;
        padding: 0 10px;
    }

    .btn{
        padding: 10px 22px;
        font-size: .9rem;
    }

    section{
        padding: 70px 15px;
    }

    h2{
        font-size: 2rem;
    }

    .cards{
        flex-direction: column;
        align-items: center;
    }

    .card{
        width: 100%;
        max-width: 340px;
    }

    .page-banner{
        height: 38vh;
        border-radius: 0 0 25px 25px;
    }

    .page-banner h1{
        font-size: 1.8rem;
        padding: 14px 25px;
        width: 90%;
    }

    .about-container{
        margin: 60px auto;
        padding: 30px 20px;
        gap: 30px;
    }

    .about-text h2{
        font-size: 2rem;
    }

    .about-text h2::after{
        margin: 10px auto 0;
    }

    .about-text p{
        font-size: .95rem;
        line-height: 1.8;
        text-align: left;
    }

    .about-image{
        flex: unset;
    }

    .about-image img{
        width: 220px;
        height: 220px;
    }

    .vision-mission{
        gap: 20px;
        margin: 60px auto;
        padding: 0 15px;
    }

    .info-card{
        padding: 28px 22px;
    }

    .info-card h3{
        font-size: 1.5rem;
    }

    .info-card p{
        text-align: left;
    }

    .company-strengths,
    .team-section,
    .culture-section,
    .products-overview,
    .values{
        margin: 60px auto;
        padding: 0 15px;
    }

    .company-strengths h2,
    .team-section h2,
    .culture-section h2,
    .products-overview h2,
    .values h2{
        font-size: 1.9rem;
    }

    .value-grid{
        grid-template-columns: 1fr;
    }

    .value-card{
        padding: 30px 25px;
    }

    .products-section{
        padding: 80px 5%;
        background-attachment: scroll;
    }

    .products-section h2{
        font-size: 2rem;
    }

    .product-table{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-row{
        padding: 22px 18px;
    }

    .product-logo{
        height: 150px;
    }

    .product-desc{
        font-size: .9rem;
    }

    .associate-logos{
        gap: 15px;
    }

    .associate-logos img{
        width: 250px;
        height: 100px;
    }

    .footer-associate h3{
        font-size: 1.3rem;
    }
}

@media (max-width: 768px){

    header{
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .menu-toggle{
        display: block;
        color: #f6f1e7;
        font-size: 2rem;
        cursor: pointer;
    }

    nav{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(46,74,46,.98);
        display: none;
        flex-direction: column;
        padding: 10px 0;
    }

    nav.active{
        display: flex;
    }

    nav a{
        padding: 15px;
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .hero h1{
        font-size: 1.6rem;
    }

    .hero p{
        font-size: .85rem;
    }

    h2{
        font-size: 1.6rem;
    }

    .page-banner{
        height: 32vh;
    }

    .page-banner h1{
        font-size: 1.3rem;
        padding: 12px 18px;
    }

    .about-image img{
        width: 180px;
        height: 180px;
    }

    .card,
    .value-card,
    .info-card{
        padding: 22px 18px;
    }

    .associate-logos img{
        width: 150px;
        height: 100px;
    }

    .footer-bottom p{
        font-size: 12px;
    }
}
@media (max-width: 768px){

    .products-section{
        background-size: 1000px;
        background-position: center center;
        background-attachment: scroll;
    }

}

.partners-section{
    width: 100%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
}

.partners-title{
    text-align: center;
    font-size: 3rem;
    color: #4d7c2f;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-underline-offset: 10px;
}

.partner-box{
    background: #fff;
    border: 2px solid #d2b48c;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.partner-header{
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #4d7c2f;
    padding: 15px;
    border-bottom: 2px solid #d2b48c;
    text-transform: uppercase;
}

.partner-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 50px;
}

.partner-logo{
    flex: 0 0 calc(33.333% - 27px);
    min-height: 280px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo img{
    max-width: 100%;
    max-height: 250px; 
    object-fit: contain;
    transition: .3s ease;
}

.partner-logo:hover img{
    transform: scale(1.08);
}

.partners-description{
    text-align: center;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 20px;
}

.partners-description h3{
    font-size: 2rem;
    color: #4d7c2f;
    margin-bottom: 15px;
    font-weight: 700;
}

.partners-description p{
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}
@media(max-width:991px){
    .partner-grid{
        padding: 30px;
    }

    .partner-logo{
        flex: 0 0 calc(50% - 20px);
    }
}

@media(max-width:768px){
    .partner-grid{
        padding: 20px;
        gap: 20px;
    }

    .partner-logo{
        flex: 0 0 100%;
        min-height: 160px;
    }

    .partner-logo img{
        max-height: 120px;
    }
}
.partners-section{
    background: rgb(232, 249, 226);
    background-image: url("image/brownflylogo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 6%;
    position: relative;
    z-index: 1;
}

.partners-section::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(232, 249, 226, 0.88);
    z-index: -1;
}

.partners-section h2{
    text-align: center;
    font-size: 2.8rem;
    color: #2e4a2e;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.partners-section h2::after{
    content: "";
    width: 80px;
    height: 4px;
    background: #d2b48c;
    display: block;
    margin: 14px auto 0;
    border-radius: 50px;
}
@media (max-width: 768px){
    .partners-section{
        padding: 80px 5%;
        background-attachment: scroll;
    }

    .partners-section h2{
        font-size: 2rem;
    }
}
.partner-logo{
    flex: 0 0 calc(33.333% - 27px);
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo img{
    max-width: 90%;
    max-height: 240px;
    object-fit: contain;
    transition: .3s ease;
}
.partner-logo{
    min-height: 320px;
}

.partner-logo img{
    max-height: 280px;
}
@media(max-width:768px){

    .partner-logo{
        flex: 0 0 100%;
        min-height: 260px;
    }

    .partner-logo img{
        max-width: 95%;
        max-height: 220px;
    }

}


.why-us{
    padding: 120px 10%;
    text-align: center;
}

.why-us h2{
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-grid{
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card{
    background: rgb(232, 249, 226);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.why-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.why-card h3{
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.why-card p{
    line-height: 1.8;
}

.stats{
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-box{
    min-width: 220px;
    text-align: center;
}

.stat-box h3{
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 10px;
}

.stat-box p{
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.products-preview{
    padding: 120px 10%;
    text-align: center;
}

.products-preview h2{
    font-size: 3rem;
    margin-bottom: 60px;
}

.product-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card{
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;

    text-shadow:
        0 4px 12px rgba(230, 168, 24, 0.88);


    cursor: pointer;
}

.product-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .6s ease;
    z-index: -2;
}

.product-card::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.product-card:hover::before{
    transform: scale(1.08);
}

.valves {
    position: relative;
    overflow: hidden;
}

.valves video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.partners-preview{
    padding: 120px 10%;
    text-align: center;
}

.partners-preview h2{
    font-size: 3rem;
    margin-bottom: 60px;
}

.partner-logos{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.partner-logos img{
    width: 330px;
    height: 250px;
    object-fit: contain;
    opacity: .75;
    transition: .3s ease;
}

.partner-logos img:hover{
    opacity: 1;
    transform: scale(1.05);
}


.cta{
    padding: 120px 10%;
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,.03),
        rgba(0,0,0,.06)
    );
    border-radius: 30px;
    margin: 80px 10%;
}

.cta h2{
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta p{
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

@media (max-width: 768px){

    .why-us,
    .products-preview,
    .partners-preview,
    .stats,
    .cta{
        padding: 80px 5%;
    }

    .why-us h2,
    .products-preview h2,
    .partners-preview h2,
    .cta h2{
        font-size: 2rem;
    }

    .stat-box h3{
        font-size: 3rem;
    }

    .cta{
        margin: 40px 5%;
    }

    .partner-logos{
        gap: 25px;
    }

    .partner-logos img{
        width: 250px;
    }
}
.menu-toggle{
    display: none;
}
@media (max-width: 768px){

    .menu-toggle{
        display: block;
    }

}

.valves {
    position: relative;
    height: 430px;
    border-radius: 100px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valves:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}






.leadership-section{
    width:100%;
    padding:90px 8%;
}

.leadership-section h2{
    text-align:center;
    font-size:2.8rem;
    margin:20px 0 60px;
}

.leadership-section>i{
    display:block;
    text-align:center;
    font-size:55px;
    color:var(--main-color);
    margin-bottom:15px;
}


.executive-card{

    display:flex;
    align-items:center;
    gap:45px;

    margin-bottom:45px;

    background:rgb(232, 249, 226);

    border-radius:25px;

    padding:35px;

    border:2px solid var(--main-color);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s ease;
}

.executive-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.executive-card img{

    width:300px;

    height:400px;

    object-fit:cover;

    border-radius:20px;

    border:5px solid var(--main-color);

    flex-shrink:0;

}

.executive-content{

    flex:1;

}

.position{

    display:inline-block;

    background:var(--main-color);

    color:#000000;

    padding:8px 18px;

    border-radius:50px;

    font-size:.9rem;

    margin-bottom:15px;

}

.executive-content h3{

    font-size:2rem;

    margin-bottom:18px;

}

.executive-content p{

    line-height:1.9;

    color:#666;

    font-size:1.05rem;

}



.president{

    border-left:8px solid #a57c0a;

}



.vice-president{

    border-left:8px solid #1cc953;

}


.manager-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:60px;

}

.manager-card{

    background:rgb(232, 249, 226);

    border:2px solid var(--main-color);

    border-radius:20px;

    text-align:center;

    padding:30px;

    transition:.3s;

}

.manager-card:hover{

    transform:translateY(-8px);

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.manager-card img{

    width:220px;

    height:280px;

    object-fit:cover;

    border-radius:18px;

    border:4px solid var(--main-color);

    margin-bottom:20px;

}

.manager-card h3{

    font-size:1.5rem;

    margin:15px 0;

}

.manager-card p{

    line-height:1.8;

    color:#666;

}


@media(max-width:991px){

.executive-card{

    flex-direction:column;

    text-align:center;

}

.executive-card img{

    width:240px;

    height:320px;

}

.executive-content{

    text-align:center;

}

.manager-grid{

    grid-template-columns:1fr;

}

.manager-card img{

    width:200px;

    height:260px;

}

}
.contact-container{
    max-width:1400px;
    margin:80px auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    padding:20px;
}

.contact-info h2{
    color:#4d7c2f;
    font-size:2rem;
    margin-bottom:20px;
}

.contact-info p{
    line-height:1.8;
    color:#666;
}

.info-box{
    display:flex;
    gap:18px;
    margin-top:30px;
    align-items:flex-start;
}

.info-box i{
    width:60px;
    height:60px;
    background:#4d7c2f;
    color:#fff;
    border-radius:15px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
}

.support{
    background:#f5f9f2;
    padding:20px;
    border-radius:15px;
    border-left:5px solid #4d7c2f;
}

.contact-form{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.contact-form form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{

padding:16px;
border:1px solid #ddd;
border-radius:10px;
font-size:16px;

}

.contact-form input:focus,
.contact-form textarea:focus{

outline:none;
border-color:#4d7c2f;

}

.contact-form button{

background:#4d7c2f;
color:#fff;
padding:16px;
border:none;
border-radius:10px;
font-size:17px;
cursor:pointer;
transition:.3s;

}

.contact-form button:hover{

background:#365b20;

}

.contact-form button i{

margin-right:8px;

}

@media(max-width:992px){

.contact-container{

grid-template-columns:1fr;

}

}
.success-message,
.error-message{
    padding:15px;
    margin-bottom:20px;
    border-radius:8px;
    font-weight:600;
}

.success-message{
    background:#e8f8ec;
    color:#2e7d32;
    border:1px solid #81c784;
}

.error-message{
    background:#fdecea;
    color:#c62828;
    border:1px solid #ef9a9a;
}

.success-message i,
.error-message i{
    margin-right:8px;
}

.promo-banner{
    width: 100%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
}

.banner-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.banner-item{
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.banner-item img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: .4s ease;
}

.banner-item:hover img{
    transform: scale(1.05);
}

@media (max-width: 992px){

    .banner-grid{
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width: 768px){

    .banner-grid{
        grid-template-columns: 1fr;
    }

}

.cta-banner{
    width: 100%;
    max-width: 1400px;
    height: 450px;
    margin: 80px auto;
    border-radius: 25px;
    overflow: hidden;
    position: relative;

    background: url("image/banner/industrial-solutions.png") center center / cover no-repeat;
}

.cta-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.cta-overlay h2{
    color: #fff;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 3px 10px rgba(0,0,0,.5);
}

.cta-overlay p{
    color: #fff;
    font-size: 1.2rem;
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 3px 10px rgba(0,0,0,.5);
}

.cta-btn{
    display: inline-block;
    padding: 15px 40px;
    background: #4d7c2f;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: .3s ease;
}

.cta-btn:hover{
    background: #36591f;
    transform: translateY(-3px);
}

@media (max-width:768px){

    .cta-banner{
        height: 280px;
        border-radius: 15px;
    }

    .cta-overlay h2{
        font-size: 2rem;
    }

    .cta-overlay p{
        font-size: 1rem;
    }

    .cta-btn{
        padding: 12px 28px;
        font-size: 16px;
    }

}


.chat-bubble{

    position:fixed;
    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#4d7c2f;

    color:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    font-size:34px;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    transition:.3s ease;

    z-index:9999;

}

.chat-bubble:hover{

    transform:scale(1.1);

}

.chat-bubble i{

    animation:bounce 2s infinite;

}

@keyframes bounce{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-4px);
    }

}



.chat-box {
    color: #333;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}


.chat-header {
    background: #4b7a2f;
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f5f5f5;
}
.chat-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #fff;
}
.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.chat-input button {
    background: #4b7a2f;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
}

.chat-title{

    display:flex;

    align-items:center;

    gap:10px;

}

.chat-title i{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;

    background:#ffffff;
    color:#4d7c2f;

    border-radius:50%;
    font-size:24px;
}

.chat-title span{

    font-size:17px;

    font-weight:600;

}

#closeChat{

    font-size:28px;

    cursor:pointer;

    transition:.3s;

}

#closeChat:hover{

    transform:rotate(180deg);

}


.chat-body{

    flex:1;

    overflow-y:auto;

    padding:15px;

    background:#f7f7f7;

}

.bot-message{
        color: #333;
    opacity: 1;         
    background: #f5f5f5; 

    background:#fff;

    padding:12px 15px;

    border-radius:15px;

    margin-bottom:12px;

    max-width:80%;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

}

.user-message {
    color: #fff;
    background: #4d7c2f;
    align-self: flex-end;
    background: #4b7a2f;
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 80%;
}

.bot-message {
    align-self: flex-start;
    background: white;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 80%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}




.chat-footer{

    display:flex;

    border-top:1px solid #eee;

}

.chat-footer input{

    flex:1;

    border:none;

    outline:none;

    padding:15px;

    font-size:15px;

}

.chat-footer button{

    width:60px;

    border:none;

    background:#4d7c2f;

    color:#fff;

    cursor:pointer;

    font-size:24px;

    transition:.3s;

}

.chat-footer button:hover{

    background:#36591f;

}



@media(max-width:768px){

    .chat-box{

        width:95%;

        height:80vh;

        right:2.5%;

        bottom:90px;

    }

}
.quick-replies{

    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:15px;

}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-replies button {
    background: #4b7a2f;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
}