<!-----Updated styles.css:   max-width: 150px;---->

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.top-header {
    background-color: #006633;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    align-items: center;
}

.left-links a {
    color: white;
    margin-right: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.left-links a:hover {
    color: #ffd700;
}

.contact-info span {
    margin-left: 15px;
    font-size: 14px;
}

.logo-section {
    text-align: center;
    padding: 20px;
    background-color: white;
}

.logo-section img {
    
    vertical-align: middle;
    max-width: 45%;
    height: auto;
}

.logo-section h1 {
    display: inline-block;
    color: #006633;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 15px;
}

.main-nav {
    background-color: #006633;
    padding: 10px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    display: block;
    transition: background-color 0.3s;
}

.main-nav ul li a:hover {
    background-color: #004d26;
}

.content-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-section h2 {
    color: #006633;
    text-align: center;
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

.content-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.content-item.reverse {
    flex-direction: row-reverse;
}

.content-item img,
.slideshow-container {
    width: 45%;
    height: 300px;
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.mySlides {
    display: none;
}

.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from {opacity: 0.4} 
    to {opacity: 1}
}

.content-text {
    width: 50%;
    padding: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.infra-grid .grid-item,
.branch-grid .grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.grid-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 102, 51, 0.8);
    padding: 15px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.grid-item:hover .overlay {
    transform: translateY(0);
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item span {
    display: block;
    text-align: center;
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ffd700;
    color: #006633;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #e6c200;
}

.results-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.result-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-card h3 {
    color: #006633;
    margin-bottom: 15px;
}

.result-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #006633;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s;
}

.result-btn:hover {
    background: #004d26;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.faculty-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.faculty-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 51, 0.8);
    transform: translateX(-50%) rotate(45deg);
    transition: top 0.3s;
}

.faculty-card:hover::before {
    top: -25%;
}

.faculty-card h3 {
    color: white;
    font-weight: bold;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.faculty-card p {
    position: relative;
    z-index: 1;
}

.faculty-card:hover {
    transform: translateY(-5px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.quick-links ul {
    list-style: none;
}

.quick-links a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #006633;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: #006633;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.social-btn:hover {
    transform: scale(1.1);
    background: #004d26;
}

#upload form {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#upload input, #upload select, #upload button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#upload button {
    background: #006633;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

#upload button:hover {
    background: #004d26;
}

.footer {
    background-color: #006633;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}


<!----results.html):/* Existing styles from previous version remain unchanged, adding new styles below */  ---->

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.result-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.result-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(0, 102, 51, 0.1);
    transform: translateX(-50%) rotate(45deg);
    transition: top 0.3s;
    z-index: 0;
}

.result-card:hover::after {
    top: -25%;
}

.result-card h3 {
    color: #006633;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.result-card p {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.result-card .download-btn {
    position: relative;
    z-index: 1;
    background: #006633;
    color: white;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.result-card.reserved {
    background: #f9f9f9;
}

.coming-soon {
    display: inline-block;
    padding: 10px 20px;
    background: #ddd;
    color: #666;
    border-radius: 5px;
    font-style: italic;
}

.footer-copy {
    margin-top: 20px;
}