/* ==========================================================================
   BOROLINK LLC - FLOATING PILL HEADER & SLIDING MOBILE MENU
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--c003_solid);
    color: var(--c027_solid);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   GLOBAL FLOATING PILL HEADER (DESKTOP)
   -------------------------------------------------------------------------- */


#global-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

#global-header.header-hidden {
    transform: translate(-50%, -120%);
    opacity: 0;
    pointer-events: none;
}

.pill-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(17, 24, 39, 0.63);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.brand-logo {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--c031_solid);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    color: var(--c028_solid);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--c031_solid);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--c006_grad);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--c031_solid);
    border-radius: 2px;
    transition: background-color 0.3s;
}


/* --------------------------------------------------------------------------
   HERO VIDEO SECTION ADJUSTMENTS
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px;
}

.homepage_video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.homepage_video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c001_tnsluc);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.hero-actions .btn-primary, 
.hero-actions .btn-secondary {
    flex: 1;
    max-width: 240px;
    text-align: center;
    
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 10px;
}

.hero-content p {
    font-size: 1.6rem;
    color: var(--c027_solid);
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   SEQUENTIAL QUOTE SLIDER (FULL WIDTH WITH SAFE MARGINS)
   -------------------------------------------------------------------------- */
.quote-slider {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    min-height: 7.5rem;
    margin-top: 100px; 
    margin-bottom: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-item {
    position: absolute;
    width: 100%;
    max-width: 1100px;
    padding: 0 24px;
    font-size: 2.9rem;
    font-weight: 800;
    color: var(--c031_solid);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    
    /* Off-screen right initially */
    transform: translateX(100%);
    opacity: 0;
    
    /* Smooth transitions */
    transition-property: transform, opacity;
    transition-timing-function: ease-in-out, ease-out;
    will-change: transform, opacity;
}

/* Active centered quote */
.quote-item.active {
    transform: translateX(0);
    opacity: 1;
}

/* Quote exiting to the left with fast fade out */
.quote-item.exit-left {
    transform: translateX(-100%);
    opacity: 0;
}

/* BUTTONS */
.btn-primary, 
.btn-secondary {
    position: relative;
    display: inline-block;
    padding: 20px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    color: var(--c031_solid);
background: rgba(17, 24, 39, 0.50);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    will-change: background-color, border-color;
}

.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background: var(--c006_grad);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   CONTENT SECTIONS
   -------------------------------------------------------------------------- */
.homepage_placeholder {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
}

.section-container {
    padding: 20px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--c031_solid);
    margin-bottom: 8px;
}

.section-header .subtitle {
    color: var(--c025_solid);
    font-size: 1.1rem;
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--c006_tnsluc);
    margin: 40px 0;
}

#about.section-container {
    padding-top: 0px;
}

.about-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card, .service-box {
    background-color: var(--c002_solid);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--c007_tnsluc);
    transition: var(--pop-settings);
}

.about-card:hover, .service-box:hover {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: var(--c004_tnsluc);
}

.service-icon {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--c021_solid);
    margin-bottom: 16px;
}

.cta-section {
background-color: var(--c002_solid);    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid var(--c006_tnsluc);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: var(--c004_tnsluc);
}

.cta-section p {
    margin: 20px;
}


.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-slide-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--c002_solid);
    border-left: 1px solid var(--c006_tnsluc);
    z-index: 1100;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-slide-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c006_tnsluc);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--c031_solid);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* --------------------------------------------------------------------------
  GLOBAL FOOTER
   -------------------------------------------------------------------------- */

#global-footer {
    background-color: var(--c002_solid);
    padding: 32px 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--c013_solid);
    border-top: 1px solid var(--c006_tnsluc);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#global-footer a {
    color: var(--c021_solid);
    text-decoration: none;
}



