* {  
    box-sizing: border-box;  
    margin: 0;  
    padding: 0;  
}  

body {  
    background-color: #000000; 
    color: white; 
    font-family: 'Arial', sans-serif;
    margin: 0; 
    line-height: 1.6;     
} 

header {  
    background-color: #000000;
    padding: 10px 20px; 
    display: flex;
    align-items: center;  
    justify-content: space-between;
    color: white;  
    padding: 20px 0;  
    text-align: center;  
}  

nav ul {  
    color: white;
    display: flex;
    position: relative;
    list-style: none;  
    padding: 0;  
}  
 
nav ul li {  
    color: white;
    display: inline; 
    margin: 0 15px; 
    margin-right: 20px;  
    position: relative; 
}  

nav ul li a {      
    text-decoration: none;
    color: #fff; 
    transition: color 0.3s;
    font-weight: bold;  
    padding: 5px 10px;
    border-radius: 5px;
} 

.intro {  
    text-align: center;  
    padding: 100px 20px; 
    font-size: 1.2em;
    margin-bottom: 20px;
}  

.intro h1 {  
    font-size: 48px; 
    margin-bottom: 10px;  
}  

.intro h2 {  
    font-size: 32px; 
    color: #e6194b;
    margin-bottom: 20px;  
}  

.intro p {  
    font-size: 18px; 
    margin-bottom: 30px;  
}  

.cta-button { 
    font-weight: bold; 
    border: none;  
    transition: background-color 0.3s, transform 0.2s; 
    background-color: #007bff; 
    color: white;  
    padding: 10px 20px;  
    text-decoration: none;  
    border-radius: 5px;  
}  

.cta-button:hover { 
    background-color: #0056b3;   
    transform: scale(1.05); 
}  

footer {  
    text-align: center;  
    padding: 20px;  
    background-color: #000000; 
    color: white;  
    position: relative; 
}  

.footer-container {  
    align-items: flex-start; 
    background-color: #000000; 
    padding: 20px;  
    color: white; 
    display: flex; 
    justify-content: space-evenly; 
    margin-bottom: 10px;
}  

.footer-section {  
    flex: 1;  
    margin: 0 10px;  
}  

.footer-section h3 {  
    margin-bottom: 10px;  
}  

.footer-section ul {  
    list-style-type: none;  
}  

.footer-section ul li {  
    margin: 5px 0;  
}  

.footer-section ul li a {  
    color: white;  
    text-decoration: none;  
}  

.footer-bottom {  
    text-align: center;  
    margin-top: 10px; 
    background-color: #000000; 
    color: white;
    border-top: 1px solid #ddd; 
    padding: 10px;
}  

.about {  
    text-align: center;  
    padding: 50px 20px; 
    background-color: #000000; 
}  

.tesla-logo {  
    max-width: 200px;
    margin-bottom: 20px; 
}  

.about h2 {  
    font-size: 36px; 
    margin-bottom: 20px; 
}  

.about p {  
    font-size: 18px; 
    line-height: 1.6;
    margin: 15px 0; 
}

.contact {  
    text-align: center;  
    padding: 50px 20px; 
    background-color: #000000;
}  

.contact h2 {  
    font-size: 36px; 
    margin-bottom: 20px;
}  

.contact-info {  
    font-size: 18px; 
    margin: 15px 0; 
}  

.contact-info a {  
    color: #ffffff;
    text-decoration: none; 
}  

.contact-info a:hover {  
    text-decoration: underline;
}  

.location {  
    font-size: 18px; 
    margin-top: 20px;
    font-weight: bold; 
}

.gallery-section {  
    padding: 50px 20px;
    background-color: #000000;
    text-align: center;  
}  

.gallery-section h2 {  
    font-size: 36px; 
    margin-bottom: 20px; 
    text-align: center; 
    color: #fff;   
}  

.gallery {  
    display: grid;  
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px; 
} 

.media-item {  
    cursor: pointer;    
    transition: transform 0.2s;
    flex: 1 1 45%; 
    margin: 10px;  
    text-align: center;  
    background: #000000; 
    border-radius: 8px;  
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);  
    color: #ccc;
    overflow: hidden;  
}  

.media-item img, .media-item video {  
    width: 100%; /* Full width for images and videos */  
    display: block; /* Block display for layout consistency */  
}  

footer a { 
    margin: 0 10px; 
    color: #3498db;  
    text-decoration: none;  
}  

footer a:hover {  
    text-decoration: underline;  
}

.media-item:hover {  
    transform: scale(1.05);   
}  

.media-item img {  
    display: block; 
    width: 100%;  
    height: auto;  
    border-bottom: 2px solid #ff4081;  
}  

.fullscreen {  
    display: none; 
    position: fixed;  
    top: 0;  
    left: 0;  
    right: 0;  
    bottom: 0;  
    background-color: rgba(0, 0, 0, 0.9); 
    justify-content: center;
    align-items: center;
    z-index: 1000; 
}  

.fullscreen-image {  
    max-width: 90%; 
    max-height: 90%; 
}  

.close, .prev, .next {  
    color: white;  
    font-size: 30px;  
    cursor: pointer; 
    position: absolute;  
    top: 20px;
}  

.close {  
    right: 30px;   
}  

.prev {  
    left: 30px; 
}  

.next {  
    right: 30px; 
}  

.footer-link {  
    display: inline-block;  
    margin: 0 10px; 
}

.dropdown-content {  
    display: none; 
    position: absolute;  
    background-color: #444;
    min-width: 180px; 
    z-index: 1; 
}  

.dropdown:hover .dropdown-content {  
    display: block; 
}  

.dropdown-content a {  
    color: white;   
    padding: 12px 16px; 
    text-decoration: none; 
    display: block; 
}  

.dropdown-content a:hover {  
    background-color: #555;
}  

/* Responsive Styles */  
@media screen and (max-width: 768px) {  
    nav ul li {  
        display: block; /* Stacks nav items on small screens */  
        margin: 10px 0; /* Vertical spacing */  
    }  

    .logo-img {  
        width: 30px; /* Smaller logo for smaller screens */  
        height: 30px; /* Smaller logo for smaller screens */  
    }  

    .gallery-section h2 {  
        font-size: 28px; /* Adjusted size for smaller screens */  
    }  
}

.logo-text {     
    color: #e6194b;
    font-size: 1.5em; 
    margin-left: 10px; 
}  

.hero {  
    text-align: center;
    padding: 100px 20px;
}  

.hero h1 {  
    font-size: 36px; 
    margin-bottom: 20px;   
}  

.hero p {  
    font-size: 18px; 
    margin-bottom: 30px; 
}  

.footer-section h4 {  
    margin-bottom: 15px;   
    border-bottom: 2px solid #ff9800; 
    padding-bottom: 5px;   
}  

nav ul li a:hover {  
    color: #ff9800; 
}  

.content {    
    background-color: #000;
    color: white;
    padding: 20px;  
    max-width: 800px;  
    margin: 20px auto;  
    border-radius: 8px;  
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  
}  

.achievements-section {  
    background-color: #000000;
    text-align: center;  
}  

.achievements-container {  
    background-color: #000;
    display: flex;  
    flex-wrap: wrap; 
    justify-content: space-around; 
    margin-top: 20px;
}  

.achievement-card {  
    color: #000000;
    background-color: #f9f9f9;   
    border: 1px solid #ddd;  
    border-radius: 5px;  
    padding: 15px;   
    margin: 10px;   
    width: 300px;   
    transition: transform 0.2s;  
}  

.achievement-card:hover {  
    transform: scale(1.05);  
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);   
}  

.achievement-card img {  
    max-width: 100%;  
    border-radius: 5px;   
}  

.footer-bottom p {  
    font-size: 0.9em; 
} 

.council-section {  
    text-align: center; 
    margin-bottom: 40px; 
    background-color: #000; 

}  

.council-container {  
    margin-top: 30px; 
    background-color: #000;
    justify-content: space-between;  
    margin: 0 -10px; 
    display: flex;  
    flex-wrap: wrap;  
    justify-content: center;  
}  

.council-member {  
    background-color: rgba(255, 255, 255, 0.1);   
    border-radius: 5px;   
    padding: 20px; 
    margin: 10px;  
    width: 250px;  
    text-align: center;   
    transition: transform 0.2s;  
}  

.council-member:hover {  
    transform: scale(1.05);  
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);   
}  

.council-member img {  
    width: 100%; 
    border-radius: 5px;  
    margin-bottom: 15px;   
}  

h1 {  
    margin-bottom: 20px; 
    font-size: 2.5em; 
}  

h3 {  
    margin-bottom: 10px; 
}  

.logo {  
    display: flex;  
    align-items: center;  
    justify-content: center;  
}  

.logo-img {  
    width: 50px;  
    height: 50px;  
    margin-right: 10px;  
}  

h2 {  
    color: #ffffff;  
    margin-bottom: 20px;  
}  

.member-card {  
    background-color: white; 
    color: #000; 
    border-radius: 10px;  
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  
    text-align: center;  
    padding: 15px;   
    transition: transform 0.2s; 
    width: 200px;  
    margin: 15px;
}  

.member-card:hover {  
    transform: scale(1.05);  
}  

.member-card img {  
    width: 100px;  
    height: 100px; 
    border-radius: 50%;  
}  

.member-card h3 {  
    margin-top: 10px;  
    margin-bottom: 5px;  
}  

.member-card p {  
    margin: 5px 0;  
}  

.member-card a {  
    color: #3498db;  
    text-decoration: none;  
}  

.member-card a:hover {  
    text-decoration: underline;  
}
 
.proffer-in-charge {  
    background-color: #f0f0f0; 
    border: 2px solid #007BFF;
    transition: transform 0.3s;  
}  

.proffer-in-charge:hover {  
    transform: scale(1.05); 
}


/* Registration form styles */  
.registration-form {  
    max-width: 600px;  
    margin: 40px auto;  
    padding: 20px;  
    background-color: white;  
    border-radius: 8px;  
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    color: #000;
}

label {  
    display: block;  
    margin-top: 15px;  
    font-weight: bold;  
}  

input[type="text"],  
input[type="number"],  
select {  
    width: 100%;  
    padding: 10px;  
    margin-top: 5px;  
    border: 1px solid #ccc;  
    border-radius: 4px;  
}  

input[type="checkbox"] {  
    margin-left: 10px;  
}  

button {  
    background-color: #4b79a1;  
    color: white;  
    padding: 10px 15px;  
    border: none;  
    border-radius: 4px;  
    cursor: pointer;  
    margin-top: 20px;  
}  

button:hover {  
    background-color: #3a5f7a;  
}  

.registration-form div {  
    display: flex;  
    flex-wrap: wrap;  
    gap: 20px;  
}  
 
.registration-form label {  
    flex: 1 1 auto;  
}

nav ul li a:hover,  
nav ul li a.active {  
    text-decoration: underline;  
}  

.projects-container { 
    color: white;       
    background-color: #000;
    display: flex;  
    justify-content: space-between;  
    flex-wrap: wrap;  
    margin-top: 20px;  
}  










/*learn section*/ 

.learn-section {
    padding: 40px;
    background-color: #f5f5f5;
    text-align: center;
}

.learn-section h2 {
    font-size: 2.5em;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.learn-card {
    width: 220px;
    padding: 20px;
    background: linear-gradient(145deg, #e3e3e3, #ffffff);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #333;
}

.learn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.learn-card h3 {
    font-size: 1.2em;
    margin-top: 10px;
    font-weight: 600;
}

.icon {
    max-width: 100px;
    margin-bottom: 0px; 
}

.file-viewer-section {
    display: none;
    padding: 30px;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.file-viewer-section h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
}

.close-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 1em;
    background-color: #e60000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: #cc0000;
}

iframe {
    border: none;
    border-radius: 8px;
}.learn-section {
    padding: 40px;
    background-color: #f5f5f5;
    text-align: center;
}

.learn-section h2 {
    font-size: 2.5em;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.learn-card {
    width: 220px;
    padding: 20px;
    background: linear-gradient(145deg, #e3e3e3, #ffffff);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #333;
}

.learn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.learn-card h3 {
    font-size: 1.2em;
    margin-top: 10px;
    font-weight: 600;
}

.icon {
    max-width: 100px;
    margin-bottom: 0px; 
}

.file-viewer-section {
    display: none;
    padding: 30px;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.file-viewer-section h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
}

.close-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 1em;
    background-color: #e60000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: #cc0000;
}

iframe {
    border: none;
    border-radius: 8px;
}

