/* ================================================================
   Concentric Solutions – Global Styles
   ================================================================ */

/* ── Icon defaults ─────────────────────────────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    line-height: 1;
}

/* ── Glass / blur utilities ────────────────────────────────── */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.glass-effect {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ── Gradients / hero ──────────────────────────────────────── */
.hero-gradient {
    background: radial-gradient(circle at 0% 0%, rgba(1, 92, 210, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(185, 245, 86, 0.1) 0%, transparent 50%);
}

.hero-dark {
    position: relative;
    background: linear-gradient(rgba(19, 27, 46, 0.8), rgba(19, 27, 46, 0.8));
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-dark h1 { color: #ffffff; }
.hero-dark p  { color: rgba(255, 255, 255, 0.8); }

.primary-gradient {
    background: linear-gradient(135deg, #015cd2 0%, #0046a3 100%);
}

/* ── Layout helpers ────────────────────────────────────────── */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.no-line-rule  { border: none !important; }
.tonal-shift-only { background-color: rgba(242, 243, 255, 0.5); }
.ghost-border  { border: 1px solid rgba(194, 198, 214, 0.15); }

/* ── Card transitions ──────────────────────────────────────── */
.value-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.value-card:hover .material-symbols-outlined {
    transform: scale(1.1) rotate(5deg);
}

.bento-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.service-list li::before {
    content: "→";
    color: currentColor;
    margin-right: 8px;
    font-weight: bold;
}

/* ================================================================
   DROPDOWN NAVIGATION
   ================================================================ */

/* Container for items with children */
.nav-item {
    position: relative;
}

/* Chevron rotation on hover */
.nav-item:hover .nav-chevron {
    transform: rotate(180deg);
}
.nav-chevron {
    transition: transform 0.25s ease;
}

/* Dropdown panel */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding-top: 12px;           /* gap between trigger and panel */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 100;
    pointer-events: none;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown-inner {
    background: #ffffff;
    border: 1px solid rgba(194, 198, 214, 0.4);
    border-radius: 1rem;
    padding: 0.5rem;
    min-width: 260px;
    box-shadow: 0 20px 40px -12px rgba(19, 27, 46, 0.15),
                0 0 0 1px rgba(19, 27, 46, 0.05);
}



/* Individual dropdown links */
.nav-dropdown-link {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #424654;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.nav-dropdown-link:hover {
    background: rgba(1, 92, 210, 0.08);
    color: #0046a3;
}
.nav-dropdown-link.active {
    color: #0046a3;
    background: rgba(1, 92, 210, 0.06);
    font-weight: 600;
}



/* ================================================================
   MOBILE ACCORDION SUB-MENUS
   ================================================================ */

.mobile-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.mobile-accordion-panel.open {
    max-height: 600px;
}

.mobile-accordion-btn {
    min-height: 44px;  /* accessible tap target */
}

/* ================================================================
   HERO IMAGE CAROUSEL
   ================================================================ */

.hero-carousel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-carousel-slides {
    position: absolute;
    inset: 0;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero-carousel-slide.active {
    opacity: 1;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19, 27, 46, 0.82) 0%, rgba(0, 70, 163, 0.6) 100%);
}

/* Indicators */
.hero-carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: #ffffff;
    border-color: #ffffff;
    width: 36px;
}

/* ================================================================
   SUBPAGE HERO
   ================================================================ */

.subpage-hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 92, 210, 0.06) 0%, rgba(185, 245, 86, 0.04) 100%);
    z-index: 0;
}

/* ================================================================
   RESPONSIVE TWEAKS
   ================================================================ */

@media (max-width: 768px) {
    .hero-carousel {
        min-height: 100svh; /* small viewport height for mobile */
    }

    .hero-carousel-indicators {
        bottom: 1.5rem;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }
    .hero-indicator.active {
        width: 28px;
    }
}

@media (max-width: 640px) {
    .subpage-hero {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
}
