:root {
    --primary-color: #0d6efd;
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --secondary-color: #f59e0b;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --text-color: #4b5563;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 30px rgba(13, 110, 253, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
}

a {
    text-decoration: none !important;
}

/* Navbar Public Pro - Enhanced */
.navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 0;
    transition: all 0.4s ease;
}

.navbar-brand img {
    height: 55px;
    /* Slightly larger */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-brand:hover img {
    transform: scale(1.08);
}

.nav-link {
    font-weight: 600;
    color: #4b5563 !important;
    /* Slate 600 */
    margin: 0 6px;
    padding: 10px 18px !important;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.nav-link::after {
    display: none;
    /* Remove underline */
}

/* Pro Hover Effect */
.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(13, 110, 253, 0.08);
    /* Light primary bg */
    transform: translateY(-1px);
}

/* Dropdown Menu Pro */
.dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top: 15px !important;
    /* Spacing from nav */
    animation: fadeInUp 0.3s ease forwards;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
}

.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navbar Adjustments */
@media (max-width: 991px) {
    .navbar-glass {
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .nav-link {
        margin: 5px 0;
        padding: 10px 15px !important;
        background: transparent !important;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(13, 110, 253, 0.05) !important;
        transform: translateX(5px);
    }

    /* Reset Dropdown for Mobile */
    .dropdown-menu {
        display: none;
        /* Default bootstrap behavior takes over via JS toggler */
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0 !important;
        background: #f8f9fa;
        visibility: visible;
        opacity: 1;
        transform: none;
        animation: none;
    }

    .dropdown.show .dropdown-menu {
        display: block;
    }

    .dropdown:hover .dropdown-menu {
        /* Disable hover on mobile, rely on click */
        transform: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* Cards */
.card-custom {
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.card-img-wrapper {
    overflow: hidden;
    height: 240px;
}

.card-img-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: var(--primary-gradient);
    border: none;
    color: white;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.card-custom:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Buttons */
.btn-primary-pro {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(13, 110, 253, 0.3);
    color: white;
}

.icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer-pro {
    background: #111827;
    color: #9ca3af;
    padding: 4rem 0 2rem;
}

.footer-link {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        height: 60vh;
    }
}