@import url('https://fonts.googleapis.com/css2?family=Girassol&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Protest+Revolution&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}
html,body{
    overflow-x: hidden;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
}
header {
    font-family: 'Girassol', serif;
    font-size: 20px;
    background-color: #ffffff;
    color: #000;
    padding: 7px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 1000;
    /*background-color: #a3d5f5; */


}
.header-container{
    display: flex;
    align-items: center;
}
.logo img{
    height: 70px;
    margin-right: 10px;
    
}
.brand {
    font-size: 2.5em;
    
}
.brand a{
    text-decoration: none;
    color: black;

}

nav {
    text-align: right;
    font-size: 1.3em;
}
.gap-3{
    gap: 12px;
}
nav a {
    font-family: 'Lucida Sans';
    font-size: 20px;
    margin: 0 10px;
    text-decoration: none; /* Remove underline */
    color: #333;
    transition: color 0.3s, background-color 0.3s; /* Add transition effect for color change */
}

nav a:hover {
    color: #308140; /* Change background color on hover */
    text-decoration: none;
}



#movingBox {
    position: relative;
    background-color: #308140; 
    overflow: hidden;
    padding: 10px; 
    
}
#movingText {
    font-family: 'Lucida Sans';
    font-weight: bold;
    font-size: 20px;
    color: #fff;
    white-space: nowrap;
    animation: moveText 30s linear infinite;
}
@keyframes moveText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
#carouselExampleIndicators {
    overflow: hidden;
}

.carousel-inner img {
    width: 1400px; 
    height: 480px;
    margin-top: 10px auto; 
}

#backgroundSection {
    background: url('images/cool-background.png'); 
}

.custom-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 8px 8px rgba(4, 152, 115, 0.2);
    transition: all 0.3s ease-in-out;
    border: 2px solid #17a2b8;
  }
  
  .custom-card:hover {
    box-shadow: 8px 8px 16px rgba(4, 152, 115, 0.2);
  }
  
  /* Image Styling with Rounded Borders */
  .rounded-img {
    border-radius: 50%; /* Makes the image circular */
    border: 4px solid #17a2b8; /* Add border color */
    padding: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds slight shadow */
    transition: transform 0.3s ease;
  }
  
  .rounded-img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
  }
  
  /* Icon Styling */
  .icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
  
  /* Paragraph and Text Styling */
  p {
    font-size: 16px;
    margin-bottom: 15px;
  }

.record-box {
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
}

.record-box.doctor-box {
    background: linear-gradient(135deg, #36D1DC, #5B86E5); /* Cyan to Blue */
}
.record-box.assigned-box {
    background: linear-gradient(135deg, #8E2DE2, #F56CC1); /* Purple to Pink */
}
.record-box.citizen-box {
    background: linear-gradient(135deg, #11998E, #38ef7d); /* Green to Lime */
}

.record-box:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.record-number {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
}

.record-text {
    font-size: 22px;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: 2px; /* Increase letter spacing for a sleek look */
    text-transform: uppercase; /* Keep the text in uppercase */
    color: #fefefe;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.record-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}
.last-updated {
    font-size: 12px; /* Smaller font size */
    color: rgba(0, 0, 0, 0.6); /* Subtle color */
    text-align: right; /* Align text to the right */
    padding-right: 20px;
    
}
.fade-in {
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Headline Styling */
.about-heading {
    font-family: 'Lucida Sans', sans-serif;
    font-size: 50px;
    font-weight: bold;
    color: #007bff;
    background: linear-gradient(90deg, #007bff 0%, #6f42c1 50%, #e83e8c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent; /* Text color comes from the gradient */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    margin-bottom: 30px;
}

/* Adding extra styles to emphasize the first word */
.about-heading span {
    color: #e83e8c;
    background: none;
    text-shadow: none;
}

.about-us-container {
    background-color: #e9f7fa;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Heading Styling */
.about-us-heading {
    letter-spacing: 1px;
    color: #308140;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

/* Image Section Styling */
.image-wrapper {
    border: 5px solid #007bff;
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
}

.image-wrapper img {
    width: 220px;
    height: 220px;
}

/* Info Text Styling */
.about-us-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
}





.contact-form {
    background-color: #ccc;
    border: 2px solid #308140; /* Border color */
    border-radius: 10px;
    padding: 20px;
}

.form-title {
    color: #007bff; /* Heading color */
}

.form-subtitle {
    color: #333; /* Subtitle color */
}
.about span{
    color: #308140;
}






.overlay {
    margin-top: 30px;
    /*display: none;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's above other content */
    overflow-y: auto;
}

.popup {
    max-height: 75vh;
    overflow-y: auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 500px;

}

.popup-header {
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2em;
    color: #555;
}
.popup form {
    margin-top: 20px;
}

.popup label {
    display: block;
    margin-bottom: 5px;
}

.popup select,
.popup input,
.popup button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.popup button {
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
}
.popup .close-info {
    color: red;
    margin-top: 5px;
}
#registerForm{
    font-weight: bold;
}

.scrollable-select {
    max-height: 200px;
    overflow-y: auto; 
}

.center-text {
    text-align: center;
}
.login{
    background-image: linear-gradient(to right, #9fccfa 10%, #0974f1  100%);
    transition: 0.5s;
    border-radius: 40px;    
    padding: 7px 10px;


}
.login:hover{
    background-image: linear-gradient(to right, #95f9c3 10%, #0b3866  100%);

}
.reg:hover{
    background-image: linear-gradient(to right, #6ff7e8 10%, #1f7ea1  100%);

}
.reg{
    background-image: linear-gradient(to right, #f9c58d 0%, #f492f0 100%);
    border-radius: 40px;
    transition: 0.5s;
    padding: 7px 10px;

}

::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-track{
    background-color: white;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb{
    background-color: skyblue;
    border-radius: 10px;
}
.footer {
    background-color: #F1F1F1;
    color: black;
    padding-top: 20px; /* #F1F1F1 3C4852 Add padding-top to maintain space above the footer */
}
.footer a {
    color: black;
}

.footer a:hover {
    color: #308140; /* Adjust hover color as needed */
}

.footer-logo {
    width: 100px; /* Adjust width as needed */
    height: auto;
}

.list-unstyled li {
    margin-bottom: 10px;
    
}

.social-icons li {
    margin-right: 10px;
}
.list-unstyled a{
    text-decoration: none;
}



.footer h4.styled-underline {
    position: relative;
    display: inline-block;
    color: black;
    text-decoration: none; /* Remove default underline */
    padding-bottom: 5px; /* Add space below the text */
}

.footer h4.styled-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px; /* Thickness of the underline */
    background-color: black; /* Color of the underline */
    transition: width 0.3s ease; /* Add smooth transition effect */
}

.footer h4.styled-underline:hover::after {
    width: 70%; /* Adjust the width of the underline on hover */
    background-color: #308140;
}

.brand span{
    color: #308140;
}
.footer-copyright{
    text-align: center;
}
.footer-copyright a{
    color: #308140;
    text-decoration: none;
}
.footer-copyright a:hover{
    color: red;
 
}

.menu-toggle {
    font-size: 1.5em;
    cursor: pointer;
    display: none;
}

.gallery-wrapper {
    max-width: 1150px;
    margin: 50px auto;
    position: relative;
  }
  .gallery-heading {
    position: relative;
    text-align: center;
    margin-bottom: -30px; /* Adjust to pull it closer to the gallery container */
    z-index: 1;
  }

  .gallery-heading h2 {
    font-family: 'Poppins';
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }
  .gallery-container {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad0c4, #fcb69f); /* Colorful gradient background */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: #fff; /* White text color */
    position: relative;
    z-index: 0;
  }



    .description {
      font-size: 20px;
      color: #f9f9f9;
      margin-bottom: 15px;
      min-height: 50px;
      font-weight: 300;
    }

    .main-image {
      width: 100%;
      height: 450px;
      object-fit: cover;
      border-radius: 10px;
      border: 3px solid #fff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      cursor: pointer;
    }

    .thumbnails {
      display: flex;
      justify-content: center;
      margin-top: 15px;
      flex-wrap: wrap;
    }

    .thumbnail-img {
      width: 100px;
      height: 60px;
      margin: 5px;
      cursor: pointer;
      object-fit: cover;
      border-radius: 5px;
      opacity: 0.7;
      transition: all 0.3s;
      border: 2px solid transparent;
    }

    .thumbnail-img.active {
      opacity: 1;
      border: 2px solid #fff;
    }

    .thumbnail-img:hover {
      opacity: 1;
      transform: scale(1.05);
    }
    /* Styling the Mission and Vision Cards */
.mission-card, .vision-card {
    border-radius: 30px; /* Smooth rounded corners */
    background: #ffffff; /* Base background */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease-in-out;
    padding: 40px 20px; /* Ensuring enough space for content */
    margin-bottom: 40px;
  }
  
  /* Hover Effect */
  .mission-card:hover, .vision-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  }
  
  /* Shape Divider Overlay */
  .mission-card::before, .vision-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    /*background: linear-gradient(135deg, #17a2b8, #42a5f5);*/
    background-color: #007bff;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    z-index: 1;
    opacity: 0.9; /* Slight transparency */
  }
  
  /* Ensure Content is Above Overlay */
  .mission-card h2, .vision-card h2,
  .mission-card p, .vision-card p {
    position: relative;
    z-index: 2;
  }
  
  /* Header Styling */
  .mission-card h2, .vision-card h2 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 55px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
  }
  
  /* Paragraph Styling */
  .mission-card p, .vision-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
  }
  
  /* Adjust Padding to Prevent Overlap */
  .mission-card, .vision-card {
    padding-top: 140px; /* More space to prevent overlap with overlay */
  }

@media (max-width: 768px) {
     .gallery-heading h2{
        font-size: 20px;
    }
  
     .main-image {
        max-height: 300px;
      }

      .thumbnail-img {
        width: 80px;
        height: 50px;
      }
      .gallery-container{
        margin: 15px;
      }
  
    .flex-md-column{
        flex-direction: column;
    }
     .custom-box {
        padding: 15px;
      }

    .brand{
        font-size: 1.9rem;
    }
    .carousel-inner img{
        width: auto; 
        height: 200px;
        margin-top: 10px auto; 
    }
    .founder-info.text-center {
        margin: 0; /* Center the founder info horizontally */
        max-width: 600px; /* Adjust the maximum width as needed */
    }
    .contact-info {
        margin: 0 auto; /* Center the contact info horizontally */
        max-width: 315px; /* Adjust the maximum width as needed */
        
    }
    .contact-info h2,.contact-info ul{
        font-size: 1.3rem;
        color: black;
    }
    .founder-info .image-container {
        margin: 0 auto; /* Center the image container horizontally */
    }
    .navbar-nav {
        flex-direction: column ;
        text-align: center;
        margin-top: 20px; /* Adjust the top margin */
    }
    .navbar-nav .nav-item {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    .footer-copyright {
        text-align: center;
        display: block !important;
        margin-top: 20px; /* Adjust the top margin */
    }
    .contact-form {
        min-width: 330px;
      margin: 0 auto;
    }
    .g-recaptcha{
        width: 100px;
    }
    .popup{
        width: 90%;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 86px;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 999;
    }

    nav a {
        display: block;
        padding: 10px;
        text-align: center;
        
    }
    nav a:hover{
        background-color: #308140;
    }
    

    .menu-toggle {
        display: block;
    }
}
@media (min-width: 889px) and (max-width: 1001px) {
    .brand a{
        font-size: 0.8em;
    }
    nav a{
        font-size: 19px;
        margin: 10px;
    }

}
@media (min-width: 1054px) and (max-width: 1110px) {
    .brand a{
        font-size: 0.9em;
    }
    nav a{
        font-size: 22px;
        margin: 10px;
    }

}
@media (min-width: 1110px) and (max-width: 1160px) {
    .brand a{
        font-size: 1em;
    }
    nav a{
        font-size: 22px;
        margin: 15px;
    }

}


