:root {
    --menu-color: #06067e;
    --primary-color: #1f3fae;
    --primary-dark: #06067e;
    --primary-light: #3d5fd9;
    --bg-page: #fafafa;
    --text-dark: #222222;
    --text-muted: #555555;
    --facebook-blue: #1877f2;
    --facebook-dark: #166fe5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-page);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

/* ---- Navbar ---- */
.custom-navbar {
    padding: 1rem 0;
    transition: all 0.4s ease;
    /* background: transparent; */

    background: rgba(6, 6, 126, 0.97);
    padding: 0.6rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(6, 6, 126, 0.3);
}

.custom-navbar.scrolled {
    background: rgba(6, 6, 126, 0.97);
    padding: 0.6rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(6, 6, 126, 0.3);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #fff !important;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 48px;
    width: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 70%;
}

/* ---- Hero ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--menu-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(31, 63, 174, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(31, 63, 174, 0.5) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 20px 80px;
}

.hero-logo {
    display: inline-block;
}

.hero-logo-img {
    max-height: 180px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.hero-content h1 {
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-light {
    background: #fff;
    color: var(--menu-color);
}

.btn-light:hover {
    background: var(--primary-light);
    color: #fff;
}

.btn-facebook {
    background: var(--facebook-blue);
    color: #fff;
    font-weight: 600;
}

.btn-facebook:hover {
    background: var(--facebook-dark);
    color: #fff;
}

.btn-danger {
    background: var(--primary-color);
    color: #fff;
}

.btn-danger:hover {
    background: var(--menu-color);
    color: #fff;
}

/* ---- Animations ---- */
.animate-fade {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.animate-fade-delay {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-delay-2 {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- About ---- */
.about-section {
    background: var(--bg-page);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--menu-color), var(--primary-color), var(--menu-color));
}

.feature-card {
    background: #fff;
    padding: 2rem 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(31, 63, 174, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(6, 6, 126, 0.15);
    border-color: var(--primary-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.feature-card:hover i {
    color: var(--menu-color);
}

/* ---- Contact ---- */
.contact-section {
    background: #fff;
}

.contact-card {
    background: var(--bg-page);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(6, 6, 126, 0.1);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--menu-color), var(--primary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.75rem;
    box-shadow: 0 10px 25px rgba(6, 6, 126, 0.25);
}

.contact-icon.facebook-icon {
    background: linear-gradient(135deg, var(--facebook-blue), var(--facebook-dark));
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}

.facebook-card {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05), rgba(255, 255, 255, 1));
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--menu-color);
}

/* ---- CTA ---- */
.cta-section {
    background: linear-gradient(135deg, var(--menu-color) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* ---- Footer ---- */
.footer {
    background: var(--menu-color);
    color: #fff;
}

.footer h5 {
    font-family: 'Playfair Display', serif;
    color: #fff;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 50%;
    margin: 0 0.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fff;
    color: var(--menu-color);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

/* ---- Floating FAB ---- */
.floating-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--facebook-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2.5s infinite;
}

.floating-fab:hover {
    background: var(--facebook-dark);
    color: #fff;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
    }
    50% {
        box-shadow: 0 8px 40px rgba(24, 119, 242, 0.8);
    }
}

/* ---- Badges ---- */
.bg-danger-subtle {
    background-color: rgba(6, 6, 126, 0.08) !important;
    color: var(--menu-color) !important;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(6, 6, 126, 0.98);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        backdrop-filter: blur(10px);
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }

    .navbar-dark .navbar-nav .nav-link.btn-facebook {
        margin-top: 0.5rem;
        display: inline-block;
    }

    .hero-logo-img {
        max-height: 140px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 100px 15px 60px;
    }

    .hero-logo-img {
        max-height: 120px;
    }

    .btn-lg {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }

    .floating-fab {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }
}
