:root {
    --primary: #16a34a;
    --secondary: #059669;
    --accent: #84cc16;
    --dark: #1e293b;
    --light: #f8fafc;
    --brown: #92400e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Topbar */
.topbar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.topbar a {
    color: white;
    text-decoration: none;
    margin: 0 8px;
    transition: all 0.3s;
}

.topbar a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Header with Decorations */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
    overflow: visible;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--primary), var(--secondary), transparent);
    animation: headerLine 3s linear infinite;
}

@keyframes headerLine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    opacity: 0.3;
}

.header-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.header-line {
    position: absolute;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.2;
}

.header-line.left-top {
    width: 2px;
    height: 60px;
    top: 0;
    left: 50px;
    animation: lineGrowDown 2s ease-in-out infinite;
}

.header-line.right-top {
    width: 2px;
    height: 60px;
    top: 0;
    right: 50px;
    animation: lineGrowDown 2s ease-in-out infinite 1s;
}

.header-line.left-arrow {
    width: 80px;
    height: 2px;
    top: 30%;
    left: 20px;
    animation: slideRight 2s ease-in-out infinite;
}

.header-line.left-arrow::before,
.header-line.left-arrow::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    right: 0;
}

.header-line.left-arrow::before {
    transform: rotate(-45deg);
    transform-origin: right;
}

.header-line.left-arrow::after {
    transform: rotate(45deg);
    transform-origin: right;
}

.header-line.right-arrow {
    width: 80px;
    height: 2px;
    top: 30%;
    right: 20px;
    animation: slideLeft 2s ease-in-out infinite;
}

.header-line.right-arrow::before,
.header-line.right-arrow::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 2px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    left: 0;
}

.header-line.right-arrow::before {
    transform: rotate(45deg);
    transform-origin: left;
}

.header-line.right-arrow::after {
    transform: rotate(-45deg);
    transform-origin: left;
}

.header-line.bottom-left {
    width: 120px;
    height: 2px;
    bottom: 10px;
    left: 30px;
    animation: pulse 3s ease-in-out infinite;
}

.header-line.bottom-right {
    width: 120px;
    height: 2px;
    bottom: 10px;
    right: 30px;
    animation: pulse 3s ease-in-out infinite 1.5s;
}

@keyframes lineGrowDown {

    0%,
    100% {
        height: 30px;
        opacity: 0.1;
    }

    50% {
        height: 60px;
        opacity: 0.3;
    }
}

@keyframes slideRight {

    0%,
    100% {
        transform: translateX(-20px);
        opacity: 0.1;
    }

    50% {
        transform: translateX(0px);
        opacity: 0.4;
    }
}

@keyframes slideLeft {

    0%,
    100% {
        transform: translateX(20px);
        opacity: 0.1;
    }

    50% {
        transform: translateX(0px);
        opacity: 0.4;
    }
}

@keyframes pulse {

    0%,
    100% {
        width: 80px;
        opacity: 0.2;
    }

    50% {
        width: 120px;
        opacity: 0.4;
    }
}

.navbar-brand {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Multi-level Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
    z-index: 1050;
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding-left: 25px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 5px;
    z-index: 1051;
}

.dropdown-submenu>a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    margin-left: 10px;
}

/* Offcanvas for Mobile */
.offcanvas {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.95), rgba(5, 150, 105, 0.95));
    color: white;
}

.offcanvas .nav-link {
    color: white !important;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.offcanvas .dropdown-menu {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    margin-left: 20px;
}

.offcanvas .dropdown-item {
    color: white !important;
    padding: 10px 15px;
}

.offcanvas .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.enquiry-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(22, 163, 74, 0.3);
}

.enquiry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./img/b-4.jpg') center/cover;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), transparent, var(--secondary));
    opacity: 0.3;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {

    0%,
    100% {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }

    50% {
        transform: translateX(50%) translateY(50%) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
    border: 2px solid white;
    background: transparent;
    color: white;
    margin: 10px;
    transition: all 0.3s;
    animation: fadeInUp 1s 0.6s both;
}

.hero-btn:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.05);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #dcfce7 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.1) 0%, transparent 70%);
    animation: float 20s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(50px, 50px) rotate(180deg);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.2rem;
    color: #64748b;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.3);
}

.custom-btn {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
}

.custom-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(132, 204, 22, 0.4);
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(132, 204, 22, 0.3);
}

.product-img {
    height: 350px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-img::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    margin-bottom: 15px;
    color: var(--accent);
}

.product-badge {
    background: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('./img/b-3.webp') center/cover fixed;
    color: white;
}

.service-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.service-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    border-color: var(--accent);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #dcfce7 100%);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
    cursor: pointer;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    text-align: center;
    color: white;
    transition: all 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-icon {
    font-size: 50px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.3);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.05);
}

.branch-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent);
}

/* Newsletter */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-input {
    padding: 18px 25px;
    border-radius: 50px;
    border: none;
    width: 100%;
    font-size: 16px;
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 13px 35px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: var(--accent);
    color: var(--dark);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: bold;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer ul li i {
    margin-right: 10px;
    color: var(--accent);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(22, 163, 74, 0.4);
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top.active {
    display: flex;
}

/* Responsive */
@media (max-width: 991px) {
    .header-line {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}