/* ========================================
   BilonBil Public Website Custom Styles
   ======================================== */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0px 0px 0px;
    margin-top: 56px;
}

.hero-section h1 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section img {
    max-width: 155%;
    width: 155%;
    margin-left: 0%;
}

.hero-section .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.3);
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
    padding: 80px 0;
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
}

/* ========================================
   Services Section
   ======================================== */

.services-preview {
    padding: 80px 0;
}

.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,123,255,0.1), transparent);
    transition: all 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: rotateY(360deg);
}

/* ========================================
   Stats Section
   ======================================== */

.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.stats-section h2 {
    font-weight: 800;
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 60px 0;
}

.about-header {
    background: linear-gradient(135deg, rgba(25, 25, 26, 0.95) 0%, rgba(0, 86, 179, 0.01) 100%),
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80') center/cover no-repeat;
    position: relative;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(0, 123, 255, 0.75) 0%, rgba(0, 86, 179, 0.70) 100%); */
    z-index: 1;
}

.about-header .container {
    position: relative;
    z-index: 2;
}

.min-vh-50 {
    min-height: 50vh;
}

/* ========================================
   About Page Specific
   ======================================== */

.mission-vision-card {
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.icon-box {
    display: inline-block;
}

.value-card {
    transition: all 0.3s ease;
}

.value-icon {
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(0,123,255,0.05);
}

.value-card:hover .value-icon i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.why-choose-card {
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateX(10px);
    border-left: 4px solid var(--primary-color);
}

/* ========================================
   Services Page Specific
   ======================================== */

.service-detail {
    padding: 40px 0;
}

.service-icon-large {
    display: inline-block;
}

.service-icon-large i {
    transition: all 0.3s ease;
}

.service-detail:hover .service-icon-large i {
    transform: scale(1.1);
}

.integration-card {
    transition: all 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.integration-card i {
    transition: all 0.3s ease;
}

.integration-card:hover i {
    transform: rotate(360deg);
}

/* ========================================
   Contact Page Specific
   ======================================== */

.contact-info-item {
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.contact-icon i {
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon i {
    transform: scale(1.2);
}

.contact-form-wrapper {
    transition: all 0.3s ease;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.map-wrapper {
    height: 450px;
    border: 3px solid #e9ecef;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cta-section .btn {
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.3);
}

/* ========================================
   Footer
   ======================================== */

footer {
    padding: 60px 0 30px;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.social-links a {
    display: inline-block;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}

/* ========================================
   Utility Classes
   ======================================== */

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

.rounded {
    border-radius: 0.5rem !important;
}

/* ========================================
   Animations
   ======================================== */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 991.98px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-section img {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    }
    
    .nav-link {
        margin: 0.5rem 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .page-header {
        padding: 40px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 20px 0;
    }
    
    .hero-section img {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .feature-card,
    .service-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-icon-large i {
        font-size: 3rem !important;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .navbar,
    .cta-section,
    footer {
        display: none;
    }
    
    body {
        background: white;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
}

/* ========================================
   Accessibility
   ======================================== */

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   Smooth Scrolling
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   Custom Scrollbar
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}
