* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
}

#header {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    padding: 10px 40px;
    position: relative;
    overflow: hidden;
    color: white;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.header-left,
.header-right {
    position: relative;
    z-index: 2;
}

.header-left {
    display: flex;
    align-items: flex-start;
}

.logo img {
    width: 320px;
    max-width: 100%;
    margin-top: -50px;
}

.header-right {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contacts {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
    font-size: 16px;
    font-weight: 200;
    margin-bottom: 10px;
}

.nav {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    opacity: 0.7;
}

.category-buttons {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 420px;
}

.category-btn {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 600;
    transition: 0.3s;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
}

.category-btn h1 {
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.category-btn .icon {
    width: 65px;      
    height: 65px;    
    border-radius: 50%;
    margin-right: 25px;
    background: rgba(255,255,255,0.25);
  
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon img {
    width: 35px;
    height: 35px;
  
}

.medicine {
    background: linear-gradient(to right, #6aa8ff, #4f6edb);
}

.veterinary {
    background: linear-gradient(to right, #b07cff, #7c3aed);
}

.agro {
    background: linear-gradient(to right, #1fae3a, #0f7c22);
}

.materials {
    background: rgba(80,80,80,0.9);
}

.category-btn:hover {
    transform: scale(1.05);
    border: 2px solid white;
}

.about {
    padding: 40px 80px 40px 80px;
}

.about-us {
    font-size: 42px;
    font-weight: 550;
    margin-bottom: -40px;
}

.text-about {
    max-width: 60vw;
    display: flex;
    align-items: center;
    gap: 40px;
}


.text-about h1{
    font-size: 18px;
    font-style: none;
    font-weight: 500;
}

.stylegreen {
    color: #21BF69;
}


.manufactures {
    padding: 80px 40px;
    text-align: center;
}

.manufactures h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.manufactures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 40px;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
}

.manufacturer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.manufacturer img {
    max-width: 180px;
    width: 100%;
    transition: 0.3s ease;
}

.manufacturer img:hover {
    transform: scale(1.05);
}


.footer {
    background-image: url(footer.png);
    color: white;
    padding: 60px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-left a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 400;
    transition: 0.3s;
}

.footer-left a:hover {
    opacity: 0.6;
}

.footer-right {
    text-align: right;
    font-size: 14px;
    line-height: 1.6;
    max-width: 420px;
}

.footer-right p {
    margin-bottom: 10px;
}

html {
    scroll-behavior: smooth;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.contact-link:hover {
    opacity: 0.7;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    border: none;
    background: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}