/* === Reset and Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fbfd;
    color: #2c3e50;
    line-height: 1.7;
    scroll-behavior: smooth;
}
/* Round Logo */
.logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffcc00; /* Optional: golden border */
}


a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* === Navbar === */
.navbar {
    background-color: #2c3e50;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 600;
    color: #f39c12;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px #f39c12;
}

/* === Responsive Hamburger Menu === */
.menu-icon {
    display: none;
    font-size: 2rem;
    color: #f39c12;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #2c3e50;
        padding: 15px 0;
        margin-top: 10px;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        padding: 10px 20px;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        color: #f1f1f1;
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .menu-icon {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
}


/* === Header === */
.header {
    background-color: #34495e;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px 40px;
}

.header .logo {
    max-width: 110px;
    margin-bottom: 15px;
}

.college-info h1 {
    font-size: 2.8rem;
    margin-bottom: 14px;
    color: #f39c12;
}

.college-info .subtitle {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ecf0f1;
}

.college-info p {
    font-size: 1.05rem;
    color: #fdfdfd;
    margin-bottom: 4px;
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.75;
}

.hero-content {
    z-index: 1;
    background-color: rgba(44, 62, 80, 0.8);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #f39c12;
}

.hero-content p {
    font-size: 1.6rem;
    color: #ffffff;
}

/* === Sections === */
.details, .contact {
    background-color: #ffffff;
    margin-top: 50px;
    padding: 60px 20px;
    border-top: 4px solid #34495e;
    border-radius: 10px;
}

.details h2, .contact h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
    text-transform: uppercase;
}

.details p, .contact p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 12px;
}

.details ul {
    margin-top: 10px;
    padding-left: 20px;
}

.details ul li {
    margin-bottom: 8px;
    list-style: disc;
}

.visit-link {
  display: inline-block;
  background-color: #002f5f;
  color: #f1c40f;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.visit-link:hover {
  background-color: #004080;
  color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Video Gallery */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-grid video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.contact-form button {
    background-color: #004d99;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #003366;
}



/* === Footer === */
.footer {
    background-color: #2c3e50;
    color: #f1f1f1;
    text-align: center;
    padding: 5px 0;
    font-size: 1rem;
    margin-top: 60px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}
