/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
}

header h1 {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: #fff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #333;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3949ab;
}

/* Main Content & Cards */
main {
    padding: 40px 0;
}

.card {
    background: #fff;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}


h2 {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    padding: 30px;
    background: #f4f7f9;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-item:hover {
    background-color: #e3eafc;
    transform: translateY(-10px);
}

.service-item i {
    font-size: 3rem;
    color: #3949ab;
    margin-bottom: 15px;
}

/* Team Section */
.team-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    background: #e3eafc;
    padding: 25px;
    border-radius: 8px;
    flex: 1 1 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    margin-bottom: 5px;
}

/* Careers Section Styles */
.careers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.career-info i {
    margin-right: 10px;
}
.career-info ul {
    list-style-type: none;
    padding-left: 0;
}
.career-info ul li {
    padding: 5px 0 5px 25px;
    position: relative;
}
.career-info ul li::before {
    content: '\f058'; /* Font Awesome check-circle icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #3949ab;
    position: absolute;
    left: 0;
    top: 7px;
}

/* Contact Section Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}
.contact-info {
    background: #f4f7f9;
    padding: 30px;
    border-radius: 8px;
}
.contact-info p {
    margin: 15px 0;
    font-size: 1.1rem;
}
.contact-info i {
    color: #3949ab;
    margin-right: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3949ab;
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.2);
}

/* Button Styles */
.btn {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.cta-container {
    text-align: center;
    margin-top: 30px;
}


/* Footer */
footer {
    background: #1a237e;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .careers-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    nav a {
        margin: 0 10px;
    }
}

/* =================================
   Footer Styles
==================================== */

.site-footer {
    background-color: #1a237e;
    color: #c5cae9; /* Lighter color for text for better contrast */
    padding-top: 50px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Underline effect for footer headings */
.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #3949ab;
}

.footer-column p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.footer-column p i {
    margin-right: 8px;
}

/* Styling for lists of links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #c5cae9;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Social Media Icons */
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #283593;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: #3f51b5;
    transform: translateY(-3px);
}

/* Bottom bar of the footer */
.footer-bottom {
    background-color: #121856; /* Slightly darker for contrast */
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    color: #8c9eff;
}

/* Make sure the main footer styling works on smaller screens */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%); /* Center the underline */
    }

    .social-icons {
        text-align: center;
    }
}