/* ===================================
   Taruna Go Police - Main Stylesheet
   Enhanced Modern Design
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #0a192f;
    --primary-light: #1e3a8a;
    --secondary-color: #fbbf24;
    --secondary-dark: #f59e0b;
    --accent-color: #ef4444;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --gradient-primary: linear-gradient(135deg, #0a192f 0%, #1e3a8a 50%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(30, 58, 138, 0.85) 50%, rgba(59, 130, 246, 0.75) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    padding-top: 0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Ensure navbar doesn't affect flex layout */
body > .navbar {
    flex-shrink: 0;
}

/* Main content wrapper or section with flex: 1 takes remaining space */
body > div[style*="flex: 1"],
body > div[style*="flex: 1 0 auto"],
body > main,
body > section[style*="flex: 1"] {
    flex: 1 0 auto !important;
    min-height: 0 !important;
}

/* Only the last section before footer should grow to fill space */
body > section:not(footer):last-of-type {
    flex: 1 0 auto;
}

/* Footer always at bottom */
body > footer {
    flex-shrink: 0 !important;
    margin-top: auto !important;
    width: 100% !important;
}

html {
    overflow-x: hidden;
    position: relative;
    height: 100%;
}

body {
    height: 100%;
}

/* Body padding saat pakai top bar + navbar fixed (halaman dengan include header) */
body.has-topbar {
    padding-top: 116px;
}

body.has-topbar section:first-of-type,
body.has-topbar .section-page-banner {
    margin-top: 0 !important;
}

/* Banner pertama tiap halaman: langsung di bawah header, tanpa celah */
.section-page-banner {
    margin-top: 0 !important;
    padding: 4rem 0 !important;
    position: relative;
    overflow: hidden;
}

/* ===================================
   Header - Struktur seperti PKBM Adam Hawa, desain beda (biru POLRI)
   =================================== */
.header-fixed-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-fixed-wrapper .navbar {
    margin-top: 0;
    margin-bottom: 0;
}

/* Top bar: satu baris, gradient biru (bukan teal seperti PKBM) + aksen emas di atas */
.gopolice-top-bar {
    background: linear-gradient(135deg, #1e3a8a 0%, #0a192f 100%);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.gopolice-top-bar .container {
    background: transparent !important;
}

.gopolice-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.gopolice-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gopolice-top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.gopolice-top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Link & teks di top bar: putih, tanpa underline (class unik agar tidak tertimpa) */
.gopolice-top-bar a,
.gopolice-top-bar a:hover,
.gopolice-top-bar a:focus,
.gopolice-top-bar a:visited {
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
}

.gopolice-top-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gopolice-top-login:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.gopolice-top-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.gopolice-top-item:hover {
    opacity: 1;
}

.gopolice-top-item i {
    font-size: 0.9rem;
}

.gopolice-top-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gopolice-top-social:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.gopolice-top-social.gopolice-top-wa:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Navbar bawah: tetap biru gelap (desain gopolice) */
.gopolice-navbar {
    background: linear-gradient(90deg, #0a192f 0%, #1e3a8a 100%) !important;
    border: none !important;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

/* ===================================
   Navbar Styles - Clean & Professional
   =================================== */
.navbar {
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.98) 0%, rgba(30, 58, 138, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: none;
    position: relative;
    z-index: 9999 !important;
    overflow: visible !important;
}

.navbar .container-fluid,
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    overflow: visible !important;
    position: relative;
    z-index: 9999;
    max-width: 100%;
}

/* Desktop: navbar menu selalu tampil */
@media (min-width: 992px) {
    .navbar-collapse {
        overflow: visible !important;
        z-index: 9999;
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex-grow: 1;
        gap: 2rem;
        padding-right: 2rem;
        max-width: 100%;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    padding: 0;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 55px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.brand-text {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
    font-weight: 900;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 0;
    margin-right: auto;
    overflow: visible !important;
    position: relative;
    z-index: 9999;
    flex: 0 1 auto;
    max-width: calc(100% - 150px);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.6rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Dropdown Menu - Clean & Visible */
.nav-item.dropdown {
    position: static !important;
    z-index: 99999 !important;
    overflow: visible !important;
}

.dropdown-menu {
    display: none !important;
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: none;
    border-left: 4px solid var(--secondary-color);
    overflow: visible !important;
}

.dropdown-menu.show {
    display: block !important;
    animation: slideDown 0.3s ease-out;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 99999 !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #1e293b !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    margin-left: 0;
}

.dropdown-item:hover {
    background: rgba(251, 191, 36, 0.1) !important;
    color: var(--dark-color) !important;
    border-left-color: var(--secondary-color);
    padding-left: 1.8rem;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.2em;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Ensure dropdown is visible - Simplified approach */
.navbar-nav .dropdown-menu {
    display: none;
}

/* Force dropdown to show when Bootstrap adds show class */
.navbar-nav .dropdown-menu.show,
.dropdown-menu.show,
.dropdown.show .dropdown-menu,
.dropdown.show > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: slideDown 0.3s ease-out;
    z-index: 9999 !important;
    position: absolute !important;
}

/* Additional selector to ensure visibility */
.nav-item.dropdown.show .dropdown-menu,
.nav-item.dropdown[aria-expanded="true"] .dropdown-menu,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
    position: absolute !important;
}

/* Force display for any dropdown menu with show class or visible style */
.dropdown-menu.show,
.dropdown-menu[style*="display: block"],
.dropdown-menu[style*="display:block"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
    position: absolute !important;
}

/* Ensure dropdown parent has proper positioning */
.navbar-nav .dropdown {
    position: relative !important;
    z-index: 9999 !important;
}

.nav-item.dropdown {
    position: relative !important;
    z-index: 9999 !important;
}

/* Ensure navbar collapse doesn't interfere */
.navbar-collapse {
    position: relative;
    z-index: 9999;
}

/* Ensure container in navbar doesn't interfere */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    overflow: visible !important;
    position: relative;
    z-index: 9999;
    max-width: 100%;
}

/* Force dropdown menu to be visible when shown */
#bimbelDropdownMenu.show,
#bimbelDropdownMenu[style*="display: block"],
#bimbelDropdownMenu[style*="display:block"],
#bimbelDropdownMenu[style*="display: block !important"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10000 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 5px !important;
}

/* Additional force for any state */
#bimbelDropdownMenu {
    z-index: 10000 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
}

/* Ensure dropdown is above everything including navbar border */
.nav-item.dropdown {
    position: relative !important;
    z-index: 10000 !important;
}

.nav-item.dropdown .dropdown-menu {
    z-index: 10000 !important;
    margin-top: 5px !important;
}

/* Dropdown hover for desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 9999 !important;
        position: absolute !important;
    }
    
    .navbar-nav .dropdown:hover .dropdown-toggle {
        color: var(--secondary-color) !important;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 0.75rem 0;
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    z-index: 9999 !important;
    min-width: 240px;
    border: 2px solid rgba(251, 191, 36, 0.3) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    max-height: 400px;
    overflow-y: auto;
    transform: translateY(0);
    /* Ensure it can be shown */
    pointer-events: auto;
    /* Ensure it's above everything */
    position: absolute !important;
}

/* Override Bootstrap's default hiding */
.dropdown-menu:not(.show) {
    display: none !important;
}

/* Ensure navbar nav has proper z-index */
.navbar-nav {
    position: relative;
    z-index: 9999;
}

/* Ensure dropdown is positioned correctly */
.navbar-nav .dropdown {
    position: relative;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
}

/* Ensure dropdown is always visible when show class is present */
.dropdown.show .dropdown-menu,
.dropdown.show > .dropdown-menu,
[class*="dropdown"].show .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1050 !important;
}

/* Override any Bootstrap default hiding */
.dropdown-menu[class*="show"] {
    display: block !important;
}

.dropdown-item {
    padding: 0.9rem 1.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark) !important;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: block !important;
    width: 100%;
    text-align: left;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    transform: translateX(8px);
    padding-left: 2.2rem;
    border-left: 4px solid var(--secondary-color);
}

.dropdown-item:active {
    background: var(--gradient-primary) !important;
    color: #fff !important;
}

/* ===================================
   Hero Section - Enhanced
   =================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: transform 10s ease-out;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(251,191,36,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 3;
    padding: 2rem;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    -webkit-text-fill-color: #fff;
    background: none;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-content .lead {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    background: var(--gradient-secondary);
    color: var(--dark-color);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
    color: var(--dark-color);
}

.btn-hero:active {
    transform: translateY(-2px) scale(1.02);
}

/* ===================================
   Statistics Section
   =================================== */
.stats-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    margin-top: -100px;
    position: relative;
    z-index: 1;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

/* Ensure nothing covers dropdown */
.hero-section,
.section,
.stats-section {
    z-index: 1;
    position: relative;
}

/* Ensure no section covers dropdown */
.hero-section {
    z-index: 1 !important;
}

.section {
    z-index: 1 !important;
}

.stats-section {
    z-index: 1 !important;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ===================================
   Section Styles - Enhanced
   =================================== */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-secondary);
    border-radius: 3px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 2rem auto 0;
    font-weight: 400;
}

/* ===================================
   Card Styles - Modern Enhanced
   =================================== */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
    background: #fff;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Banner Card Styles */
.banner-card {
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: 12px;
}

.banner-card:hover {
    transform: translateY(-5px);
}

.banner-card img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
}

.banner-card:hover img {
    transform: scale(1.05);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img-top {
    transform: scale(1.15);
}

/* Banner Gallery Hover Effect */
.card-img-wrapper:hover img {
    transform: scale(1.1);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ===================================
   Feature Box - Enhanced
   =================================== */
.feature-box {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.4rem;
}

.feature-box p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===================================
   Button Styles - Enhanced
   =================================== */
.btn {
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
    color: #fff;
}

.btn-warning {
    background: var(--gradient-secondary);
    color: var(--dark-color);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.5);
    color: var(--dark-color);
}

.btn-light {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
    color: var(--primary-color);
}

/* ===================================
   Background Sections
   =================================== */
.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 58, 138, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.bg-primary {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   Footer - Enhanced
   =================================== */
.footer {
    background: linear-gradient(135deg, #0a192f 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    z-index: 10;
    width: 100%;
    clear: both;
    flex-shrink: 0;
}


.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer h5 {
    color: var(--secondary-color) !important;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.footer p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
    line-height: 1.8;
}

.footer a {
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.footer a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
    display: inline-block;
    text-decoration: none;
}

.footer .text-light {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
}

.footer i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.slogan-text {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 700;
    color: var(--secondary-color) !important;
    text-shadow: 0 2px 15px rgba(251, 191, 36, 0.5);
    letter-spacing: 0.5px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

/* ===================================
   Utilities
   =================================== */
.text-primary {
    color: var(--primary-color) !important;
}

.text-warning {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* ===================================
   Scroll Animations
   =================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Additional Enhancements
   =================================== */
.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Badge Styles */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Effects for Links */
a {
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}
