* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f2f2f2;
    color: #333;
}

/* Topbar Styles */
.topbar {
    background: #005b99;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: white;
    flex-wrap: wrap;
}

.logo {
    height: 60px;
    margin-right: 15px;
}

.college-name h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

.college-name p {
    font-size: 14px;
}

.nav-links {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
}

.nav-links a:hover {
    border-bottom: 2px solid white;
}

/* Announcement Section */
.announcement-wrapper {
    background-color: #111;
    overflow: hidden;
    height: 40px;
    position: relative;
}

.announcement {
    position: absolute;
    white-space: nowrap;
    color: white;
    font-weight: bold;
    padding: 10px;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    0% { left: 100%; }
    100% { left: -100%; }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('campus.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInHero 2s ease-in;
}

@keyframes fadeInHero {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}

.overlay {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 850px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 1.2s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.overlay h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 500;
}

.overlay h4 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 400;
}

.overlay p {
    font-size: 18px;
    margin-bottom: 30px;
}

.download-btn {
    background: #0088ff;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.download-btn:hover {
    background: #00bce6;
    transform: scale(1.05);
}
.download-btn:active {
    transform: scale(0.97);
}


/* About Section Styles */
.about-section {
    background: #ffffff;
    color: #111;
    padding: 60px 30px;
    max-width: 1000px;
    margin: 40px auto;
    line-height: 1.8;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    text-align: justify;
}

.about-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #005b99;
}

.about-section p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Important Dates Section Styles */
.important-dates {
    padding: 60px 20px;
    text-align: center;
    background: #fafafa;
}

.important-dates h2 {
    font-size: 32px;
    color: #007a99;
    margin-bottom: 40px;
}

.mindmap-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.mindmap {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 4px solid #3db4d1;
    position: relative;
}

.event-node {
    position: relative;
    padding: 20px 30px;
    margin-left: 20px;
    margin-bottom: 30px;
    background-color: #1eb0c7e8;
    color: rgb(0, 0, 0);
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.event-node:hover {
    transform: translateY(-5px);
}

.event-node .circle {
    position: absolute;
    left: -37px;
    top: 28px;
    height: 16px;
    width: 16px;
    background-color: #23c1cf;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #3f91e9;
}

/* Optional: vertical connector for each node */
.mindmap .event-node:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -24px;
    top: 48px;
    width: 2px;
    height: calc(100% + 30px);
    background: #23a6ec80;
    z-index: -1;
}

.event-node p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.event-node span {
    font-size: 16px;
    display: block;
    margin-top: 5px;
}

/* Footer */
.site-footer {
    background-color: #0b2d50;
    color: #fff;
    padding: 15px 20px;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-logo {
    width: 40px;
    height: auto;
}

.footer-text {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}
.site-footer {
  background-color: #174c72;
  padding: 20px 10px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 45px;
  height: auto;
}

.footer-text,
.footer-credit {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}

.footer-credit {
  margin-top: 6px;
}

.footer-credit a {
  color: #00c4cc;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}
/* Make header sticky */
#header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #0a5fa3; /* same as header background */
}

/* Optional shadow when scrolling */
#header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
