:root {
    --primary-color: #0d47a1;
    /* Deep Blue */
    --secondary-color: #d32f2f;
    /* Red */
    --light-bg: #f8f9fa;
    --text-dark: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand img {
    height: 100px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

@media (max-width: 768px) {
    .brand-text {
        display: none;
    }
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    transition: color 0.3s;
    margin-left: 15px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    border: none;
    transition: background 0.3s;
}

.btn-primary-custom:hover {
    background-color: #082e6d;
    color: white;
}

/* Page Display Logic */
.page-section {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease-in-out;
    flex: 1;
}

.page-section.active {
    display: block;
    /* Show active section */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    background-image: linear-gradient(rgba(13, 71, 161, 0.9), rgba(13, 71, 161, 0.8)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.feature-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
    padding: 20px;
    background: white;
}

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

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ddd;
    padding: 50px 0 20px;
    margin-top: auto;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .navbar-brand img {
        height: 40px;
    }
}