/* style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enhanced Search Box Styles */
.search-box {
    position: relative;
    display: inline-block;
    min-width: 320px;
}

.search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box .search-input {
    padding: 14px 24px 14px 50px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    width: 100%;
    letter-spacing: 0.3px;
}

.search-box .search-input:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(255, 255, 255, 0.3);
    outline: none;
    transform: translateY(-2px);
}

.search-box .search-input:focus + .search-icon {
    color: #0d6efd;
    transform: translateY(-50%) scale(1.1);
}

.search-box .search-input::placeholder {
    color: #6c757d;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.2px;
}

.search-box .search-input:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

/* Enhanced Button Styles */
.btn-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 14px 24px;
    color: #495057;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(15px);
    letter-spacing: 0.3px;
}

.btn-light:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    color: #0d6efd;
}

.btn-light:active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 14px 24px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(15px);
    letter-spacing: 0.3px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    color: #ffffff;
}

.btn-outline-light:active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Clear Button Enhancement */
.clear-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    color: #dc3545;
}

/* Enhanced Dropdown Styles */
.dropdown-menu {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    margin-top: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    min-width: 200px;
}

.dropdown-item {
    padding: 14px 20px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    margin: 4px 0;
    color: #495057;
    letter-spacing: 0.2px;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.dropdown-item.active {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.dropdown-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Enhanced Card Header */
.card-header.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 50%, #0a58ca 100%) !important;
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.3);
}

.card-header .card-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Enhanced Filter Status */
.px-3.pt-3 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0 0 15px 15px;
    padding: 15px 25px;
    margin: 0;
}

.px-3.pt-3 small {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    letter-spacing: 0.3px;
}

.px-3.pt-3 i {
    color: #0d6efd;
    margin-right: 6px;
}

/* Enhanced Page Styling */
.container {
    max-width: 1400px;
}

.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.page-header .lead {
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Enhanced Card Styling */
.card.shadow-sm {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-body {
    padding: 0;
}

/* Enhanced Table Styling */
.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    padding: 20px 15px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #495057;
    text-transform: uppercase;
}

.table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f3f4;
}

.table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table tbody td {
    padding: 18px 15px;
    vertical-align: middle;
    border: none;
}

/* Enhanced Button Group Spacing */
.d-flex.gap-3 {
    gap: 1rem !important;
}

/* Enhanced Form Styling */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    transform: translateY(-1px);
}

/* Enhanced Action Buttons */
.btn-group .btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-group .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Reset Button Enhancement */
.reset-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.reset-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.reset-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.reset-btn i {
    font-size: 14px;
}

/* Enhanced Navbar Styles */
.navbar.bg-primary {
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 50%, #1e40af 100%) !important;
    box-shadow: 0 4px 25px rgba(30, 64, 175, 0.4);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    width: 200px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.navbar-brand:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.3rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(59, 130, 246, 0.2);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.6rem 1.2rem !important;
    margin-left: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link.btn-outline-light:hover {
    background-color: #3b82f6;
    color: #ffffff !important;
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.6rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-toggler:hover {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
    border-color: #3b82f6;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive navbar adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: 0.4rem 0;
        text-align: center;
        padding: 1rem 1.5rem !important;
    }
    
    .navbar-nav .nav-link.btn-outline-light {
        margin: 0.8rem 0;
        display: inline-block;
        width: auto;
    }
    
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(10, 25, 41, 0.95) 0%, rgba(30, 58, 138, 0.95) 50%, rgba(30, 64, 175, 0.95) 100%);
        border-radius: 15px;
        margin-top: 1.5rem;
        padding: 1.5rem;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(59, 130, 246, 0.2);
        box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3);
    }
    
    .navbar-nav .nav-link::before {
        display: none;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(59, 130, 246, 0.2);
        transform: translateY(-1px);
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 50%, #1e40af 100%);
    border-top: 3px solid #1e40af;
    position: relative;
    box-shadow: 0 -2px 20px rgba(30, 64, 175, 0.3);
    color: #ffffff;
    padding: 2rem 0 2rem;
    margin-top: 0;
    width: 100%;
    left: 0;
    right: 0;
}

.footer .container {
    max-width: 100%;
    padding: 0 2rem;
}

.footer .row {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a1929, #1e3a8a, #1e40af, #3b82f6);
    background-size: 300% 100%;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    width: 140px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer h6 {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    position: relative;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer h6:hover::after {
    width: 60px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    margin-bottom: 0.8rem;
    font-weight: 400;
    padding: 0.3rem 0;
}

.footer-link:hover {
    color: #ffffff !important;
    transform: translateX(8px);
    font-weight: 500;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #3b82f6;
    font-weight: bold;
}

.footer-link:hover::before {
    opacity: 1;
    left: -25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.social-link:hover {
    background: #3b82f6;
    color: #ffffff !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    border-color: #3b82f6;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item i {
    width: 25px;
    text-align: center;
    color: #3b82f6;
    margin-right: 0.8rem;
    font-size: 1.1rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    min-width: 35px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 3rem 0 2rem;
    border-width: 2px;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
}

/* Enhanced footer content */
.footer p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer ul {
    margin-bottom: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

/* Responsive footer adjustments */
@media (max-width: 767.98px) {
    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        margin-bottom: 1.5rem;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .footer h6 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer h6:hover::after {
        width: 80px;
    }
}

.btn-primary {
    background-color: #489ef5;
    border-color: #0073e6;
}

.btn-primary:hover {
    background-color: #005bb5;
    border-color: #005bb5;
}

/* Partners Section Styles */
.partners-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin: 3rem 0;
}

.partners-slider {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.partners-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: calc(250px * 12); /* 6 items × 2 sets = 12 items */
}

.partner-item {
    flex: 0 0 250px;
    padding: 0 1rem;
}

.partner-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.partner-logo {
    margin-bottom: 1rem;
}

.partner-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-icon {
    filter: grayscale(0%);
}

.partner-logo h4 {
    margin: 0;
    font-size: 1.5rem;
}

.partner-desc {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6)); /* Move exactly 6 items to the left */
    }
}

/* Pause animation on hover */
.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-track {
        animation-duration: 15s;
    }
    
    .partner-item {
        flex: 0 0 200px;
    }
    
    .partner-card {
        padding: 1.5rem 1rem;
        height: 180px;
    }
    
    .partner-logo h4 {
        font-size: 1.3rem;
    }
}

/* Professional Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(59,130,246,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.hero-section .row {
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 50%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    letter-spacing: -0.02em;
}

.hero-section h6 {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: left;
    max-width: 95%;
    opacity: 0.9;
}

.hero-section .btn-primary {
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 50%, #1e40af 100%);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.hero-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.hero-section .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.35);
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
}

.hero-section .btn-primary:hover::before {
    left: 100%;
}

.hero-section .btn-primary:active {
    transform: translateY(-2px);
}

.hero-section .img-fluid {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    filter: brightness(1.02) contrast(1.05);
}

.hero-section .img-fluid::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.15;
}

.hero-section .img-fluid:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.18);
    filter: brightness(1.05) contrast(1.08);
}

.animation-zidex {
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pos-relative {
    position: relative;
}

/* Enhanced responsive adjustments */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .hero-section h6 {
        font-size: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-section h6 {
        font-size: 1.2rem;
        text-align: center;
        max-width: 100%;
        margin-bottom: 2.5rem;
    }
    
    .hero-section .btn-primary {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
    
    .hero-section .img-fluid {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.4rem;
    }
    
    .hero-section h6 {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .hero-section .btn-primary {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .hero-section .img-fluid {
        margin-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2.1rem;
    }
    
    .hero-section h6 {
        font-size: 1rem;
    }
    
    .hero-section .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* Battery Replacement Section Styles */
.battery-replacement-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.battery-replacement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
}

.battery-content {
    position: relative;
    z-index: 2;
}

.battery-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0a1929;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.battery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.battery-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.battery-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.feature-item i {
    font-size: 1.3rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.feature-item span {
    font-weight: 500;
    color: #374151;
    font-size: 1rem;
}

.battery-btn {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(59, 130, 246, 0.05);
}

.battery-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.battery-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.battery-btn:hover::before {
    left: 100%;
}

.battery-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.battery-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.battery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.battery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 25, 41, 0.9));
    color: #ffffff;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.overlay-content {
    position: relative;
    z-index: 2;
}

.overlay-icon {
    font-size: 2.5rem;
    color: #60a5fa;
    margin-bottom: 1rem;
    display: block;
}

.overlay-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Responsive adjustments for battery section */
@media (max-width: 991.98px) {
    .battery-title {
        font-size: 2.4rem;
        text-align: center;
    }
    
    .battery-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .battery-description {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .battery-features {
        margin-bottom: 2rem;
    }
    
    .battery-btn {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
    
    .battery-image-container {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .battery-title {
        font-size: 2.1rem;
    }
    
    .battery-description {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 0.6rem 0.8rem;
    }
    
    .feature-item i {
        font-size: 1.1rem;
        margin-right: 0.8rem;
    }
    
    .feature-item span {
        font-size: 0.95rem;
    }
    
    .battery-btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
}

/* Flash Message Styling */
.alert {
    margin-bottom: 1rem;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    border-left: 4px solid #721c24;
}

.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    border-left: 4px solid #155724;
}

.alert-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #ffffff;
    border-left: 4px solid #0c5460;
}

.alert-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
    border-left: 4px solid #856404;
}

.alert-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    border-left: 4px solid #004085;
}

.alert .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.alert .btn-close:hover {
    opacity: 1;
}

.alert i {
    font-size: 1.1rem;
}
