﻿.agc-nav {
    /* background: #1f2937; */
    padding: 0 24px;
}

.agc-menu {
    list-style: none;
    display: flex;
}

    .agc-menu > .agc-menu-item {
        position: relative;
    }

        .agc-menu > .agc-menu-item > .agc-menu-link {
            display: block;
            padding: 16px 20px;
            color: #ffffff;
            text-decoration: none;
        }

/* .agc-menu > .agc-menu-item > .agc-menu-link:hover {
    background: #374151;
  } */

/* Dropdown */
.agc-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #5a5a52;
    min-width: 200px;
    list-style: none;
    display: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.agc-dropdown-item .agc-dropdown-link {
    display: block;
    padding: 12px 16px;
    /* color: #111827; */
    text-decoration: none;
    white-space: nowrap;
}

    .agc-dropdown-item .agc-dropdown-link:hover {
        /* background: #f3f4f6; */
    }

/* Show dropdown on hover */
.agc-menu-item:hover > .agc-dropdown {
    display: block;
}

.agc-menu {
    list-style: none;
    display: flex;
    justify-content: center; /* 👈 centers items */
}



.agc-order-btn {
    position: relative;
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #ff2a68, #c8003b);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 14px;
    text-transform: uppercase;
    /* Dotted inner border */
    outline: 2px dotted rgba(255,255,255,0.85);
    outline-offset: -6px;
    /* Glow */
    box-shadow: 0 8px 20px rgba(200, 0, 60, 0.5), 0 0 18px rgba(255, 42, 104, 0.8);
    animation: agc-shake 4s infinite;
}

    /* Speech bubble notch */
    .agc-order-btn::after {
        content: "";
        position: absolute;
        left: 24px;
        bottom: -12px;
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 12px solid #c8003b;
    }

    .agc-order-btn:hover {
        animation: none;
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(200, 0, 60, 0.7), 0 0 26px rgba(255, 42, 104, 1);
    }

/* Subtle shake */
@keyframes agc-shake {
    0% {
        transform: translateX(0);
    }

    2% {
        transform: translateX(-3px);
    }

    4% {
        transform: translateX(3px);
    }

    6% {
        transform: translateX(-3px);
    }

    8% {
        transform: translateX(3px);
    }

    10% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE FIXES - Mobile First
   ======================================== */

/* General mobile fixes */
@media (max-width: 991px) {
    /* Banner hero section - increased padding to clear sticky header */
    .vl-heo-area {
        padding-top: 160px !important;
        padding-bottom: 80px !important;
    }

    /* FIX: Override absolute positioning for carousel on mobile */
    .vl-heo-area .vl-man-area {
        position: relative !important;
        right: auto !important;
        top: auto !important;
    }

    /* Hide the carousel column entirely on mobile */
    .agc-hero-carousel-col {
        display: none !important;
    }

    .vl-hero-content-2 .vl-section-title p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Hero buttons - stack on tablet/mobile */
    .vl-hero-btn2 {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .vl-hero-btn2 .vl-primary-btn-2 {
        margin-left: 0 !important;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Image carousel area */
    .agc-vl-man-area {
        min-height: 400px !important;
    }

    /* Product cards - remove fixed width */
    .vl-single-service-box-wrap .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* About section button alignment */
    .vl-choose-btn {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .vl-choose-btn .vl-primary-btn-2 {
        margin-left: 0 !important;
    }

    /* Divisions section margin fix */
    .vl-choose-u2s {
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    /* Banner hero section - smaller screens, clear sticky header */
    .vl-heo-area {
        padding-top: 140px !important;
        padding-bottom: 60px !important;
        background-position: center center;
        background-size: cover;
    }

    /* Hero content improvements for mobile */
    .vl-hero-content-2 {
        text-align: left;
    }

    .vl-hero-content-2 .vl-section-title h2.title {
        font-size: 24px;
        line-height: 1.3;
    }

    .vl-hero-content-2 .vl-section-title h4.subtitle {
        font-size: 14px;
    }

    .vl-hero-content-2 .vl-section-title p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Hero buttons full width on mobile */
    .vl-hero-btn2 {
        align-items: stretch;
    }

    .vl-hero-btn2 .vl-primary-btn-2 {
        max-width: 100%;
    }

    /* Image carousel - reduce height on mobile */
    .agc-vl-man-area {
        min-height: 300px !important;
        margin-bottom: 20px;
    }

    .agc-vl-man-swiper img {
        max-height: 300px;
    }

    /* Swiper navigation arrows */
    .agc-swiper-next,
    .agc-swiper-prev {
        display: none !important;
    }

    /* About section */
    .vl-choose.pt-100 {
        padding-top: 60px !important;
    }

    .vl-choose.pb-70 {
        padding-bottom: 40px !important;
    }

    /* Service icon boxes - smaller on mobile */
    .vl-servic-icon-box-2 {
        height: auto !important;
        min-height: 250px;
    }

    .vl-servic-icon-box-2 .title {
        margin-top: 70% !important;
    }

    /* Products section */
    .vl-service-area.pt-100 {
        padding-top: 60px !important;
    }

    .vl-service-area.pb-100 {
        padding-bottom: 60px !important;
    }

    /* Divisions section */
    .vl-testimonial-area.pt-100 {
        padding-top: 60px !important;
    }

    .vl-testimonial-area.pb-100 {
        padding-bottom: 60px !important;
    }

    /* Section titles */
    .vl-section-title h2.title {
        font-size: 26px;
        line-height: 1.3;
    }

    .vl-section-title h4.title {
        font-size: 22px;
    }

    .vl-section-title .subtitle {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    /* Extra small devices - clear sticky header */
    .vl-heo-area {
        padding-top: 120px !important;
        padding-bottom: 50px !important;
    }

    .vl-hero-content-2 .vl-section-title h2.title {
        font-size: 20px;
        line-height: 1.3;
        padding-top: 12px !important;
        padding-bottom: 10px !important;
    }

    .vl-hero-content-2 .vl-section-title h4.subtitle {
        font-size: 12px;
    }

    .vl-hero-content-2 .vl-section-title p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Hero buttons - full width */
    .vl-hero-btn2 .vl-primary-btn-2 {
        max-width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Image carousel */
    .agc-vl-man-area {
        min-height: 250px !important;
    }

    .agc-vl-man-swiper img {
        max-height: 250px;
    }

    /* Buttons general */
    .vl-primary-btn-2 {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* About section buttons - stack vertically */
    .vl-choose-btn {
        flex-direction: column;
        align-items: stretch;
    }

    .vl-choose-btn .vl-primary-btn-2 {
        text-align: center;
        width: 100%;
    }

    /* Service boxes */
    .vl-servic-icon-box-2 {
        min-height: 220px;
    }

    .vl-servic-icon-box-2 .title {
        font-size: 16px !important;
        margin-top: 65% !important;
    }

    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Section titles */
    .vl-section-title h2.title {
        font-size: 22px;
    }

    .vl-section-title h4.title {
        font-size: 18px;
    }

    /* Divisions section text */
    .vl-testimonial-area .vl-section-title p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Division cards */
    .vl-service-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* About callout box */
    .vl-section-title p[style*="border-left"] {
        padding: 15px !important;
        font-size: 13px;
    }

    /* Header adjustments */
    .vl-logo img {
        max-width: 120px;
    }

    .vkl-white-menubg {
        padding: 10px 0;
    }

    /* Spacing adjustments */
    .pt-100 {
        padding-top: 50px !important;
    }

    .pb-100 {
        padding-bottom: 50px !important;
    }

    .pt-70 {
        padding-top: 40px !important;
    }

    .pb-70 {
        padding-bottom: 40px !important;
    }

    .mb-60 {
        margin-bottom: 30px !important;
    }
}

/* Fix for horizontal overflow */
html, body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Fix swiper slides overflow */
.swiper-slide {
    max-width: 100%;
}

/* Mobile navigation enhancements */
@media (max-width: 991px) {
    .vl-offcanvas-menu nav ul {
        display: flex;
        flex-direction: column;
    }

    .vl-offcanvas-menu nav ul li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .vl-offcanvas-menu nav ul li a {
        font-size: 16px;
        font-weight: 600;
    }
}

/* Product card slides - desktop default */
.agc-product-slide {
    width: 100%;
    max-width: 412px;
    margin-right: 30px;
}

@media (max-width: 991px) {
    .agc-product-slide {
        max-width: 100%;
        margin-right: 0;
    }
}

/* About section icon box - mobile only fixes */
@media (max-width: 575px) {
    .vl-servic-icon-box-2 > div .title {
        margin-top: 0 !important;
    }
}

/* Shop button on mobile */
@media (max-width: 575px) {
    .agc-shop-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Team section responsive */
.vl-team-thumb img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 767px) {
    .vl-team-thumb img {
        width: 100% !important;
        max-width: 280px;
        height: auto !important;
        max-height: 300px;
    }

    .vl-team-slider-arrow {
        display: none;
    }

    .vl-team-wrap {
        padding: 0 10px;
    }
}

@media (max-width: 575px) {
    .vl-team-thumb img {
        max-width: 240px;
        max-height: 260px;
    }

    .vl-team-auth-content h3.title {
        font-size: 18px;
    }

    .vl-team-auth-content p {
        font-size: 14px;
    }
}

/* Contact section responsive */
@media (max-width: 991px) {
    .vl-contact-map iframe {
        height: 300px;
        width: 100%;
    }

    .vl-contact-col-3 {
        padding: 20px;
    }

    .vl-contat-area {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .vl-contact-map iframe {
        height: 250px;
    }

    .vl-contact-iconbox {
        padding: 15px 10px;
    }

    .vl-contact-iconbox-phone a {
        font-size: 14px;
        word-break: break-word;
    }

    .vl-contact-form input,
    .vl-contact-form textarea {
        font-size: 14px;
        padding: 12px;
    }
}

/* Brands section responsive */
@media (max-width: 767px) {
    .vl-brand-area {
        padding: 40px 0;
    }

    .vl-brand-wrap img {
        max-height: 60px;
    }
}

/* Footer responsive */
@media (max-width: 575px) {
    .vl-footer-area {
        padding: 40px 0 20px;
    }

    .vl-footer-widget h4 {
        font-size: 18px;
    }

    .vl-footer-widget p,
    .vl-footer-widget a {
        font-size: 14px;
    }

    .vl-copyright p {
        font-size: 12px;
    }
}

/* General text readability on mobile */
@media (max-width: 575px) {
    p {
        font-size: 14px;
        line-height: 1.6;
    }

    .vl-service-content h3.title {
        font-size: 18px;
    }

    .vl-service-content p {
        font-size: 13px;
    }

    /* Reduce letter-spacing on mobile for buttons */
    .vl-upper {
        letter-spacing: 0.05em;
    }
}

/* ========================================
   MOBILE MENU STYLES
   ======================================== */

.agc-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agc-mobile-menu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.agc-mobile-menu-link {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.agc-mobile-menu-link:hover {
    color: #89c248;
}

/* Submenu styles */
.agc-mobile-submenu {
    list-style: none;
    padding: 0 0 10px 20px;
    margin: 0;
    display: block;
}

.agc-mobile-submenu li {
    padding: 8px 0;
}

.agc-mobile-submenu li a {
    font-size: 15px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.agc-mobile-submenu li a:hover {
    color: #89c248;
}

/* Mobile buttons */
.agc-mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.agc-mobile-btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    font-size: 14px;
}

/* Offcanvas improvements */
.vl-offcanvas {
    max-width: 320px;
    width: 85%;
}

.vl-offcanvas-wrapper {
    padding: 20px;
}

.vl-offcanvas-logo img {
    max-width: 140px;
    height: auto;
}
