/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body */
body {
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Header container flex */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
  margin-top: 10px;
}

/* Branding */
.branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

header h1 {
    color: #2a4f6e;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.8rem;
}

/* Navigation */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

nav ul li {
    display: inline-block;
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #2a4f6e;
}

/* Social icons */
.socials {
  display: flex;
  gap: 15px;
}

.socials a img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.socials a:hover img {
  filter: none;
  cursor: pointer;
}

/* Hamburger menu button */
#menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #2a4f6e;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

#menu-toggle:hover {
  color: #1c364e;
}

/* Wrapper for nav and socials to toggle on mobile */
.nav-social-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Showcase */
.showcase {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;  /* behind overlay content */
    transition: background-image 1s ease-in-out;
}

.overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.content {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 700px;
}

.content h2 {
    font-size: 2.5rem;
    color: #2a4f6e;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Button */
.btn {
    display: inline-block;
    background: #2a4f6e;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #1c364e;
}

/* Services / About / Contact */
.services, .about, .contact {
    padding: 60px 0;
    background: #fff;
}

.services h2, .about h2, .contact h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2a4f6e;
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.service-item {
    background: #f0f4f8;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item h3 {
    margin-bottom: 15px;
    color: #2a4f6e;
}

.service-item p {
    font-size: 1rem;
}

/* About */
.about p {
    max-width: 700px;
    margin: auto;
    font-size: 1.1rem;
    color: #444;
}

/* Contact Section Base Styles */
.contact {
    padding: 2rem 1rem;
    background-color: #f0f4f8;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Contact Details */
.contact-details h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-details p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-details a {
    color: #2a4f6e;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: #2a4f6e;
    box-shadow: 0 0 5px #2a4f6e55;
}

.contact button {
    background: #2a4f6e;
    color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: #1c364e;
}
/* Footer */
footer {
    background: #f1f1f1;
    text-align: center;
    padding: 20px 0;
    color: #777;
    border-top: 1px solid #ddd;
}
.service-item img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}


/* Responsive Styles for Hamburger Menu */
@media (max-width: 768px) {

  /* Show hamburger */
  #menu-toggle {
    display: block;
  }

  /* Hide nav and socials by default */
  .nav-social-wrapper {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px; /* adjust if your header height changes */
    right: 10px;
    width: 220px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 100;
  }

  /* Show nav+socials when active */
  .nav-social-wrapper.active {
    display: flex;
  }

  /* Make nav vertical */
  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  /* Remove left margin from nav items for vertical */
  nav ul li {
    margin-left: 0;
  }

  /* Align socials left */
  .socials {
    justify-content: flex-start;
    margin-top: 15px;
  }

.contact-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .contact-details,
    .contact form {
        width: 48%;
    }
}
