:root {
    --primary: #1ED2F7;
    --accent: #1ED2F7;
    --white: #ffffff;
    --text: #333333;
    --dark: #000000;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8f9fa;
}

.about-hero-wrapper {
    width: 100%;
    height: 40vh;
    min-height: 300px;
    max-height: 400px;
    position: relative;
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5);
    z-index: 1;
}

@media (max-width: 768px) {
    .about-hero-background {
        object-position: 70% center;
    }
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.about-premium-navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    /*padding: 15px 30px;*/
    z-index: 9999;
    border: 1px solid var(--primary);
    border-radius: 15px;
}

/* Logo */
.about-nav-logo img {
    height: 60px;
    width: auto;
}

/* Nav links centered on desktop */
@media (min-width: 992px) {
    .navbar-nav.about-nav-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.about-nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    position: relative;
}

.about-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.about-nav-link:hover::after,
.about-nav-link.active::after {
    width: 80%;
}

.about-nav-link:hover,
.about-nav-link.active {
    color: var(--accent) !important;
}

/* Call Now button */
.call-now-btn {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    font-weight: 600;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 8px;
}

.call-now-btn:hover {
    background: var(--accent) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Mobile toggle button */
.about-navbar-toggler {
    border: 2px solid var(--accent) !important;
    padding: 8px 10px !important;
    border-radius: 8px;
}

.about-navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* FIXED MOBILE MENU - This is the critical part */
@media (max-width: 991.98px) {
    .about-premium-navbar {
        position: fixed;
        top: 15px;
        padding: 12px 20px;
    }

    .about-nav-logo img {
        height: 50px;
    }

    /* Make the container the positioning context */
    .about-premium-navbar .container-fluid {
        position: relative !important;
    }

    .navbar-collapse {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 10px !important;
        padding: 20px !important;
        border: 2px solid var(--accent) !important;
        z-index: 10000 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    .about-nav-link {
        text-align: center !important;
        margin: 10px 0 !important;
        padding: 15px !important;
        border-radius: 8px !important;
        color: var(--white) !important;
        font-size: 1.2rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .about-nav-link:hover,
    .about-nav-link.active {
        background: var(--accent) !important;
        color: var(--dark) !important;
    }

    .about-nav-link::after {
        display: none !important;
    }

    .call-now-btn {
        width: 100% !important;
        margin: 15px 0 5px !important;
        text-align: center !important;
        padding: 15px !important;
        font-size: 1.2rem !important;
        background: var(--accent) !important;
        color: var(--dark) !important;
        border: none !important;
    }
    
    .call-now-btn:hover {
        transform: translateY(-3px) !important;
        background: var(--white) !important;
        color: var(--accent) !important;
    }
}

/* About Hero Content */
.about-hero-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.about-page-title {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-page-title span {
    color: var(--accent);
}

.about-breadcrumb {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Social Floating Icons */
.social-floating {
    position: fixed;
    right: 30px;
    top: 55%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--text);
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateX(-10px) scale(1.1);
    background: var(--text);
    color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .social-floating {
        right: 20px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .about-hero-wrapper {
        height: 35vh;
        min-height: 250px;
    }

    .about-page-title {
        font-size: 2rem;
    }

    .social-floating {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .about-hero-wrapper {
        height: 40vh;
        min-height: 200px;
    }

    .about-page-title {
        font-size: 1.8rem;
    }

    .about-breadcrumb {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-premium-navbar {
        top: 10px;
        width: 95%;
    }

    .social-floating {
        right: 10px;
        gap: 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }
}