/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* ===== HEADER CONTAINER ===== */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== HEADER TOP BAR (Red Background Section) ===== */
.header-top-bar {
    background-color: #0c8cc4;
    width: 100%;
    padding: 8px 0;
    color: white;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-now {
    font-weight: 300;
    font-size: 14px;
    gap: 20px;
    white-space: nowrap;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.phone-link, .email-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-link:hover, .email-link:hover {
    transform: scaleX(1.1)
}

.phone-link i, .email-link i {
    font-size: 14px;
    min-width: 14px;
}

/* ===== HEADER MAIN (White Background Section) ===== */
.header-main {
    background-color: white;
    width: 100%;
    padding: 5px 0 0px 0; 
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo Section - Left Side */
.logo-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scaleX(1.1)
}

.logo {
    width: auto;
    height: auto;          
    object-fit: contain;
}

/* Main Navigation - Center Section */
.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 40px;
    margin-top: 15px;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.nav-link:hover {
    color: black;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 0;
    height: 6px;
    background-color: #0c8cc4;
    transition: width 0.3s ease;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Actions - Right Side */
.header-actions {
    flex-shrink: 0;
    margin-left: auto;
    margin-top: 15px; 
}

.enquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: black;
    border: 2px solid #0c8cc4;
    border-radius: 30px;
    padding: 10px 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.enquiry-button:hover {
    background-color: #0c8cc4;
    color: white;
}

.enquiry-button span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Menu Toggle (Hamburger Icon) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Hide hamburger lines when mobile menu is open */
.mobile-menu-toggle.hidden span {
    opacity: 0;
    visibility: hidden;
}

/* ===== MOBILE NAVIGATION MENU ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #0c8cc4; /* Red background color */
    z-index: 1001;
    padding: 80px 20px 40px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
    right: 0;
}

/* Mobile Close Button (X) - Positioned at top-right corner */
.mobile-close-button {
    position: absolute;
    top: 25px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.mobile-close-button span {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: white; /* White X on red background */
    border-radius: 1px;
}

.mobile-close-button span:first-child {
    transform: rotate(45deg);
}

.mobile-close-button span:last-child {
    transform: rotate(-45deg);
}

/* Mobile Navigation Content - Centered */
.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all content horizontally */
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    height: 100%;
}

/* Mobile Navigation Links */
.mobile-nav-link {
    color: white; /* White text on red background */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center; /* Center text */
    border-bottom: none; /* Remove border lines */
}

.mobile-nav-link:hover {
    color: black;
}

/* Mobile Enquiry Button */
.mobile-enquiry-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: white; /* White button on red background */
    color: black; /* Red text */
    border: 1px solid white;
    border-radius: 30px;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.mobile-enquiry-button:hover {
    color: #0c8cc4;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .header-container {
        padding: 0;
    }
}

/* Desktop (1100px and below) */
@media (max-width: 1100px) {
    .main-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 15px;
    }
    
    .enquiry-button {
        padding: 10px 25px;
        font-size: 15px;
        min-width: 110px;
    }
}

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .main-nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .logo {
        height: 55px;
    }
    
    .top-bar-content {
        gap: 30px;
    }
    
    .top-bar-contact {
        gap: 30px;
    }
}

/* Navigation Breakpoint (900px and below) */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        justify-content: space-between;
    }
}

/* ===== MOBILE DEVICES - Hide Red Top Bar ===== */
/* For tablets and phones (768px and below) */
@media (max-width: 768px) {
    /* Hide red top bar on mobile devices */
    .mobile-hide-top-bar {
        display: none !important;
    }
    
    /* Adjust main header padding after hiding top bar */
    .header-main {
        padding: 12px 0 0px 0;
    }
    
    /* Original responsive styles */
    .header-top-bar {
        padding: 10px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-now {
        font-size: 14px;
    }
    
    .top-bar-contact {
        gap: 25px;
        justify-content: center;
    }
    
    .phone-link, .email-link {
        font-size: 14px;
        gap: 8px;
    }
    
    .logo {
        height: 50px;
    }
    
    /* Mobile menu adjustments */
    .mobile-nav {
        padding: 70px 20px 30px;
    }
    
    .mobile-nav-content {
        gap: 12px;
    }
    
    .mobile-nav-link {
        font-size: 17px;
        padding: 14px 25px;
    }
    
    .mobile-enquiry-button {
        padding: 14px 25px;
        font-size: 17px;
        max-width: 180px;
    }
    
    /* Close button positioning */
    .mobile-close-button {
        top: 20px;
        right: 15px;
        width: 26px;
        height: 26px;
    }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
    .header-container {
        padding: 0 15px;
    }
    
    /* Adjust header main padding */
    .header-main {
        padding: 10px 0 0px 0;
    }
    
    .top-bar-contact {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .phone-link span, .email-link span {
        font-size: 14px;
    }
    
    .logo {
        height: 45px;
    }
    
    .mobile-menu-toggle {
        width: 24px;
        height: 18px;
    }
    
    /* Mobile menu adjustments */
    .mobile-nav {
        padding: 65px 15px 25px;
    }
    
    .mobile-nav-content {
        max-width: 320px;
        gap: 10px;
    }
    
    .mobile-nav-link {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .mobile-enquiry-button {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 160px;
        margin-top: 15px;
    }
    
    /* Close button positioning */
    .mobile-close-button {
        top: 18px;
        right: 12px;
        width: 24px;
        height: 24px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .header-main {
        padding: 8px 0 0px 0;
    }
    
    .logo {
        height: 40px;
    }
    
    /* Mobile menu adjustments */
    .mobile-nav {
        padding: 60px 15px 20px;
    }
    
    .mobile-nav-content {
        max-width: 280px;
        gap: 8px;
    }
    
    .mobile-nav-link {
        font-size: 15px;
        padding: 10px 15px;
    }
    
    .mobile-enquiry-button {
        padding: 10px 15px;
        font-size: 15px;
        max-width: 140px;
        margin-top: 12px;
    }
    
    .header-top-bar {
        padding: 6px 0;
    }
    
    .contact-now {
        font-size: 13px;
    }
    
    .phone-link, .email-link {
        font-size: 13px;
    }
    
    /* Close button positioning */
    .mobile-close-button {
        top: 16px;
        right: 10px;
        width: 22px;
        height: 22px;
    }
}

/* Very Small Mobile (360px and below) */
@media (max-width: 360px) {
    .header-main {
        padding: 6px 0 0px 0;
    }
    
    .logo {
        height: 35px;
    }
    
    /* Mobile menu adjustments */
    .mobile-nav {
        padding: 55px 10px 15px;
    }
    
    .mobile-nav-content {
        max-width: 250px;
        gap: 6px;
    }
    
    .mobile-nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .mobile-enquiry-button {
        padding: 8px 12px;
        font-size: 14px;
        max-width: 120px;
        margin-top: 10px;
    }
    
    .contact-now {
        font-size: 12px;
    }
    
    /* Close button positioning */
    .mobile-close-button {
        top: 14px;
        right: 8px;
        width: 20px;
        height: 20px;
    }
}

/* Desktop devices - ensure top bar is visible */
@media (min-width: 769px) {
    .mobile-hide-top-bar {
        display: block !important;
    }
}

/* Landscape mode optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-nav {
        padding: 60px 15px 30px;
    }
    
    .mobile-nav-content {
        max-height: 70vh;
        overflow-y: auto;
        gap: 8px;
        justify-content: flex-start; 
        padding-bottom: 20px;
    }
    
    .mobile-nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .mobile-enquiry-button {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 15px; 
        margin-bottom: 10px; 
    }
    
    /* Close button positioning for landscape */
    .mobile-close-button {
        top: 20px; 
        right: 20px; 
        width: 24px; 
        height: 24px;
    }
}

/* High DPI/Retina displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi) {
    .logo {
        image-rendering: crisp-edges;
    }
}

/* Active state for current page */
.nav-link.active,
.mobile-nav-link.active {
    color: black;
}

.nav-link.active::after {
    width: 100%;
}