
        /* Define Color Variables and Base Styles - UPDATED TO NEW PALETTE */
        :root {
            --color-primary: #2E8B58; /* Dominant Brand Green */
            --color-accent: #000000; /* Bolder Highlights/CTAs (Used Black from palette) */
            --color-light: #F2F8EE; /* Light Background (F2F8EE) */
            --color-text: #000000; /* General Text (Black) */
            /* New secondary green derived from primary for hover state in CTA */
            --color-secondary-hover: #3cb877; /* Slightly lighter green based on original scheme for visual lift */
            --color-secondary-light: #FFFFFF; /* Pure White (FFFFFF) for contrast areas/cards */
        }

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

        body {
            font-family: 'Montserrat', sans-serif; /* UPDATED FONT */
            line-height: 1.6;
            color: var(--color-text);
            background-color: var(--color-light);
            scroll-behavior: smooth;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* --- Global Utility Classes --- */
        .hidden-view {
            display: none !important;
        }
        
        .portal-switch-btn {
            background-color: var(--color-light);
            color: var(--color-text);
            border: 2px solid var(--color-light);
            padding: 1rem 1.5rem;
            margin: 0 0.5rem 1rem 0;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .portal-switch-btn.active,
        .portal-switch-btn:hover {
            background-color: var(--color-secondary-light);
            border-color: var(--color-primary);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            color: var(--color-primary);
        }

        .cta-button {
            display: inline-block;
            background-color: var(--color-accent); /* Black CTA */
            color: white; /* White text on Dark Green */
            font-weight: 600;
            padding: 0.8rem 1rem;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(46, 139, 88, 0.4); /* Green Shadow */
            transition: all 0.3s ease;
            text-transform: none;
            letter-spacing: 1px;
            cursor: pointer;
            border: none; /* Ensure no default button border */
        }

        .cta-button:hover {
            background-color: var(--color-primary); /* Use primary color on hover for contrast */
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(46, 139, 88, 0.6);
        }

        /* --- Header & Navigation --- */
        header {
            background-color: #ffffff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            position: sticky; /* Make navigation sticky */
            top: 0;
            z-index: 100;
        }

        header nav.container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            /* This new, more specific rule will correctly apply the padding: */
            padding: 0.5rem 0.0rem; 
        }

        /* UPDATED LOGO STYLING */
        .logo {
            display: flex;
            align-items: center;
            height: 40px; /* Define height for container to align things */
        }

        .logo img {
            /* Set a maximum width and a consistent height */
            height: 45px; 
            width: auto; 
            max-width: 200px;
            object-fit: contain;
            border-radius: 5px; 
        }

        .nav-links {
            display: flex;
            list-style: none;
            align-items: center;
        }

        .nav-links li a {
            padding: 0.5rem 1rem;
            font-weight: 600;
            transition: color 0.3s ease;
            color: var(--color-text);
            border-radius: 8px; 
            display: block;
        }

        .nav-links li a:hover,
        .nav-links .dropdown:hover > .dropdown-toggle {
            color: var(--color-primary);
            background-color: var(--color-light); 
        }

        /* --- Dropdown Menu Styling (Desktop) --- */
        .dropdown {
            position: relative;
            padding: 0;
            margin: 0 0.5rem;
        }

        .dropdown-toggle i {
            font-size: 0.8em;
            margin-left: 5px;
            transition: transform 0.3s ease;
        }
        
        .dropdown:hover > .dropdown-toggle i {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%; 
            left: 0;
            background-color: var(--color-secondary-light);
            box-shadow: 0 8px 16px rgba(0,0,0,0.15);
            min-width: 250px;
            z-index: 101;
            padding: 0.5rem 0;
            border-radius: 8px;
            border-top: 3px solid var(--color-accent);
            list-style: none;
        }
        
        .dropdown:hover > .dropdown-menu {
            display: block;
        }

        .dropdown-menu li a {
            padding: 0.75rem 1.5rem;
            white-space: nowrap;
            font-weight: 400;
        }
        
        .dropdown-menu li a:hover {
            background-color: var(--color-light);
            color: var(--color-primary);
        }
        
        .dropdown-menu .separator {
            font-size: 0.8rem;
            color: #999;
            padding: 0.5rem 1.5rem 0.25rem;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        /* --- Floating CTA --- */
        #floatingCta {
            position: fixed;
            right: 20px;
            bottom: 20px;
            z-index: 1000;
            padding: 0.8rem 1.2rem;
            font-size: 0.9rem;
            text-transform: none;
            /* Using a distinct accent color for high visibility */
            background-color: var(--color-accent);
            box-shadow: 0 4px 15px rgba(46, 139, 88, 0.6);
        }

        .hamburger {
            display: none;
            cursor: pointer;
        }

        .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            background-color: var(--color-primary);
            transition: all 0.3s ease-in-out;
            border-radius: 2px;
        }

        /* --- Hero Section --- */
        .hero {
            /* Adjusted gradient using RGB for the new primary green (#2E8B58) */
            background-image: url('Global_Mobility.png');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 10rem 0; /* Increased padding */
            text-align: center;
        }

        .hero-content {
            max-width: 900px;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            color: #ccc; /* Slightly greyed text for hierarchy */
        }
        
        /* --- Section Styling (General) --- */
        section {
            padding: 5rem 0; /* Ensures even vertical padding */
            background-color: white;
        }

        section:nth-child(even) {
            background-color: var(--color-light);
        }

        h2 {
            font-size: clamp(1.8rem, 3.5vw, 2.5rem);
            font-weight: 800;
            color: var(--color-primary);
            text-align: center;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.1rem;
            text-align: center;
            color: #666;
            margin-bottom: 4rem; /* Increased spacing after subtitle */
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* --- NEW ABOUT US SECTION STYLING --- */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: flex-start;
        }

        .mission-vision-card {
            background-color: var(--color-secondary-light);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border-top: 5px solid var(--color-primary);
        }

        .mission-vision-card h3 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--color-accent); /* Black highlight */
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
        }

        .mission-vision-card i {
            margin-right: 0.75rem;
            font-size: 1.5rem;
            color: var(--color-primary);
        }

        .mission-vision-card p {
            font-size: 1rem;
            color: #555;
            line-height: 1.7;
        }
        
        .company-story {
            padding-top: 2rem;
        }
        .company-story h2 {
            text-align: left;
            margin-bottom: 1.5rem;
        }
        .company-story p {
            margin-bottom: 1rem;
        }
        
        /* --- Our Values Section (The former index.html#about section) --- */
        
        .values-container { /* Renamed/Redefined to improve arrangement */
            display: flex;
            flex-direction: column;
            gap: 2rem; /* Increased vertical spacing */
            max-width: 900px; /* Constrain width for professionalism */
            margin: 0 auto;
        }

        .value-card {
            background-color: var(--color-secondary-light); /* Use pure white for cards */
            padding: 2.5rem; /* Increased padding */
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Softer shadow */
            border-left: 8px solid var(--color-accent); /* Made border thicker for emphasis - Black */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            width: 100%; /* Ensure it takes full width of the container */
        }

        .value-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* More pronounced lift */
        }

        .value-card h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
        }

        .value-card i {
            color: var(--color-accent); /* Black for icon */
            margin-right: 0.75rem;
            font-size: 1.5rem;
        }
        /* FIX: Ensure consistent spacing for p tags within value cards */
        .value-card p {
            margin-bottom: 0; 
        }

        /* --- Team Section Styling (NEW) --- */
        #our-team {
            background-color: var(--color-secondary-light);
        }
        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .team-card {
            /* FIX: Changed background color to pure white */
            background-color: var(--color-secondary-light); 
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-bottom: 5px solid var(--color-accent); /* Black accent */
            position: relative; /* For hover effect */
        }

        .team-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .team-photo {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1rem;
            border: 3px solid var(--color-primary);
            box-shadow: 0 0 0 5px rgba(46, 139, 88, 0.1); /* Light green ring */
            image-rendering: -webkit-optimize-contrast;
        }

        .team-card h3 {
            color: var(--color-accent); /* Black */
            font-size: 1.4rem;
            margin-bottom: 0.25rem;
        }

        .team-card .role {
            color: var(--color-primary);
            font-weight: 600;
            font-size: 1rem;
            display: block;
            margin-bottom: 1rem;
        }

        .team-card .bio {
            color: #666;
            font-style: italic;
            font-size: 0.95rem;
            min-height: 4.5em; /* Ensure uniform height for card alignment */
        }
        /* --- End Team Section Styling --- */

        /* --- Career Section Styling (NEW) --- */
        #careers {
            background-color: white; /* Contrast with services/values section */
        }

        .job-card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .job-card {
            /* FIX: Changed background color to pure white */
            background-color: var(--color-secondary-light); 
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            border-left: 5px solid var(--color-primary);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .job-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        }

        .job-card h4 {
            color: var(--color-accent); /* Black */
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .job-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 0.75rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px dashed #ccc;
        }

        .job-meta span i {
            margin-right: 0.3rem;
            color: var(--color-primary);
        }

        .job-card p {
            font-size: 0.95rem;
            color: #444;
            flex-grow: 1;
            margin-bottom: 1.5rem;
        }

        .job-card .apply-btn {
            background-color: var(--color-primary);
            color: white;
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            text-align: center;
            transition: background-color 0.2s ease;
        }

        .job-card .apply-btn:hover {
            background-color: var(--color-accent); /* Black */
        }
        /* --- End Career Section Styling --- */

        /* --- Impact Section Styling (NEW) --- */
        #global-impact {
            /* Removed inline style to use section:nth-child(even) logic for spacing */
        }
        .impact-container {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 4rem;
            margin-top: 3rem;
            align-items: center;
        }
        .metrics-grid {
            background-color: var(--color-secondary-light);
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            padding: 1rem;
            border-right: 1px solid var(--color-light);
        }
        .metric-card {
            background-color: var(--color-light);
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            border: 1px solid #eee;
        }
        .metric-card i {
            font-size: 2rem;
            color: var(--color-accent); /* Black */
            margin-bottom: 0.5rem;
        }
        .metric-card .value {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--color-primary);
            line-height: 1.2;
        }
        .metric-card .label {
            font-size: 0.85rem;
            color: #555;
            margin-top: 0.25rem;
        }

        .reach-visual {
            padding: 2rem 0;
            text-align: center;
        }
        .reach-visual h3 {
            color: var(--color-accent); /* Black */
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 2px solid var(--color-light);
            display: inline-block;
            padding-bottom: 5px;
        }

        .destination-list {
            list-style: none;
            padding: 0;
            text-align: left;
            max-width: 300px;
            margin: 1.5rem auto 0;
        }
        .destination-list li {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between; /* To align percentage on the right */
        }
        .destination-list li i {
            margin-right: 10px;
            font-size: 1.2rem;
        }
        .destination-list .default i {
            color: var(--color-primary); /* Solid Green for Core Partners */
        }
        .destination-list .extended {
            font-weight: 400;
            color: #888;
            font-style: italic;
        }
        .destination-list .extended i {
            color: #bbb; /* Faded for extended reach */
        }
        .destination-label {
            display: flex;
            align-items: center;
        }
        .destination-percent {
            font-weight: 700;
            color: var(--color-accent); /* Black */
            font-style: normal;
        }
        
        .cta-bottom {
            text-align: center;
            margin-top: 4rem;
        }

        /* --- CSR Section Styling (NEW) --- */
        #csr-section {
            /* Removed inline style to use section:nth-child(even) logic for spacing */
        }
        .csr-content {
            max-width: 900px;
            margin: 0 auto;
            background-color: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            border-top: 5px solid var(--color-accent); /* Black */
        }
        .csr-content h3 {
            font-size: 1.6rem;
            color: var(--color-primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }
        .csr-content h3 i {
            margin-right: 0.75rem;
        }
        .csr-content p {
            font-size: 1rem;
            color: #444;
            line-height: 1.7;
        }

        /* --- Services Section (Table Styling) --- */
        .services-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 3rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            background-color: var(--color-secondary-light);
            border-radius: 12px;
            overflow: hidden; /* For rounded corners on the table header */
        }

        .services-table thead th {
            background-color: var(--color-primary);
            color: white;
            font-weight: 700;
            padding: 1.2rem 1.5rem;
            text-align: left;
            font-size: 1rem;
            letter-spacing: 0.5px;
            border-bottom: 2px solid var(--color-accent); /* Black */
        }

        .services-table tbody tr {
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s ease;
        }

        .services-table tbody tr:last-child {
            border-bottom: none;
        }

        .services-table tbody tr:hover {
            background-color: var(--color-light);
        }

        .services-table td {
            padding: 1.5rem;
            text-align: left;
            color: var(--color-text);
            font-size: 0.95rem;
        }

        /* Specific styles for the three-column CORE SERVICES table */
        #services .services-table th:nth-child(1),
        #services .services-table td:nth-child(1) {
            width: 25%; 
        }
        #services .services-table td:nth-child(1) {
            font-weight: 700;
            color: var(--color-primary);
        }
        #services .services-table th:nth-child(3),
        #services .services-table td:nth-child(3) {
            width: 15%; 
            text-align: center;
        }
        
        /* Specific styles for the three-column TIERS table */
        #service-tiers .services-table td:nth-child(1) {
            font-weight: 700;
            color: var(--color-primary);
            width: 20%;
        }

        /* --- Why Us Section (List) --- */
        .why-us-section ul {
            list-style: none;
            max-width: 900px;
            margin: 0 auto;
            padding: 0;
        }

        .why-us-section li {
            background-color: var(--color-secondary-light);
            padding: 1.5rem 2rem;
            margin-bottom: 1.2rem;
            border-radius: 10px;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            border-left: 6px solid var(--color-primary);
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .why-us-section li:hover {
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
            border-left-color: var(--color-accent); /* Black on hover */
            transform: translateX(5px);
        }

        .why-us-section li i {
            color: var(--color-accent); /* Black icon color */
            margin-right: 1.5rem;
            font-size: 1.6rem;
            flex-shrink: 0;
        }
        
        /* FIX: Ensure bold text blocks behave consistently for spacing */
        .why-us-section li strong {
            display: inline;
            margin-right: 0.5rem;
            font-size: 1.1em;
        }

        /* --- Process Section (Table Styling) --- */
        #process {
            background-color: var(--color-light); 
        }

        .process-phase {
            margin-bottom: 4rem;
            padding: 2rem;
            background-color: var(--color-secondary-light);
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            border-top: 5px solid var(--color-primary);
        }

        .process-phase h3 {
            font-size: 1.7rem;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
        }

        .process-phase h4 {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 1.5rem;
            font-style: italic;
        }
        
        .process-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1rem;
        }

        .process-table thead th {
            background-color: var(--color-primary);
            color: white;
            font-weight: 600;
            padding: 0.8rem 1rem;
            text-align: left;
            font-size: 0.95rem;
            border-bottom: 2px solid var(--color-accent); /* Black */
        }

        .process-table tbody tr {
            border-bottom: 1px solid #ddd;
        }

        .process-table td {
            padding: 1rem;
            font-size: 0.9rem;
            vertical-align: top;
        }
        
        .process-table td:nth-child(1) { /* Step Number */
            font-weight: 700;
            color: var(--color-accent); /* Black step number */
            width: 8%;
            text-align: center;
            background-color: #fcfcfc;
        }

        .process-table td:nth-child(2) { /* Action by Client */
            width: 35%;
        }
        
        .process-table td:nth-child(3) { /* Mastery Hub Touchpoint */
            font-style: italic;
            color: var(--color-primary);
            width: 35%;
        }

        .process-table td:nth-child(4) { /* Timeframe/Outcome */
            font-weight: 600;
            width: 22%;
            background-color: var(--color-light);
            text-align: center;
        }
        
        /* --- Testimonials Section --- */
        .testimonials-section {
            background-color: var(--color-light);
            padding: 5rem 0;
            text-align: center;
        }

        .testimonial {
            max-width: 800px;
            margin: 2rem auto 0;
            background-color: white;
            padding: 3rem;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            position: relative;
            border-bottom: 4px solid var(--color-accent); /* Black border */
            transition: transform 0.3s ease;
        }
        
        .testimonial:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .testimonial p {
            font-size: 1.25rem;
            font-style: italic;
            margin-bottom: 1.5rem;
            color: var(--color-primary);
            position: relative;
        }

        .testimonial p::before {
            content: "\f10d"; /* Font Awesome quote left icon */
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: rgba(46, 139, 88, 0.1); /* Light opacity of the primary green */
            font-size: 3rem;
            position: absolute;
            top: -1rem;
            left: 0;
        }

        .testimonial cite {
            display: block;
            font-size: 1rem;
            font-weight: 600;
            color: var(--color-accent); /* Black */
            margin-top: 1rem;
            text-align: right;
        }

        /* --- Footer --- */
        footer {
            background-color: var(--color-primary);
            color: white;
            padding-top: 4rem; 
            font-size: 0.9rem;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 2rem;
            padding-bottom: 3rem;
        }
        
        .footer-content h3 {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 1rem;
            color: var(--color-secondary-light); /* White text */
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            padding-bottom: 0.5rem;
        }

        .footer-about, .footer-contact, .footer-social {
            flex: 1; /* Distribute space evenly on desktop */
            min-width: 250px; /* Ensure content doesn't get too squeezed */
        }
        
        .footer-contact p {
            margin-bottom: 0.5rem;
            /* FIX: Ensure contact text is left-aligned on desktop */
            text-align: left; 
        }
        .footer-contact i {
            margin-right: 0.5rem;
            width: 15px; /* Fixed width for icon alignment */
            text-align: center;
        }
        /* FIX: Align contact section title and content left on desktop */
        .footer-contact {
            text-align: left;
        }

        .footer-social a {
            color: var(--color-secondary-light);
            font-size: 1.5rem;
            margin-right: 1rem;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .footer-social a:hover {
            color: var(--color-accent); /* Black on hover - high contrast on green */
            transform: scale(1.1);
        }
        
        .footer-bottom {
            background-color: rgba(0, 0, 0, 0.1);
            text-align: center;
            padding: 1rem 0;
            font-size: 0.8rem;
        }
        
        /* ------------------------------------------------------------------------------------------------
           MODAL STYLING (New)
           ------------------------------------------------------------------------------------------------ */
        .modal {
            display: none; 
            position: fixed;
            z-index: 150; /* Above all content */
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.6); 
            padding-top: 60px;
        }

        .modal-content {
            background-color: var(--color-secondary-light);
            margin: 5% auto; 
            padding: 2rem;
            border-radius: 12px;
            width: 90%; 
            max-width: 900px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.4);
            position: relative;
            animation-name: animatetop;
            animation-duration: 0.4s;
            border-top: 8px solid var(--color-primary);
        }
        
        @keyframes animatetop {
            from {top:-300px; opacity:0} 
            to {top:0; opacity:1}
        }

        .modal-header {
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--color-light);
        }

        .modal-header h3 {
            color: var(--color-primary);
            font-size: 1.8rem;
            font-weight: 700;
        }

        .close-btn {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            line-height: 1;
            padding: 0 0.5rem;
        }

        .close-btn:hover,
        .close-btn:focus {
            color: var(--color-accent);
            text-decoration: none;
            cursor: pointer;
        }
        
        .modal-section-title {
            color: var(--color-accent); /* Black */
            font-size: 1.3rem;
            font-weight: 600;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
            border-left: 4px solid var(--color-primary);
            padding-left: 10px;
        }
        
        .modal-content ul {
            list-style: none;
            padding-left: 0;
        }
        
        .modal-content ul li {
            padding-left: 1.5rem;
            position: relative;
            margin-bottom: 0.5rem;
        }
        
        .modal-content ul li::before {
            content: "\f00c"; /* check icon */
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: var(--color-accent); /* Black */
            position: absolute;
            left: 0;
            top: 0;
        }
        
        .modal-process-steps {
            display: flex;
            justify-content: space-between;
            margin-top: 1.5rem;
            gap: 1rem;
        }
        
        .process-step {
            flex-basis: 32%;
            background-color: var(--color-light);
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            border: 1px solid #eee;
        }
        
        .process-step h4 {
            color: var(--color-primary);
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        
        /* --- Portal View Specific Styling (UNCHANGED) */
        #portal-view {
            min-height: 100vh;
            background-color: var(--color-light);
            padding-top: 6rem; /* Space below header */
            padding-bottom: 4rem;
        }

        #portal-application-container {
            min-height: auto;
            border-radius: 16px;
            padding: 2rem;
            background-color: white;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: left; /* Alignment for the form */
        }
        
        #portal-inquiry-container {
            min-height: auto;
            border-radius: 16px;
            padding: 2rem;
            background-color: white;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: left; /* Alignment for the form */
        }

        #portal-scholarship-container {
            min-height: auto;
            border-radius: 16px;
            padding: 2rem;
            background-color: white;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: left; /* Alignment for the form */
        }

        /* --- Application Form Styling (UNCHANGED) */
        .form-section {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            background-color: var(--color-light);
        }

        .form-section h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--color-accent); /* Black separator */
            padding-bottom: 0.5rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.3rem;
            color: var(--color-text);
        }
        
        .form-group input[type="text"],
        .form-group input[type="email"],
        .form-group input[type="date"],
        .form-group select,
        .form-group textarea,
        .form-group input[type="file"],
        .form-group input[type="number"] {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }
        
        /* Custom styling for file input */
        .form-group input[type="file"] {
            padding: 0.5rem;
        }


        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--color-accent); /* Black focus ring */
            outline: none;
            box-shadow: 0 0 0 2px rgba(46, 139, 88, 0.2); /* Light green shadow */
        }
        
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        /* Message Box Styling (UNCHANGED) */
        #portalMessageBox {
            padding: 1rem;
            margin-bottom: 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            display: none;
        }
        .success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        /* --- Info Toggle Section (New Styling) --- */
        .info-toggle-section {
            margin-top: 2rem;
            padding: 1rem 0;
            border-top: 1px dashed #ccc;
            text-align: center;
        }

        .info-link {
            color: var(--color-primary);
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: color 0.2s;
        }

        .info-link:hover {
            color: var(--color-accent); /* Black */
        }

        .info-content {
            background-color: #e8f5e9; /* Very light green background */
            border: 1px solid var(--color-primary);
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 1rem;
            text-align: left;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .info-content h4 {
            color: var(--color-accent); /* Black */
            font-weight: 700;
            margin-top: 1rem;
            margin-bottom: 0.5rem;
            border-bottom: 1px dotted #a0cda0; /* Light dot for separation */
            padding-bottom: 5px;
        }
        .info-content h4:first-child {
            margin-top: 0;
        }

        .info-content ul {
            list-style: disc;
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
        .info-content ul li {
            margin-bottom: 0.3rem;
            padding-left: 0; /* Override generic list styling */
        }
        .info-content ul li::before {
            content: none; /* Remove custom icon in this nested list */
        }
        /* --- Mobile Navigation & Responsiveness --- */
        @media (max-width: 1024px) { /* Tablet/Desktop breakpoint adjustment */
            .nav-links {
                position: fixed;
                right: 0;
                top: 66px; /* Adjust based on header height */
                background-color: var(--color-secondary-light);
                width: 100%;
                max-width: 300px;
                flex-direction: column;
                transform: translateX(100%);
                transition: transform 0.3s ease-in-out;
                padding: 1rem 0;
                box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
                overflow-y: auto;
                height: calc(100vh - 66px);
            }

            .nav-links.active {
                transform: translateX(0);
            }

            .nav-links li {
                width: 100%;
                margin: 0;
                border-bottom: 1px solid var(--color-light);
            }
            
            /* Hide the main portal CTA on small screens since it's redundant with the button in the menu */
            .nav-links li:last-child {
                display: none; /* Hide main portal login on mobile menu, use dedicated Scholarship/Inquiry CTAs */
            }

            .nav-links li a {
                padding: 1rem 1.5rem;
                text-align: left;
                width: 100%;
            }
            
            /* Mobile Dropdown Styling */
            .dropdown-menu {
                position: static; /* Stacked below parent on mobile */
                width: 100%;
                box-shadow: none;
                border: none;
                padding: 0;
                background-color: var(--color-light); /* Slight indent color */
                border-top: none;
                max-height: 0; /* Initially hidden */
                overflow: hidden;
                transition: max-height 0.3s ease-in-out;
            }
            
            .dropdown.active > .dropdown-menu {
                max-height: 500px; /* Expands when active */
                display: block;
            }
            
            .dropdown-menu li a {
                padding-left: 3rem; /* Indent sub-links */
            }
            
            .dropdown-menu .separator {
                padding-left: 3rem;
                font-size: 0.75rem;
            }
            
            .dropdown-toggle i {
                float: right;
                transition: transform 0.3s ease;
            }
            
            .dropdown.active > .dropdown-toggle i {
                transform: rotate(180deg);
            }

            .hamburger {
                display: block;
                margin-right: 10px;
            }
            
            .hamburger.active .bar:nth-child(2) {
                opacity: 0;
            }
            .hamburger.active .bar:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            .hamburger.active .bar:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }
            
            #floatingCta {
                font-size: 0.8rem;
                padding: 0.6rem 1rem;
                box-shadow: 0 2px 10px rgba(37, 111, 69, 0.6);
            }
        }
        
        /* --- Mobile Responsiveness for Content Sections (Restored) --- */
        @media (max-width: 900px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .job-card-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .impact-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .metrics-grid {
                grid-template-columns: repeat(2, 1fr);
                border-right: none;
                border-bottom: 1px solid var(--color-light);
                padding-bottom: 2rem;
            }
        }
        @media (max-width: 768px) {
            .hero {
                padding: 5rem 0;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .hero p {
                font-size: 1rem;
            }

            h2 {
                font-size: 1.75rem;
            }

            section {
                padding: 3rem 0;
            }
            
            .testimonial {
                padding: 2rem 1.5rem;
            }
            .testimonial p {
                font-size: 1.1rem;
            }
            
            .grid-2 {
                grid-template-columns: 1fr;
            }

            /* Mobile specific for new About section */
            .about-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .company-story h2 {
                text-align: center;
            }

            /* Team Grid Mobile */
            .team-grid {
                grid-template-columns: 1fr;
            }
            /* Job Grid Mobile */
            .job-card-grid {
                grid-template-columns: 1fr;
            }
            /* Metrics Grid Mobile */
            .metrics-grid {
                grid-template-columns: 1fr;
            }

            /* Responsive Table Adjustments (Services Table) */
            .services-table, .services-table tbody, .services-table tr, .services-table td {
                display: block;
                width: 100%;
            }
            
            .services-table thead {
                display: none; /* Hide header on small screens */
            }

            .services-table tr {
                margin-bottom: 1rem;
                border: 1px solid #ddd;
                border-radius: 8px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            }
            
            .services-table td {
                text-align: right;
                padding-left: 50%;
                position: relative;
                border: none;
                border-bottom: 1px solid #f0f0f0;
            }
            
            /* Simulate table headers using data attributes/pseudoelements for mobile */
            .services-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 10px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                font-weight: 700;
                color: var(--color-primary);
                text-align: left;
            }
            
            .services-table td:first-child {
                background-color: var(--color-primary);
                color: white;
                text-align: center;
                padding: 1rem 1.5rem;
                border-radius: 8px 8px 0 0;
                border-left: 5px solid var(--color-accent); /* Black accent line */
            }
            
            .services-table tr:hover {
                background-color: transparent;
            }

            /* Responsive Table Adjustments (Process Tables) */
            .process-phase {
                padding: 1rem;
            }
            .process-table thead {
                display: none;
            }
            .process-table tr {
                display: block;
                border: none;
                margin-bottom: 0.5rem;
                background-color: var(--color-light); /* Added background for clarity */
                border-radius: 8px;
                overflow: hidden;
            }
            .process-table td {
                display: block;
                width: 100% !important;
                padding: 0.5rem 1rem;
                text-align: right;
                border-bottom: 1px dashed #ccc;
            }
            .process-table td:nth-child(1) {
                background-color: var(--color-primary);
                color: white;
                padding: 0.75rem 1rem;
                text-align: left;
            }
            .process-table td:nth-child(1)::before {
                 content: 'Step ';
            }
            .process-table td::before {
                content: attr(data-label) ': ';
                float: left;
                font-weight: 700;
                color: var(--color-primary);
            }
            .process-table td:nth-child(4) {
                background-color: #fff;
                color: var(--color-accent); /* Black */
                font-weight: 700;
                text-align: center;
                border-bottom: none;
                border-top: 1px solid #ddd;
            }
            
            /* Modal Mobile Adjustments */
            .modal-content {
                margin: 20px auto; 
                padding: 1rem;
                width: 95%;
            }
            .modal-process-steps {
                flex-direction: column;
            }
            .process-step {
                margin-bottom: 0.75rem;
            }
            
            /* Footer Mobile fix */
            .footer-content {
                flex-direction: column;
            }
            .footer-about, .footer-contact, .footer-social {
                min-width: 100%;
                text-align: center;
            }
            .footer-contact p {
                text-align: center;
                padding-left: 0;
            }
            .footer-contact i {
                margin-right: 0.5rem;
            }
            .footer-contact p strong {
                display: block;
            }
        }
        /* --- NEW PLACEHOLDER SECTION STYLES (UNCHANGED) --- */
        #blog, #faq {
            min-height: 300px;
            padding: 5rem 0;
            text-align: center;
        }

        

        /* CSS to style the FAQ section on this page (replicates expected look) */
        .faq-list {
            max-width: 900px;
            margin: 0 auto;
            border-top: 1px solid #eee;
        }
        .faq-item {
            border-bottom: 1px solid #eee;
        }
        .faq-question {
            cursor: pointer;
            padding: 1.5rem 0;
            margin: 0;
            font-size: 1.1rem;
            font-weight: 600;
            color: #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .faq-answer {
            padding: 0 0 1.5rem 0;
            margin: 0;
            color: #555;
            line-height: 1.6;
        }
        .faq-question .fa-chevron-down {
            transition: transform 0.3s ease;
            color: var(--color-accent);
        }
        /* Custom process step styling (if needed for context, but not essential) */
        /* .process-step, .team-card, etc., styles are assumed to be in style.css */
        
        /* Ensure the modal is hidden by default if JavaScript fails */
        .hidden-view {
            display: none !important;
        }
        .portal-view {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .portal-content {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            max-width: 400px;
            width: 90%;
            position: relative;
        }
        .portal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
        }
            /* Ensures the portal takes up the entire space and looks clean as a standalone page */
        #portal-view {
            display: block !important; /* Force display as it was hidden on index.html */
            min-height: calc(100vh - 50px); /* Fill the viewport minus header/footer space */
            padding-bottom: 50px;
        }
        /* Override the body overflow set on the index page for a better standalone experience */
        body {
            overflow: auto !important; 
        }
        .service-modal {
            /* Styles for the transparent backdrop */
            display: none; /* Controlled by JS */
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.7); /* Dark semi-transparent background */
            justify-content: center; /* Center horizontally */
            align-items: center; /* Center vertically */
            padding: 20px; /* Space around the modal on mobile */
        }
        
        .modal-content {
            /* Styles for the solid box */
            background-color: #fefefe;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            width: 90%; /* Max width on small screens */
            max-width: 900px; /* Max width on large screens */
            
            /* The FIX: Max height and internal scrolling */
            max-height: 90vh; /* Limits the box height to 90% of the viewport height */
            overflow-y: auto; /* Adds a scrollbar if content exceeds max-height */
            position: relative;
        }

        .modal-close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            position: absolute;
            top: 10px;
            right: 20px;
            cursor: pointer;
        }

        .modal-details-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-top: 2rem;
        }

        @media (max-width: 768px) {
            .modal-details-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ============================================== */
/* MOBILE NAVIGATION OVERRIDES (The Fix)          */
/* Add this entire block to the bottom of style.css */
/* ============================================== */

@media (max-width: 1024px) {
    /* --- 1. Hamburger Icon Positioning --- */
    .hamburger {
        margin-right: 15px; 
        z-index: 1000; 
    }

    /* --- 2. HIDING THE MENU LINKS (Default State) --- */
    #navLinks {
        /* CRITICAL: Hides the menu when JavaScript has NOT added the .active class */
        display: none !important; 
        
        position: absolute;
        top: 100%; 
        right: 0;
        width: 100%;
        
        /* Layout and styling */
        background-color: var(#ffffff); 
        box-shadow: 0 5px 10px rgba(#f2f8ee);
        z-index: 999; 
        list-style: none;
        padding: 0;
        margin: 0;
        
        /* For animation */
        max-height: 0; 
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    /* --- 3. SHOWING THE MENU LINKS (Active State) --- */
    #navLinks.active {
        /* CRITICAL FIX: Forces menu to display when .active is present */
        display: flex !important; 
        
        /* Must be large enough to contain all links, including dropdowns */
        max-height: 800px; 
        overflow-y: auto; 
        flex-direction: column; 
        text-align: center;
    }

    /* --- 4. Styling the Links within the Mobile Menu --- */
    #navLinks li {
        width: 100%; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #navLinks li:last-child {
        border-bottom: none;
    }

    #navLinks li a {
        color: rgb(0, 0, 0); 
        padding: 15px 20px;
        display: block; 
        text-decoration: none;
        font-weight: 600;
    }
    
    /* --- 5. Dropdown Menu Styling --- */
    .dropdown .dropdown-menu {
        position: static; 
        width: 100%;
        display: none; 
        background-color: rgba(0, 0, 0, 0.2);
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block !important; 
    }
    
    .dropdown .dropdown-menu li a {
        padding: 10px 30px;
        font-weight: 400;
        font-size: 0.95rem;
    }
}

