*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100dvh;
    font-family: "Baloo 2", sans-serif;
    background: #fff;
    color: #333;
}

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
}

.navbar {
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
    z-index: 9999;
    border: none !important;
    box-shadow: none !important;
}



/* smooth drop */
@keyframes navDrop {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-toggler {
    border: none;
    font-size: 20px;
    color: #333;
}

.top-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.dropdown-menu {
    transition: all 0.7s ease-in-out;
}

.custom-dropdown {
    background-color: #242e38 !important;
    border-radius: 0;
    border: none;
    border-top: 4px solid #242e38;
    padding: 0;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-dropdown .dropdown-item {
    color: #cbd5e0;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.custom-dropdown .dropdown-item:hover {
    background-color: transparent;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: -6px;
    width: 0%;
    height: 2px;
    background: #2dba7e;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2dba7e;
}

.nav-links a:hover::before {
    width: 100%;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    width: 100%;
    height: 490px;
    background:
        linear-gradient(rgba(15, 30, 50, 0.68), rgba(15, 30, 50, 0.68)),
        url('/assets/images/image.png') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
}

.hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    line-height: 1.1;
}

.hero-group-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.75);
    padding: 12px 28px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s;
}

.corner {
    position: absolute;
    width: 14px;
    height: 14px;
}

.corner-tl {
    top: -8px;
    left: -8px;
}

.corner-tr {
    top: -8px;
    right: -8px;
}

.corner-bl {
    bottom: -8px;
    left: -8px;
}

.corner-br {
    bottom: -8px;
    right: -8px;
}

.corner::before,
.corner::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
}

.corner::before {
    width: 1.5px;
    height: 14px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.corner::after {
    height: 1.5px;
    width: 14px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.hero-group-box span {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-group-box:hover {
    border-color: #2dba7e;
}

/* home contact */

.home-contact-header h3 {
    font-weight: bold;
}

.contact-email h3 {
    font-weight: bold;
}

.contact-email h4 {
    font-weight: bold;
}

.contact-email p {
    font-size: 14px;
    color: #242e38;
    font-weight: 300;
}

.contact-email a {
    text-decoration: none;
    color: #242e38;
    transition: all 0.3s ease;
}

.contact-email a:hover {
    text-decoration: underline;
    color: #2dba7e;
}

/* ========== VISION / CARD ANIMATION SECTION ========== */
.vision-section {
    background: #fff !important;
    padding: 0;
    margin: 0;
    height: auto;
    overflow: hidden;
}

.vision-inner {
    padding: 0;
    border-radius: 40px;
    opacity: 0;
    transform: translateY(50px);
}

.vision-title {
    text-align: center;
    margin-bottom: 20px;
}

.vision-title h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.vision-title p {
    font-size: 13px;
    color: #000;
    letter-spacing: 1px;
}

.vision-divider {
    width: 50px;
    height: 2px;
    background: #2dba7e;
    margin: 0 auto 20px;
}

.animation-stage-wrapper {
    border-radius: 28px;
    padding: 0 0 0 0;
    height: 100dvh;
    margin-top: 55px;
}

#stage {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

#stage:active {
    cursor: grabbing;
}

.card {
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    transform-origin: center center;
    perspective: 1200px;
    will-change: transform, opacity;
    -webkit-transform: translateZ(0);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
    transition: filter 0.2s;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4);

}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 12px;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: #ddd !important;
}

.card-front img {
    border: none !important;
    outline: none !important;
}

.card-back {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    /* backdrop-filter: blur(2px); */
}

@supports not (-webkit-touch-callout: none) {
    .card-back {
        backdrop-filter: blur(2px);
    }
}

.card-back span {
    font-size: 9px;
    color: #60a5fa;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card-back span:last-child {
    font-size: 12px;
    color: #f1f5f9;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 30px;
}

#intro-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 20;
    text-align: center;
    transition: opacity 0.6s ease;
    margin-bottom: 50px;
}

#intro-text h3 {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #e2e8f0, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    color: #94a3b8;
    letter-spacing: -0.2px;
}

#intro-text p {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #94a3b8;
}

#arc-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 20;
    text-align: center;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    width: 90%;
    max-width: 380px;
}

#arc-text h4 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(120deg, #c084fc, #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    white-space: nowrap;
}

#arc-text p {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 6px;
    line-height: 1.5;
    font-weight: 500;
}

#scroll-hint {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.5s;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 4px 14px;
    border-radius: 40px;
    white-space: nowrap;
}

/* ========== BOTTOM SECTION (PHILOSOPHY & CONTACTS) ========== */
.bottom-section {
    display: flex;
    min-height: 230px;
}

.bottom-left {
    background: #2dba7e;
    width: 250px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-left .brand-name {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bottom-right {
    background: #1c2b3a;
    flex: 1;
    padding: 40px 50px;
    display: flex;
    gap: 70px;
}

.bottom-col {
    flex: 1;
}

.bottom-col h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2dba7e;
    display: inline-block;
}

.bottom-col p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    background: #2dba7e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    color: #fff;
}

.contact-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bar {
    width: 100%;
    padding: 14px 30px;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-bar p {
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0;
    font-weight: 500;
}

.footer-bar p a {
    text-decoration: underline;
    color: #fff;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 991px) {
    .nav-links {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        align-items: flex-start;
    }

    .nav-links a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 30px;
        height: 340px;
    }

    .hero h1 {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .engage-inner {
        margin: 30px 16px;
        padding: 30px 20px;
    }

    .bottom-section {
        flex-direction: column;
    }

    .bottom-left {
        width: 100%;
        height: 80px;
    }

    .bottom-right {
        flex-direction: column;
        gap: 30px;
        padding: 30px 24px;
    }

    .nav-links {
        gap: 18px;
    }

    .animation-stage-wrapper {
        margin-top: 20px;
    }
}

@media (max-width: 700px) {
    .card {
        width: 54px;
        height: 76px;
    }

    #arc-text h4 {
        font-size: 18px;
        white-space: normal;
    }

    #intro-text h3 {
        font-size: 10px !important;
        margin-right: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #intro-text h3{
        font-size: 12px !important;
    }

    #stage {
        height: 420px;
    }

    .vision-inner {
        margin: 0 16px 30px 16px;
        padding: 30px 20px 20px 20px;
    }
    .vision-section {
    height: 600px !important;
    min-height: 600px !important;
  }
}

@media (max-width: 500px) {
    .card {
        margin: 0 6px;
    }

    #intro-text{
        margin-top: 80px;
        margin-bottom: 0;
    }

    #intro-text h3 {
        margin-left: 10px;
    }
}