:root {
    --primary-blue: #5D9CEC;
    --primary-dark: #4A89DC;
    --accent-yellow: #FFCE54;
    --accent-pink: #EC87C0;
    --text-dark: #434A54;
    --text-light: #656D78;
    --white: #FFFFFF;
    --off-white: #F5F7FA;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(93, 156, 236, 0.15);
    --radius-lg: 20px;
    --radius-pill: 50px;
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(93, 156, 236, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(93, 156, 236, 0.4);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    background: transparent;
}

.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(93, 156, 236, 0.85),
        rgba(74, 137, 220, 0.85)
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 2px;
}

.logo-text span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: #f8fbff;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-yellow);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown .nav-link i {
    font-size: 0.8rem;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background: rgba(93, 156, 236, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.3s ease;
    z-index: 2000;
}

.dropdown-menu * {
    position: relative;
    z-index: 1;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(93, 156, 236, 0.35);
    backdrop-filter: blur(14px);
    border-radius: inherit;
    z-index: -1;
}

.nav-menu > .dropdown:last-child .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 22px;
    color: #f8fbff;
    font-size: 0.95rem;
    transition: background 0.2s, padding-left 0.2s;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--accent-yellow);
    padding-left: 26px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: 0.3s;
}

.hero-section {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.75)
    );
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 1000px;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
    color: #f0f4ff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.running-text-container {
    background: linear-gradient(
        to right,
        #4A89DC,
        #2C5FB8
    );
    color: var(--white);
    display: flex;
    height: 45px;
    align-items: center;
    overflow: hidden;
    position: sticky;
    top: 80px;
    z-index: 990;
    border-top: 1px solid rgba(255,255,255,0.25);
    border-bottom: 2px solid var(--accent-yellow);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.running-label {
    background: linear-gradient(
        to bottom,
        var(--accent-yellow),
        #f5b800
    );
    color: var(--text-dark);
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-right: 2px solid rgba(0,0,0,0.15);
    box-shadow: 
        3px 0 10px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.running-content-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

#running-text-content {
    white-space: nowrap;
    position: absolute;
    animation: marquee 20s linear infinite;
    font-weight: 1000;
    font-size: 1.75rem;
    letter-spacing: 0.5px;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin-bottom: 25px;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-gallery {
    position: relative;
}

.about-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 5px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-slider-wrapper .slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    display: flex;
    gap: 8px;
}

.about-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-img.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.footer {
    background-color: #2C3E50;
    color: #ECF0F1;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent-yellow);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #BDC3C7;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-subtitle {
    margin-top: 20px;
    color: var(--accent-yellow);
    font-size: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #BDC3C7;
}

.contact-info i {
    color: var(--primary-blue);
    width: 20px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: background 0.3s;
}

.social-media a:hover {
    background: var(--primary-blue);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.footer-map-iframe {
    border: 0;
    display: block;
}

.is-hidden {
    display: none !important;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #95A5A6;
}

.page-header {
    background-color: #f0f4f8;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #e1e8ed;
}

.page-header h2 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.profile-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.floating-ig {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #E1306C;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    text-decoration: none;
    z-index: 9999;
    transition: transform .2s ease, box-shadow .2s ease;
}

.floating-ig:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .menu-toggle {
        display: flex;
        z-index: 1100;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(
            to bottom,
            rgba(93, 156, 236, 0.95),
            rgba(74, 137, 220, 0.95)
        );
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding-top: 80px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        z-index: 1050;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        text-align: left;
    }

    .nav-link {
        padding: 15px 25px;
        display: block;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        display: block;
        background: #f5f7fa;
        padding: 5px 0;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu li a {
        padding: 12px 35px;
        font-size: 0.9rem;
        color: var(--text-dark);
    }

    .dropdown-menu li a:hover {
        background: #e9f1ff;
        color: var(--primary-blue);
    }

    .hero-section {
        height: 70vh;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info p {
        justify-content: center;
    }

    .social-media {
        justify-content: center;
    }

    .running-text-container {
        position: sticky;
        top: 80px;
        z-index: 990;
    }
}