/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global */
body {
  font-family: Arial, sans-serif;
  background: white;
  color: black;
  line-height: 1.6;
}

.section {
  padding: 60px 20px;
  text-align: center;
}

h1 {
  color: white;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
}

.logo img {
  height: 80px;
  display: block;
  margin-left: 0;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  font-size: 18px;
  color: #1e6db6;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #009acd;
}

/* Services */
.services-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  background: #f5faff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  flex: 1 1 calc(33% - 20px);
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card h2 {
  color: #1e6db6;
  margin-bottom: 10px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 50px 20px;
  flex-wrap: wrap;
}

.about-images {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.about-images img {
  width: 100%;
  height: auto; /* Auto height for responsiveness */
  max-height: 250px; /* Optional: limit big screens */
  object-fit: cover;
  border-radius: 10px;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h6 {
  color: #1e6db6;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 {
  margin: 10px 0 20px;
  font-size: 2rem;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: justify;
}

/* Tablet: stack vertically but keep 2 columns of images */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .about-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-text {
    text-align: center;
  }
}

/* Mobile: stack everything with single image column */
@media (max-width: 480px) {
  .about-images {
    grid-template-columns: 1fr;
  }
}

.hero {
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content {
  color: white;
  max-width: 600px;
  text-align: left;
  margin-left: 50px; /* shift left */
}


.btn-primary {
  background: #1e6db6;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #009acd;
}

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;   /* Vertically center */
  padding-left: 80px;    /* Push text to left */
}

.slide.active {
  opacity: 0.8;
  z-index: 1;
}


.hero-content {
  color: white;
  max-width: 600px;
  text-align: left;      /* Align text to left */
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-primary {
  background: #1e6db6;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: #009acd;
}

/* Footer */
.main-footer {
  background: #0b1320;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-left, .footer-middle, .footer-right {
  flex: 1;
  margin: 15px;
  min-width: 250px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer-left p {
  font-size: 14px;
  margin: 8px 0;
}

.footer-left i {
  margin-right: 8px;
  color: #00aced;
}

/* Navigation & Solutions */
.footer-middle h3 {
  margin-bottom: 10px;
  color: #00aced;
}

.footer-middle ul {
  list-style: none;
  padding: 0;
}

.footer-middle ul li {
  margin: 6px 0;
}

.footer-middle ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-middle ul li a:hover {
  color: #00aced;
}

/* Newsletter */
.footer-right h3 {
  color: #00aced;
}

.newsletter {
  display: flex;
  margin: 15px 0;
}

.newsletter input {
  padding: 10px;
  border: none;
  outline: none;
  flex: 1;
}

.newsletter button {
  background: linear-gradient(45deg, #00aced, #0078ff);
  border: none;
  padding: 10px 15px;
  color: #fff;
  cursor: pointer;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin: 8px;
  font-size: 20px;
  color: #fff;
  border: 1px solid #555;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: all 0.3s;
}

.social-icons a:hover {
  color: #00aced;
  border-color: #00aced;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}

.footer-bottom span {
  color: #00aced;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

.contact-section {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.contact-section p {
  color: #666;
  margin-bottom: 30px;
}

.contact-section .form-group {
  margin-bottom: 15px;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  margin: 0 auto;
  display: block;
  font-size: 16px;
}

.contact-section button {
  background: #0056b3;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-section button:hover {
  background: #003d80;
}

.scroll-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.scroll-buttons button {
  background-color: #0056b3;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
}

.scroll-buttons button:hover {
  background-color: #003d80;
  transform: scale(1.1);
}

.scroll-buttons button.hidden {
  display: none;
}
