/* General Styles */
.circle-logo {
    width: 100px;
    /* Set desired size */
    height: 100px;
    /* Keep aspect ratio */
    border-radius: 50%;
    /* Makes it circular */
    overflow: hidden;
    /* Ensures edges are clipped */
}

.logo-with-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    font-family: 'Manrope', sans-serif;
    white-space: nowrap;
}
body.dark-mode .logo-text {
    color: #ffffff; /* Light mode override */
}
@media (min-width: 1201px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1300px;
        margin: 0 auto; /* Center nav content within a max width */
        padding: 0 30px;
    }

}


body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: #0d1117;
    color: #c9d1d9;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

a {
    text-decoration: none;
    color: #c9d1d9;
    transition: color 0.3s ease;
}

/* Header */
header {
    background: #f7f8f9;
    padding: 10px 20px;
    border-bottom: 1px solid #000000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Ensures logo on the left and links on the right */
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
     /*40px */
    background: linear-gradient(160deg, #1b066e, #000000);
    backdrop-filter: blur(10px);
    /* Smooth glass effect */
}

#logo {
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
    position: absolute;
    left: 20px;
    top: 25px;
}

/* Navbar Links */
.links {
    display: flex;
    align-items: center;
}

.links a {
    margin: 0 15px;
    font-weight: 500;
    color: #c9d1d9;
}

.links a:hover {
    color: #58a6ff;
    text-decoration: underline;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: absolute;
    /* Position the hamburger button */
    top: 20px;
    /* Adjust vertical positioning */
    right: 20px;
    /* Adjust horizontal positioning */
    z-index: 1001;
    /* Ensure it's above other elements */
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 4px;
    margin: 6px auto;
    background-color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* When the menu is open, change the hamburger button to a cross */
.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}






/* Robotics Club Text Pop */
.pop-robotics {
    position: relative;
    height: 250px;
    /* 100 vh*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #002486, #0066ff);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind the content */
    background: linear-gradient(135deg, #25043f, #030113);
}

#hover-text {
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    z-index: 1;
    /*text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    cursor: pointer; */
    transition: 0.3s ;
    text-shadow: 1px 1px 0 grey, 1px 2px 0 grey, 1px 3px 0 grey, 1px 4px 0 grey,
    1px 5px 0 grey, 1px 6px 0 grey, 1px 7px 0 grey, 1px 8px 0 grey,
    5px 13px 15px black
}

#hover-text:hover {
    transition: 0.3s;
    transform: scale(0.9);

    text-shadow: 1px -1px 0 grey, 1px -2px 0 grey, 1px -3px 0 grey,
    1px -4px 0 grey, 1px -5px 0 grey, 1px -6px 0 grey, 1px -7px 0 grey,
    1px -8px 0 grey, 5px -13px 15px black, 5px -13px 25px #808080
}


.body-section{
    
    padding: 20px;
    align-items: center;
    justify-items: center;
    font-size: 20px;
    color: #002486;
}
.blog-title, .blog-subtitle {
    text-align: center;
     /* Optional: adjust as needed */
     
}

.blog-title h1 {
    font-size: 1.2rem;

}

.blog-subtitle p {
    font-size: 1.2rem;
    margin-top: -10px; /* Optional: tighten spacing */
    
}

/* images slider scroll css  */
.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    
    
}
.container,.blog-title h1{
    color: #ffffff;
}

body.dark-mode .body-section {
    background-color: rgba(0, 0, 0, 0.8); /* Dark mode color */
    color: #ffffff;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: auto;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    height: 450px;
    flex-shrink: 0;
    object-fit: cover; 
    
}

.scrollimage button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
    font-size: 18px;
}

.scrollimage button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.text-container {
    flex: 1;
    max-width: 500px;
    margin: 20px;
    text-align: center;
}

.text-container h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
}
.text-container h5{
    font-size: 1.2rem;
    color: white;
}
.text-container p {
    font-size: 1rem;
    color: #efefef;
    margin-bottom: 20px;
    line-height: 1.5;
    justify-items: left;
}

.text-container .btn {
    display: inline-flex;
    align-items: center;
    background-color: #0970de;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 25px;
    font-weight: 600; 
    gap: 8px; 

    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    line-height: 1; 
}

.text-container .btn:hover {
    background-color: #128C7E;
    transform: translateY(-1px); 
}
.text-container .btn .whatsapp-icon {
    width: 20px;                     /* Size for icon */
    height: 20px;
    vertical-align: middle;          /* Align with text */
}







.services-section {
    padding: 4rem 1rem;
    background: linear-gradient(to bottom right, white, #eff6ff, white);
    color: #000;
    border-radius: 30px;
  }
  
  .services-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 4px solid #3b82f6;
    display: inline-block;
    padding-bottom: 0.5rem;
  }
  
  .services-subtitle {
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  @media (min-width: 768px) {
    .services-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .service-card {
    background: white;
    color: #1f2937;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
  }
  
  .service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
  
  .icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .card-title {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
  }
  
  .card-desc {
    font-size: 1.2rem;
    color: #494b4f;
    margin-bottom: 1rem;
  }
  
  .card-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    color: #181c21;
    font-size: 1.1rem;
  }
  
  /* Animation Keyframes */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInDown {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Animation Utilities */
  .animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
  }
  
  .animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out both;
  }
  
  .delay-100 {
    animation-delay: 0.1s;
  }
  
  .delay-200 {
    animation-delay: 0.2s;
  }
  









@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
  }
  
  .animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out both;
  }
  




  .services-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 4px solid #3b82f6;
    display: inline-block;
    padding-bottom: 0.5rem;
  }

.blog-section {
    padding: 20px;
    text-align: center;
    overflow-x: hidden;

  }
  .blog-section h1 {
    font-size: 1.8rem;
    color: #000000;
    font-weight: bold;
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 4px solid #050dff;
    display: inline-block;
    padding-bottom: 0.5rem
    
  }
  /* Dark mode styles */
.dark-mode .blog-section h1 {
    color: #ffffff;
    border-bottom-color: #5839f3;
  }
  
  .blog-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
  }
  
  .blog-card {
    flex: 0 0 calc((100% - 60px) / 4); /* Show 4 at once */
    background: #8b8bdb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    scroll-snap-align: start;
  }
  
  .blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
  }
  
  .blog-content {
    padding: 15px;
  }
  
  .blog-date {
    font-size: 14px;
    color: #1e1d1d;
  }
  
  .blog-title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
    color: #ffffff;
  }
  
  .read-more {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 18px;
  }
  .read-more:hover {
    background-color: #0056b3;
  }
  
  /* Responsive Cards */
  @media (max-width: 1024px) {
    .blog-card {
      flex: 0 0 calc((100% - 40px) / 3);
    }
  }
  @media (max-width: 768px) {
    .blog-card {
        
        flex: 0 0 calc((100% - 20px) / 2); /* 2 cards with 1 gap */
        max-width: calc((100% - 20px) / 2);
  }
}
  @media (max-width: 480px) {
    .blog-card {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  
  /* Pop-up Styles */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }
  .popup-content {
    background: #556f8f;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .popup-scroll {
    overflow-y: auto;
    max-height: 65vh;
  }
  .popup-scroll img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  .popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    background: #000000;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    text-align: center;
    justify-items: center;
    cursor: pointer;
    transition: background 0.3s;
  }
  .popup-close:hover {
    background: #327c97;
  }














/*-----------------------------------*\
    #PROJECT
  \*-----------------------------------*/





  .join-us-button {
    /* Button background color */
    
    background-color: #bbbbc2;
    /* Button text color */
    font-weight: bold;
    border: none;
    border-radius: 16px;
    padding: 8px 10px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}
.join-us-button a{
    color: white;
}

.join-us-button:hover {
    background-color: #0c0d11;
    
    /* Hover effect */
    
}

.join-us-button:active {
    background-color: #2a3379;
    color: black;
}

.join-us-content p {
    margin: 0;
    font-size: 1rem;
    color: #c9d1d9;
}

/* Footer Styles */
footer {
    background-color: #1e1e2f;
    color: #e4e4e4;
    font-family: Arial, sans-serif;
    padding: 10px 20px 10px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #00b4d8;
    display: inline-block;
}

.footer-column p,
.footer-column a {
    font-size: 14px;
    margin: 5px 0;
    color: #b0b0b0;
    text-decoration: none;
}

.footer-column a:hover {
    color: #00b4d8;
    text-decoration: underline;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon.facebook {
    background-image: url('icons/facebook.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.social-icon.instagram {
    background-image: url('icons/instagram.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.social-icon.youtube {
    background-image: url('icons/youtube.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.social-icon.linkedin {
    background-image: url('icons/linkedin.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.social-icon.facebook:hover {
    background-color: #116bff;
}

.social-icon.instagram:hover {
    background-color: rgb(223, 61, 61);
}

.social-icon.youtube:hover {
    background-image: url("icons/youtube-color.svg");
}

.social-icon.linkedin:hover {
    background-color: #0b79b5;
}


/* Chatbot Button */
.chatbot-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #007bff;
    color: white;
    padding: 7px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.chatbot-button span {
    font-weight: bold;
}

/* Chatbot Window */
.chatbot-window {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 999;
}

.chatbot-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.chatbot-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.chatbot-content p {
    margin-bottom: 10px;
}

#user-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.send-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.send-btn:hover {
    background-color: #0056b3;
}

.close-chatbot {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Chatbot button hover effect */
.chatbot-button:hover {
    background-color: #2a3379;
    /* Darker green when hovered */
}



























.footer-bottom {
    text-align: center;
    margin-top: 10px;
    border-top: 1px solid #c9d1d9;
    padding-top: 10px;
    font-size: 12px;
    color: #888;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: underline;

}

#theme-toggle {
    background-color: #150a4b;
    padding: 7px;
    color: rgba(255, 255, 255, 0.77);
    border-radius: 50px;
}

/* Light Mode */
body.light-mode {
    background: linear-gradient(160deg, white, rgb(69, 59, 205));
    color: #0d1117;
}

body.light-mode header {
    background: linear-gradient(160deg, #ffffff, #2b29a4);
    border-bottom: 2px solid #ddd;
}

body.light-mode .links a {
    color: #0d1117;
}

header.light-mode .theme-toggle {
    background: #e0e0e0;
    color: #333;
}

header.dark-mode .theme-toggle {
    background: #161b22;
    color: #c9d1d9;
}

body.light-mode #particles-js {
    background: linear-gradient(135deg, #25043f, #030113);
}

body.light-mode .future-projects-card ol {
    color: #000000;
}

body.light-mode .title h2 {
    color: #030113;
}

body.light-mode .title h2 {
    color: #000000;
}

body.light-mode .information-card p {
    color: #000000;
}

body.light-mode,
.footer-bottom p {
    color: #f9f8f6;
}

.theme-toggle {
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Stack the content vertically on smaller screens */
    header {
        flex-direction: column;
        /* Stack the logo and links */
        text-align: center;
        height: auto;
    }

    /* Adjust the logo's position */
    #logo {
        margin-bottom: 15px;
        /* Add some space between the logo and links */
        position: static;
    }

    /* Navbar links adjustment */
    .links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        display: none;
        /* Hide links by default */
    }

    .links a {
        margin: 10px 0;
        /* Add vertical spacing between links */
        display: flex;
    }

    /* Ensure navbar items are centered */
    .links a {
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .slider-container {
        width: 90%;
        /* Make it wider on smaller screens */
    }

    button {
        padding: 8px;
        /* Smaller buttons for smaller screens */
    }

    .container {
        flex-direction: column;
    }

    .slider-container,
    .text-container {
        width: 100%;
        max-width: none;
    }
    

    .contact-section {
        padding: 30px 0;
        display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    }
    .row {
        
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;

        
    }

    .contact-form {
        padding: 20px;
        max-width: 700px; 
        width: 90%;
        text-align: center;
        margin: 20px auto;
    }

    .map-container {
        width: 100%;
    }

    .col-lg-6 h2 {
        font-size: 20px;
        text-align: center;
        margin-bottom: 20px;
    }
    
}

@media (max-width: 480px) {

    /* Further adjustments for very small screens */
    header {
        padding: 15px;
        height: auto;
    }

    #logo {
        height: 50px;
        /* Slightly smaller logo */
    }

    .links a {
        font-size: 14px;
        /* Smaller font size for smaller screens */
    }

    #particles-js {
        height: 50vh;
    }

    .pop-robotics {
        text-align: center;
    }

    #hover-text {
        font-size: 17px;
    }

    .title h2 {
        font-size: 23px;
    }

    .hamburger {
        top: 15px;
        right: 15px;
    }

    .info-box {
        width: 100%;
    }
    
    .contact-section {
        padding: 30px 0;
        display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    }
    .row {
        
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;

        
    }

    .contact-form {
        padding: 20px;
        max-width: 800px; 
        width: 100%;
        text-align: center;
        margin: 20px auto;
    }

    .map-container {
        width: 100%;
    }

    .col-lg-6 h2 {
        font-size: 20px;
        text-align: center;
        margin-bottom: 20px;
    }
    
}