/* =========================================
   Conalz-Style Redesign (Premium & Modern)
   ========================================= */

/* --- 1. Top Header (Layout & Shape) --- */
header.homepage1-body {
    background: #f8f9fa;
    /* Light Gray Background for the whole bar */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

header.homepage1-body .container-fluid {
    padding: 0;
}

/* The Angled Logo Area */
.vl-logo-area {
    background: #ffffff;
    padding: 20px 40px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    /* The angle cut */
    width: 320px;
    /* Adjust based on logo size */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the logo inside */
}

.vl-logo-area img {
    width: 180px;
    height: 80px;
    object-fit: contain;
}

/* Wrapper to handle the layout */
.header-flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

/* Navigation Links - Centered/Right in the gray area */
.vl-main-menu nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.vl-main-menu nav ul li a {
    color: #1a1a2e !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.vl-main-menu nav ul li a.active,
.vl-main-menu nav ul li a:hover {
    color: #0d6efd !important;
}

.vl-main-menu nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: 0.3s;
}

.vl-main-menu nav ul li a:hover::after,
.vl-main-menu nav ul li a.active::after {
    width: 100%;
}

/* Right Side Widgets */
.header-widgets {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 40px;
}

.phone-widget {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-icon {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-size: 18px;
    transition: 0.3s;
}

.phone-widget:hover .phone-icon {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.phone-infospan {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-label {
    font-size: 12px;
    color: #0d6efd;
    font-weight: 600;
}

.phone-number {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a2e;
}

.search-widget {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-icon-btn {
    width: 45px;
    height: 45px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.search-icon-btn:hover {
    background: #0d6efd;
    color: #fff;
}


/* --- 2. Dark Blue Hero Section (The "Conalz" Look) --- */
.conalz-hero {
    position: relative;
    padding: 140px 0 100px;
    background-image:
        linear-gradient(90deg, rgba(11, 24, 42, 0.95) 0%, rgba(13, 28, 50, 0.85) 50%, rgba(13, 110, 253, 0.8) 100%),
        /* Dark Blue to lighter blue gradient overlay */
        url('../img/all-images/bg/hero-bg7.png');
    /* Fallback image */
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

/* Abstract Patterns (Simulated with CSS) */
.conalz-hero::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.05), 0 0 0 40px rgba(255, 255, 255, 0.02);
}

.conalz-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: left;
}

.breadcrumbs {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs i {
    font-size: 8px;
    color: #0d6efd;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {

    /* Header Container */
    header.homepage1-body {
        height: 70px;
        /* Fixed height for mobile */
    }

    .header-flex-wrapper {
        flex-direction: row;
        /* Keep logo and toggle in a row */
        height: 70px;
        padding: 0 20px;
        /* Ensure spacing from edges */
        justify-content: space-between;
    }

    /* Logo Area */
    .vl-logo-area {
        clip-path: none;
        width: auto;
        padding: 0;
        background: transparent;
        justify-content: flex-start;
        height: 100%;
    }

    .vl-logo-area img {
        width: auto;
        height: 40px;
        /* Smaller logo for mobile */
    }

    /* Hero Title Scaling */
    .hero-title {
        font-size: 36px;
    }

    .conalz-hero {
        padding: 100px 0 60px;
    }
}

/* --- Fixes for Mobile Responsiveness --- */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Fix Button Overlap on Mobile */
@media (max-width: 767px) {
    .btn-area1 {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .btn-area1 a.vl-btn7 {
        margin-left: 0 !important;
        display: inline-flex;
        justify-content: center;
        width: auto; /* Or 100% if full width desired */
    }
}

/* --- 3. Footer Gradient (Global Override) --- */
.vl-footer1-section-area,
.vl-footer2-section-area,
.vl-footer3-section-area,
.vl-footer4-section-area {
    background-image: linear-gradient(90deg, rgba(11, 24, 42, 0.95) 0%, rgba(13, 28, 50, 0.85) 50%, rgba(13, 110, 253, 0.8) 100%) !important;
    background-color: transparent !important;
    background-size: cover;
    position: relative;
    color: #fff !important;
}

/* Ensure Text Visibility on Dark Gradient */
.vl-footer1-section-area p,
.vl-footer2-section-area p,
.vl-footer3-section-area p,
.vl-footer4-section-area p,
.vl-footer1-section-area span,
.vl-footer2-section-area span,
.vl-footer3-section-area span,
.vl-footer4-section-area span,
.vl-footer1-section-area h3,
.vl-footer2-section-area h3,
.vl-footer3-section-area h3,
.vl-footer4-section-area h3 {
    color: #fff !important;
    opacity: 0.9;
}

/* Links */
.vl-footer1-section-area a,
.vl-footer2-section-area a,
.vl-footer3-section-area a,
.vl-footer4-section-area a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: 0.3s;
}

.vl-footer1-section-area a:hover,
.vl-footer2-section-area a:hover,
.vl-footer3-section-area a:hover,
.vl-footer4-section-area a:hover {
    color: #fff !important;
    padding-left: 5px; /* Keep the existing hover effect */
}

/* Social Icons */
.footer-logo-area .social-links li a {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-area .social-links li a:hover {
    background: #0d6efd !important;
    border-color: #0d6efd;
}

/* SVG Icons in Contact List */
.footer-widget-area ul li a svg path {
    stroke: #fff !important;
}

/* Copyright Area Border */
.copyright-area {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}