body {
            font-family: Arial, Helvetica, sans-serif;
            background-color: #f0f4f8;
            margin: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        header {
            background-color: #060E57;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 10px 15px; /* Default padding for header */
            display: flex;
            align-items: center;
            color: white;
            width: 100%;
            position: sticky;
            top: 0;
            z-index: 1000;
            min-height: 64px; /* Set a minimum height for consistency */
        
        }
        
        .header-container {
            display: flex !important;
            align-items: center;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            /* Default padding, will be overridden by media queries for small screens */
            padding: 0 20px;
        }
        
        .header-container .row {
            display: flex !important;
            flex-wrap: nowrap !important; /* Crucial: prevent wrapping */
            width: 100% !important;
            margin-left: 0 !important; /* Zero out row margins */
            margin-right: 0 !important; /* Zero out row margins */
        }
        .d-flex.align-items-center {
            display: flex;
            align-items: center;
            justify-content: space-between; /* Distribute items with space between */
            width: 100%;
        }
        
        .header-container .row .col-md-3 {
            flex: 0 0 140px !important; /* Fixed width for logo and title */
            flex-shrink: 0; /* Prevent shrinking */
            min-width: 0; /* Allow content to truly shrink if necessary */
            max-width: 140px !important; /* Ensure it doesn't grow beyond this */
            padding-left: 0 !important; /* Zero out column padding */
            padding-right: 0 !important; /* Zero out column padding */
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
        }
        
        .header-container .row .col-md-9 {
            flex: 0 0 calc(100% - 140px) !important; /* Take remaining space precisely */
            flex-shrink: 0; /* Prevent shrinking */
            min-width: 0; /* Allow content to truly shrink if necessary */
            padding-left: 0 !important; /* Zero out column padding */
            padding-right: 0 !important; /* Zero out column padding */
            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
        }
        
        .logo-title-container {
            display: flex;
            align-items: center;
            margin-bottom: 0 !important; /* Ensure no margin pushes content down */
        }
        
        .logo {
            width: auto;
            max-width: 40px;
            height: auto;
            object-fit: contain;
            margin-top: 0;
            margin-bottom: 0;
        }
        
        h1 {
            margin-bottom: 0 !important;
            white-space: nowrap !important; /* Crucial: prevent text wrapping */
            font-size: 1.1rem !important; /* Adjust font size to fit */
        }

        
        
        nav {
            margin-left: auto;
            display: flex !important;
        }
        
        nav ul {
            list-style: none;
            padding: 0;
            display: flex;
            justify-content: flex-end;
            margin: 0;
        }
        
        nav ul li {
            display: inline-block;
            margin: 0 0 0 30px;
        }
        
        nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        nav a:hover {
            background-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        /* Main Content Styles */
        main {
            flex-grow: 1;
            padding: 30px 40px;
            max-width: 1600px;
            margin: 0 auto;
            width: 100%;
            box-sizing: border-box;
        }

        .content-panel {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 51, 102, 0.08);
            margin-bottom: 40px;
        }

        /* Responsive Typography */
        .main-title {
            font-size: 1.8rem;
            color: #003366;
            margin-bottom: 1.5rem;
        }

        .intro-text {
            color: #4a5568;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .support-title {
            font-size: 1.6rem;
            color: #003366;
            margin-bottom: 1.5rem;
        }

        .support-card-title {
            font-size: 1.3rem;
            color: #003366;
            margin: 10px 0;
        }

        .cta-title {
            font-size: 1.6rem;
            margin-bottom: 1rem;
        }

        .cta-text {
            margin-bottom: 1.5rem;
        }

        .support-programs-section {
            margin-top: 60px;
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

        .service-card {
            background: linear-gradient(to bottom right, #ffffff, #f8faff);
            border-radius: 15px;
            padding: 30px;
            transition: all 0.3s ease;
            position: relative;
            border: 1px solid rgba(0, 51, 102, 0.08);
            overflow: hidden;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .service-icon {
            font-size: 2.5rem;
            color: #060E57;
            margin-bottom: 20px;
            transition: transform 0.3s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1);
        }

        .service-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #003366;
            margin-bottom: 15px;
        }

        .service-list {
            list-style: none;
            padding: 0;
            margin: 20px 0 0;
        }

        .service-list li {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            color: #4a5568;
        }

        .service-list li i {
            color: #22c55e;
            margin-right: 10px;
        }

        /* Support Programs Section */
        .support-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .support-card {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .support-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .support-icon {
            color: #060E57;
            font-size: 2rem;
            margin-bottom: 15px;
        }

        /* CTA Section */
        .cta-section {
            text-align: center;
            margin-top: 60px;
            padding: 40px;
            background: linear-gradient(135deg, #060E57, #1a237e);
            border-radius: 20px;
            color: white;
        }

        .cta-button {
            display: inline-block;
            padding: 15px 40px;
            background: white;
            color: #060E57;
            text-decoration: none;
            border-radius: 30px;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
        }

        footer {
            background-color: #060E57;
            padding: 30px 0;
            text-align: center;
            color: #ffffff;
            width: 100%;
            margin-top: auto;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .copyright {
            margin-bottom: 15px;
            font-weight: 500;
        }

        .team-members {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 15px;
            font-style: italic;
        }

        .team-members span {
            position: relative;
        }

        .team-members span:not(:last-child):after {
            content: "•";
            position: absolute;
            right: -12px;
        }

    
        .team-members a {
            font-family: 'Roboto', Arial, sans-serif; /* Custom font */
            font-size: 1.1rem; /* Custom font size */
            color: #f2f5f8; /* Custom font color (e.g., Bootstrap primary blue) */
            font-weight: 600; /* Semi-bold */
            text-decoration: none; /* Remove default underline */
            transition: color 0.3s ease, text-decoration 0.3s ease; /* Smooth transition for hover effects */
        }
        
        /* Style for when the link is hovered */
        .team-members a:hover {
            color: #086afc; /* Darker blue on hover */
            text-decoration: underline; /* Add underline on hover */
        }
        
        /* If you need to specifically style the span inside the link, you can do this: */
        .team-members a span {
            /* These styles would override the <a> tag's styles for the text within the span */
            /* For example, if you wanted a different font weight only for the span content */
            font-weight: normal; /* Make span text normal weight even if link is bold */
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-top: 20px;
        }

        .social-icons a {
            color: white;
            background: rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .social-icons a:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .social-icons i {
            font-size: 18px;
            transition: transform 0.3s ease;
        }

        .social-icons a:hover i {
            transform: scale(1.1);
        }

        /* Responsive rules for screens up to 991.98px (tablets and smartphones) */
@media (max-width: 991.98px) {
    .container-fluid {
        padding-left: 0 !important; /* Zero out container-fluid padding */
        padding-right: 0 !important; /* Zero out container-fluid padding */
    }

    .header-container {
        padding: 0 5px !important; /* Minimal padding for header container */
    }

    .header-container .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .header-container .row .col-md-3 {
        flex: 0 0 100px !important; /* Fixed width for logo/title */
        max-width: 100px !important;
        padding-left: 0 !important; /* Zero out column padding */
        padding-right: 0 !important; /* Zero out column padding */
    }

    .header-container .row .col-md-9 {
        flex: 0 0 calc(100% - 120px) !important; /* Take remaining space precisely */
        min-width: 0 !important;
        padding-left: 0 !important; /* Zero out column padding */
        padding-right: 0 !important; /* Zero out column padding */
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    .custom-navbar-toggler {
        margin-left: auto !important;
        order: 2;
    }

    .logo-title-container {
        margin-bottom: 0 !important;
    }

    h1 {
        margin: 0 !important;
        text-align: left !important;
        font-size: 1.1rem !important;
        white-space: nowrap !important;
    }

    /* Keep back button visible on all screen sizes */
    nav {
        display: flex !important;
    }
}


/* Nav link styling with icons */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 15px !important;
    border-radius: 4px;
    color: white !important;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Add underline animation on hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
    opacity: 1;
}

/* Icon animation on hover */
.navbar-nav .nav-link i {
    transition: transform 0.3s ease;
    color: white !important;
    margin-right: 6px;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.2);
}



/* Responsive Back Button */
.back-button {
    display: flex !important;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    color: white !important;
    text-decoration: none;
}

.back-button i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.back-button:hover i {
    transform: translateX(-3px); /* Slide arrow left on hover */
}

.back-text {
    transition: opacity 0.3s ease;
}

/* Hide text on small screens, show only icon */
@media (max-width: 768px) {
    .back-text {
        opacity: 0;
        width: 0;
        overflow: hidden;
    }
    
    .back-button {
        padding: 8px 12px !important;
        border-radius: 6px;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex !important;
        visibility: visible !important;
    }
    
    .back-button:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
    /* Ensure nav is visible on mobile */
    nav {
        display: flex !important;
        visibility: visible !important;
    }
}

/* Show text on larger screens */
@media (min-width: 769px) {
    .back-text {
        opacity: 1;
        width: auto;
    }
    
    .back-button:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }
}

.dynamic-text {
    font-style: italic;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .support-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .content-panel {
        padding: 50px;
    }
    
    main {
        padding: 40px 60px;
    }
}

/* Medium screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .support-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .content-panel {
        padding: 45px;
    }
    
    main {
        padding: 35px 50px;
    }
}

/* Small screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .content-panel {
        padding: 35px;
        border-radius: 15px;
    }
    
    main {
        padding: 25px 30px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .support-card {
        padding: 20px;
    }
    
    .cta-section {
        padding: 35px;
        margin-top: 50px;
    }
    
    /* Typography adjustments */
    .main-title {
        font-size: 1.6rem;
    }
    
    .support-title {
        font-size: 1.4rem;
    }
    
    .support-card-title {
        font-size: 1.2rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .support-programs-section {
        margin-top: 50px;
    }
}

/* Extra small screens (up to 767px) */
@media (max-width: 767px) {
    /* Header adjustments */
    header {
        padding: 8px 10px;
        min-height: 60px;
    }
    
    .logo {
        max-width: 35px;
    }
    
    h1 {
        font-size: 1rem !important;
    }
    
    /* Main content adjustments */
    main {
        padding: 15px 20px;
    }
    
    .content-panel {
        padding: 25px 20px;
        border-radius: 12px;
        margin-bottom: 30px;
    }
    
    /* Service grid - single column on mobile */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .service-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .service-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    /* Support grid - single column on mobile */
    .support-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }
    
    .support-card {
        padding: 18px;
        border-radius: 12px;
    }
    
    .support-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    /* CTA section adjustments */
    .cta-section {
        padding: 25px 20px;
        margin-top: 40px;
        border-radius: 15px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    /* Typography adjustments */
    .main-title {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .support-title {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .support-card-title {
        font-size: 1.1rem;
        margin: 8px 0;
    }
    
    .cta-title {
        font-size: 1.2rem;
    }
    
    .support-programs-section {
        margin-top: 40px;
    }
    
    .dynamic-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    /* Footer adjustments */
    footer {
        padding: 25px 0;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 12px;
    }
    
    .team-members {
        gap: 15px;
        margin-bottom: 12px;
    }
    
    .team-members a {
        font-size: 1rem;
    }
}

/* Very small screens (up to 480px) */
@media (max-width: 480px) {
    /* Header adjustments */
    header {
        padding: 6px 8px;
        min-height: 55px;
    }
    
    .logo {
        max-width: 30px;
    }
    
    h1 {
        font-size: 0.9rem !important;
    }
    
    /* Main content adjustments */
    main {
        padding: 12px 15px;
    }
    
    .content-panel {
        padding: 20px 15px;
        border-radius: 10px;
        margin-bottom: 25px;
    }
    
    /* Service cards */
    .service-card {
        padding: 18px;
        border-radius: 10px;
    }
    
    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-list li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    /* Support cards */
    .support-card {
        padding: 15px;
        border-radius: 10px;
    }
    
    .support-icon {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    /* CTA section */
    .cta-section {
        padding: 20px 15px;
        margin-top: 35px;
        border-radius: 12px;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    /* Typography adjustments */
    .main-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .support-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .support-card-title {
        font-size: 1rem;
        margin: 6px 0;
    }
    
    .cta-title {
        font-size: 1.1rem;
    }
    
    .support-programs-section {
        margin-top: 35px;
    }
    
    .dynamic-text {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }
    
    /* Footer adjustments */
    footer {
        padding: 20px 0;
    }
    
    .footer-content {
        padding: 0 12px;
        gap: 10px;
    }
    
    .team-members {
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .team-members a {
        font-size: 0.95rem;
    }
    
    .copyright {
        font-size: 0.9rem;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .content-panel {
        padding: 20px;
    }
    
    main {
        padding: 15px 20px;
    }
}
