/* styles.css */
/* Small safety net to prevent accidental horizontal scroll on mobile devices */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e7ff 100%);
    color: #1e3a8a; /* Default text color */
}

.navbar-logo {
    height: 40px;
    padding: 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%), url('https://via.placeholder.com/1920x600?text=Hero+Image');
    background-size: cover;
    background-blend-mode: overlay;
    color: #ffffff;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    position: relative;
    overflow: hidden;
}

.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.navbar-brand-custom {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;
    text-decoration: none;
}

.navbar-logo-offset {
    margin-left: 35px;
    height: 50px;
    width: auto;
}

.navbar-brand-text-offset {
    margin-left: 35px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn-primary {
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    border: none;
    color: #ffffff;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #1e40af, #3b82f6);
}

.btn-gold {
    background: linear-gradient(90deg, #facc15, #f59e0b);
    color: #1e3a8a;
    border: none;
    transition: background 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(90deg, #f59e0b, #facc15);
}

.stats-counter {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
}

.carousel img {
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

footer {
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-gold {
    color: #facc15;
}

/* Ensure text visibility */
h1, h2, h3, h4, h5, h6, p, a, li, span {
    color: inherit; /* Inherit from parent or default to body color */
}

.navbar-nav .nav-link {
    color: #ffffff !important; /* Force navbar text to white */
}

.dropdown-item{
    color: #1e3a8a ;
}

.dropdown-menu {
    background: #808080;
}

.card-title, .card-text {
    color: #1e3a8a !important; /* Force card text to dark blue */
}

footer p, footer a, footer h5 {
    color: #ffffff !important; /* Force footer text to white */
}

/* Tailwind utility extensions */
.text-4xl {
    font-size: 2rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.text-gray-600 {
    color: #4b5563;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.object-cover {
    object-fit: cover;
}

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}