/*------------------------------------------------------------------------*/
/*--------------------------Header-------------------------------------*/
/*------------------------------------------------------------------------*/
header {
  background: rgba(10, 36, 99, 0.5); /* Light gray background */
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

header.shrink {
  padding: 10px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: auto;
  transition: all 0.3s ease;
}

header .logo .logo-large {
  height: 80px;
}

header .logo .logo-small {
  height: 40px;
  display: none;
}

header.shrink .logo .logo-large {
  display: none;
}

header.shrink .logo .logo-small {
  display: block;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  color: #ffffff; /* Dark gray text for better contrast */
  text-decoration: none;
  font-size:20x;
  font-weight: 700;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #007BFF; /* Accent color on hover */
}

/*------------------------------------------------------------------------*/
/*--------------------------main body-------------------------------------*/
/*------------------------------------------------------------------------*/

/* Background Slideshow */
.background-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Ensure it stays behind all content */
  overflow: hidden;
}

.background-slideshow .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;
}

.background-slideshow .slide.active {
  opacity: 0.5;
}

/* Hero Section */

.hero {
position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3); /* Fallback background color */
}

.hero-image {
  display: inline-block; /* Ensures the image is treated as a block-level element */
}

.hero-img {
  width: 100%; /* Makes the image responsive */
  height: auto;
  filter: brightness(0.8); /* Decrease brightness (100% is normal brightness, lower values make it darker, higher values make it brighter) */
  transition: filter 0.3s ease; /* Smooth transition for brightness change */
}

/* Example of changing brightness on hover */
.hero-img:hover {
  filter: brightness(1.2); /* Increase brightness on hover */
}

.hero-content {
  display: block;
  margin-top: 20px; /* Adjusts space between the image and content */
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #0A2463;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0;
  color: #0A2463;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}



/* Hero Buttons */
.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  padding: 15px 30px;
  margin: 0 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 1s forwards;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #0A2463;
  color: #FFFFFF;
}

.btn-secondary {
  background: #007BFF; 
  color: #FFFFFF;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*--------------------------------------------------------------------------*/
/*---------------------About Section--------------------------------------*/
/*--------------------------------------------------------------------------*/

/* About Section */
.about {
  padding: 60px 0;
  background: rgba(255,255,255,0.5);
}

.about h1 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 40px;
  color: #0A2463;
}


.about h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
  color: #0A2463;
}

.about h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 40px;
  color: #ffffff;
}

.about h4{
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #dfdfdf;
}

.about h5{
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #0A2463;
}

.about p{
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
}

.about-para{
     text-align: center;
     color: #0A2463;
}

.mission-para{
     text-align: center;
     color: #CFCFff;
}

.services-para{
      text-align: center;
     color: #0A2463;
      font-size: 18px;
      font-weight: bold;

}

.about-grid {
    
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
        margin-bottom: 50px;    
      margin-top: 50px; 
  /*align-items: stretch; /* Make all cards the same height */
}

.about-card {
  background: rgba(5,50,109,0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
 
}



.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}



.about-card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.about-card ul li {
  font-size: 16px;
  color: #CFCFff;
  margin-bottom: 10px;
}

.about-card ul li:last-child {
  margin-bottom: 0;
}


/* Full-Width Card */
.full-width-card {
  background: rgba(255,255,255,0.6);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 40px; /* Space above the card */
  width: 96%; /* Span the entire width */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.full-width-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}





/*--------------------------------------------------------------------------*/
/*------------------------Services Section----------------------------------*/
/*--------------------------------------------------------------------------*/

/* Services Section */
.services {
  padding: 60px 0;
  background: rgba(125,125,125,0.7);
}
.services h1 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 40px;
  color: #0A2463;
}

.services h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
  color: #0A2463;
}

.services h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 40px;
  color: #ffffff;
}

.services h4{
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #dfdfdf;
}

.services h5{
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #0A2463;
}



.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
   background: rgba(5,50,109,0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card i {
  font-size: 48px;
  color: #FF6B35;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333333;
}

.service-card p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

.service-card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.service-card ul li {
  font-size: 16px;
  color: #CFCFff;
  margin-bottom: 10px;
}

.service-card ul li:last-child {
  margin-bottom: 0;
}


/*--------------------------------------------------------------------------*/
/*---------------------Project Section--------------------------------------*/
/*--------------------------------------------------------------------------*/

.projects {
  padding: 60px 0;
  background: rgba(200,200,200,0.8);
}

.projects h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #0A2463;
}

.projects h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #333333;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 20px;
  background: #FFFFFF;
}

.project-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333333;
}

.project-info p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

.project-info .btn-primary {
  background: #FF6B35;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.project-info .btn-primary:hover {
  background: #E65A2B;
}

        .table-card {
            background: rgba(255, 255, 255, 0.7);
            padding: 20px;
            margin-bottom: 20px;
            border-radius: 8px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        }
        h2 {
            text-align: center;
            color: #333;
        }
        h3 {
            color: #007BFF;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 10px;
            text-align: left;
        }
        th {
            background-color: rgba(5,50,109,0.7);
            color: white;
        }
        tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        /* Fixed Column Widths */
        th:nth-child(1), td:nth-child(1) { width: 14%; } /* Client */
        th:nth-child(2), td:nth-child(2) { width: 38%; } /* Project Description */
        th:nth-child(3), td:nth-child(3) { width: 15%; } /* Role */
        th:nth-child(4), td:nth-child(4) { width: 8%; } /* Value */
        th:nth-child(5), td:nth-child(5) { width: 10%; } /* Contact Person */
        th:nth-child(6), td:nth-child(6) { width: 10%; } /* Contact Number */
        th:nth-child(7), td:nth-child(7) { width: 10%; } /* Completion Date */

.table-container {
    overflow-x: auto;
    width: 100%;
}


/*--------------------------------------------------------------------------*/
/*------------------------Registration Section------------------------------*/
/*--------------------------------------------------------------------------*/

/* Services Section */
.registration {
  padding: 60px 0;
  content-align:
  background: rgba(125,125,125,0.7);
}
.registration h1 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 40px;
  color: #0A2463;
}

.registration h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
  color: #0A2463;
}

.registration h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 40px;
  color: #ffffff;
}

.registration h4{
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #dfdfdf;
}

.registration h5{
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #0A2463;
}



        .registration-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
          gap: 20px;
        }
        
        .registration-card {
            background: rgba(5,50,109,0.7);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center; /* This centers the content horizontally */
            justify-content: center; 
            text-align: center; /* Centers the text inside the list */
}

.registration-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}



.registration-card i {
  font-size: 48px;
  color: #FF6B35;
  margin-bottom: 20px;
}

.registration-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.registration-card p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

.registration-card ul {
list-style-position: inside;
  padding-left: 0;
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  box-sizing: border-box;
}

.registration-card ul li {
  font-size: 16px;
  color: #CFCFff;
  margin-bottom: 10px;
}

.registration-card ul li:last-child {
  margin-bottom: 0;
}


/*------------------------------------------------------------------------*/
/*--------------------------Contact Section-------------------------------*/
/*------------------------------------------------------------------------*/


/* Contact Section */
.contact {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.8);
}

.contact h1 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 40px;
  color: #0A2463;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-info {
  background: rgba(5, 50, 109, 0.7);
  padding: 30px;
  border-radius: 10px;
  color: #CFCFff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-info a {
  color: #FF6B35;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.google-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 20px;
  }

  .google-map iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact h1 {
    font-size: 32px;
  }

  .contact-info h2 {
    font-size: 22px;
  }

  .contact-info p {
    font-size: 14px;
  }
}


/*------------------------------------------------------------------------*/
/*--------------------------Footer-------------------------------------*/
/*------------------------------------------------------------------------*/

footer {
  background: #F5F5F5; /* Light gray background */
  color: #333333; /* Dark gray text for better contrast */
  padding: 40px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer .footer-column {
  flex: 1;
  margin: 0 20px;
}

footer .footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

footer h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin: 10px 0;
}

footer ul li a {
  color: #333333; /* Dark gray text for better contrast */
  text-decoration: none;
}

footer .footer-social a {
  color: #333333; /* Dark gray icons for better contrast */
  margin: 0 10px;
  font-size: 20px;
}

footer .footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #CCCCCC; /* Light gray border */
}



/* Mobile-specific styles */
@media (max-width: 768px) {
    
        .hero, .about, .services, .projects, .registration {
        padding: 40px 20px;
    }
    /* Header adjustments */
    header {
        padding: 10px 0;
    }

    header .logo .logo-large {
        height: 40px;
    }

    header nav ul li a {
        font-size: 18px;
    }

    /* Hero section adjustments */
    .hero {
        height: auto;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* About section adjustments */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 40px;
    }

    /* Services section adjustments */
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    /* Projects section adjustments */
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card img {
        height: 150px;
    }

    /* Registration section adjustments */
    .registration-card {
        padding: 20px;
    }

    /* Footer adjustments */
    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .footer-column {
        margin: 20px 0;
    }

    /* Full-width card adjustments */
    .full-width-card {
        padding: 5px;
        width: 100%;
    }

    /* Table adjustments */
    .table-card {
        overflow-x: auto;
    }

    table {
        font-size: 14px;
    }

    th, td {
        padding: 8px;
    }
    
    
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 8px 16px;
        font-size: 12px;
    }

    .about h1, .services h1, .projects h1, .registration h1 {
        font-size: 32px;
    }

    .about h2, .services h2, .projects h2, .registration h2 {
        font-size: 20px;
    }

    .about-card, .service-card, .project-card, .registration-card {
        padding: 15px;
    }
}