* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #d9fdd3 0%, #e7fce4 50%, #f9fff8 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        transform: translate3d(30px, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Top Bar */
.navbar-top-bar {
    background: linear-gradient(90deg, #4cc609, #3eb251);
    background-size: 200% 200%;
    text-align: center;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 20px;
    animation: fadeInDown 0.6s ease-out, gradientShift 8s ease infinite;
}

.navbar-top-contact {
    display: flex;
    animation: fadeIn 0.8s ease-out;
}

.navbar-top-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s;
}

.navbar-top-contact-item:hover {
    transform: translateY(-2px);
}

.navbar-social-icons {
    display: flex;
    gap: 12px;
}

.navbar-social-icons a {
    color: white;
    transition: all 0.3s;
    transform: translateZ(0);
}

.navbar-social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Header */
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 99;
    animation: fadeInDown 0.8s ease-out;
}

.navbar-logo img{
    width: 160px;
    transition: transform 0.5s ease;
}

.navbar-logo:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    display: flex;
    gap: 32px;
}

.navbar-nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 6px 0;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.navbar-nav a:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav a:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav a:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav a:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav a:nth-child(5) { animation-delay: 0.5s; }
.navbar-nav a:nth-child(6) { animation-delay: 0.6s; }

.navbar-nav a:hover {
    color: #16a34a;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: width 0.3s;
}

.navbar-nav a:hover::after {
    width: 100%;
}

/* Buttons */
.navbar-actions {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.navbar-btn-green {
    background: linear-gradient(to right, #22c55e, #16a34a);
    background-size: 200% 200%;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s;
}

.navbar-btn-green:hover {
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.4);
    transform: translateY(-3px);
}

.navbar-btn-outline {
    background: transparent;
    border: 2px solid #22c55e;
    color: #22c55e;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.navbar-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #22c55e;
    transition: all 0.4s;
    z-index: -1;
}

.navbar-btn-outline:hover {
    color: #fff;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.navbar-btn-outline:hover::before {
    left: 0;
}

/* Hamburger Menu */
.navbar-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    background: transparent;
    border: none;
    margin-left: auto;
    transition: transform 0.3s;
}

.navbar-hamburger:hover {
    transform: scale(1.1);
}

.navbar-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #40894a;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Different line sizes */
.navbar-hamburger span:nth-child(1) {
    width: 80%;
    margin-left: auto;
}

.navbar-hamburger span:nth-child(2) {
    width: 100%;
}

.navbar-hamburger span:nth-child(3) {
    width: 60%;
    margin-left: auto;
}

/* Active state for hamburger */
.navbar-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    width: 100%;
}

.navbar-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.navbar-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    width: 100%;
}

/* Mobile Menu */
.navbar-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index:102;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.navbar-mobile-menu.active {
    right: 0;
}

.navbar-mobile-logo {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
    animation: fadeInDown 0.5s ease-out;
}

.navbar-mobile-logo img {
    width: 140px;
    transition: transform 0.3s;
}

.navbar-mobile-logo:hover img {
    transform: scale(1.05);
}

.navbar-mobile-contact {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.navbar-mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #334155;
    font-size: 14px;
    transition: transform 0.3s;
    opacity: 0;
    transform: translateX(20px);
}

.navbar-mobile-menu.active .navbar-mobile-contact-item {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.navbar-mobile-menu.active .navbar-mobile-contact-item:nth-child(1) {
    transition-delay: 0.2s;
}

.navbar-mobile-menu.active .navbar-mobile-contact-item:nth-child(2) {
    transition-delay: 0.25s;
}

.navbar-mobile-contact-item:last-child {
    margin-bottom: 0;
}

.navbar-mobile-contact-item i {
    color: #22c55e;
}

.navbar-mobile-contact-item:hover {
    transform: translateX(5px);
}

.navbar-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 15px;
}

.navbar-mobile-nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s;
    opacity: 0;
    transform: translateX(20px);
}

.navbar-mobile-menu.active .navbar-mobile-nav a {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.navbar-mobile-menu.active .navbar-mobile-nav a:nth-child(1) { transition-delay: 0.1s; }
.navbar-mobile-menu.active .navbar-mobile-nav a:nth-child(2) { transition-delay: 0.15s; }
.navbar-mobile-menu.active .navbar-mobile-nav a:nth-child(3) { transition-delay: 0.2s; }
.navbar-mobile-menu.active .navbar-mobile-nav a:nth-child(4) { transition-delay: 0.25s; }
.navbar-mobile-menu.active .navbar-mobile-nav a:nth-child(5) { transition-delay: 0.3s; }

.navbar-mobile-nav a:hover {
    color: #16a34a;
    padding-left: 10px;
}

.navbar-mobile-social {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
}

.navbar-mobile-menu.active .navbar-mobile-social {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
}

.navbar-mobile-social a {
    color: #22c55e;
    font-size: 20px;
    transition: all 0.3s;
}

.navbar-mobile-social a:hover {
    transform: translateY(-3px) scale(1.1);
    color: #16a34a;
}

.navbar-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    padding: 12px 0;
    width: fit-content;
    opacity: 0;
    transform: translateY(20px);
}

.navbar-mobile-menu.active .navbar-mobile-actions {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}

.navbar-close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
}

.navbar-close-menu:hover {
    color: #22c55e;
    transform: rotate(90deg);
}

.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    animation: fadeIn 0.3s ease-out;
}

.navbar-overlay.active {
    display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .navbar-nav, .navbar-actions {
        display: none;
    }

    .navbar-hamburger {
        display: flex;
    }

    .navbar-top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {
    .navbar-header {
        padding: 15px 20px;
    }

    .navbar-logo img {
        width: 140px;
    }

    .navbar-top-bar {
        font-size: 16px;
    }
    
    .navbar-btn-green, .navbar-btn-outline {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .navbar-top-contact-item span {
        font-size: 16px;
    }

    .navbar-social-icons {
        gap: 8px;
    }
    
    .navbar-mobile-menu {
        width: 85%;
    }
}
