/* =============================================
   Material Symbols
   ============================================= */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* =============================================
   Glass Nav
   ============================================= */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

/* =============================================
   Tab System
   ============================================= */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* =============================================
   FAQ Accordion
   ============================================= */
.accordion-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

.accordion-body.open {
    opacity: 1;
}

.accordion-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

/* =============================================
   Form Validation
   ============================================= */
.field-invalid {
    outline: 2px solid rgba(186, 26, 26, 0.6) !important;
    outline-offset: 0;
}

.field-valid {
    outline: 2px solid rgba(34, 197, 94, 0.6) !important;
    outline-offset: 0;
}

.error-msg {
    color: #ffdad6;
    font-size: 0.7rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 500;
}

.error-msg.visible {
    display: block;
}

/* =============================================
   Mobile Menu
   ============================================= */
#mobile-menu {
    transition: opacity 0.2s ease;
}

/* =============================================
   Scroll Reveal
   ============================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal="slide-right"] {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* =============================================
   Segment Cards
   ============================================= */
.segment-card {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.segment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 24px 48px rgba(22,28,39,0.10);
}

/* =============================================
   Navbar Sliding Indicator
   ============================================= */
#nav-menu {
    position: relative;
}
#nav-indicator {
    position: absolute;
    bottom: -4px;
    height: 2px;
    background: #febb2f;
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), width 0.2s ease;
    pointer-events: none;
}

/* =============================================
   Toast Notification
   ============================================= */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #022448;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(2, 36, 72, 0.25);
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    max-width: 320px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}
