/* 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 and text side-by-side */
.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 30px;
    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;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* 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
}


#blog-title {
    text-align: center;
    font-size: 2rem; /* Adjust size as needed */
    color: #000;
    margin-bottom: 5px;
    padding-top: 20px;
}

.blog-subtitle {
    text-align: center;
    font-size: 1.1rem; /* Adjust size as needed */
    color: #555;
    margin-top: 0;
}

  .live-badge {
    background-color: red;
    color: rgb(0, 0, 0);
    font-size: 0.7em;
    padding: 4px 15px;
    border-radius: 55px;
    animation: pulse 0.5s infinite;
  }

  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }



  .featured-news-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}
.featured-text {
    font-size: 18px;
    font-weight: bold;
}

.container{
    margin-bottom: 10px;
}
#blog-subtitle {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    color: #000000;
}
  .apply-btn {
    margin-left: 20px;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    animation: pulse 0.8s infinite;
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }
.apply-btn:hover {
    background-color: #0056b3;
}




.career-section {
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    
}

.career-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-decoration: underline;
}

.career-text {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 24px;
}
.career-heading{
    color: #000000;
}

.career-btn {
    padding: 10px 24px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    animation: pulse 0.7s infinite;
}

.career-btn:hover {
    background-color: #218838;
}


  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }



  

/* event Section */


.event-section {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
  }

  .event-heading {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
  }

  .event-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
  }

  .event-card img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
  }

  .event-details {
    flex: 1;
  }

  .event-details h3 {
    margin: 0 0 10px;
    color: #222;
  }

  .event-details p {
    margin: 0;
    color: #555;
  }

  .event-date {
    font-weight: bold;
    color: #0066cc;
  }

  .table-heading {
    text-align: center;
    font-size: 1.5em;
    margin: 30px 0 20px;
    color: #000000;
    text-decoration: underline;
    
  }
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background-color: #e7e7e7; /* Main dark background */
    color: #000000; /* Light gray text */
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
  }

  th, td {
    border: 1px solid #333;
    padding: 12px 20px;
    text-align: left;
    
    
  }

  th {
  background-color: #313030; /* Slightly lighter header */
  color: #ffffff; /* Gold for headers */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  }

  tr:nth-child(even) {
    background-color: #dcdbdb;
  }
  tr:hover {
    background-color: #e6e4e4; /* Row hover effect */
  }
  .details-link {
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  }
  
  .details-link:hover {
    text-decoration: underline;
    color: #81d4fa;
  }
  


























.blog-section {
    width: 80%;
    max-width: 1200px; /* Prevents excessive width on large screens */
    margin: auto;
    text-align: center;
    padding: 20px;
}
.blog-section h1{
font-size: 1.8rem;
text-decoration: underline;
color: #000000;
margin-bottom: 30px;
}
.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


.blog-card {
    width: 45%;
    background: #525f8a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .blog-card {
        width: 100%;
    }
}
.blog-content {
    padding: 10px;
}
.blog-date {
    font-size: 14px;
    color: #1e1d1d;
}
.blog-title {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
}
.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}
.read-more:hover {
    background-color: #0056b3;
}

.blog-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
}

.blog-popup-content {
    background-color: #908e9b;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.blog-popup-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: #000000;
    background: #ffffff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
}

#blog-popup-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}
.blog-popup-close:hover {
    background-color: #eb0404;
}










/*-----------------------------------*\
    #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;
    }
    
}