* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* This is good practice for sizing elements */
}

/* Global Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    /* REMOVE THIS LINE: padding-top: 80px; */ 

    background: linear-gradient(45deg, #b0b0b0 0%, #e0e0e0 15%, #909090 50%, #e0e0e0 85%, #b0b0b0 100%);
}

html {
    scroll-behavior: smooth;
}

/* Sticky Navigation Bar */
.vertical-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    /* justify-content: center; */
    justify-content: space-around; /* Replaces 'gap: 20px' */
    gap: 0; /* Ensures the old gap property doesn't interfere */
    gap: 20px;
    padding: 20px 10px;
    background: rgba(75, 63, 50, 0.8);
    border-radius: 10px;
    z-index: 1000;
}

.vertical-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.vertical-nav a:hover {
    color: #ffd700;
}

@media (max-width: 768px) {
    .vertical-nav {
        flex-wrap: wrap; /* Allows links to wrap to the next line */
        padding: 10px 5px; /* Adjusts padding for smaller screens */
    }

    .vertical-nav a {
        font-size: 0.9rem; /* Slightly reduces font size to fit more content */
        margin: 5px; /* Adds a small margin around each link for better touch targets */
    }
}

/* Hero Section (Home) */
.hero {
    background: linear-gradient(180deg, #9e0b0f 0%, #4b3f32 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero .logo {
    max-width: 90%;
    margin-bottom: 20px;
    border-radius: 15px; /* Adjust this value to control the amount of rounding */
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Media Query for larger screens (e.g., tablets and desktops) */
@media (min-width: 768px) {
    .hero {
        padding: 80px 20px; /* Restore padding for larger screens */
    }

    .hero .logo {
        max-width: 600px; /* Set a max-width for desktop */
    }

    .hero h1 {
        font-size: 2.5rem; /* Restore font size for larger screens */
    }
}

/* Main Content Sections */
section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #9e0b0f;
    font-size: 2rem;
}

/* Services, Customers, About - Combined styles */
.services,
.customers,
.about,
.contact {
    min-height: 100vh;
    background: linear-gradient(180deg, #f0f0f0 0%, #d8d8d8 100%);
    color: #333;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 80px 40px;
    line-height: 1.8;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Creates two equal-width columns */
  grid-template-rows: auto auto; /* Creates two rows with automatic height */
  gap: 20px; /* Adds space between grid items */
}

.top-left {
  grid-column: 1 / 2; /* Spans from column line 1 to 2 */
  grid-row: 1 / 2; /* Spans from row line 1 to 2 */
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content to the top */
    align-items: auto;
    text-align: left;
}

.top-right {
  grid-column: 2 / 3; /* Spans from column line 2 to 3 */
  grid-row: 1 / 2; /* Spans from row line 1 to 2 */
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content to the top */
    align-items: auto;
    text-align: left;
}

.bottom-container {
  grid-column: 1 / 3; /* Spans from column line 1 to 3, covering both columns */
  grid-row: 2 / 3; /* Spans from row line 2 to 3 */
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content to the top */4:32 pm 03/09/2025
    align-items: auto;
    text-align: left;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content to the top */
    align-items: auto;
    text-align: left;
}

/* This creates the "pop up" effect on hover for all cards */
.card:hover,
.top-left:hover,
.top-right:hover,
.bottom-container:hover {
    transform: translateY(-3px); 
    border: 1px solid #9e0b0f; /* The dark red from your logo */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);

}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:hover {
    transform: translateY(-5px);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact a {
    color: #9e0b0f;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    background: #4b3f32;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.card-link {
  text-decoration: none;
  color: inherit; /* This makes the link inherit the text color of the card */
}

/* Make sure your hover effects are on the card itself, as they are now */
.card:hover {
  transform: translateY(-8px);
  border: 1px solid #9e0b0f;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.section-banner {
    width: 100%;
    /* max-height: 250px; */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

table th {
    width: 250px; /* Adjust this value to your desired width */
    text-align: left; /* Optional: Aligns text to the left for better readability */
}
table {
    border-collapse: separate; /* This is required for border-spacing to work */
    border-spacing: 0 15px; /* Adjust the vertical value (15px) to control separation */
}

.card ul li {
    transition: transform 0.2s ease;
}

.card ul li:hover {
    transform: translateX(10px); /* Moves the list item to the right on hover */
}

.blue-underline {
    color: blue;
    text-decoration: underline;
    text-decoration-color: blue;
}
