/* Global styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #f8f8f8;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  height: 50px;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Hero section */
.hero {
  height: 80vh;
  background: 
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.2)),
    url('../images/Pg1 Background.jpeg') no-repeat center center / cover;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 2rem;
  color: white;
  text-align: left;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #012842;
}

.hero-content p {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  color: #012842;
  padding: 0.5rem;
  border-radius: 6px;
  display: inline-block;
}

.hero-logo {
  position: absolute;
  top: 3rem;
  left: 3rem;
  height: 50px;
  z-index: 3;
  pointer-events: none;
}

/* Page 2 with gradient overlay */
.page-2 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 0;
}

/* ONLY the background image */
.page-2 > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.page-2-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(130, 130, 130, .7), rgba(255, 255, 255, 0));
  z-index: 2;
  pointer-events: none;
}

.page-2-overlay {
  position: relative;
  top: 20%;
  left: 0;
  transform: none;
  z-index: 3;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem;
  width: 80%;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.info-box {
  background: rgba(255, 255, 255, 0.5);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  box-sizing: border-box;
}

.info-box h2 {
  margin-top: 0;
  font-size: 2rem;
  color: #012842;
}

.info-box p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Contact block enhancements */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
  position: static;
  margin-top: 0.25rem;
}

.contact-block strong {
  color: #012842;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.contact-link {
  display: inline-block;
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  word-break: break-word;
}

.contact-link:hover {
  color: #012842;
  text-decoration: underline;
}

/* Arrows */
.arrow {
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.arrow-left {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.arrow-right {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.arrow.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Footer */
.site-footer {
  background: #f8f8f8;
  padding: 0.5rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  width: 100%;
  box-sizing: border-box;
}

.site-footer p {
  margin: 0.25rem 0;
}

/* Responsive — Mobile */
@media (max-width: 768px) {
  .hero-logo {
    max-width: 60%;
    height: auto;
    left: 1rem;
    top: 1rem;
  }

  .hero-content {
    padding: 0 1rem;
    margin-top: -12rem;
    margin-left: -1.5rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .page-2 {
    padding: 0;
    height: auto;
  }

  .page-2 > img {
    width: 100vw;
    height: 100%;
  }

  .page-2-overlay {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 2rem 1rem;
    width: 100vw;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
  }

  .info-box {
    flex: 0 0 85vw;
    min-width: 280px;
    max-width: 480px;
    margin-right: 1rem;
  }
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 100%;
}

.contact-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-item div {
  flex: 1;
  min-width: 0;
}

.contact-block strong {
  color: #012842;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-link {
  display: inline-block;
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #012842;
  text-decoration: underline;
}

