:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 4px 12px 0 rgba(31, 38, 135, 0.03);
}

body {
    background-color: #F8FAFC;
    color: #1E293B;
    zoom: 0.9;
}

.glass-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--glass-shadow);
    border-radius: 0;
    transition: transform 0.1s ease-out, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-grid .glass-card {
    min-height: 400px;
}

.glass-card-inner {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.glass-card:hover .glass-card-content {
    transform: translateZ(50px);
}

.glass-card-content {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(0);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: all 0.6s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.05);
}

.nav-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.about-tab-btn.active-tab {
    color: #6366F1;
    border-bottom-color: #6366F1;
}

/* Carousel Animations */
.carousel-slide {
    transition: opacity 0.8s ease, z-index 0s;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
}

.carousel-slide:not(.active) {
    opacity: 0;
    z-index: 0;
}

.carousel-slide.active .carousel-img {
    animation: kenBurns 3.5s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.carousel-slide.active .carousel-content {
    animation: slideInRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-dot.active-dot>div:first-child {
    color: rgba(255, 255, 255, 0.9) !important;
}

.carousel-progress {
    transition: width 0.1s linear;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 1280px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(252, 248, 248, 0.4), rgb(174, 182, 189));
}

/* FORM INPUT PREMIUM EFFECT */
.input-field {
    width: 100%;
    background: #cbd5e1;
    border: 1px solid #94a3b8;
    padding: 14px 16px;
    border-radius: 0;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.25s ease;
}

.input-field::placeholder {
    color: #334155;
}

.input-field:hover {
    background: #94a3b8;
    transform: translateY(-1px);
}

.input-field:focus {
    background: #e2e8f0;
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

select.input-field {
    padding-right: 48px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231e293b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 24px top 50%;
    background-size: 14px auto;
}

/* Force Hover for Nav Dropdown via JS */
.force-hover > div.absolute {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
