/* ============================================
   HEADER V2 - COMPLETELY NEW MODERN STRUCTURE
   Colors Preserved: #790204, #ffb347, #1a3e35
   BANNER/CAROUSEL CODE REMAINS UNCHANGED
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* ========== TOP HEADER BAR (SAME AS ORIGINAL - NO CHANGE) ========== */
.top-header-row {
    background-color: #790204;
    padding: 3px 0;
    font-size: 13px;
    position: relative;
    z-index: 100;
}

.top-header-row .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.phone-info {
    color: #ffffff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.phone-info i {
    font-size: 14px;
    color: #ffb347;
    background: rgba(255, 255, 240, 0.12);
    padding: 5px;
    border-radius: 50%;
}

.social-icons-header {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    align-items: center;
}

.social-icons-header a {
    color: #f0f0f0;
    font-size: 16px;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.social-icons-header a:hover {
    color: #ffb347;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========== MAIN NAVBAR V2 - NEW STRUCTURE ========== */
.main-navbar-v2 {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.main-navbar-v2 .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-v2-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

/* ========== LOGO SECTION ========== */
.navbar-logo {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 55px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 21px;
    font-weight: 800;
    color: #790204;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #1a3e35;
    letter-spacing: 0.5px;
}

/* ========== DESKTOP NAVIGATION MENU ========== */
.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    /* gap: 4px; */
    margin: 0;
    padding: 0;
}

.nav-list-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    color: #1e2f2a;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 11px;
    color: #ffb347;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: #fef3e0;
    color: #790204;
}

.nav-link:hover i {
    transform: translateY(2px);
}

/* ========== DROPDOWN PANEL - FIXED VISIBILITY ========== */
.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
    pointer-events: none;
}

.dropdown-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hover trigger for dropdown */
.dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-inner {
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: #2c3e35;
    background: #ffffff;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item i {
    width: 22px;
    font-size: 13px;
    color: #ffb347;
}

.dropdown-item:hover {
    background: #fef3e0;
    color: #790204;
    padding-left: 26px;
}

/* ========== MEGA DROPDOWN - FIXED VISIBILITY ========== */
.dropdown-mega-panel {
    min-width: 520px;
    left: 0px;
    right: 0;
    padding: 20px;
}

.mega-dropdown-grid {
    display: flex;
    gap: 30px;
}

.mega-col {
    flex: 1;
}

.mega-title {
    font-size: 14px;
    font-weight: 800;
    color: #790204;
    padding: 0 0 10px 0;
    margin-bottom: 12px;
    border-bottom: 2px solid #ffb347;
    display: inline-block;
}

.mega-col .dropdown-item {
    padding: 8px 0;
    border-bottom: none;
    background: transparent;
}

.mega-col .dropdown-item:hover {
    padding-left: 8px;
    background: transparent;
    color: #ffb347;
}

/* ========== RIGHT ACTION BUTTONS ========== */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.enquiry-btn-v2 {
    background: transparent;
    border: 2px solid #1a3e35;
    color: #1a3e35;
}

.enquiry-btn-v2:hover {
    background: #1a3e35;
    color: #ffffff;
    transform: translateY(-2px);
}

.download-btn-v2 {
    background: #ffb347;
    color: #1a3e35;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 180, 71, 0.3);
}

.download-btn-v2:hover {
    background: #ffa01a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 180, 71, 0.4);
}

.mobile-toggle {
    display: none;
    background: #1a3e35;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-toggle:hover {
    background: #ffb347;
    color: #1a3e35;
}

/* ========== MOBILE SIDEBAR V2 ========== */
.mobile-sidebar-v2 {
    position: fixed;
    top: 0;
    right: -380px;
    width: 340px;
    height: 100%;
    background: #ffffff;
    z-index: 10001;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-sidebar-v2.open {
    right: 0;
}

.sidebar-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #790204 0%, #5c0102 100%);
}

.sidebar-logo-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo-v2 img {
    width: 45px;
    background: white;
    padding: 5px;
    border-radius: 10px;
}

.sidebar-logo-v2 h4 {
    font-size: 14px;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.sidebar-logo-v2 p {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar-close:hover {
    background: #ffb347;
    transform: rotate(90deg);
}

.sidebar-search-v2 {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-search-v2 i {
    color: #ffb347;
}

.sidebar-search-v2 input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 13px;
    background: #f5f5f5;
    border-radius: 8px;
}

.sidebar-nav-v2 {
    flex: 1;
    list-style: none;
    overflow-y: auto;
    padding: 10px 0;
}

.sidebar-nav-v2 > li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-nav-v2 > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #2c3e35;
    font-weight: 500;
    transition: 0.2s;
}

.sidebar-nav-v2 > li > a i {
    width: 24px;
    color: #ffb347;
}

.sidebar-nav-v2 > li > a:hover {
    background: #fef3e0;
    color: #790204;
    padding-left: 26px;
}

.has-submenu-v2 .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    font-weight: 500;
    color: #2c3e35;
    cursor: pointer;
    transition: 0.2s;
}

.has-submenu-v2 .submenu-toggle span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.has-submenu-v2 .submenu-toggle span i {
    width: 24px;
    color: #ffb347;
}

.has-submenu-v2 .submenu-toggle .fa-chevron-right {
    transition: transform 0.3s;
}

.has-submenu-v2.open .submenu-toggle {
    background: #fef3e0;
    color: #790204;
}

.submenu-list-v2 {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafaf8;
}

.has-submenu-v2.open .submenu-list-v2 {
    max-height: 500px;
}

.submenu-list-v2 li a {
    display: block;
    padding: 8px 20px 8px 56px;
    text-decoration: none;
    font-size: 13px;
    color: #4a5b52;
    transition: 0.2s;
}

.submenu-list-v2 li a:hover {
    background: #fef3e0;
    color: #790204;
    padding-left: 64px;
}

.sidebar-footer-v2 {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafaf8;
}

.sidebar-contact-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.sidebar-contact-v2 a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 12px;
    color: #4a5b52;
}

.sidebar-contact-v2 a i {
    color: #ffb347;
    width: 20px;
}

.sidebar-social-v2 {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.sidebar-social-v2 a {
    width: 35px;
    height: 35px;
    background: #1a3e35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar-social-v2 a:hover {
    background: #ffb347;
    color: #1a3e35;
    transform: translateY(-3px);
}

/* Overlay */
.overlay-v2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.overlay-v2.show {
    display: block;
    opacity: 1;
}

/* ========== DOWNLOAD MODAL V2 ========== */
.download-modal-v2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    align-items: center;
    justify-content: center;
}

.download-modal-v2.show {
    display: flex;
}

.modal-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-card-v2 {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 24px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header-v2 {
    background: linear-gradient(135deg, #1a3e35 0%, #0d2a24 100%);
    padding: 25px;
    text-align: center;
    position: relative;
}

.modal-icon-v2 {
    width: 60px;
    height: 60px;
    background: #ffb347;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.modal-icon-v2 i {
    font-size: 28px;
    color: #1a3e35;
}

.modal-header-v2 h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.modal-close-v2 {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
}

.modal-close-v2:hover {
    opacity: 1;
}

.modal-body-v2 {
    padding: 30px;
}

.modal-body-v2 p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 13px;
}

.input-field-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 0 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    transition: 0.2s;
}

.input-field-v2:focus-within {
    border-color: #ffb347;
    background: #fff;
}

.input-field-v2 i {
    color: #ffb347;
    font-size: 16px;
}

.input-field-v2 input {
    width: 100%;
    padding: 14px 0;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
}

.submit-btn-v2 {
    width: 100%;
    padding: 14px;
    background: #ffb347;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    color: #1a3e35;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    margin-top: 10px;
}

.submit-btn-v2:hover {
    background: #ffa01a;
    transform: translateY(-2px);
}

/* ========== BANNER / CAROUSEL STYLES (UNCHANGED - EXACTLY AS ORIGINAL) ========== */
.banner-carousel {
    margin-top: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.carousel-item {
    height: 580px;
    background-size: cover;
    background-position: center 30%;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.carousel-caption-custom {
    position: absolute;
    bottom: 30%;
    left: 8%;
    right: auto;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    animation: slideUp 0.7s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-caption-custom h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.carousel-caption-custom p {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 1.8rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
}

.btn-slider {
    background-color: white;
    color: #1a3e35;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-slider:hover {
    background-color: #ffa01a;
    transform: translateY(-3px);
    color: #1a3e35;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}

.carousel-indicators button {
    background-color: #ffb347;
    width: 45px;
    height: 4px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 450px;
    }
    
    .carousel-caption-custom h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption-custom p {
        font-size: 0.85rem;
    }
    
    .btn-slider {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .carousel-caption-custom {
        bottom: 25%;
        left: 5%;
        right: 5%;
        max-width: 90%;
    }
}

/* ========== RESPONSIVE BREAKPOINTS FOR NAVBAR ========== */
@media (max-width: 1200px) {
    .nav-link {
        padding: 8px 10px;
        font-size: 12px;
    }
    .dropdown-mega-panel {
        min-width: 450px;
        right: -50px;
    }
    .action-btn span {
        display: none;
    }
    .action-btn {
        padding: 8px 14px;
    }
}

@media (max-width: 992px) {
    .enquiry-btn-v2{
        display: none;
    }
    .top-header-row{
        display: none;
    }
    .navbar-menu {
        display: none;
    }
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navbar-actions {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .top-header-row .row {
        flex-direction: column;
        gap: 6px;
    }
    .social-icons-header {
        justify-content: center;
    }
    .phone-info {
        justify-content: center;
    }
    .logo-title {
        font-size: 18px;
    }
    .logo-subtitle {
        font-size: 13px;
    }
    .logo-img {
        width: 45px;
    }
    .mobile-sidebar-v2 {
        width: 300px;
        right: -300px;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 16px;
    }
    .logo-img {
        width: 40px;
    }
    .modal-card-v2 {
        width: 95%;
    }
    .mobile-sidebar-v2 {
        width: 280px;
        right: -280px;
    }
    .action-btn {
        padding: 8px 12px;
    }
}