/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Add space for fixed header */
main {
    padding-top: 100px;
}

/* Header Styles */
header {
    background-color: #ffff ;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000; /* Increased z-index */
    transition: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #031368;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    vertical-align: middle;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #031368;
}

nav ul li a.active {
    color: #031368;
    font-weight: 600;
}

/* Button Styles */
.btn {
    background: #031368;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #031368, #2c6bf8);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26, 71, 184, 0.2);
}

.btn-secondary {
    background: white;
    color: #031368;
    border: 2px solid #031368;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: #031368;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-white:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #031368;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(rgba(3, 19, 104, 1), rgba(66, 133, 244, 0.8));
    text-align: center;
    color: white;
}

.page-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #031368;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.cta {
    padding: 100px 0; /* Increased padding for more space */
    background-color: #ffffff; /* Ensure the background color is consistent */
    text-align: center;
}

.cta-content {
    max-width: 800px; /* Increased max-width for better layout */
    margin: 0 auto; /* Center the content */
}

.cta h2 {
    font-size: 36px; /* Keep the font size consistent */
    margin-bottom: 20px; /* Increased margin for spacing */
    color: #333; /* Ensure the color is readable */
}

.cta p {
    font-size: 18px; /* Slightly larger font size for better readability */
    margin-bottom: 40px; /* Increased margin for more space below the paragraph */
    color: #666; /* Ensure the color is readable */
}

.cta .btn {
    padding: 12px 25px; /* Adjust padding for the button */
    font-size: 16px; /* Ensure the button text is readable */
    margin-top: 20px; /* Add margin to separate from the text */
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
}

.footer-brand p {
    margin: 20px 0;
    font-size: 15px;
    opacity: 0.8;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background: #031368;
}

.footer-heading {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #031368;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info-footer {
    list-style: none;
}

.contact-info-footer li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info-footer li i {
    margin-right: 10px;
    color: #031368;
    min-width: 16px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 700px;
    position: relative;
    animation: modalFadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #031368;
}

#modalTitle {
    color: #031368;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#modalContent {
    line-height: 1.6;
    color: #555;
}

#modalContent h4 {
    margin: 20px 0 10px;
    color: #333;
}

#modalContent ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

#modalContent li {
    margin-bottom: 8px;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .header-container {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 80px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        font-size: 18px;
    }
    
    .btn {
        display: none;
    }
    
    /* Hamburger Animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Overlay when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.text-center {
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically if needed */
    margin-top: 40px; /* Space above the button */
    height: 100vh; /* Full height of the viewport for vertical centering */
}

.btn {
    display: inline-block; /* Ensure the button is treated as a block for centering */
    background: linear-gradient(135deg, #031368, #4285f4);
    color: white;
    padding: 12px 25px; /* Adjust padding for the button */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #153a94, #3b78e7);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26, 71, 184, 0.2);
}

.core-values {
    padding: 80px 0; /* Adjust padding as needed */
    background-color: #fff; /* Background color */
}

.values-container {
    display: flex; /* Use flexbox for layout */
    align-items: flex-start; /* Align items at the start */
    justify-content: space-between; /* Space between content and image */
}

.values-content {
    flex: 1; /* Allow content to take available space */
    max-width: 60%; /* Limit the width of the text content */
    padding-right: 20px; /* Add space between content and image */
}

.value-item {
    display: flex; /* Use flexbox for each value item */
    align-items: center; /* Center items vertically */
    margin-bottom: 20px; /* Space between items */
}

.service-icon {
    width: 60px; /* Adjust width to match other sections */
    height: 60px; /* Adjust height to match other sections */
    background: linear-gradient(135deg, #031368, #4285f4); /* Gradient background */
    border-radius: 50%; /* Circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* Space below icon */
}

.service-icon i {
    color: white; /* Icon color */
    font-size: 24px; /* Icon size */
}

.value-title {
    font-size: 18px; /* Title font size */
    margin-bottom: 5px; /* Space below title */
    color: #333; /* Title color */
}

.value-description {
    color: #666; /* Description color */
    font-size: 14px; /* Description font size */
    line-height: 1.5; /* Line height for readability */
}

.values-image {
    flex: 1; /* Allow image to take available space */
    max-width: 10%; /* Limit the width of the image */
}

.values-image img {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: add rounded corners */
}

.client-logos {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-container {
    display: flex;
    transition: transform 0.5s ease;
}

.client-logo {
    width: 150px; /* Adjust the size as needed */
    margin: 0 15px; /* Space between logos */
}

/* Responsive styles */
@media (max-width: 768px) {
    .client-logo {
        width: 100px; /* Smaller size for mobile */
    }
}

/* Add this CSS to your existing styles */
.service-card-content h3 {
    font-size: 22px;
    margin-top: 5px; /* Reduced margin from 10px to 5px */
    margin-bottom: 15px;
    color: #031368;
}

/* Updated styles for images */
.about-image img {
    width: 100%;
    border-radius: 0; /* Set to 0 to remove rounded corners */
    box-shadow: none; /* Remove shadow */
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Set to 0 to remove rounded corners */
    box-shadow: none; /* Remove shadow */
}