body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
}

/* Header */
header {
  background: #003366;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  position: relative;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 10px 15px;
  transition: color 0.3s;
}

nav a:hover {
  color: #E91E63;
}

nav .dropdown {
  position: relative;
}

nav .dropdown > a::after {
  content: " ▼";
  font-size: 0.6em;
}

nav .dropdown:hover .dropdown-menu,
nav .dropdown-menu:hover {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  color: black;
  min-width: 220px;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 9999;
  transition: all 0.2s ease;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #f1f1f1;
}

/* Hero Section */
.hero {
  background: url('../images/hero-electric.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 40px;
  text-align: center;
}

.hero-heading {
  color: #003366;
  font-size: 36px;
  font-weight: 700;
}

.hero-text {
  color: #003366;
  font-size: 16px;
  font-weight: 700;
}

.hero-text1 {
  color: #003366; /* Thick Blue text */
  background-color: #fce4ec; /* Light Merinda Pink background */
  font-size: 16px;
  font-weight: 700;
  padding: 10px 15px;
  border-left: 4px solid #E91E63; /* Merinda border accent */
  border-radius: 4px;
  display: inline-block;
}

.carousel-section {
  width: 100%;
  overflow: hidden;
  margin: 40px 0;
}

.carousel-container {
  position: relative;
  max-width: 100%;
  height: 400px;
}

.carousel-slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 6px;
}

@keyframes fade {
  from { opacity: 0.5; }
  to { opacity: 1; }
}



.hero-subtext {
  color: #E91E63;
  font-size: 18px;
  margin: 20px 0;
  text-align: justify;
}

/* Primary Button */
.btn-primary {
  background: #003366;
  color: white;
  padding: 12px 24px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  border-radius: 6px;
}

.btn-primary:hover {
  background: #E91E63;
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 60px 40px;
  background: white;
  text-align: center;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.services p {
  text-align: justify;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-item {
  background: #e9ecef;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  background: #fce4ec;
}

.service-item img {
  max-width: 100px;
  margin-bottom: 15px;
}

.service-item h3 {
  margin: 10px 0;
}

/* Introduction Section */
.introduction {
  background: #ffffff;
  padding: 60px 40px;
  text-align: center;
}

.introduction .container {
  max-width: 900px;
  margin: auto;
}

.introduction h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 20px;
}

.introduction p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin: 15px 0;
  text-align: justify;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
}

footer p a {
  color: #E91E63;
  text-decoration: underline;
}

.projects {
  padding: 60px 40px;
  background: #ffffff;
  text-align: center;
}

.projects h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 20px;
}

.projects p {
  font-size: 18px;
  color: #333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.project-item {
  background: #f8f9fa;
  padding: 20px;
  border-left: 5px solid #E91E63;
  border-radius: 8px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}


.about-hero {
  background: #003366;
  color: white;
  padding: 80px 40px;
  text-align: center;
}

.about-hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.about-content {
  padding: 60px 40px;
  background: #ffffff;
}

.about-content h3 {
  font-size: 28px;
  color: #003366;
  margin-top: 30px;
}

.about-content p {
  font-size: 18px;
  color: #333;
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.team-member {
  background: #fce4ec;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.team-member h4 {
  margin-bottom: 5px;
  color: #003366;
}
