
html, body {
    overflow-x: hidden;
}


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

/* -------------------- */
/* Vivekananda Quotes */
/* -------------------- */

.quote-section {
    display: flex;
    flex-direction: column;   /* FORCE vertical stacking */
    align-items: center;
    justify-content: center;
    padding: 12px 20px 40px;
    width: 100%;
     padding-top: 10px;
}


/* -------------------- */
/* Quote + Image Accent */
/* -------------------- */
.quote-accent {
    background: #ffffff;
    border-left: 4px solid #7a0c0c;
    padding: 18px 20px;
    margin: 10px 0 30px;
    border-radius: 4px;
    width: 100%;
    max-width: 900px;
}

.quote-accent .hero img {
    margin-top: 4px;
}


.hero {
    text-align: center;
    margin: 2px 0;     
    padding: 0;
}

.hero img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 2px auto;
    display: block;
    border-radius: 8px;
}

/* Quote container */
.quote-box {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

/* Quote text */
#quote-text {
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 10px;
    transition: opacity 0.6s ease-in-out;
}

/* Author */
.quote-author {
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 568px) {
    .quote-section {
        padding: 15px 14px;
    }
    #vivek-image {
        max-width: 200px;
        height: auto;
    }
}





body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.75;
    background: #f9f9f9;
    color: #1f1f1f;
}

/* -------------------- */
/* Header & Navigation */
/* -------------------- */
header {
    background: #7a0c0c;
    color: white;
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 18px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

nav h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Navigation Links */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;              /* IMPORTANT */
    padding: 8px 10px;            /* Tap-friendly */
    border-radius: 4px;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* -------------------- */
/* Logo Styling */
/* -------------------- */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo {
    height: 46px;          /* Desktop size */
    width: auto;
    max-height: 46px;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
}

/* Mobile adjustment */
@media (max-width: 568px) {
    .vivek-image {
        height: 30vh;       /* Controlled height */
        max-width: 92vw;    /* NEVER exceed screen width */
        width: auto;
    }

    #quote-text {
        font-size: 17px;
    }

    .quote-author {
        font-size: 15px;
    }
}

/* -------------------- */
/* Main Content */
/* -------------------- */
.container {
    max-width: 900px;
    margin: auto;
    padding: 30px 18px;
}

section {
    margin-bottom: 48px;
}

h2 {
    color: #7a0c0c;
    font-size: 24px;
    margin-bottom: 14px;
}

p {
    font-size: 17px;
    margin-bottom: 14px;
}

ul {
    padding-left: 22px;
}

ul li {
    font-size: 16px;
    margin-bottom: 10px;
}


/* ------------------------------
   Hero Section
--------------------------------*/
.hero-section {
    text-align: center;
    padding: 60px 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.hero-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 25px auto;
    max-width: 700px;
    color: #444;
}

.hero-quote span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #7a0c0c;
}

/* ------------------------------
   Objective Section
--------------------------------*/
.highlight-section {
    background: #fff;
    padding: 10px 30px 40px 30px;
    border-left: 4px solid #7a0c0c;
    border-radius: 6px;
    margin: 20px 0;
}

.objective-list {
    list-style: none;
    padding-left: 0;
}

.objective-list li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
}

.objective-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7a0c0c;
    font-size: 1.4rem;
    top: -2px;
}

/* ------------------------------
   Questions Section
--------------------------------*/
.questions-section ul {
    margin-top: 15px;
    padding-left: 20px;
}

.questions-section li {
    margin-bottom: 8px;
}



/* ------------------------------
   Quote Section
--------------------------------*/


.final-quote {
    font-style: italic;
    font-size: 1.2rem;
    max-width: 750px;
    margin: auto;
    color: #333;
}

.final-quote span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #7a0c0c;
}

/* ------------------------------
   Responsive
--------------------------------*/
@media (max-width: 768px) {
    .hero-section,
    .highlight-section,
    .join-section,
    .contact-highlight {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* -------------------- */
/* Buttons */
/* -------------------- */
.btn {
    display: inline-block;
    background: #7a0c0c;
    color: white;
    padding: 12px 18px;
    margin-top: 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
}

.btn:hover {
    background: #5a0808;
}

/* -------------------- */
/* Footer */
/* -------------------- */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 18px;
    font-size: 14px;
}

/* -------------------- */
/* Mobile Optimization */
/* -------------------- */
@media (max-width: 768px) {

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav h1 {
        font-size: 24px;
    }

    nav ul {
        width: 100%;
        gap: 10px;
    }

    nav ul li a {
        font-size: 17px;        /* Bigger on mobile */
        padding: 10px 12px;
    }

    h2 {
        font-size: 22px;
    }

    p, ul li {
        font-size: 16px;
    }
}


/* -------------------- */
/* Events – Year-wise Layout */
/* -------------------- */

/* ===================== */
/* Events Page Styling */
/* ===================== */

.year-section {
    margin: 50px 0;
}

.year-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #7a0c0c;
    color: #7a0c0c;
}

/* Grid like alumni */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

/* Individual event card */
.event-card {
    background: #fafafa;
    border-radius: 8px;
    padding: 18px 20px;
    border-left: 4px solid #7a0c0c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.event-card h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 600;
}

.event-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 6px;
}

.event-topic {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.event-type {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
}

/* Outreach differentiation */
.event-outreach {
    border-left-color: #2c6e49;
    background: #f3faf6;
}

/* YouTube link */
.event-link a {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.9rem;
    color: #7a0c0c;
    text-decoration: none;
    font-weight: 500;
}

.event-link a:hover {
    text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .year-title {
        font-size: 1.4rem;
    }

    .event-card {
        padding: 16px;
    }
}


/* -------------------- */
/* Alumni Listing */
/* -------------------- */

.alumni-section {
    margin-top: 40px;
}

.alumni-section h3 {
    color: #7a0c0c;
    font-size: 20px;
    margin-bottom: 18px;
    border-bottom: 2px solid #eee;
    padding-bottom: 6px;
}

.alumni-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.alumni-card {
    background: #ffffff;
    border-left: 4px solid #7a0c0c;
    padding: 14px 16px;
    border-radius: 4px;
}

.alumni-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.alumni-affiliation {
    font-size: 13px;
    color: #444;
    margin-bottom: 4px;
}

.alumni-duration {
    font-size: 12.5px;
    color: #666;
    margin-bottom: 6px;
}

.alumni-extra {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.alumni-links a {
    font-size: 13px;
    color: #7a0c0c;
    text-decoration: none;
    margin-right: 8px;
}

.alumni-links a:hover {
    text-decoration: underline;
}

/* -------------------- */
/* Souvenir Section */
/* -------------------- */

.souvenir-section {
    margin-top: 40px;
}

/* PDF container */
.souvenir-container {
    width: 100%;
    max-width: 900px;
    margin: 25px auto;     /* <-- THIS centers it */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.souvenir-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.souvenir-download {
    text-align: center;
    margin-top: 15px;
}

.souvenir-download a {
    color: #7a0c0c;
    font-weight: 600;
    text-decoration: none;
}

.souvenir-download a:hover {
    text-decoration: underline;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .souvenir-container iframe {
        height: 450px;
    }
}

.connect-section {
    margin-top: 40px;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}


.connect-card {
    display: block;
    padding: 20px;
    border-left: 4px solid #7a0c0c;  /* VSC theme */
    background: #fafafa;
    border-radius: 8px;
    text-decoration: none;
    color: #222;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.connect-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.connect-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

/* Hover effect */
.connect-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.connect-card.whatsapp { border-left-color: #25D366; }
.connect-card.email    { border-left-color: #7a0c0c; }
.connect-card.facebook { border-left-color: #1877f2; }
.connect-card.youtube  { border-left-color: #cc0000; }

/* Mobile spacing */
@media (max-width: 600px) {
    .connect-card {
        padding: 18px;
    }
}

/* -------------------- */
/* Contact Section */
/* -------------------- */


.contact-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    padding: 20px;
    border-left: 4px solid #7a0c0c;
    background: #faf7f7;
    border-radius: 6px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: #7a0c0c;
}

.contact-item a {
    color: #003366;
    text-decoration: none;
}

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

/* ===============================
   Activities Accordion
================================ */

.activity-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.activity-card summary {
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    color: #7a0c0c;
    list-style: none;
}

.activity-card summary::-webkit-details-marker {
    display: none;
}

.activity-card[open] {
    border-left: 4px solid #7a0c0c;
}

.activity-text {
    margin: 15px 0 20px;
    font-size: 1rem;
    color: #333;
}

/* ===============================
   Image Gallery
================================ */

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

.activity-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===============================
   Responsive
================================ */

@media (max-width: 600px) {
    .activity-gallery img {
        height: 160px;
    }

    .activity-card summary {
        font-size: 1.15rem;
    }
}

.year-card {
    margin: 10px 0 10px 20px; /* Indent the years to the right */
    border-left: 3px solid #ddd; /* Add a subtle line on the left */
    padding-left: 10px;
}

.year-card summary {
    font-weight: bold;
    cursor: pointer;
    color: #555; /* Slightly lighter text for the year */
    padding: 5px;
}

.year-card[open] summary {
    color: #000; /* Darker when open */
}

.activity-gallery img {
    object-fit: contain; /* Shows the whole image */
    background-color: #f0f0f0; /* Fills the empty space with grey */
}

.logo-container {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center (optional) */
}

.logo-image {
     display: block;
    margin: 0 auto;
    width: 170px;
    height: auto;
}

/* =========================================
   Styles for Mentor Profile (Center Aligned)
   ========================================= */

.mentor-profile {
    display: flex;
    flex-direction: column; /* Stacks the image on top of the text */
    align-items: center;    /* Centers the image horizontally */
    gap: 20px;              /* Space between image and text */
    margin-top: 20px;
}

.mentor-photo {
    width: 250px;           /* Adjust this width if you want it bigger/smaller */
    height: 250px;          /* Makes it a square (optional, remove if you want original ratio) */
    border-radius: 50%;     /* Optional: Makes the photo circular. Remove line for square/rectangle */
    object-fit: cover;      /* Ensures photo doesn't stretch if you force a size */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 3px solid #f0f0f0; /* Optional: Adds a nice border */
    display: flex;
    align-items: center; 
}

.mentor-bio {
    max-width: 900px;       /* Prevents text from stretching too wide on big screens */
    text-align: justify;    /* Keeps the paragraph edges neat */
}

.mentor-bio h3 {
    text-align: center;     /* Centers the Name ("Gokulmuthu...") */
    color: #333;
    margin-bottom: 15px;
}

.upcoming-section {
    background-color: #fdfdfd; /* Very light grey background to stand out slightly */
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center; /* Centers the title and the image */
}

.upcoming-title {
    color: #b71c1c; /* A deep red to match VSC theme */
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.poster-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* UPDATED CODE BELOW */
.event-poster {
    width: 100%;        /* Allows it to shrink on small screens */
    max-width: 450px;   /* THIS IS THE FIX: Stops it from getting wider than 450px */
    height: auto;       /* Maintains aspect ratio */
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}

.section-divider {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 40px 0;
}

/*for the inaugration section*/

html, body {
  margin: 0;
  padding: 0;
  
}

#inauguration {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #111;
}


.curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    #7a0000,
    #b00000,
    #7a0000
  );
  transition: transform 2s ease-in-out;
}

.curtain.left {
  left: 0;
}

.curtain.right {
  right: 0;
}

/* Animate */
.open .curtain.left {
  transform: translateX(-100%);
}

.open .curtain.right {
  transform: translateX(100%);
}

/* Center box */
.inaugurate-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: gold;
  font-family: serif;
}

.inaugurate-box h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.inaugurate-box button {
  font-size: 1.2rem;
  padding: 12px 30px;
  cursor: pointer;
  border: none;
  background: gold;
  color: #111;
  border-radius: 6px;
}


canvas {
  display: block;
}


/* =========================================
   Styles for Video in About Section
   ========================================= */

.video-container {
    margin: 30px auto; /* Adds space above/below and centers it */
    max-width: 800px;  /* Prevents the video from becoming too huge on big screens */
    width: 100%;       /* Ensures it fits smaller screens */
    text-align: center;
}

.local-video {
    width: 100%;       /* Makes the video responsive */
    height: auto;
    border-radius: 10px; /* Adds nice rounded corners */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* Adds a shadow */
}

/* If using YouTube iframe, this ensures it respects the container width */
.video-container iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}