/* General Body and Typography */
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  background-color: #004080;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
}

.menu > li:hover > a {
  background-color: #003366;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #004080;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  z-index: 1000;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background-color: #003366;
}

.dropdown:hover .dropdown-content {
  display: block;
}

body {
    font-family: 'Inter', sans-serif; /* Using Inter font for modern look */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafd; /* Light background for a clean feel */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color: #1a237e; /* Deep blue for headings, matching a professional tone */
    line-height: 1.2;
    font-weight: 700; /* Bold headings */
}

h1 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

p {
    margin-bottom: 1em;
}

a {
    color: #2196f3; /* Bright blue for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1976d2;
    text-decoration: underline;
}

ul {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    margin: 0;
}

/* Header */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); /* Softer shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.logo img {
    height: 50px; /* Adjust as needed for your logo size */
    border-radius: 5px; /* Slight rounded corners for logo */
}

nav ul {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #424242; /* Darker grey for navigation links */
    font-weight: 600; /* Semi-bold */
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
    border-radius: 3px; /* Slight rounded corners */
}

nav ul li a:hover,
nav ul li a.active {
    color: #2196f3; /* Highlight active/hovered link */
    text-decoration: none;
}

/* Underline effect for active/hovered nav links */
nav ul li a.active::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #2196f3;
    transition: width 0.3s ease;
}

/* CTA Button Styling */
.cta-button {
    display: inline-block;
    background-color: #2196f3; /* Primary blue for CTAs */
    color: #ffffff !important; /* Ensure text is white */
    padding: 12px 25px;
    border-radius: 8px; /* More rounded corners */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #1976d2; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.header-cta {
    margin-left: 20px;
}

/* Hero Section */
.hero-services {
    /* Gradient overlay with a background image */
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.8)), /* Dark blue overlay */
                url('../images/hero_image_compressed.webp') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 120px 0;
    margin-bottom: 40px;
    border-radius: 10px; /* Rounded corners for the hero */
    overflow: hidden; /* Ensures rounded corners are applied */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.hero-services h1 {
    color: #ffffff;
    font-size: 3.8em;
    margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.4); /* Enhanced text shadow */
}

.hero-services .lead-text {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-cta {
    padding: 15px 35px;
    font-size: 1.2em;
    border: 2px solid #ffffff; /* White border for hero CTA */
    background-color: transparent; /* Transparent background */
    color: #ffffff !important;
    box-shadow: none; /* Remove shadow for transparent button */
}

.hero-cta:hover {
    background-color: rgba(255,255,255,0.1); /* Slight white tint on hover */
    transform: translateY(-3px); /* More pronounced lift */
    box-shadow: none;
}


/* Services Overview Section */
.services-overview {
    padding: 60px 0;
    background-color: #f8fafd;
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    padding: 35px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e0e0e0; /* Subtle border */
}

.service-card:hover {
    transform: translateY(-8px); /* More pronounced lift on hover */
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.service-card img {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    /* Optional: Add a subtle glow or shadow to icons */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.service-card h2 {
    font-size: 1.9em;
    margin-top: 0;
    margin-bottom: 18px;
    color: #1a237e;
}

.service-card p {
    font-size: 1.0em;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.service-card ul {
    text-align: left;
    width: 100%;
    margin-bottom: 25px;
    list-style: disc; /* Re-add bullet points for list of services */
    padding-left: 25px;
    color: #666;
}

.service-card ul li {
    margin-bottom: 10px;
    font-size: 0.95em;
    line-height: 1.4;
}

.service-card .learn-more {
    color: #2196f3;
    font-weight: 600;
    display: inline-block;
    margin-top: auto; /* Pushes the link to the bottom */
    position: relative;
    padding-right: 20px; /* Space for arrow */
}

.service-card .learn-more::after {
    content: '→'; /* Right arrow character */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.service-card .learn-more:hover::after {
    transform: translateY(-50%) translateX(5px); /* Move arrow on hover */
}


/* Call to Action Banner */
.cta-banner {
    background-color: #1a237e; /* Dark blue background */
    color: #ffffff;
    text-align: center;
    padding: 70px 20px;
    margin-top: 60px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.cta-banner p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Footer */
footer {
    background-color: #1b262c; /* Very dark blue/grey for footer */
    color: #b0c4de; /* Lighter text for contrast */
    padding: 50px 0 25px;
    font-size: 0.9em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #b0c4de;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #2196f3;
    text-decoration: underline;
}

.footer-col.contact-info p {
    margin-bottom: 12px;
}

.footer-col.contact-info .social-links img {
    width: 30px; /* Slightly larger social icons */
    height: 30px;
    margin-right: 12px;
    transition: transform 0.2s ease, filter 0.2s ease;
    border-radius: 50%; /* Make icons round if they are square images */
}

.footer-col.contact-info .social-links img:hover {
    transform: scale(1.1);
    filter: brightness(1.2); /* Slight brightness change on hover */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #3a4750; /* Darker border for separation */
    padding-top: 25px;
    margin-top: 25px;
}

.footer-bottom p {
    margin: 8px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .logo {
        margin-bottom: 15px;
    }
    nav ul {
        margin-bottom: 15px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero-services h1 {
        font-size: 2.8em;
    }
    .hero-services .lead-text {
        font-size: 1.2em;
    }
    .service-card h2 {
        font-size: 1.6em;
    }
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .cta-banner h2 {
        font-size: 2.5em;
    }
    .cta-banner p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-services {
        padding: 80px 0;
    }
    .hero-services h1 {
        font-size: 2.5em;
    }
    .service-grid {
        grid-template-columns: 1fr; /* Stack cards vertically on smaller screens */
    }
    .service-card {
        padding: 30px;
    }
    .cta-banner {
        padding: 50px 20px;
    }
    .cta-banner h2 {
        font-size: 2.2em;
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .footer-col ul {
        text-align: center;
        padding-left: 0;
    }
    .footer-col.contact-info .social-links {
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    nav ul li {
        margin: 0 6px;
        font-size: 0.9em;
    }
    .hero-services h1 {
        font-size: 1.8em;
    }
    .hero-services .lead-text {
        font-size: 0.95em;
    }
    .service-card h2 {
        font-size: 1.5em;
    }
    .cta-button {
        padding: 10px 18px;
        font-size: 0.9em;
    }
    .cta-banner h2 {
        font-size: 1.8em;
    }
}
