:root {
    --primary-gradient: linear-gradient(135deg, #4946EC 0%, #6D30FB 100%);
    --secondary-gradient: linear-gradient(135deg, #00A3FF 0%, #4946EC 100%);
    /* Tech Blue Gradient */
    --dark-overlay: linear-gradient(to bottom, rgba(1, 15, 52, 0.8), rgba(1, 15, 52, 0.6));
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Hero Section Enhancement */
.orbia-hero_one .hero-wrapper {
    position: relative;
    background-color: #010F34;
    min-height: calc(100vh - 130px) !important;
    height: auto !important;
    max-height: 95vh !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 15, 52, 0.8) 0%, rgba(1, 15, 52, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.orbia-hero_one .hero-wrapper .container-fluid,
.orbia-choose-wrapper .container-fluid,
.orbia-contact_one .container {
    position: relative;
    z-index: 3;
}

/* Sections Readability & Visuals */
.orbia-choose-wrapper,
.orbia-contact_one {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
}

/* Buttons styling overhaul: Solid black background with white text for all buttons */
.theme-btn,
.gradient-btn,
.orbia-button a,
.style-two {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

.theme-btn:hover,
.gradient-btn:hover,
.orbia-button a:hover,
.style-two:hover {
    background: #1a1a1a !important;
    /* Slightly lighter on hover */
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px);
}

.theme-btn i,
.gradient-btn i {
    color: #ffffff !important;
}

/* Footer Icon Red Styling */
.orbia-info-box.style-two .icon {
    background: #D5313D !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
    flex-shrink: 0;
}

.orbia-info-box.style-two {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* Service Cards Enhancement */
.orbia-service-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.orbia-service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.orbia-service-card .content h3 a {
    color: #010F34 !important;
}

/* Project Item Enhancement */
.orbia-project-item {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
    color: #010F34;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p {
    color: #ffffff !important;
}

.tag-line {
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Footer Enhancement */
.main-footer,
.footer-bottom-wrapper {
    position: relative;
    overflow: hidden;
}

/* Dark overlay removed - using solid background colors instead */
.main-footer::before,
.footer-bottom-wrapper::before {
    display: none;
}

.main-footer .container,
.footer-bottom-wrapper .container {
    position: relative;
    z-index: 2;
}

/* Dark Services Section Enhancement */
.orbia-service_one.dark-style {
    background: rgb(15, 23, 42) !important;
    position: relative;
    overflow: hidden;
}

.orbia-service_one.dark-style .section-title .sub-title {
    color: var(--secondary-color) !important;
    opacity: 0.8;
}

.orbia-service_one.dark-style .section-title h2 {
    color: #ffffff !important;
}

/* Glassmorphism Cards */
.orbia-service_one.dark-style .orbia-service-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 18px !important;
    padding: 20px !important;
    /* Extremely compact */
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.orbia-service_one.dark-style .orbia-service-card .service-image {
    height: 150px !important;
    /* Significant reduction */
    margin-bottom: 15px !important;
    border-radius: 12px !important;
}

.orbia-service_one.dark-style .orbia-service-card .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.orbia-service_one.dark-style .orbia-service-card .content p {
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Only 2 lines of text */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.orbia-service_one.dark-style .orbia-service-card .content h3 a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin-top: auto;
}

.orbia-service_one.dark-style .orbia-service-card .icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.orbia-service_one.dark-style .orbia-service-card:hover .icon {
    background: var(--secondary-color);
}

/* Premium Project Cards */
.premium-project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(1, 15, 52, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(1, 15, 52, 0.03);
}

.premium-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(1, 15, 52, 0.12);
}

.premium-project-card .project-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.premium-project-card .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.premium-project-card .project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 5px 15px rgba(240, 121, 33, 0.3);
}

.premium-project-card .project-info {
    padding: 30px;
}

.premium-project-card .project-info span {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.premium-project-card .project-info .title {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.premium-project-card .project-info .title a {
    color: #010F34;
    transition: color 0.3s;
}

.premium-project-card .project-info .title a:hover {
    color: var(--secondary-color);
}

.premium-project-card .project-info p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* Update section title padding for better flow */
/* Mobile Header Adjustments for Banner Fit */
@media only screen and (max-width: 991px) {
    .header-navigation {
        padding: 25px 20px !important;
        /* More top padding to clear status bars and rounded corners */
    }

    .brand-logo-wrap img {
        max-height: 38px !important;
        /* Balanced reduction */
        width: auto;
    }

    .navbar-toggler {
        padding: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        /* Compact border */
        margin-right: 10px;
    }

    .navbar-toggler span {
        width: 22px !important;
        /* Tighter hamburger lines */
        height: 2px !important;
        margin: 4px 0 !important;
    }

    .nav-right-item {
        gap: 12px !important;
        align-items: center;
    }

    .language-selection .dropdown-toggle {
        font-size: 12px !important;
    }
}

@media only screen and (max-width: 575px) {
    .header-navigation {
        padding: 20px 15px !important;
    }

    .brand-logo-wrap img {
        max-height: 32px !important;
        /* Ultra-compact for small phones */
    }

    .theme-menu-top {
        padding: 40px 20px;
        background: #010F34 !important;
        margin: -40px -40px 30px -40px !important;
        /* Negative margins to bleed to edges */
        text-align: center;
        width: calc(100% + 80px) !important;
        /* Adjust for negative margins */
    }

    .theme-menu-top .brand-logo-wrap img {
        max-height: 45px !important;
        /* Slightly larger for sidebar */
        margin-bottom: 0;
    }

    .navbar-toggler {
        transform: scale(0.85);
    }
}