<!-- New Grok 3 CSS -->

/* Reset some defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 10px 20px;
}

#menu-toggle {
    display: none;
}

label {
    font-size: 24px;
    cursor: pointer;
}

nav {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background: white;
    width: 100%;
    padding: 10px;
}

#menu-toggle:checked + label + nav {
    display: block;
}

nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #003366;
}

@media (min-width: 768px) {
    label {
        display: none;
    }
    nav {
        display: flex;
        position: static;
        justify-content: flex-end;
    }
    nav a {
        margin-left: 20px;
    }
}

.hero {
  position: relative;
  height: 80vh; /* Keep this as is */
  overflow: hidden; /* Prevents overflow */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0; /* Changed from 50% */
  left: 0; /* Changed from 50% */
  width: 100vw; /* Full viewport width */
  height: 100%; /* Match the container’s height */
  object-fit: cover; /* Ensures it scales to cover the area */
  z-index: -1; /* Keeps it behind content */
  transform: none; /* Remove the translate since we’re aligning top/left */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.hero button {
    padding: 10px 20px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
}

.feature img {
    width: 100%;
    height: auto;
    display: block;
}

.about, .testimonials, .contact {
    padding: 40px;
    text-align: left;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    padding: 10px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1.2em;
    }
}

/* Services Header (replacing Hero) */
.services-header {
    position: relative;
    background: #ff6600; /* Orange background */
    padding: 20px 0; /* 20px top and bottom padding */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.services-content {
    position: relative;
    z-index: 1;
}

.services-header h1 {
    font-size: 2.5em; /* Slightly smaller than hero’s 3em */
    margin-bottom: 5px;
}

.services-header p {
    font-size: 1.2em; /* Slightly smaller than hero’s 1.5em */
}

/* For index.html - Three Columns */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Back to 3 columns */
    gap: 20px;
    padding: 40px;
}

/* For services.html - Two Columns */
.services-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px;
    padding: 40px;
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr; /* Stack on mobile for index.html */
    }
    .services-features {
        grid-template-columns: 1fr; /* Stack on mobile for services.html */
    }
    .services-header h1 {
        font-size: 1.8em;
    }
    .services-header p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .services-header h1 {
        font-size: 1.8em; /* Adjust for smaller screens */
    }
    .services-header p {
        font-size: 1em;
    }
}

/* Contact Page Two-Column Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 40px;
    padding: 20px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-left, .contact-info-right {
    text-align: left;
}

.contact-info-left h3, .contact-info-right h3 {
    margin-bottom: 15px;
    color: #003366; /* Matches your nav and button color */
}

.contact-info-right ul {
    list-style: none;
    padding: 0;
}

.contact-info-right ul li {
    margin-bottom: 10px;
}

.contact-info-right a {
    color: #ff6600; /* Matches your orange theme */
    text-decoration: none;
}

.contact-info-right a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 20px;
    }
}