/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Header */
header {
    background: linear-gradient(90deg, #1a3c5e, #2a5d8f);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo h1 {
    font-size: 2rem;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: #f4b400;
    transform: translateY(-2px);
    display: inline-block;
    transition: all 0.3s ease;
}

.header-contact {
    text-align: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 1001;
}

.hamburger span {
    background: white;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        padding: 1rem;
        position: relative;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 1;
        order: 1;
    }
    
    .hamburger {
        order: 2;
        position: static;
        transform: none;
        display: flex;
    }
    
    nav {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: linear-gradient(90deg, #1a3c5e, #2a5d8f);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-contact {
        order: 4;
        width: 100%;
        margin-top: 1rem;
        flex-basis: auto;
        flex-grow: 0;
    }
}

/* Hero Section with Form */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1931&auto=format&fit=crop') no-repeat center center/cover;
    color: white;
    position: relative;
    padding: 2rem;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content, .hero-form {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero-content .cta-button {
    background-color: #f4b400;
    color: #1a3c5e;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
}

.hero-content .cta-button:hover {
    background-color: #e0a300;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.hero-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
}

.hero-form h3 {
    font-size: 1.8rem;
    color: #1a3c5e;
    margin-bottom: 1.5rem;
}

.hero-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.hero-form input,
.hero-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.hero-form textarea {
    resize: vertical;
    min-height: 100px;
}

.hero-form button {
    background-color: #1a3c5e;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
}

.hero-form button:hover {
    background-color: #2a5d8f;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    .hero-content {
        padding-bottom: 0;
    }
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    color: #1a3c5e;
    margin-bottom: 1rem;
}

.services p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    font-size: 1.6rem;
    color: #1a3c5e;
    margin-bottom: 1rem;
}

.service-item p {
    font-size: 1rem;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #ecf0f1, #fff);
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #1a3c5e;
    margin-bottom: 1rem;
}

.testimonials p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.testimonial-item p:first-child {
    font-weight: 600;
    color: #1a3c5e;
    margin-bottom: 0.5rem;
}

.testimonial-item::before {
    content: '"';
    font-size: 3rem;
    color: #f4b400;
    position: absolute;
    top: 0;
    left: 1rem;
    opacity: 0.3;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background-color: #1a3c5e;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    margin: 2rem auto;
    max-width: 600px;
}

.contact-info p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.mission {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
}

.mission h3 {
    font-size: 1.6rem;
    margin: 1.5rem 0 0.5rem;
    color: #f4b400;
}

.mission p {
    font-size: 1rem;
}

section#faq.faq {
  background-color: #e6f0fa !important;
  padding: 2rem !important;
  text-align: center;
}

section#faq-content.faq-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

section#faq-content.faq-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #213547;
  margin: 2.5rem 0 0.75rem !important;
  border-bottom: 2px solid #646cff;
  padding-bottom: 0.25rem;
}

section#faq-content.faq-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem !important;
  line-height: 1.6;
  padding: 0.5rem;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Blog Section */
.blog {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
  text-align: center;
}

.blog h2 {
  font-size: 2.5rem;
  color: #1a3c5e;
  margin-bottom: 1rem;
}

.blog p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-post {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-post h3 {
  font-size: 1.6rem;
  color: #1a3c5e;
  margin-bottom: 0.5rem;
}

.blog-post .blog-date {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.blog-post p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.blog-post .read-more {
  display: inline-block;
  background-color: #f4b400;
  color: #1a3c5e;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
}

.blog-post .read-more:hover {
  background-color: #e0a300;
  transform: scale(1.05);
}

/* Blog Post Section */
.blog-post {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
  text-align: center;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-post-content h1 {
  font-size: 2.5rem;
  color: #1a3c5e;
  margin-bottom: 1rem;
}

.blog-post-content .blog-date {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.blog-post-content .blog-post-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.blog-post-content h2 {
  font-size: 1.8rem;
  color: #1a3c5e;
  margin: 1.5rem 0 0.5rem;
}

.blog-post-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-post-content ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.blog-post-content ul li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.blog-post-content .cta-button {
  margin: 1.5rem 0;
}

.blog-post-content .back-to-blog {
  font-size: 1rem;
  margin-top: 2rem;
}

.blog-post-content .back-to-blog a:hover {
  color: #f4b400;
}

/* Privacy Policy CTA */
.cta {
  text-align: center !important;
  margin-top: 2rem !important;
}

/* Ensure FAQ styles apply to Privacy page */
section#privacy.faq {
  background-color: #e6f0fa !important;
  padding: 2rem !important;
  text-align: center !important;
}

section#privacy-content.faq-content {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 1rem !important;
}

section#privacy-content.faq-content h2 {
  font-size: 1.8rem !important;
  color: #1a3c5e !important;
  margin: 1.5rem 0 0.5rem !important;
}

section#privacy-content.faq-content h3 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #213547 !important;
  margin: 2.5rem 0 0.75rem !important;
  border-bottom: 2px solid #646cff !important;
  padding-bottom: 0.25rem !important;
}

section#privacy-content.faq-content p {
  font-size: 1rem !important;
  color: #333 !important;
  margin-bottom: 2rem !important;
  line-height: 1.6 !important;
  padding: 0.5rem !important;
  background-color: #ffffff !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Footer */
footer {
    background: #0f2235;
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .service-grid, .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* added after the form */
.hero-form p {
    padding: 10px;
    border-radius: 5px;
    background: #e0ffe0;
}
.hero-form p[style*="red"] {
    background: #ffe0e0;
}
