/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* light gray */
    color: #374151; /* dark gray */
    margin: 0;
}

/* Reusable Components */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-card {
    background-color: #ffffff;
    padding: 2rem 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.875rem; /* 3xl */
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #0369a1; /* sky blue 700 */
}

.section-title2 {
    font-size: 1.5rem; /* 3xl */
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    max-width: 56rem;
    color: #4b5563; 
}

.section-text {
    text-align: center;
    color: #4b5563; /* gray 600 */
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.section-quote {
    text-align: center;
    color: #0369a1; /* sky blue 700 */
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
    font-style: italic; 
}

.btn {
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #ffffff;
    color: #0369a1;
}

.btn-primary:hover {
    background-color: #d6d6d6; /* light gray */
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Epunda Sans';
    font-size: 2.0rem; /* 2xl */
    font-weight: 400;
    color: #0369a1; /* sky blue 700 */
    text-decoration: none;
}

.logo-image {
    margin-right: 2rem;
    vertical-align: middle; /* Helps align the image nicely with the text */
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: block;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem; /* space-x-6 */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #4b5563; /* gray 600 */
    transition: color 0.2s ease-in-out;
    text-decoration: none;
}

.nav-link:hover {
    color: #0369a1; /* sky blue 700 */
}

/* Hero Section */
.hero-section {
  /* Use a background image. Replace the URL with your own image if you have one. */
  background-image: linear-gradient(rgba(23, 37, 84, 0.7), rgba(23, 37, 84, 0.7)), url('https://img.freepik.com/free-vector/colorful-vector-paper-style-background_1340-10160.jpg?semt=ais_hybrid&w=740&q=80');
  
  /* Ensure the image covers the section and is centered */
  background-size: cover;
  background-position: center;

  /* We add position: relative to make sure the overlay works correctly */
  position: relative; 
  
  /* General styling for the text and spacing */
  color: #ffffff;
  text-align: center;
  padding: 5rem 1rem;
  
  /* We only want margin on the bottom to allow the section to be full-width */
  margin-bottom: 3rem; 
}

.hero-title {
    font-size: 2.25rem; /* 4xl */
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem; /* lg */
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem; /* 5xl */
    }
    .hero-subtitle {
        font-size: 1.25rem; /* xl */
    }
}

/* Services Section */
.service-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    padding: 1.5rem;
    background-color: #f9fafb; /* gray 50 */
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px) scale(1.02);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
}

.service-title {
    font-size: 1.25rem; /* xl */
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0891b2; /* sky blue 600 */
}

.service-text {
    color: #4b5563; /* gray 600 */
}

.service-icon-container {
    /* We only need this container to provide spacing */
    margin-bottom: 1rem;
}

.service-image {
    /* Make the image responsive: fill its container's width */
    width: 100%;
    
    /* But never allow it to become larger than 100px */
    max-width: 100px;
    
    /* Let the height adjust automatically to maintain proportions */
    height: auto;
    
    /* This is a modern way to enforce a perfect square aspect ratio */
    aspect-ratio: 1 / 1;

    /* This ensures non-square source images are cropped, not stretched */
    object-fit: cover;
    
    /* Adds slightly rounded corners to match the card's style */
    border-radius: 0.5rem;
}


/* Contact Section */
.contact-card {
    background-color: #0369a1; /* sky blue 700 */
    color: #ffffff;
    padding: 2rem 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-title {
    font-size: 1.875rem; /* 3xl */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-text {
    font-size: 1.125rem; /* lg */
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.contact-links-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-links-container {
        flex-direction: row;
        gap: 2rem;
    }
}

.contact-link {
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background-color: #1f2937; /* gray 800 */
    color: #ffffff;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}