/* Reset default styles */
body, ul,li a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
.list
{
    padding: 10px;
    list-style: decimal;
    flex: 1; /* Allow content to take up remaining space */
    text-align: justify;
    text-size-adjust: 14px;
    text-wrap:initial;
    justify-content: space-between;
 /* Space between heading and paragraph */   
}
/* About AICTE PVPSIT IDEA LAB */


/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white; /* White background */
    color: #333; /* Dark text color */
    padding: 10px 20px;
    margin-left: 150px;
    margin-right: 150px;
    font-size: 14px;
   border-bottom: 1px solid #e0e0e0; /* Add a subtle border */
}

.contact-info span {
    margin-right: 20px;
    color: #555; /* Grey text color */
}

.contact-info i {
    margin-right: 5px;
    color: #777; /* Grey icon color */
}

.social-media a {
    color: #777; /* Grey icon color */
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #333; /* Darker grey on hover */
}



/* Basic styling for the navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white; /* Navbar background is white */
    padding: 10px 20px;
    position: fixed; /* Make the navbar fixed */
    top: 40px; /* Position it at the top */
    left: 0; /* Align it to the left */
    margin-bottom: 40px;
    width: 100%; /* Make it span the full width */
    z-index: 1000; /* Ensure it stays above other content */
    box-shadow: 10px 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

/* Styling for the logos */
.logo {
    position: relative; /* Required for absolute positioning of the image */
}

.logo img {
    height: 150px; /* Adjust as needed */
    position: absolute; /* Make the image hang below the navbar */
    top: 100%; /* Position the image below the navbar */
    transform: translateY(-30%); /* Adjust to center the image vertically */
    animation: hang 1s ease-out forwards;
}

@keyframes hang {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(-30%);
    }
}

/* Left logo positioning */
.left-logo img {
    left: 0; /* Align to the left */
}

/* Right logo positioning */
.right-logo img {
    right: 0; /* Align to the right */
}

/* Animation for left logo */
.left-logo {
    animation: slideInLeft 1s ease-out forwards;
}

/* Animation for right logo */
.right-logo {
    animation: slideInRight 1s ease-out forwards;
    margin-right: 40px; /* Add more padding to the right */
}

/* Keyframes for left logo animation */
@keyframes slideInLeft {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Keyframes for right logo animation */
@keyframes slideInRight {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Styling for the navigation items */
.nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.nav-items li {
    margin: 0 15px;
}

.nav-items a {
    color: grey; /* Menu items are grey */
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav-items a:hover {
    color: black; /* Hover effect is black */
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    align-items:center ;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: grey; /* Toggle button color matches menu items */
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        align-items: center;
        padding: 10px;
    }

    .nav-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white; /* Mobile menu background is white */
        padding: 10px 0;
     /*   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    }

    .nav-items.active {
        display: flex;
    }

    .nav-items li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }
    .logo img {
        height: 100px; /* Adjust as needed */
    }
    
    .left-logo img {
        left: -200px; /* Align to the left */
    }
    
    /* Right logo positioning */
    .right-logo img {
        right: -200px; /* Align to the right */
    }
      
    .top-bar {
        display: none;
    }
      
}
/* SLIDESHOW */ 
/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: auto;
    margin-top: 80px;
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    height: auto;
    
}

.slide img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Fade animation */
.fade {
    animation: fade 1.5s ease-in-out;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Navigation dots */
.dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: whitesmoke;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

 /* Page header styling */
.header {
    text-align: center;
    padding: 40px 20px;
    background-color: #f4f4f5; /* Green background */
    color: rgb(10, 0, 0); /* White text */
    margin-bottom: 20px;
}

.header .title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in-out; /* Title fade-in animation */
}

.header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-in-out; /* Subtitle fade-in animation */
}


/* Card container using CSS Grid */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between cards */
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style for each card */
.card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensure the image doesn't overflow the card */
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
}

/* Style for the card image */
.card img {
    width: 100%;
    height: 200px; /* Fixed height for the image */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    transition: transform 0.3s ease; /* Image zoom effect */
}

/* Style for the card content */
.card-content {
    padding: 20px;
    flex: 1; /* Allow content to take up remaining space */
    display: flex;
    flex-direction: column;
    text-align: center;
    text-size-adjust: 14px;
    text-wrap:balance;
    justify-content: sspace-evenly; /* Space between heading and paragraph */
}

.card-content .title1 {
    text-align: center;
    text-wrap:balance;
    justify-content: space-evenly;
    font-size: 1.2rem;
    font-weight: bolder;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-in-out; /* Subtitle fade-in animation */
}

.card-content .subtitle1 {
    text-align: center;
    text-wrap:balance;
    justify-content: space-evenly;
    font-size: 1.10rem;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-in-out; /* Subtitle fade-in animation */
}

.card-content .subtitle2 {
    text-align: center;
    text-wrap:balance;
    justify-content: space-evenly;
    font-size: 1.05rem;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-in-out; /* Subtitle fade-in animation */
}

.card-content .subtitle3 {
    text-align: left;
    padding: 10px;
    text-wrap:balance;
    justify-content: space-evenly;
    font-size: 1.05rem;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-in-out; /* Subtitle fade-in animation */
}

/* Hover effect for each card */
.card:hover {
    transform: translateY(-10px); /* Move the card up slightly */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Increase shadow */
}

.card:hover img {
    transform: scale(1.1); /* Zoom in on the image */
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .card-container {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .header .title {
        font-size: 2rem; /* Smaller title on small screens */
    }

    .header .subtitle {
        font-size: 1rem; /* Smaller subtitle on small screens */
    }
}

/* Fade-in animation for the header */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }
  
  .team-member {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 250px;
    transition: transform 0.3s ease;
  }
  
  .team-member:hover {
    transform: translateY(-10px);
  }
  
  .member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
  
  .member-name {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #333;
  }
  
  .member-designation {
    font-size: 1rem;
    color: #777;
    margin: 5px 0;
  }
  
  .member-contact {
    font-size: 0.9rem;
    color: #555;
    margin: 10px 0;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }
  
  .social-icon {
    color: #555;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .social-icon:hover {
    color: #0073b1; /* LinkedIn blue, change as needed */
  }
  @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

  .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
  h2 {
    margin-top: 0;
    color: #333;
  }
  
  /* Contact Form Styles */
  .contact-form .form-group {
    margin-bottom: 15px;
  }
  
  .contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
  }
  
  .contact-form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .contact-form button:hover {
    background: #0056b3;
  }
  
  /* Address Card Styles */
  .address-card p {
    margin: 10px 0;
    color: #555;
  }
  
  /* Map Card Styles */
  .map-card iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
  }

  @media (max-width: 768px) {
    .slideshow-container {
        max-width: 100%;
        border-radius: 0;
        margin-top: 150px;
    }

    .prev, .next {
        padding: 10px;
        font-size: 16px;
    }

    .slide .caption {
        font-size: 14px;
        padding: 8px 16px;
    }
}
