/* --- Base header styling --- 
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #58dbd9;
  color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: turquoise;
  padding: 10px 20px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

/* --- Menu toggle (always visible) --- */
.menu-toggle {
  display: block;
  font-size: 28px;
  cursor: pointer;
  color: white;
  z-index: 1100;
}
/* --- Menu (default desktop view) --- */
#menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu li a {
  color: blue;
  text-decoration: none;
  font-weight: bold;
}

#menu li a:hover {
  color: #ffd700;
}

/* --- Mobile view --- */
@media (max-width: 768px) {
  #menu {
    display: none; /* Hide menu by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #58dbd9;
    border-radius: 5px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }

  #menu.show {
    display: flex; /* Show when toggle is clicked */
  }

  #menu li {
    margin: 10px 0;
  }
}


/* Slider Images */
.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.hero-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;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark Overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Text Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
/*#about-us p {
      text-align: justify;
      line-height: 1.6;   /* improves readability */
      hyphens: auto;      /* avoids large gaps */
      margin-bottom: 15px;
    }
*/

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: Blue;
}
    /* Reset */
    * { margin: 0; padding: 0; box-sizing: border-box; }

    body { font-family: Arial, sans-serif; line-height: 1.6; color: #676a6e; scroll-behavior: smooth; }

    /* Navbar */
    

    /* Hero */
    .hero { height: 90vh; background: linear-gradient(to right, #0077ff, #00c6ff); display: flex; justify-content: center; align-items: center; text-align: center; color: white; padding: 0 20px; opacity: 0; transform: translateY(50px); transition: all 1s ease-in-out, background 1s ease-in-out; }
    .hero.visible { opacity: 1; transform: translateY(0); }

    .hero h1 { font-size: 3rem; margin-bottom: 20px; }
    .hero p { font-size: 1.2rem; margin-bottom: 30px; }
    .btn { display: inline-block; padding: 10px 20px; background: #d0e344; color: #222; border-radius: 5px; text-decoration: none; font-weight: bold; }
    .btn:hover { background: #ffcc00; }



    /* Sections */
    section { padding: 80px 20px; max-width: 1200px; margin: auto; opacity: 0; transform: translateY(50px); transition: all 1s ease-in-out, background 1s ease-in-out; }

    section.visible { opacity: 1; transform: translateY(0); }

    h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; }

    /* Services */
    #services.visible { background: #77aebd; }
    #services h2 { color: #0077ff; }
    .services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
    
.card {
  background-color: #1e90ff; /* Change to any color you like */
  color: #fff;               /* Ensure text is readable */
  border: 2px solid #ff0000; /* Optional: red border */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}


    .card:hover { transform: translateY(-5px); }

    /* Portfolio Carousel */
/* Portfolio container */
#portfolio {
  position: relative;
  height: 90vh;
  border-radius: 10px;
  overflow: hidden;
  background-color: #1e90ff;
  padding-top: 80px; /* Adjust based on nav bar height */
}

/* Portfolio header */
#portfolio h2 {
  color: #c819d1;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

/* Carousel slide */
.slide {
  position: absolute;
  top: 80px; /* Push slides below header and nav bar */
  left: 0;
  width: 100%;
  height: calc(100% - 80px); /* Adjust height to fit below header */
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

/* Active slide */
.slide.active {
  opacity: 1;
}

/* Tagline centered at top of slide */
.slide-caption {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  z-index: 3;
}
    /* #portfolio { position: relative; height: 90vh; border-radius: 10px; overflow: hidden; background-color: #1e90ff; }
    #portfolio h2 { color: #0099cc; }
    .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; }
    .slide.active { opacity: 1; }
    .slide-caption { position: absolute; bottom: 20px; left: 20px; background: rgba(0,0,0,0.6); color: white; padding: 10px 20px; border-radius: 5px; } */

    /* About */
/* Timeline Section Styles */
.timeline-section {
  background: #5e857f;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.timeline-section h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
  Color:white;
}

.timeline-section .intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: Blue;
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  background: #fff;
  border-left: 4px solid #0078D7;
  padding: 20px 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

.timeline-item h3 {
  margin-top: 0;
  font-size: 1.4em;
  color: #0078D7;
}

.timeline-item p,
.timeline-item ul {
  margin: 10px 0 0;
  color: #333;
}

.timeline-item ul {
  padding-left: 20px;
}

.timeline-item.vision {
  border-left-color: #28a745;
}

@media (max-width: 768px) {
  .timeline-section {
    padding: 40px 15px;
  }

  .timeline-item {
    padding: 15px 20px;
  }

  .timeline-section h2 {
    font-size: 2em;
  }
}
    /*#about.visible { background:#0ac2c2; }
    #about h2 { color:white; }
    #about p { text-align: center; color:blue;max-width: 800px; margin: auto; font-size: 1.1rem; } */

    /* Counters */
    .counters { display: flex; justify-content: space-around; margin-top: 50px; flex-wrap: wrap; }
    .counter { text-align: center; margin: 20px; }
    .counter h3 { font-size: 2.5rem; color: #ff8800; }
    .counter p { font-size: 1rem; color: #333; }

    /* Testimonials */
    #testimonials.visible { background: #506e61; }
    #testimonials h2 { color: white; }
    .testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
    .testimonial { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); font-style: italic; }
    .testimonial h4 { margin-top: 15px; color: #6a5acd; font-size: 1rem; text-align: right; }

    /* CTA */
    .cta { color: white; text-align: center; padding: 60px 20px; border-radius: 10px; margin: 40px auto; max-width: 1200px; transition: all 1s ease-in-out, background 1s ease-in-out; }
    .cta.visible { background: #384036; }
    .cta h2 { font-size: 2.2rem; margin-bottom: 20px; }
    .cta p { font-size: 1.2rem; margin-bottom: 30px; }
    .cta .btn { background: white; color: #ff416c; font-weight: bold; }
    .cta .btn:hover { background: #f0f0f0; }

    /* Contact */
    #contact.visible { background: #425f85; }
    #contact h2 { color:White; }
    .contact-info { display: flex;color:white; justify-content: space-around; flex-wrap: wrap; text-align: center; }
    .contact-info div { margin: 15px; }

    /* Footer */
.info-row {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Ensures equal height */
  flex-wrap: wrap;
  gap: 100px;
  padding: 20px;
  background-color: blue;
  font-family: 'Poppins', sans-serif;
  color: white;
}

.info-box {
  flex: 1 1 200px;
  max-width: 300px;
  min-height: 150px; /* Ensures equal height across boxes */
  background-color: #1e1e1e;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes footer to bottom */
}

.info-box h3 {
  font-size: 1em;
  margin-bottom: 8px;
}

.info-box p {
  font-size: 0.9em;
  margin: 5px 0;
}

iframe {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.rights {
  font-size: 0.8em;
  color: #ccc;
  margin-top: auto;
background:black;
 text-align: center;
}


/*    footer { background: #222; color: white; text-align: center; padding: 20px; }*/

    /* Responsive Navbar */
    nav ul { list-style: none; display: flex; }
    nav ul li { margin-left: 20px; }
    /*.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }*/
    @media (max-width: 768px) {
      nav ul { display: none; flex-direction: column; background: #222; position: absolute; top: 60px; right: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
      nav ul li { margin: 15px; }
      nav ul.active { display: flex; }
      /*.menu-toggle { display: block};*/
    }
*/


/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #676a6e;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* === HEADER & NAVBAR === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #58dbd9;
  color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: turquoise;
  padding: 10px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: blue;
}

/* --- Toggle Icon --- */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: blue;
 
}

/* --- Menu --- */
#menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

#menu li a {
  color: blue;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

#menu li a:hover {
  color: #ffd700;
}

/* --- Mobile View --- */
@media (max-width: 992px)
 {
  .menu-toggle {
    display: block; /* Visible on mobile */
  }
  #menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #58dbd9;
    border-radius: 8px;
    padding: 15px;
    width: 220px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1500;
  }

  #menu.show {
    display: flex;
  }

  #menu li {
    margin: 10px 0;
    text-align: center;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === HERO SECTION === */
.hero {
  height: 90vh;
  background: linear-gradient(to right, #0077ff, #00c6ff);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  transition: all 1s ease-in-out;
}
.hero.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #d0e344;
  color: #222;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover {
  background: #ffcc00;
}

/* Responsive Hero Text */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

/* === SECTION GENERAL === */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  transition: all 1s ease-in-out;
}
h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* === SERVICES === */
#services.visible { background: #77aebd; }
#services h2 { color: #0077ff; }
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background-color: #1e90ff;
  color: #fff;
  border: 2px solid #ff0000;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }

/* === PORTFOLIO === */
#portfolio {
  position: relative;
  min-height: 80vh;
  border-radius: 10px;
  overflow: hidden;
  background-color: #1e90ff;
  padding-top: 80px;
}
#portfolio h2 {
  color: #c819d1;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.slide.active { opacity: 1; }
.slide-caption {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
}

/* === TIMELINE / ABOUT === */
.timeline-section {
  background: #5e857f;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}
.timeline-section h2 {
  color: white;
  font-size: 2.2em;
  margin-bottom: 20px;
}
.timeline-section .intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: blue;
}
.timeline {
  max-width: 900px;
  margin: 0 auto;
}
.timeline-item {
  background: #fff;
  border-left: 4px solid #0078D7;
  padding: 20px 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.timeline-item:hover { transform: translateY(-5px); }
.timeline-item.vision { border-left-color: #28a745; }

/* === TESTIMONIALS === */
#testimonials.visible { background: #506e61; }
#testimonials h2 { color: white; }
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-style: italic;
}
.testimonial h4 {
  margin-top: 15px;
  color: #6a5acd;
  text-align: right;
}

/* === CTA === */
.cta {
  color: white;
  text-align: center;
  padding: 60px 20px;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1200px;
}
.cta.visible { background: #384036; }
.cta .btn {
  background: white;
  color: #ff416c;
  font-weight: bold;
}
.cta .btn:hover { background: #f0f0f0; }

/* === CONTACT === */
#contact.visible { background: #425f85; }
#contact h2 { color: white; }
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  color: white;
}
.contact-info div { margin: 15px; }

/* === FOOTER === */
.info-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px;
  background-color: blue;
  color: white;
}
.info-box {
  flex: 1 1 250px;
  max-width: 320px;
  min-height: 150px;
  background-color: #1e1e1e;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.info-box h3 { font-size: 1em; margin-bottom: 8px; }
.info-box p { font-size: 0.9em; }
iframe {
  width: 100%;
  height: 100px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.rights {
  background: black;
  text-align: center;
  color: #ccc;
  font-size: 0.8em;
  padding: 10px;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 576px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.9rem; }
  #services, #portfolio, .timeline-section, #testimonials, .cta, #contact {
    padding: 50px 10px;
  }
  .info-box {
    min-width: 90%;
  }
}
