:root{
    --green: #1d4a2c;
    --red: #c8202b;
}

@view-transition{
    navigation: auto;
}

@keyframes pageIn{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

::view-transition-old(root){
    animation-duration: 0.4s;
}

::view-transition-new(root){
    animation: pageIn 0.5s ease-out;
}

/*Firefox and old browser load*/
@keyframe fadeIn{
    from{ opacity: 0;}
    to{ opacity: 1;}
}

@supports not (view-transition-name: none){
    body{
        animation: fadeIn 0.5s ease-out;
    }
}

html{
    scroll-behavior: smooth;
}

/*General Settings*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #222;
}

a:focus-visible,
.btn:focus-visible{
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

/* Navigation Bar */
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #ffffff;
}

/* Company Logo */
.logo img{
    height: 50px;
    width: auto;
    display: block;
}

/*header*/
header{
    position: sticky;
    top: 0;
    z-index: 1100;
    transition: box-shadow 0.3s;
}

/* Navigation Links */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 30px;
}

/* Individual Links */
.nav-links a{
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

/* Hover Effect */
.nav-links a:hover{
    color: var(--red);
    position: relative;
}

.nav-links a.active::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: var(--red);
}

.nav-links a.active{
    color: var(--red);
    position: relative;
}

/*hamburger button*/
.menu-toggle{
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--green);
    cursor: pointer;
}


/*Hero*/
.hero{
    min-height: 580px;
    background-color: var(--green);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.hero h1{
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
    font-size: 55px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-slides,
.slide,
.hero-overlay{
    position: absolute;
    inset: 0;
}

.slide{
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active{
    opacity: 1;
}

.hero-overlay{
    background-color: rgba(20, 50, 30, 0.6);
}

.hero-content{
    position: relative;
    z-index: 1;
}

/*animation*/
@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(40px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1,
.hero-content p,
.hero-content .btn{
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-content h1{
    animation-delay: 0.2s;
}

.hero-content p{
    animation-delay: 0.4s;
}

.hero-content .btn{
    animation-delay: 0.8s;
}

/*Button*/
.btn{
    display: inline-block;
    background-color: var(--red);
    color: white;
    padding: 5px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 24px;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
}

.btn:hover{
    background-color: #a8161f;
}

/*Business*/
.business{
    padding: 80px 60px;
    font-family: 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    font-size: 23px;
    color: var(--green);
    
}

.business-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.business-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 0 24px 32px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition:transform 0.3s, box-shadow 0.3s;
    min-height: 0;
    overflow: hidden;
}

.business-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.business-icon{
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 18px;
    border: none;
    cursor: pointer;
}

.business-card p{
    font-family: system-ui, Arial, sans-serif;
    font-size: 13px;
    color: #555555;
    flex-grow: 1;
}

.business-card h3{
    color: var(--green);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: system-ui, Arial, sans-serif;
}

.business-grid .business-card{
    font-size: 17px;
    color: #555555;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    max-width: 650px;
}

.business h2{
    color: var(--green);
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    top: -20px;
}

.business p{
    font-size: 15px;
    color: #555555;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    max-width: 650px;
    font-family: system-ui, Arial, sans-serif;
    margin-bottom: 20px;
}

.about h2,
.business h2{
    color: var(--green);
    font-size: 36px;
    margin-bottom: 20px;
}

.business-icon{
    transition: transform 0.3s;
    position: relative;
    margin: -36px auto 16px;
    border: 4px solid #ffffff;
}

.business-card:hover .business-icon{
    transform: rotate(-10deg) scale(1.08);
}

.business-more{
    margin-top: 18px;
}

.business-more summary{
    display: inline-block;
    list-style: none;
    cursor: pointer;
    color: var(--red);
    font-weight: 600;
    border: 2px solid var(--red);
    border-radius: 999px;
    padding: 8px 20px;
    transition: background-color 0.3s, color 0.3s;
}

.business-more summary::-webkit-details-marker{
    display: none;
}

.business-more summary:hover,
.business-more[open] summary{
    background-color: var(--red);
    color: #ffffff;
}

.business-tags{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.business-tags li{
    background-color: #f4f6f3;
    border: 1px solid #dde3dd;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    color: #333333;
}

.less-text{
    display: none;
}

.business-more[open] .less-text{
    display: inline;
}

.business-more[open] .more-text{
    display: none;
}

.reveal-hint{
    display: none;
    padding: 4px 14px;
    border-radius: 999px;
    background-color: #f4f6f3;
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    margin-top: 12px;
}

.business-reveal{
    display: grid;
    grid-template-rows: 1cqh;
    opacity: 1;
    transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
}

.business-reveal-inner{
    overflow: hidden;
}

.business-card:hover .business-reveal,
.business-card:focus-within .business-reveal,
.business-card.bubble-open .business-reveal{
    grid-template-rows: 1fr;
    opacity: 1;
}

.business-list{
    list-style: none;
    margin: 16px 0;
    line-height: 1.9;
    color: #222222;
}

.business-img{
    display: block;
    width: calc(100% + 48px);
    height: 180px;
    margin: 0 -24px;
    object-fit: cover;
    transition: transform 0.5s;
}

.business-card:hover .business-img{
    transform: scale(1.05);
}

.more-info-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    padding: 8px 20px;
    margin-bottom: 4px;
    border-radius: 999px;
    background-color: #e3eee6;
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    margin-top: 16px;
    font-size: 14px;
    transition: color 0.3s;
}

more-info-btn i{
    transition: transform 0.3s;
}

.more-info-btn:hover{
    background-color: var(--green);
    color: #ffffff;
    font-family: inherit;
}

.more-info-btn:hover i{
    transform: translateX(5px);
}

/*Coverage Section*/
.coverage{
    background-color: #f5f5f5;
    padding: 80px 60px;
    text-align: center;
    color: var(--green);
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 25px;
}


.coverage-container{
    max-width: 1100px;
    margin: 0 auto;
}

.coverage h2{
    color: black;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'Arial Narrow', Arial, sans-serif;
}

.coverage-intro{
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 15px;
    color: #555555;
    font-family: system-ui, Arial, sans-serif;
}

.coverage-list{
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.coverage-item{
    background-color: #e3eee6;
    border-radius: 12px;
    border-bottom: 4px solid var(--green);
    padding: 28px 16px;
    transition: transform 0.3s;
}

.coverage-item:hover{
    transform: translateY(-6px);
}

.coverage-item i{
    font-size: 28px;
    color: var(--red);
    margin-bottom: 12px;
}

.coverage-item h3{
    font-size: 19px;
    color: #222222;
    margin-bottom: 4px;
}

.coverage-item p{
    font-family: system-ui, Arial, sans-serif;
    font-size: 14px;
    color: #555555;
}

.coverage-map{
    height: 420px;
    border-radius: 12px;
    margin-bottom: 40px;
    z-index: 0;
}

.coverage-map .leaflet-tile-pane{
    filter: grayscale(0.5);
}

.coverage-map .map-pin i{
    font-size: 44px;
    color: var(--red);
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

.coverage-map .map-label{
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 2px 2px;
    border-bottom: 1.5px solid #222222;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    color: #222222;
}

.coverage-map .map-label::before{
    display:none;
}

/*Headquaters card*/
.coverage-hq i,
.coverage-hq h3,
.coverage-hq p{
    color: #ffffff;
}

/*About Section*/
#about,
#services,
#coverage,
#contact{
    scroll-margin-top: 90px;
}

.about{
    background-color: #f5f5f5;
    padding: 80px 60px;
    text-align: center;
}

.about-container{
    max-width: 1100px;
    margin: 0 auto;
}

.section-label{
    color: var(--red);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about h1, .about h2{
    color: var(--green);
    font-size: 45px;
    font-family: 'Arial Narrow', Arial, sans-serif;
    margin-bottom: 20px;
}

.about p{
    font-size: 15px;
    color: #555555;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    max-width: 650px;
}

.about .about-intro{
    max-width: 700px;
    margin: 24px auto 60px;
}

.about-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-block h3{
    color: var(--red);
    margin-bottom: 10px;
}

/*icon*/
.industry-list{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    max-width: 800px;
    margin: 36px auto 40px;
}

.industry-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 120px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    color: #222222;
}

.industry-icon{
    width: 72px;
    height: 72px;
    border: 3px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--green);
    transition: background-color 0.3s, color 0.3s;
}

.industry-item:hover .industry-icon{
    background-color: var(--green);
    color: white;
}

/*Business page*/
.page-hero{
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.page-hero-overlay{
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
}

.page-hero-content{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-hero h1{
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    color: #ffffff;
    animation: fadeUp 0.8s ease-out both;
}

.page-section{
    padding: 72px 20px;
}

.page-section-alt{
    background-color: #f4f6f3;
}

.page-container{
    max-width: 1100px;
    margin: 0 auto;
}

.page-container.narrow{
    max-width: 760px;
    text-align: center;
}

.page-section h2{
    color: var(--green);
    font-size: 32px;
    text-align: center;
    margin-bottom: 16px;
}

.section-intro{
    font-size: 17px;
    line-height: 1.7;
    color: #555555;
}

.feature-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature-card{
    background-color: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.feature-card:hover{
    transform: translateY(-4px);
}

.feature-card i{
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #fdf1f2;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.feature-card h3{
    font-size: 18px;
    color: #222222;
    margin-bottom: 6px;
}

.feature-card p{
    font-size: 15px;
    color: #555555;
}


/*Contact*/
.contact{
    background-color: #e5e4e2;
    padding: 84px 60px;
    text-align: left;
}

.contact-wrap{
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    max-width: 860px;
    margin: 0 auto;
}

.contact-info h2{
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--green);
}

.contact-lead{
    color: #546059;
    font-size: 19px;
    margin-bottom: 28px;
}

.contact-info strong{
    display: block;
}

.contact-info a{
    color: var(--green);
}

.contact-info p{
    margin-bottom: 18px;
}

/*Form*/
.contact-form{
    display: grid;
    gap: 14px;
}

.contact-form label{
    display: grid;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dde3dd;
    border-radius: 10px;
    font: inherit;
    background-color: white;
}

input{
    height: 48px;
}

textarea{
    min-height: 130px;
    resize: vertical;
}

input:focus,
textarea:focus{
    outline: 2px solid var(--green);
    outline-offset: 1px;
}

.contact-form .btn{
    width: 100%;
    margin-top: 4px;
}

.form-note{
    font-size: 14px;
    color: #546059;
}

/*Footer*/
.footer{
    background-color: var(--green);
    color: #c8d7cc;
    padding: 60px 60px 24px;
    font-size: 14px;
}

.footer-top{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-logo img{
    display: block;
    height: 56px;
    width: auto;
    background-color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.footer-details{
    font-style: normal;
    line-height: 1.8;
}

.footer a{
    color: #c8d7cc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-right{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-links{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    font-size: 15px;
}

.footer-links a{
    color: #ffffff;
}

.footer-social-title{
    color: #ffffff;
    font-size: 15px;
}

.footer-social{
    display: flex;
    gap: 12px;
}

.footer-social a{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
}

.footer-social a:hover{
    background-color: #ffffff;
    color: var(--red);
    transform: translateY(-3px);
}

.footer-bottom{
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-align: center;
}

.footer img{
    max-height: 56px;
    width: auto;
}

@media(max-width: 800px){
    .navbar{ 
        flex-direction: row;
        position: relative;
        padding: 12px 20px; 
    }
    .menu-toggle{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-links{ 
        display: flex;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0; 
        background-color: #ffffff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 8px 0;
    }
    .navbar.nav-open .nav-links{
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links a{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 600;
    }
    .navlinks li{
        border-bottom: 1px solid #eef1ee;
    }
    .navlinks li:last-child{
        border-bottom: none;
    }
    .navlinks a::after{
        content: '>';
        position: static;
        height: auto;
        background: none;
        font-size: 22px;
        color: #9aa59e;
    }
    .navlinks a.active{
        background-color: #fdf1f2;
        border-left: 4px solid var(--red);
        padding-left: 20px;
    }
    .navlinks a.active::after{
        color: var(--red);
    }
    .page-hero{ min-height: 50vh; }
    .page-hero h1{ font-size: 40px; }
    .page-hero-content{ padding: 0 20px; }
    .hero{ min-height: 380px; }
    .hero h1{font-size: 40px; }
    .business, .about{ padding: 60px 20px; }
    .business-grid, .about-grid{ grid-template-columns: 1fr; }
    .contact{ padding: 60px 20px; }
    .contact-wrap{ grid-template-columns: 1fr; gap: 34px; }
    .contact-info h2{font-size: 32px; }
    .footer{ padding: 30px 20px;}
    .coverage{ padding: 60px 20px;}
    .coverage h2{ font-size: 28px;}
    .coverage-map{ height: 300px;}
    ::view-transition-old(root),
    ::view-transition-new(root){
        animation: none;
    }

    body{
        animation: none;
    }
    .coverage-map .map-pin i{
        font-size: 30px;
    }

    .coverage-map .map-label{
        font-size: 12px;
    }
    .coverage-map .leaflet-tile-pane{
        filter: none;
    }
}


