/* General Styles */
:root {
  --light-bg: #f8f8f8;
  --lighter-bg: #f4f4f4;
  --accent-yellow: rgb(201, 154, 0);
  --hover-yellow: #f8d210;
}

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

html, body {
    height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    position:relative;
   
   /* background-color: var(--light-bg); */
    color: #333;

}

/* Headings */
h1, h2, h3 {
    text-align: center;
    margin: 20px 0;
}

.yellow {
    color:var(--accent-yellow);
}

p {
    margin-bottom: 20px;
    
}

/* Image section */
.image-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Header and Footer */
#header, #footer {
    width: 100%;
    background:rgb(241, 225, 169);
    padding: 20px;
}

#header {
    background:rgb(241, 225, 169);
}
#footer {
    background:rgb(226, 218, 186);
}

.left {
	text-align: left;
}

/* Links */
a {
  text-decoration: none;
  color:rgb(123, 113, 0);
}

a:hover {
  text-decoration: underline;
}

/*
main {
   
    padding-bottom: 20px;}   

.content {
    min-height: 100%;
}
*/

/* Landing Page Header */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Set a fixed height */
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* width: 90%; */
    margin: 0 auto;
}

.light-theme .nav-links li a {
  color: black;
}

/* Dark theme links (white text) */
.dark-theme .nav-links li a {
  color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links li a {
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--hover-yellow);
    transition: color 0.3s ease;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* Responsive styles */
@media screen and (max-width: 1160px) {
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex; /* Show menu when active */
    }
    .light-theme .nav-links li a {
  color: white;
}
.nav-links li a:hover {
    color: var(--hover-yellow);
    transition: color 0.3s ease;
}

    .hamburger {
        display: block; /* Show hamburger icon */
    }
}

.landing-page section {
    padding: 60px 20px;
}

section {
text-align: center;
}

.section-content h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.section-content p {
    font-size: 1.1em;
}


/* Hero Section */
#hero {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.hero-image {
    width: 60%;
    margin-top: 30px;
}

/* Services Section */
#services {
    padding-bottom: 40px; /* Reduce bottom padding */
    width: 100%; /* Ensure it takes full width */
    margin: 0 auto; /* Centers the section itself */
    padding-left: 20px; /* Optional: Adds padding inside the section */
    padding-right: 20px; /* Optional: Adds padding inside the section */
    text-align: center; 
}

#services, #about {
    background: var(--lighter-bg);
}

.section-content {
    display: flex;
    /*justify-content: center;  Center content horizontally */
    align-items: center;
    flex-direction: column; /* Stack content vertically */
    width: 100%; /* Ensures it takes full width */

    margin: 0 auto; /* Centers the content horizontally */
    padding: 0; /* Remove any extra padding */
}
.section-content .services-content {
    max-width: 800px;
}
#services img {
    max-width: 100%;
    margin: 0 auto; /* Centers the image */
}

#services h1 {
    margin-top: 10px;
    text-align: center; /* Ensures the <h1> elements are centered */
}

#services table {
    width: 90%; /* Ensure it takes the full width available */
    max-width: 700px; /* Limit the width on large screens */
    margin: 0 auto; /* Center the table */
    border-spacing: 0; /* Optional: removes gaps between cells */
   
}

#services td {
    padding: 10px;
     text-align: justify;
}
#services .center-video {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Center the video */
}
#services iframe {
    
    margin-bottom: 20px;
}

/* Style for making the video responsive */
.video-container {
    position: relative;
    width: 100%; /* Full width */
    max-width: 900px; /* Adjust max-width as needed */
    margin: 20px auto; /* Center the video */
    aspect-ratio: 16 / 9; /* Maintains aspect ratio */
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Faculty Section */
#about {
   /* height: 220vh; */
    padding-top: 40px; /* Reduce top padding */
}

.faculty-content {
    max-width: 1100px;
    align-items: center;
    margin: 0 auto;
}

.section-content .faculty-content h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.faculty-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on large screens */
    gap: 30px; /* Space between items */
    text-align: justify;
    max-width: 1400px;
    margin: 0 auto;
}

.faculty-member {
    background: #fff; /* Optional: background for styling */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faculty-member img {
    width: 100%;
    max-width: 328px; /* Adjust max width for images */
    height: auto;
    border-radius: 8px;
}

.faculty-member h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
}

.faculty-member p {
    font-size: 1em;
    color: #333;
}

/* Tablets: 2 Columns */
@media screen and (max-width: 1024px) {
    .faculty-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

/* Mobile: 1 Column */
@media screen and (max-width: 768px) {
    .faculty-container {
        grid-template-columns: 1fr; /* 1 column */
    }
}

@media (max-width: 480px) {
  .faculty-member {
    padding: 10px;
    font-size: 0.95em;
  }
}

.sponsor-container {
    text-align: center; /* Centers text and logos */
    margin: 20px auto;
    max-width: 90%; /* Ensures it doesn’t overflow */
  
}

.sponsor-logos {
    display: flex;
    justify-content: center; /* Centers logos */
    align-items: center;
    flex-wrap: wrap; /* Wraps images to a new row if needed */
    gap: 30px; /* Adds space between images */
    margin-top: 30px;
}

.sponsor-logos img {
    max-width: 80px; /* Limits max size */
    height: auto;
    width: 100%; /* Allows shrinking */
    min-width: 60px; /* Prevents them from becoming too small */
}


/* Paragraph and content formatting */
.content {
    line-height: 1.6;
   /* margin-bottom: 20px; */
}

/* Two-column layout for tablets and larger screens */
@media (min-width: 768px) {
    .content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Single-column layout for mobile */
@media (max-width: 767px) {
    .container {
        width: 95%;
    }
}

.panorama {
  margin: 3rem 0;
  text-align: center;
}

.panorama img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  max-height: 400px;
}

/* Optional: tweak max-height for mobile */
@media (max-width: 768px) {
  .panorama img {
    max-height: 250px;
    border-radius: 6px;
  }
}

.class-dates {
text-align: left;
}