
 /* ===== SPLASH SCREEN ===== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 240, 240, 0.9);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-content {
  text-align: center;
  animation: fadeInUp 1.5s ease;
}

.splash-logo {
  width: 400px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 123, 131, 0.4));
}

.splash-text {
  margin-top: 15px;
  font-size: 22px;
  font-weight: 600;
  color: #007b83;
  letter-spacing: 1px;
}

/* Hide splash when loaded */
#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Simple fade-up animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

 
 
 /* --- GLOBAL STYLES --- */
    * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
    body { background: #f9f9f9; color: #222; line-height: 1.6; }


/* Header Base */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  
}


/* Container: Logo Left + Nav Right */
.navbar-container {
 
  position: fixed;
  display: flex; 
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 60px;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(5px);
  background-color: hsla(0, 100%, 100%, 0.85)
  
}

/* Logo */
.logo img {
  height: 65px;
  width: auto;
  max-width: 100%;
  transition: scale 1s;
  
}
.logo :hover{
  scale: 1.1 ;
  
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #007b83;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #005f63; 
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #007b83;
}

/* RESPONSIVE - Mobile */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 30px;
    background: #fff;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .logo img {
    height: 55px;
  }
}
    /* --- HERO SECTION --- */
    .hero {
      background: 
      linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3)), 
      url('images/hero_1.jpg') center/cover;
      color: #fff;
      text-align: center;
      padding: 140px 20px;
      top: 120px;
      height: 1090px;
      width: auto;
      
       
    }
    .hero h1 { font-size: 2.8rem; margin-bottom: 15px; color: #ffffff; }
    .hero p { font-size: 1.2rem; margin-bottom: 30px;color: #f5f4fe; }
   
    .button {
    border-radius: 4px;
    background-color: #009999;
    border:#30386C;
    color: #FFFFFF;
    text-align: center;
    font-size: 20px;
    padding: 20px;
    width: 300px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
    position: relative;
    top: 40%;
         
          }
    .button:hover{
        background-color: #30386C;
    }
    .button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

html {
  scroll-behavior: smooth;
}
    

  .siemens-hero {
  color: #009999;
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 5rem;
}

    /* --- ABOUT SECTION --- */
    /* Certificate Section */
.certificate-section {
  background: linear-gradient(135deg, #f6f8fa, #eaeef1);
  padding: 60px 20px;
  border-radius: 12px;
  margin: 50px auto;
  max-width: 1200px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.certificate-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.certificate-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Header with line */

.certificate-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.heading-line {
  width: 5px;
  height: 100px;
  background-color: #009999; /* Siemens teal */
  border-radius: 2px;
}

.certificate-text {
  flex: 1;
  min-width: 300px;
  color: #333;
  
}

.certificate-text h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.4;
}

.siemens-text {
  color: #009999;
  font-weight: 00;
  letter-spacing: 1px;
}



.certificate-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: center;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .certificate-container {
    flex-direction: column;
    align-items: center;
  }

  .certificate-image img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .certificate-text h3 {
    text-align: left;
  }
  .certificate-text p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: center;
}
}

    /* --- SERVICES --- */
    .services {
      background: #f0f8f8;
      padding: 60px 50px;
      text-align: center;
    }
    .services h2 { color: #009999; margin-bottom: 40px; }
    .service-box {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
    }
    .service {
      background: #fff;
      width: 270px;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition: 0.3s;
    }
    .service:hover { transform: translateY(-5px); }
    .service h3 { margin-bottom: 10px; color: #009999; }





    
/* ===== RECENT PROJECTS SECTION ===== */
.projects {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.projects h2 {
  font-size: 32px;
  color: #007b83;
  margin-bottom: 40px;
  position: relative;
}

.projects h3 {
  font-size: 32px;
  color: #007b83;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
}

.projects p {
  font-size: 32px;
  color: #007b83;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
}






/* ===== PROJECT CARD ===== */
.project {
  background: #ffffff;
  border-radius: 15px;
  width: 400px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow:auto;
}

/* ===== IMAGE STYLE ===== */
.project img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ===== HOVER EFFECT ===== */
.project:hover {
  transform: translateY(105x) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 123, 131, 0.3);
}

.project:hover img {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* ===== TEXT STYLING ===== */
.project h3 {
  font-size: 18px;
  color: #007b83;
  margin: 15px 0 10px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.project:hover h3 {
  color: #005e61;
}

.project p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

/* ===== OPTIONAL GLOW BORDER EFFECT ===== */
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(120deg, rgba(0,123,131,0.3), rgba(0,123,131,0.1));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.project:hover::before {
  opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .project-grid {
    flex-direction: column;
    align-items: center;
  }

  .project {
    width: 90%;
  }
}

/* ===== PROJECT CARD POPUP ===== */

.project-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem; /* allow spacing on small screens */
}

.project-popup {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh; /* fits inside window height */
  overflow-y: auto;
  padding: 1rem;
  position: relative;
  animation: popupAnim 0.3s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-popup img {
  width: 100%;         /* scale to container width */
  max-height: 60vh;    /* never exceed 60% of viewport height */
  object-fit: contain; /* preserve aspect ratio */
  border-radius: 8px;
  margin-bottom: 1rem;
}

 .project-popup p {
  text-align: center;
  margin: 0.5rem 0;
  
}
.project-popup h3{
font-size: 18px;
  color: #007b83;
  margin: 15px 0 10px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.project-popup button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f44336;
  color: white;
  border: none;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
}



    /* --- FOOTER --- */
    footer {
      background: #009999;
      color: #fff;
      text-align: center;
      padding: 25px;
    }
    footer a { color: #fff; text-decoration: underline; }
    footer p { font-size: 0.9rem; }

    /* ====== CONTACT SECTION ====== */
.contact-section {
  background: #f8f9fa;
  padding: 80px 20px;
}

.section-heading {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #007b83;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #007b83;
  border-radius: 2px;
}

.section-subheading {
  text-align: center;
  color: #555;
  font-size: 16px;
  margin-bottom: 50px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Contact Info */
.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  color: #007b83;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.social-links {
  margin-top: 15px;
}

.social-links a img {
  width: 28px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-links a img:hover {
  transform: scale(1.1);
}

/* Map Container */
.map-container {
  flex: 1.5;
  min-width: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
  }

  .map-container iframe {
    height: 300px;
  }
}


    /* --- RESPONSIVE --- */
    @media(max-width: 768px) {
      .about { flex-direction: column; }
      .about img { width: 100%; margin-bottom: 20px; }
      
    }
