:root {
    --primary-color: rgb(4, 80, 110);
    --secondary-color: #009619;
    --text-color: #1e293b;
    --light-bg: #f8fafc;
    --gap-desktop: 100px;
    --gap-tablet: 30px;
    --gap-mobile: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'poppins', sans-serif;
}

body {
    color: var(--text-color);
    background: #caf8e2;
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 3%;
    background: #0a6900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    width: clamp(35px, 5vw, 45px);
    height: clamp(35px, 5vw, 45px);
    border-radius: 50%;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(15px, 2vw, 20px);
}

.navbar a {
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    color: white;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 20px;
    transition: all 0.3s;
}

.navbar a:hover {
    background: rgba(152, 207, 0, 0.479);
    transform: translateY(-4px);
}

#home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-desktop);
    padding: 100px 5% 10px;
    background: url("/images/background.jpg") no-repeat center/cover;
    color: white;
    z-index: 1;
}

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: -1;
}

.home-content {
    flex: 1;
    max-width: 650px;
    animation: slideInLeft 1s ease;
    margin-bottom: 0;
}

.home-content h1 {
    white-space: nowrap;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    overflow: hidden;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.home-content h1 span {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.home-content h3 {
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 30px;
    color: #e0e1e0;
}

.home-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 50px;
    text-align: justify;
}

.btn-box {
    display: inline-block;
    padding:15px clamp(20px, 3vw, 40px);
    background: rgba(255,255,255,0.9);
    border-radius: 40px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
    transition: all 0.3s;
    margin: 10px 0;
}

.btn-box:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255,255,255,0.5);
}

.home-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-image img {
    width: 100%;
    max-width: min(450px, 40vw);
    height: auto;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    transition: transform 0.4s;
}

#about, #service, #team, #contact {
    padding: 5rem 5% 0;
}

.about-content h1, .service-content h1, .team-content h1, .contact h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    text-align: center;
    margin-bottom: 3rem;
    animation: clignote 2s infinite;
}

.about-content h1 span, .service-content h1 span, .team-content h1 span, .contact h1 span {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.story, .mission, .vision, .value {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-desktop);
    align-items: center;
    margin-bottom: 5rem;
}

.value {
    margin-bottom: 1rem;
}

.mission .about-image,
.value .about-image {
    order: 1;
}

.mission .about-text,
.value .about-text {
    order: 2;
}

.story .about-text,
.vision .about-text {
    order: 1;
}

.story .about-image,
.vision .about-image {
    order: 2;
}

.about-text {
    width: 100%;
    padding: 0 10px;
}

.about-text h4 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text h4 svg {
    width: clamp(30px, 4vw, 40px);
    height: clamp(30px, 4vw, 40px);
}

.about-text p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.about-image img {
    width: 100%;
    max-width: min(350px, 40vw);
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 30px rgba(1, 55, 105, 0.2);
    transition: transform 0.4s;
}

.about-image img:hover {
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 25px var(--primary-color);
}

.value-list {
    list-style: none;
}

.value-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin: 0 50px 15px;
    font-weight: 600;
}

.value-list li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-list .list {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 30px;
    border: 1px solid rgba(2, 79, 87, 0.1);
    box-shadow: 0 20px 30px rgba(2, 79, 87, 0.1);
    text-align: center;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.services-list .list:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(4,80,110,0.1));
    border-color: var(--secondary-color);
    box-shadow: 0 30px 40px rgba(2, 79, 87, 0.2);
    border: 1px solid rgba(2, 79, 87, 0.1);
}

.services-list .list h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--primary-color);
}

.services-list .list p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-color);
    line-height: 1.6;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-list .row {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: all 0.4s;
}

.team-list .row:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(2, 79, 87, 0.2);
}

.team-list .row img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-list .row:hover img {
    transform: scale(1.1);
}

.team-list .row h2 {
    padding: 20px;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), #0a6a8a);
    margin-top: -4px ;

}

.row .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4,80,110,0.95), rgba(76,175,80,0.95));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.5s;
}

.row:hover .layer {
    transform: translateY(0);
}

.row .layer h5 {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.row .layer ul {
    list-style: none;
    color: white;
}

.row .layer ul li {
    margin-bottom: 10px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.5;
}

#contact {
    padding-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-desktop);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-text h4 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-text p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-text li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: 10px;
    list-style: none;
    font-weight: 550;
    color: var(--primary-color);
}

.contact-text li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-icons {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.contact-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
}

.contact-icons a:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.5);
    box-shadow: 0 0 25px rgba(255,255,255,0.7), 0 0 50px rgba(255,255,255,0.5), 0 0 100px rgba(255,255,255,0.5);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--secondary-color);
    background: white;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .send {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    border: none;
    padding: 15px 30px;
    border-radius: 40px;
    transition: all 0.3s;
}

.contact-form .send:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

#signature {
    text-align: center;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    font-size: 0.9rem;
}

.signature span {
    font-weight: 600;
}

#top {
    position: fixed;
    bottom: 2px;
    right: 2px;
    padding: 30px;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-1 { 
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}