html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



/* Navbar offset */
body {
    font-family: 'Inter', sans-serif;
    background-color: #fcfcfd;
    color: #334155;
    padding-top: 70px; /* Offset for fixed navbar */
}

/* Sidebar */
#sidebar {
    width: 240px;
    min-height: 100vh;
    transition: all 0.3s ease;
}

    /* Sidebar links */
    #sidebar .nav-link {
        color: black;
        padding: 10px;
        border-radius: 8px;
    }

        #sidebar .nav-link:hover {
            background-color: #f1f1f1;
        }

    /* Icons */
    #sidebar i {
        font-size: 18px;
    }

    /* Collapsed Sidebar */
    #sidebar.collapsed {
        width: 70px;
    }

        /* Hide text when collapsed */
        #sidebar.collapsed .menu-text {
            display: none;
        }

        /* Center icons when collapsed */
        #sidebar.collapsed .nav-link {
            justify-content: center;
        }

        /* Rotate button icon */
        #sidebar.collapsed #sidebarCollapseBtn i {
            transform: rotate(180deg);
        }

/* Main content */
#mainContent {
    transition: all 0.3s ease;
    width: 100%;
}

/* 🔗 Modern Nav Links */
.custom-nav-link {
    font-weight: 600;
    color: #475569 !important; /* Dark grey */
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: color 0.3s ease;
}

    .custom-nav-link:hover {
        color: #0d6efd !important; /* Brand Blue */
    }

/* Underline effect on hover for desktop */
@media (min-width: 992px) {
    .custom-nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 5px;
        left: 50%;
        background-color: #0d6efd;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .custom-nav-link:hover::after {
        width: 30%;
    }
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
    .custom-nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid #f1f5f9;
    }

        .custom-nav-link:last-child {
            border-bottom: none;
        }
}

/* 🏢 Modern Navbar */
.modern-nav {
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    min-height: 70px; /* Changed from height to min-height */
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* 🎨 Logo Styling */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1e293b;
}
/* Mobile-Specific Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .w-100-mobile {
        width: 100%;
        text-align: center;
    }

    .modern-nav {
        padding: 8px 0;
    }
}   
.logo-icon {
    background: #0d6efd; /* Primary Blue */
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* 🔑 Modern Login Button */
.btn-login {
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background-color: transparent;
        border-color: #0d6efd;
        color: #0d6efd;
    }

/* 📄 Main Content Spacing */
.content-wrapper {
    min-height: calc(100vh - 150px);
   
}

/* 🌑 Footer */
.modern-footer {
    background-color: #ffffff;
    font-size: 0.9rem;
}

.hero-section {
    position: relative;
    min-height: 80vh; /* Takes up 80% of the screen height */
    background-image: url('../images/homebanner1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden;
}

/* The Overlay: Adjust the 0.7 for darkness and the blue hex for brand tint */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Ensures content stays above the overlay */
.hero-section .container {
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Custom button hover for the hero */
.hero-section .btn-primary {
    background-color: #ffffff;
    color: #0d6efd;
    border: none;
    font-weight: 700;
}

    .hero-section .btn-primary:hover {
        background-color: #0d6efd;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
/* Container to center the phone */
.mobile-mockup-container {
    max-width: 320px; /* Standard mobile width on desktop */
    position: relative;
    padding: 15px;
}

/* Creating a "Phone" border look */
.mobile-frame {
    background: #222; /* Dark frame color */
    border: 8px solid #333;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    overflow: hidden;
}

/* Ensure images fit perfectly */
.carousel-inner, .carousel-item img {
    border-radius: 20px;
    height: auto;
    max-height: 600px; /* Limits height so it doesn't scroll forever */
    object-fit: cover;
}

/* Customizing the carousel dots */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #0d6efd;
}

/* Subtle fade transition instead of sliding */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

/* Color Palette */
:root {
    --brand-blue: #0d6efd;
    --soft-blue: rgba(13, 110, 253, 0.1);
}

.bg-primary-soft {
    background-color: var(--soft-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* 📱 The Android Phone Mockup */
.phone-mockup {
    width: 300px; /* Precise mobile width */
    height: 620px;
    background: #111; /* Sleek black frame */
    border: 12px solid #222;
    border-radius: 40px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

    /* Screen content fits perfectly */
    .phone-mockup .carousel-inner,
    .phone-mockup .carousel-item,
    .phone-mockup img {
        height: 100%;
        object-fit: cover;
    }

/* List Icons Styling */
.custom-list i {
    background: var(--soft-blue);
    padding: 8px;
    border-radius: 12px;
}

/* Hover effect on images */
/*.phone-mockup:hover {
    transform: scale(1.02);
    transition: transform 0.4s ease;
}*/
.feature-content {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
}

    .feature-content.d-none {
        display: none !important;
        opacity: 0;
        transform: translateX(-20px);
    }

    .feature-content.active-content {
        display: block !important;
        opacity: 1;
        transform: translateX(0);
    }

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1);
}

/* Custom Carousel Buttons for Phone Mockup */
.custom-nav-btn {
    width: 10%; /* Makes the clickable area smaller */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

/* Show buttons when hovering over the phone */
.phone-mockup:hover .custom-nav-btn {
    opacity: 1;
}

.nav-circle {
    background-color: rgba(255, 255, 255, 0.9); /* White glass effect */
    color: #0d6efd; /* Your brand blue */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .nav-circle:hover {
        transform: scale(1.1);
        background-color: #ffffff;
        color: #000;
    }

/* Position adjustment for mobile frame */
.carousel-control-prev {
    left: 5px;
}

.carousel-control-next {
    right: 5px;
}

/* 🌑 Dark Modern Footer Styling */
.modern-footer.bg-dark {
    background-color: #0f172a !important; /* Premium Navy/Dark Slate */
    border-top: none !important;
}

/* Link Styles */
.footer-links a {
    color: #94a3b8; /* Light slate grey */
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

    .footer-links a:hover {
        color: #38bdf8; /* Brighter blue for visibility on dark */
        padding-left: 5px;
    }

/* Bottom Bar Links */
.footer-bottom-link {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .footer-bottom-link:hover {
        color: #f8fafc;
    }

/* Footer border color adjustment */
.border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Text primary highlight for dark mode */
.text-primary {
    color: #0d6efd !important;
}