/* styles.css */
/* CSS Variables */
:root {
    --primary-color: #047BB3;
    --dark-blue: #0A1E3C;
    --light-gray: #f8f9fa;
    --white: #FFFFFF;
    --text-color-light: #F0F0F0;
    --accent: #4BB4D7; /* Added missing accent variable */
    --secondary: #047BB3; /* Added missing secondary variable, matching primary-color */
}

body {
    color: var(--dark-blue);
    padding-top: 70px; /* Consistent padding for fixed navbar */
    font-family: 'Raleway', sans-serif;
}

/* Section Background Colors */
.light-section {
    background-color: var(--light-gray);
}

.white-section {
    background-color: var(--white);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.5s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: var(--dark-blue);
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .navbar-toggler {
border-color: var(--dark-blue);
    }

    .navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30'%3e%3cpath stroke='rgba(10, 30, 60, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-nav .nav-item .nav-link {
color: var(--dark-blue);
font-family: 'Raleway', sans-serif;
font-weight: 500;
transition: color 0.3s ease;
    }

    .navbar-nav .nav-item .nav-link:hover {
color: var(--primary-color);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 25px; /* Consistent margin for headings */
}

p {
    font-weight: 400;
    color: var(--dark-blue);
    margin-bottom: 20px; /* Consistent margin for paragraphs */
}

/* Buttons (Consistent Styling) */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* Divide Line */
.divline {
    background-image: linear-gradient(135deg, var(--dark-blue), var(--primary-color) 27%, #4bb4d7 70%, var(--dark-blue));
    width: 100%;
    height: 2px;
}

/* Hero Section (from index.html) */
#hero {
    background-image: url('img/landing/background.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0; /* Increased hero padding */
    text-align: center;
    position: relative; /* Add position relative to the hero section */
}

.hero-content {
    padding: 80px 0; /* Adjusted hero content padding */
    position: relative; /* Add position relative to the hero content */
    z-index: 1; /* Ensure hero content is above the overlay */
}

#hero::before { /* Add a pseudo-element for the overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
    z-index: 0; /* Place overlay behind hero content */
}

#hero h1 {
    font-size: 3rem;
    color: var(--text-color-light);
}

#hero p.lead {
    font-size: 2rem;
    color: var(--text-color-light);
}

#hero p {
    font-size: 1.2rem;
    color: var(--text-color-light);
}

@media (max-width: 768px) {
    #hero h1 {
font-size: 2.5rem;
    }

    #hero p.lead {
font-size: 1.2rem;
    }

    .btn-primary {
font-size: 1rem;
padding: 10px 20px;
    }
}

/* Services Section */
#services {
    padding: 80px 0;
}

#services h2 {
    font-size: 2.5rem;
}

.service-box {
    text-align: center;
    padding: 30px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box img {
    max-width: 100px;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 1.8rem;

}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Services Call to Action Button */
#services .btn-primary {
    display: block;
    margin: 20px auto;
    max-width: 500px;
    width: 100%;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;

}

.why-us__title {
    font-size: 2.5rem;
}

.why-us__content {
    padding: 30px;
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
}

.why-us__feature {
    margin-bottom: 30px;
}

.why-us__feature-icon {
    font-size: 2.5rem; /* Standardized icon size */
    color: var(--primary-color);
    margin-right: 15px;
}

.why-us__feature-title {
    font-size: 1.5rem;
}

.why-us__feature-description {
    color: var(--dark-blue);
    margin-bottom: 0;
}

.why-us__image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.why-us__image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

@media (max-width: 768px) {
    .why-us__content {
padding: 20px;
    }
}

/* Certifications Section */
.certifications {
    padding: 80px 0;
}

.certifications h2 {
    font-size: 2.5rem;
}

.certifications p {
    margin-bottom: 40px;
}

.certification-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.certification-logo {
    max-width: 150px;
    margin: 20px;
    height: auto;
    display: inline-block;
}

@media (max-width: 768px) {
    .certification-logo {
max-width: 120px;
margin: 10px;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact__title {
    font-size: 2.5rem;
}

.contact__subtitle {
    margin-bottom: 40px;
    text-align: center;
}

.contact .form-control {
    border-radius: 5px;
    padding: 15px;
    font-size: 1rem;
    border-color: #ced4da;
}

.contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 123, 181, 0.25);
}

.contact .btn-primary {
    padding: 12px 30px;
}

.contact__form {
    margin-bottom: 30px; /* Add margin to the bottom of the form */
}

.contact__details {
    padding: 10px;
}

.contact__details h3 {
    font-size: 1.8rem;
}

.contact__details p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 25px; /* Reduced icon size */
    height: 25px; /* Reduced icon size */
    margin-right: 10px;
}

.address-icon {
    margin-top: 5px;
}

.contact__details p strong {
    margin-right: 5px;
}

.address-paragraph {
    display: flex;
}

.address-text {
    line-height: 1.5;
}

footer {
    background-color: var(--dark-blue);
    padding: 20px 0;
    text-align: center;
    color: var(--text-color-light); /* Ensure footer text color is light */
}

footer p {
    margin-bottom: 5px; /* Reduced margin to make space for social links */
    font-size: 0.9rem;
    color: inherit; /* Inherit from footer parent */
}

.social-links {
    margin-top: 10px; /* Add some space between text and social links */
}

.social-icon {
    width: 2.5rem; /* Adjust icon size as needed */
    height: 2.5rem;
    margin: 0 10px; /* Add horizontal spacing between icons */
    fill: var(--text-color-light); /* Set the SVG fill color */
    vertical-align: middle; /* Align icons vertically with text */
}

.social-icon:hover {
    opacity: 0.8; /* Add hover effect */
}

/* New/Moved styles for Case Studies Page */
.header-hero-spacing {
    padding-top: 100px; /* Adjust based on your fixed navbar height */
}

.case-study-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px -3px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 5px solid; /* For a subtle brand highlight */
    transition: transform 0.2s ease-in-out;
    min-height: 280px; /* Ensure consistent card height */
}
.case-study-card:hover {
    transform: translateY(-5px);
}
.case-study-icon {
    font-size: 2.5rem; /* Standardized icon size */
    line-height: 1;
    margin-bottom: 0.75rem;
    color: var(--primary-color); /* Use primary color for icons */
}
.case-study-button {
    display: inline-block;
    background-color: var(--accent) !important; /* Use accent color, add !important */
    color: var(--white) !important; /* Use white, add !important */
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    text-decoration: none !important; /* Remove underline, add !important */
    border: none !important; /* Remove any default border, add !important */
    cursor: pointer; /* Ensure it looks clickable */
}
.case-study-button:hover {
    background-color: var(--secondary) !important; /* Use secondary color on hover, add !important */
}

/* Generic icon styling for monochrome look */
.icon {
    font-size: 2.5rem; /* Standardized icon size */
    margin-right: 0.75rem;
    color: var(--primary-color); /* Primary color for monochrome icons */
}

/* Resource Card styling */
.resource-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px -3px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 5px solid;
    transition: transform 0.2s ease-in-out;
}
.resource-card:hover {
    transform: translateY(-5px);
}
.resource-icon {
    font-size: 2.5rem; /* Standardized icon size */
    line-height: 1;
    margin-bottom: 0.75rem;
    color: var(--primary-color); /* Use your primary brand color for monochrome look */
}

   /* Specific styles for this case study page */
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subheading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content-block {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color); /* Subtle brand highlight */
}

.outcome-card {
    background-color: var(--dark-blue); /* Dark blue background for impact */
    color: var(--white);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-right: 5px solid var(--accent); /* Accent border */
}
.outcome-card h3 {
    color: var(--accent); /* Accent color for outcome headings */
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.outcome-card p {
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

.call-to-action-section {
    background-color: var(--light-gray);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}
.call-to-action-section h2 {
    color: var(--dark-blue);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.call-to-action-section p {
    color: #4a5568;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.call-to-action-button {
    background-color: var(--accent);
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.call-to-action-button:hover {
    background-color: var(--secondary);
} 