/* RESET + BASE LAYOUT */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,


body {
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #222;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1rem;
}

/* HEADER */
header {
  background-color: white;
  position: relative;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  height: 125px;
}

/* Logo flush left */
.left-logo {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.left-logo img.logo {
  height: 75px; /* keep this to match header height */
  width: auto;
  transform: scale(3); /* visually enlarges the logo */
  transform-origin: left center;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.6));
}

/* Navbar centered */
.navbar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li a {
  color: #004b80;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.navbar li a:hover,
.navbar li a.active {
  background-color: white;
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 590px;
  background: url("/images/background.jpg") no-repeat center center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  margin-bottom: 0;
}

.hero-content {
  background: rgba(0, 0, 0, 0.65);
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
}

.hero h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

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

/* GLOBAL BUTTONS */
.btn,
.cta-button {
  background-color: #004b80;
  color: white;
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover,
.cta-button:hover {
  background-color: #003954;
  color: white;
}

.cta-section .btn {
  background-color: #ffffff;
  color: #004b80;
  font-weight: 600;
}

.cta-section .btn:hover {
  background-color: #dbeeff;
  color: #002f50;
}

/* MESSAGE SECTION */
#ics-message {
  padding: 2rem 1rem;
  margin: 0 auto;
  text-align: center;
  background-color: white;
  font-size: 1rem;
  line-height: 1.6;
}

#ics-message strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

/* TRUST SECTION */
.trust-section {
  background-color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1rem;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.trust-section h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

/* CTA SECTION */
.cta-section {
  background-color: #004b80;
  color: white;
  text-align: center;
  padding: 1.8rem 1rem 1.2rem;
  margin-bottom: 0;
}

.cta-section h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.cta-section p {
  margin: 0.8rem 0;
  font-size: 0.95rem;
}

/* CTA BANNER (About Page Specific) */
.cta-banner {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 8px;
  margin-top: 2rem;
  animation: fadeInUp 1s ease both;
}

.cta-banner h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.cta-banner p {
  font-size: 1rem;
  margin-bottom: 15px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.trust-section,
#ics-message,
.cta-section {
  animation: fadeInUp 1s ease both;
}

/* ABOUT PAGE STYLES */
header {
  background-color: #e6f0f8;
  position: relative;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  height: 125px;
}

/* Logo flush left */
.left-logo {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.left-logo img.logo {
  height: 75px; /* keep this to match header height */
  width: auto;
  transform: scale(3); /* visually enlarges the logo */
  transform-origin: left center;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.6));
}

body.about {
  background: url("/images/aboutbackground1.jpg") no-repeat center center
    fixed;
  background-size: cover;
  position: relative;
  color: #002b45;
}

body.about::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.88);
  z-index: -1;
}

.about-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
<<<<<<< HEAD
  padding: 60px 20px 40px;
=======
  min-height: 100vh;                   /* Full screen */
  padding: 100px 20px 16px;            /* RESTORED top to avoid header overlap; trimmed bottom */
>>>>>>> 5032910 (push changes)
}

.about-container {
  width: 100%;
  max-width: 1100px;
}

.about-container h1 {
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 1.6rem;               /* Slightly tighter to save space */
}

.card {
  background: white;
  border-left: 4px solid #004a74;
  border-right: 4px solid #004a74;
  border-top: 4px solid #004a74;
  border-bottom: 4px solid #004a74;
  border-radius: 8px;
  margin-bottom: 26px;
  padding: 24px 28px;
  box-shadow: 0 4px 10px solid #004a74;
  animation: fadeInUp 0.8s ease both;
}

.card h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #014f71;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}

.card p,
.card li {
  font-size: 1rem;
  line-height: 1.5;                    /* Slightly tighter */
}

.card ul {
  padding-left: 20px;
  margin: 0;
}

.founder-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;                            /* Slightly reduced gap */
  align-items: center;
}

.founder-photo {
  flex: 0 0 140px;                      /* Slightly reduced */
}

.founder-photo img {
  width: 140px;
  height: 140px;
  border-radius: 100px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.founder-text {
  flex: 1;
}

/* FOOTER */
footer {
  background-color: #e6f0f8;
  color: #004b80;
  text-align: center;
  font-weight: bold;
  padding: 1rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

footer a {
  color: #004b80;
  text-decoration: underline;
}

footer a:hover {
  text-decoration: underline;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .founder-section {
    flex-direction: column;
    text-align: center;
  }
}

/* ABOUT PAGE FIXES — NON-DESTRUCTIVE */
/* Safe top clearance for fixed header; slight bottom trim to compensate */
body.about .about-main {
  padding-top: 120px;   /* increased to avoid header overlap */
  padding-bottom: 12px; /* small trim to help fit */
  min-height: 100vh;
}

/* Tighter vertical rhythm between cards */
body.about .card {
  margin-bottom: 10px;  /* was 12px */
}

/* Slightly raise and compress CTA */
body.about .cta-banner {
  margin-top: 0.8rem;   /* was 0.9rem */
  padding: 12px 18px;   /* was 14px 20px */
  max-width: 740px;     /* a touch narrower for balance */
  text-align: center;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.75);
}

body.about .cta-banner h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: white;
}

body.about .cta-banner p {
  font-size: 1rem;
  margin-bottom: 0.45rem; /* slightly tighter */
  color: white;
}

body.about .cta-banner .cta-button {
  font-size: 0.95rem;
  padding: 10px 18px;
}




/* SERVICES PAGE STYLES */
body.services {
  background: url("/images/servicesbackground.jpg") no-repeat center center
    fixed;
  background-size: cover;
  color: #002b45;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

body.services::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

.services-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

.services-content h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #003954;
  background-color: rgba(255, 255, 255, 0.9);
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* GRID for services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
}

.service-item {
  background-color: white;
  padding: 24px 28px;
  border-left: 4px solid #004b80;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.7s ease both;
}

.service-item h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #014f71;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* CTA ROW */
.services-cta-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 0 1rem 40px;
}

.services-cta {
  background-color: #004b80;
  color: white;
  flex: 1 1 400px;
  min-width: 300px;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.9s ease both;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.services-cta p {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Shared styling for both button and anchor link */
.services-cta a,
.services-cta button {
  background-color: white;
  color: #004b80;
  padding: 12px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
}

.services-cta a:hover,
.services-cta button:hover {
  background-color: #e0f0ff;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .services-content h1 {
    font-size: 2rem;
    padding: 10px 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}

body.gallery-page {
  background: url("") no-repeat center center fixed;
  background-size: cover;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

.gallery-container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
}

.section-header {
  font-size: 1.6rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  scroll-behavior: smooth;
  padding: 10px 0;

  /* Hide scrollbar cross-browser */
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* IE/Edge */
}

.carousel-track::-webkit-scrollbar {
  display: none;                   /* Chrome/Safari */
}

.carousel-track img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-track img:hover {
  transform: scale(1.05);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #064a6f;
  color: white;
  font-size: 24px;
  padding: 5px 12px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox.show {
  display: flex;
}


/* Contact Page Background and Blur */
body.contact {
  background: url("/images/contactbackground.jpg") no-repeat center center
    fixed;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Blurred Overlay */
body.contact::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.4);
  z-index: -1;
}

/* Contact Container */
.contact-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  animation: fadeIn 0.6s ease-in-out;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  max-width: 700px;
  width: 90%;
  animation: slideUp 0.6s ease-out;
}

.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #111;
}

.contact-form p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #444;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-top: 18px;
  color: #222;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0075a8;
  outline: none;
}

.contact-form button {
  margin-top: 24px;
  background-color: #004c73;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact-form button:hover {
  background-color: #006997;
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === ABOUT PAGE — make header/nav match other pages and avoid overlap === */
body.about header {
  position: fixed !important;      /* match site header behavior */
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 125px !important;
  background-color: #e6f0f8 !important;
  padding: 0.8rem 2rem !important;
  display: flex !important;
  align-items: center !important;
  z-index: 1000 !important;
}

/* Logo flush left, vertically centered */
body.about .left-logo {
  position: absolute !important;
  left: 2rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
body.about .left-logo img.logo {
  height: 75px !important;
  width: auto !important;
  transform: scale(3) !important;
  transform-origin: left center !important;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,.6)) !important;
}

/* Center navbar horizontally and vertically in the header */
body.about .navbar {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  gap: 1.4rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.about .navbar li a {
  color: #004b80 !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px !important;
  transition: background .3s ease !important;
}
body.about .navbar li a:hover,
body.about .navbar li a.active {
  background-color: #fff !important;
}

/* Ensure content starts below fixed header */
body.about .about-main {
  padding-top: 150px !important;   /* header (125) + buffer so "About Us" never collides */
}

