/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #f7971e;
    --accent2: #ffd200;
    --dark: #0f0f23;
    --light-bg: #f8f9fa;
}

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

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* TOP BAR */
.top-bar {
    background: var(--dark);
    color: white;
    font-size: 0.85rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--accent);
}

/* NAVBAR */
#mainNavbar {
    background: var(--primary);
    padding: 12px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

#mainNavbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    padding: 8px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent) !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

@media (min-width: 992px) {
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: width 0.3s;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 70%;
    }
}

.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu {
    background: var(--primary);
    border: 1px solid rgba(247, 151, 30, 0.2);
    border-radius: 10px;
    padding: 10px;
}

.dropdown-item {
    color: white;
    border-radius: 5px;
    padding: 8px 15px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--accent);
    color: white;
    transform: translateX(5px);
}

/* HERO */
.hero-section {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 85vh;
    min-height: 520px;
    background: #0f0f23;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
    transform: scale(1);
    z-index: 1;
}

.carousel-item.active .hero-slide-bg {
    transform: scale(1.1);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 15, 35, 0.65), rgba(15, 15, 35, 0.8));
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-content h5 {
    opacity: 0;
}

.hero-slide-content h1 {
    opacity: 0;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-slide-content p {
    opacity: 0;
}

.hero-slide-content .btn-container {
    opacity: 0;
}

.carousel-item.active .hero-slide-content h5 {
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.carousel-item.active .hero-slide-content h1 {
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.carousel-item.active .hero-slide-content p {
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.carousel-item.active .hero-slide-content .btn-container {
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

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

/* HERO BOOKING OVERLAP BAR */
.hero-booking-bar {
    max-width: 960px;
    margin: -50px auto 0;
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(247, 151, 30, 0.2);
}

.hero-booking-bar select,
.hero-booking-bar input {
    border: none;
    box-shadow: none;
    font-size: 0.95rem;
}

.hero-booking-bar select:focus,
.hero-booking-bar input:focus {
    outline: none;
    box-shadow: none;
}


/* STATS */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.stat-item {
    padding: 20px;
}

/* DIVIDER */
.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 2px;
    margin-top: 10px;
}

/* SERVICE CARDS */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ABOUT */
.about-image-container {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(247, 151, 30, 0.4);
}

/* WHY CHOOSE US */
.why-choose-section {
    background: linear-gradient(rgba(26, 26, 46, 0.92), rgba(26, 26, 46, 0.92)),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600') center/cover fixed;
}

.choose-card {
    background: white;
    border-radius: 15px;
    padding: 40px 25px;
    transition: all 0.4s;
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.choose-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

/* TESTIMONIALS */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-left: 4px solid var(--accent);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: #ccc;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(247, 151, 30, 0.15);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-right: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    z-index: 999;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--accent);
    transform: translateY(-3px);
}

/* PAGE HEADER */
.page-header {
    background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600') center/cover;
    padding: 100px 0 60px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.breadcrumb {
    justify-content: center;
    background: none;
}

.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #ccc;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #ccc;
}

/* SERVICE DETAIL */
.service-detail-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 3px;
}

/* PRICE TABLE */
.price-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--accent);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* GALLERY */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* CONTACT FORM */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: border-color 0.3s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(247, 151, 30, 0.15);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* SIDEBAR */
.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.sidebar-widget h5 {
    color: var(--primary);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-link {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: white;
    transform: translateX(5px);
}

.sidebar-link i {
    margin-right: 10px;
    width: 20px;
}

@media (max-width: 991px) {
    .sidebar-widget {
        background: #ffffff !important;
        padding: 12px 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        margin-bottom: 25px;
        position: sticky;
        top: 70px;
        z-index: 100;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        display: flex;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        margin-left: -12px;
        margin-right: -12px;
    }

    .sidebar-widget::-webkit-scrollbar {
        display: none;
    }

    .sidebar-widget h5,
    .sidebar-widget hr {
        display: none !important;
    }

    .sidebar-link {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        background: #f8f9fa;
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 20px;
        padding: 8px 16px;
        margin-bottom: 0;
        font-size: 0.85rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    }

    .sidebar-link:hover,
    .sidebar-link.active {
        transform: none;
    }
}

@media (max-width: 768px) {
    .service-detail-section img {
        height: 220px !important;
    }
}


/* PROCESS STEPS */
.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 15px;
}

/* PROPERTY CARDS */
.property-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    background: white;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* NAVBAR REUSABLE */
.navbar-section {
    background: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        min-height: 380px;
    }

    .hero-slide-content h1 {
        font-size: 2rem !important;
    }

    .hero-slide-content .display-3 {
        font-size: 2rem !important;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .experience-badge {
        bottom: -10px;
        right: 10px;
        padding: 15px;
    }

    .contact-form {
        padding: 25px;
    }

    .page-header {
        padding: 80px 0 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 60vh;
        min-height: 340px;
    }

    .hero-slide-content h1,
    .hero-slide-content .display-3 {
        font-size: 1.8rem !important;
    }

    .hero-slide-content p.lead {
        font-size: 0.95rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .service-card {
        padding: 20px 15px;
    }
}

/* ===== NEW STYLES ===== */
.logo-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #1a1a2e !important;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 6px;
    margin-right: 8px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(247, 151, 30, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: white !important;
}

.navbar-brand span {
    color: var(--accent);
}

/* WORKING PROCESS */
.process-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: #1a1a2e;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--light-bg);
    box-shadow: 0 4px 10px rgba(247, 151, 30, 0.3);
}

.process-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 10px;
}

/* PROJECTS GRID */
.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.project-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 15, 35, 0.9) 0%, rgba(15, 15, 35, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* PARTNERS LOGOS */
.partner-logo {
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 15px;
    font-weight: 700;
    font-size: 1.4rem;
    color: #a0a0b0;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px dashed rgba(0,0,0,0.1);
    border-radius: 8px;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--primary);
    background: white;
    border-color: var(--accent);
}

/* HOVER DROPDOWN MENU */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInDropdown 0.3s ease forwards;
    }
}

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

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.lightbox-content-container {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(247, 151, 30, 0.3);
    animation: zoomInLightbox 0.3s ease;
}

@keyframes zoomInLightbox {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-caption {
    margin-top: 15px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--accent);
    color: #1a1a2e;
}

@media (max-width: 768px) {
    .lightbox-content-container {
        max-width: 95%;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox-close {
        top: 20px;
        right: 20px;
    }
}